Sharing TV: setting up CCcam and OScam server 2026

Sharing TV is a way to exchange control words (CW) between the server and the client, allowing access to paid content. In this article, I will explain how to set up CCcam and OScam to achieve stable reception without freezes. I have set up such systems myself and can share practical tips and troubleshooting advice.

What is sharing TV and how does it work

Sharing TV, or card sharing, is a technology that allows multiple users to access paid channels through the exchange of control words. This is done by transmitting ECM (Entitlement Control Message) and EMM (Entitlement Management Message) between the server and the client. It is important to understand that there are two main types of sharing: local and remote. Local sharing involves using your own card in a reader, while remote sharing requires a connection to a line from the provider.

The principle of card sharing: exchanging ECM/EMW keys

Key exchange is based on protocols that allow the client to request access to specific channels. When the client requests a channel, the server sends the corresponding control word that decrypts the signal.

The role of the server and client in the sharing scheme

In this scheme, the server is responsible for providing access to the channels, while the client is responsible for displaying them on the TV. The client receiver sends requests to the server, which processes them and returns the necessary data.

What is the difference between CCcam and OScam

CCcam is easier to set up and is usually more stable for beginners. It is well-suited for those who do not want to delve into the details. OScam, on the other hand, offers more features and supports more protocols. If you need flexibility and the ability to work with various configurations, choose OScam.

What you need to get started: receiver, emulator, subscription to the line

To set up sharing, you need a receiver, a suitable emulator (CCcam or OScam), and a subscription to the line. Make sure you have access to the necessary config files and that your internet connection is stable.

Setting up CCcam: config files, ports, and syntax

Setting up CCcam begins with editing the config files. Usually, these files are located in the directory/var/etc/. The main configuration file isCCcam.cfg.

The structure of the /var/etc directory and the CCcam.cfg file

In the directory/var/etc/ you will find the fileCCcam.cfg, which contains the main settings for the server operation. This is the file where connection lines and other parameters are specified.

Syntax of the line C: line (host port user pass)

The connection line looks like this:C: server.example 12000 username password. Hereserver.example is the server address,12000 is the port,username andpassword are your credentials.

CCcam.channelinfo and CCcam.prio files

FilesCCcam.channelinfo andCCcam.prio are used to manage channel priorities and their information. Make sure they are configured correctly to avoid display issues.

Opening ports (default 12000) and forwarding on the router

Port 12000 is used by default for data exchange. Don't forget to forward this port on your router to ensure server availability for clients.

Checking status via web interface (port 16001)

To check the server status, you can use the web interface, which is usually available on port 16001. This will allow you to monitor activity and connection status.

Configuring OScam: oscam.server, oscam.user and protocols

Configuring OScam requires editing several configuration files, includingoscam.conf,oscam.server andoscam.user.

Main configs: oscam.conf, oscam.server, oscam.user

The fileoscam.conf contains general settings such as ports and web interface settings. Inoscam.server readers are described, and inoscam.user — client accounts.

Reader for cccam protocol ([reader] with protocol = cccam)

To connect to CCcam inoscam.server add a section[reader], where specifyprotocol = cccam,device = host,port,user,password andgroup.

Local card reader via PC/SC or built-in card reader

If you are using a local card, configure the reader using PC/SC or through the built-in card reader. Make sure the device is properly recognized by the system.

Web interface httpport and monitoring the status of readers

Configurehttpport = 8888 in the section[webif] for access to the web interface, where you can monitor the status of readers and activity.

Configuring DVBAPI for viewing on the server itself

Enable[dvbapi] in the configuration and specifyboxtype anduser. This will allow you to watch channels directly on the server.

Diagnostics and troubleshooting freezes

If you encounter freezes, it is important to be able to read logs and understand what is happening. For example, errors like 'no matching reader' or 'rejected group' may indicate configuration issues.

Reading logs: response codes and ECM time (ecm time)

Logs will help you determine how long it takes to process ECM. If the time exceeds 800 ms, it may lead to freezes.

Cause of freezes: high ping and unstable line

High ping to the server can also cause issues. Check the connection via ping to ensure the line is stable.

Error 'card not found' and incorrect CAID/provid

If the error 'card not found' occurs, it may indicate an incorrect CAID or provid. Make sure they match your settings.

NAT issues and closed ports

Closed ports or operating behind double NAT can significantly complicate the process. Port forwarding is an important step to ensure a stable connection.

Optimization: cache, ADDcache, and channel profiles

Use caching with oscam-cache and ADDcache to reduce server load. This can help improve stream stability.

How to choose a line provider: criteria, not names

When choosing a provider, pay attention to several key criteria. Don't rush the choice — it's important for the line to be stable and fast.

Uptime stability and server response time

Check how often the server is available. The fewer outages, the better. Response time also plays an important role in the quality of the connection.

Availability of local cards versus remote re-share

Local cards provide a more stable connection than remote re-share. This is due to fewer intermediate links.

Transparency of conditions and trial period

Look for providers that offer trial access. This will help you assess the quality of the line before subscribing.

Support for the CAID and packages you need

Make sure the provider supports all the CAID and packages you need for viewing. This can significantly simplify your setup.

How does CCcam differ from OScam for beginners?

CCcam is easier to set up and stable out of the box; OScam is more flexible, supports more protocols, and is actively updated, but requires more knowledge for configuration.

What port does CCcam use by default?

The exchange port is 12000 (set in the C-line), the web interface is 16001. The port needs to be forwarded on the router when sharing.

Why do freezes occur when switching channels?

The main reasons: high ping to the server, long ecm time (>800 ms), unstable line, closed ports, or time desynchronization. Check the logs.

Where are the OScam config files located?

Usually in /etc/tuxbox/config or /var/tuxbox/config: oscam.conf, oscam.server, oscam.user. Logs are in /var/log/oscam.log.

What do hop and reshare mean in card sharing?

Hop is the number of links to the card; hop 1 is a direct line. Reshare is permission for further sharing. The lower the hop, the more stable and faster the reception.

How to check if the server port is open?

Through telnet host port or online port check; on the router, set up TCP forwarding; check that the firewall is not blocking.

Practical checklist for smooth viewing

Even the best CCCam or OSCam line needs two or three simple preparations. Update your receiver firmware, reset the ECM cache once a week and keep 15–20% free space on the USB stick or internal flash so that the reader can store keys without delays.

When tuning a dish, aim for MER/BER reserve: a two‑degree offset or a loose F‑connector often causes the “freezing” that users blame on cardsharing. Keep a short patch cord to test alternative routers, and save two profiles in OSCam — one for TCP, one for UDP — so you can switch instantly if your ISP starts filtering a protocol.

Utgard.tv monitors each hub 24/7, but you can speed up diagnostics by keeping a short log of your receiver actions. Note the time when you changed the channel, which CAID was active and whether you used Wi‑Fi or Ethernet. This tiny “journal” helps engineers reproduce your environment in the lab and return with a solution in minutes instead of hours.

  • Keep two line slots enabled: if the first server hits a maintenance window, the second one instantly takes over without re-entering credentials.
  • Run a monthly speed and latency test. Stable 1–2 Mbps with ping <80 ms is enough for SD/HD, but if jitter exceeds 20 ms, switch the router to wired mode.
  • Save the Utgard.tv status page and Telegram bot @utgard_tv_bot to bookmarks — they publish maintenance notices before SEMrush or uptime monitors raise alerts.