What is OScam? Setup & Configuration Guide
OScam, which stands for Open Source Conditional Access Module, is the leading open-source softcam solution for satellite television. Unlike closed-source alternatives such as CCcam, OScam is developed and maintained by a global community of contributors who continuously improve its performance, security, and feature set. It runs on a wide variety of hardware platforms, from embedded Enigma2 receivers to full Linux servers, making it one of the most versatile tools available for satellite enthusiasts. This guide covers the fundamentals of OScam, its architecture, and how to get started with configuration.
Key Features of OScam
OScam stands apart from other softcam solutions thanks to a rich feature set that has been refined over years of active development. At its core, OScam supports multiple cardsharing protocols simultaneously, meaning you do not need to run separate software for different protocol types. A single OScam instance can handle CCcam, Newcamd, Camd3, Gbox, Radegast, and serial connections all at once.
- Multi-protocol support: CCcam, Newcamd, Camd3, Gbox, Radegast, and more
- Built-in web interface for real-time monitoring and configuration
- Advanced ECM caching to reduce server load and improve response times
- Detailed logging system for troubleshooting and performance tuning
- Loadbalancing across multiple readers for optimal reliability
- Support for local smartcard readers via USB, serial, and internal interfaces
- Low memory footprint suitable for embedded devices
- Regular security updates from the open-source community
Understanding OScam Configuration Files
OScam uses a modular configuration system split across several plain text files. Each file controls a specific aspect of the software. The main configuration files are typically stored in /etc/tuxbox/config/ or /usr/local/etc/ depending on the receiver or operating system.
oscam.conf is the main configuration file. It controls global settings such as the web interface port, logging level, cache parameters, and protocol listeners. This is where you enable or disable specific protocols and configure how OScam communicates with the outside world. You define which ports to listen on for CCcam, Newcamd, and other protocols, set the HTTP port for the web interface, and configure performance-related parameters like the max cache time.
oscam.server defines the readers, which are the connections to external cardsharing servers or local smartcards. Each reader block specifies the protocol, server address, port, credentials, and optional parameters like CAID filtering and group assignments. When converting from CCcam, each C-line becomes a separate reader entry in this file, using the protocol = cccam setting to maintain compatibility with CCcam servers.
oscam.user manages client access control. Each user block defines a username, password, group assignments, and optional restrictions such as which CAIDs a user is allowed to access. This file is essential when OScam is running as a server and sharing access with downstream clients.
Basic Setup Process
Setting up OScam involves installing the binary on your receiver or server, creating the configuration files, and starting the service. On most Enigma2 receivers, OScam can be installed through the built-in package manager or by manually placing the binary in the appropriate directory. After installation, you need to create at minimum three files: oscam.conf, oscam.server, and oscam.user.
The minimal oscam.conf should include a global section with basic settings and a protocol section for whichever protocol you plan to use. For example, if you are connecting to CCcam servers, you would enable the CCcam protocol listener. If you also need Newcamd, you add a newcamd section with the desired port and DES key. The web interface is highly recommended as it provides real-time status information about your readers, connected clients, and ECM processing statistics.
The OScam Web Interface
One of OScam's most powerful features is its built-in web interface. Accessible through any web browser, the interface provides comprehensive real-time information about the system. You can view active readers and their connection status, monitor ECM requests and response times, check cache hit rates, manage users, and even edit configuration files directly from the browser. The web interface is configured in the [webif] section of oscam.conf and can be secured with authentication credentials and IP-based access restrictions.
The status page displays each reader with color-coded indicators showing whether it is online, offline, or in an error state. You can also see detailed statistics on each reader including the number of ECMs processed, average response time, and any errors encountered. This level of visibility is invaluable for diagnosing problems and optimizing your configuration.
Loadbalancing and Advanced Features
OScam includes a sophisticated loadbalancer that automatically distributes ECM requests across multiple readers. The loadbalancer tracks the response time and reliability of each reader and intelligently routes requests to the fastest available option. If one reader goes offline, the loadbalancer seamlessly redirects traffic to the remaining readers without any interruption in service. This feature is configured through the lb_mode parameter in oscam.conf and can be fine-tuned with various threshold and timing parameters.
Other advanced features include DVB API integration for direct communication with the receiver's tuner hardware, anticascading rules to prevent excessive resharing, and a flexible group system that allows you to assign readers to specific user groups for fine-grained access control.
Getting Started
The fastest way to get started with OScam is to convert your existing CCcam configuration using our automated tool. If you are currently running CCcam and have a list of C-lines, you can convert them into properly formatted oscam.server entries in seconds. For receiver-specific installation instructions, check out our guide on setting up OScam on Enigma2 and Dreambox. To understand how OScam compares to CCcam, read our OScam vs CCcam comparison.
Ready to convert?
Use our free online converter tool to transform your CCcam/Newcamd lines into OScam configuration.
Go to Converter