[global] logfile = /var/log/oscam.log preferlocalcards = 1[cccam] port = 12000 version = 2.3.2 nodeid = 1234567890ABCDEF
[cache] delay = 80 max_time = 12 cachesize = 3000
[webif] httpport = 8888 httpallowed = 0.0.0.0-255.255.255.255 httpuser = admin httppwd = changeme
Integrates with DVB hardware (tuner cards, STBs).
OSCam can act as a server for multiple card-sharing protocols. Each protocol gets its own section.
Improves ECM response time by caching control words.
| Parameter | Description | Example |
|-----------|-------------|---------|
| delay | Delay before caching (milliseconds) | delay = 100 |
| max_time | Maximum cache lifetime (seconds) | max_time = 15 |
| cachesize | Number of entries in cache | cachesize = 5000 | oscam.conf
oscam.conf references or works alongside:
| File | Purpose |
|------|---------|
| oscam.server | Definitions of card readers (local and proxy) |
| oscam.user | Client accounts and permissions |
| oscam.services | Service filtering (CAID:prov:sid) |
| oscam.provid | Provider name mapping |
| oscam.srvid | Channel (SID) to name mapping |
Without oscam.conf, OSCam cannot load these other files. [global]
logfile = /var/log/oscam
Example skeleton:
[global] logfile = /var/log/oscam.log nice = -1[webif] httpport = 8888 httpuser = admin httppwd = admin
[monitor] port = 988
| Error in Log | Likely Cause | Solution |
|--------------|--------------|----------|
| config read error | Syntax error in oscam.conf | Run oscam -V or check line endings |
| bind failed: Address already in use | Port conflict (e.g., 8888 in use) | Change httpport or stop conflicting service |
| httpuser or httppwd not set | Missing auth for WebIF | Define httpuser and httppwd |
| no config file found | Wrong path or missing file | Use -c /path/to/config flag |