← Back to Guides

How to Convert CCcam to OScam — Step by Step

Converting from CCcam to OScam is one of the most common tasks in the satellite community. Whether you are migrating for better performance, multi-protocol support, or improved security, the process involves translating your existing C-line entries into OScam reader configurations. This guide walks through both the manual conversion process and the faster automatic method using our online tool, so you can choose the approach that suits your comfort level.

Prerequisites Before Converting

Before you begin the conversion, make sure you have a few things in order. First, collect all your current C-lines from your CCcam.cfg file. Each C-line contains the server address, port, username, and password that you will need for the OScam configuration. Second, ensure that OScam is installed on your receiver. Most Enigma2 receivers can install OScam through their built-in software manager or by downloading the appropriate IPK package. Finally, make a backup of your current working CCcam configuration so you can revert if needed.

Understanding the Conversion Mapping

Each CCcam C-line maps to a reader block in oscam.server. The mapping is straightforward once you understand the correspondence between the two formats. A C-line like C: server.example.com 12000 myuser mypass translates to an OScam reader block where the protocol is set to cccam, the device points to the server address and port, and the account credentials are specified in the account field.

The resulting reader block in oscam.server would contain the label (a descriptive name for the reader), the protocol (cccam), the device (hostname,port), the account (username,password), the group assignment, and optionally the inactivitytimeout and reconnecttimeout values. Each reader should be assigned to at least one group, which is then referenced in the user configuration to control access.

Manual Conversion Step by Step

To manually convert a C-line, start by opening your oscam.server file in a text editor. For each C-line in your CCcam.cfg, create a new reader block following the structure below. Replace the placeholder values with the actual data from your C-line.

[reader]
label    = my-server
protocol = cccam
device   = server.example.com,12000
account  = myuser,mypass
group    = 1
inactivitytimeout = 30
reconnecttimeout  = 30
lb_weight         = 100
cccversion        = 2.1.1
cccmaxhops        = 10
ccckeepalive      = 1

The label can be any descriptive name you choose. The device field combines the hostname and port separated by a comma. The account field combines username and password, also comma-separated. The group number should match what you reference in your oscam.user file. The additional parameters like cccversion and ccckeepalive help ensure stable connections to CCcam servers. Repeat this process for every C-line you want to convert.

Automatic Conversion with Our Tool

While manual conversion works, it is time-consuming and prone to typos, especially when you have many C-lines. Our free online converter automates this entire process. Simply paste your C-lines into the input field, and the tool instantly generates properly formatted OScam reader configurations. The tool handles all the formatting details, applies sensible default values for optional parameters, and generates unique labels for each reader to prevent conflicts.

The converter supports batch processing, so you can paste multiple C-lines at once and receive all the corresponding reader blocks in a single output. It also validates the input format and alerts you to any malformed lines that might cause problems. Once the conversion is complete, you can copy the output directly and paste it into your oscam.server file.

Configuring oscam.conf and oscam.user

After creating your oscam.server file, you also need a basic oscam.conf and oscam.user to complete the setup. The conf file should enable the CCcam protocol listener if you want your receiver to communicate using the CCcam protocol locally. The user file needs at least one user entry that references the same group numbers used in your reader configurations.

A minimal oscam.user entry should define a username, password, and the group of readers it can access. If you are running OScam purely as a client without sharing to other devices, you typically only need a single user entry. The group number in the user entry must match the group number assigned to your readers in oscam.server for the ECM routing to work correctly.

Testing and Troubleshooting

Once all three configuration files are in place, restart OScam and check the web interface to verify that your readers are connecting successfully. Each reader should show a green status indicator when it has established a connection to the server. If a reader shows red or yellow, check the OScam log file for error messages that can help identify the issue. Common problems include incorrect port numbers, wrong credentials, or firewall rules blocking the connection.

Tune to an encrypted channel and monitor the ECM log to see if control words are being received. The web interface status page shows the ECM time for each active reader, which should typically be under one second for a healthy connection. If you experience issues, our OScam error codes guide provides detailed troubleshooting for common error messages.

Ready to convert?

Use our free online converter tool to transform your CCcam/Newcamd lines into OScam configuration.

Go to Converter