OSCAM/NCAM cant decrypt channels without a physical card or a connection to a card server that has the card/s you require.
Posts by Chris230291
-
-
Do you have a real card set up or do you connect to any card servers?
-
"NCAM" in TVH is
so it is connected.What does the oscam/ncam log say in the web ui when you try to watch an encrypted channel?
-
I have a Docker image for Ncam here https://github.com/Chris230291/NCam-Docker
Here is a plain OSCAM Docker image (which mine is based on) https://github.com/linuxserver/docker-oscam
theALHU has a TVH image he maintains here TVHeadend Docker Image with ICAM Support x64 and ARMv7 (PI 4 & 3b+)
You should connect them using the DVBAPI like this
ncam.conf
Code
Display More[dvbapi] enabled = 1 au = 1 pmt_mode = 0 request_mode = 1 listen_port = 9001 delayer = 60 user = tvheadend read_sdt = 1 write_sdt_prov = 1 extended_cw_api = 1 boxtype = pcThe DVBAPI listen port should be exposed -p 9001:9001 when you create the docker container if not using host networking mode.
ncam.user
Code[account] user = tvheadend pwd = tvheadend monlevel = 4 au = 1 group = 1,2,3,4,5,6,7,8,9,10,64 max_connections = 99TVH
-
NCam inside Docker container... for PC users.
-
-
Hello. I have had a lot of help since I posted that!
In the process of setting up the latest linuxserver.io base and automatic builds for amd64 arm64 and armv7.
I'll update when its done.
-
Yes. There must be some way to skip bad cws? I know TVHeadend reports an "invalid start code"
-
I decided to have a go at making my own NCam Docker
-
I have created a Docker image for Ncam.
The image is automatically updated when the NCam GitHub repo is.
-
-
Ah OK that makes more sense then. Great news.
NCAM is basically OSCAM + OSCAM-EMU but with extra stuff. I'm sure others can better explain the differences but from what I can tell...
- Seems faster than OSCAM
- Supports EMU (PowerVu etc)
- Grabs keys from this site for AFN
- Can grab C and N lines from URL's
EDIT:
From memory all that needs changing in the linuxserver.io Dockerfile for OSCAM...
- Replace the repo of OSCAM with the NCAM one
- Add git
- Replace references to "oscam" with "ncam"
EDIT2:
Here is the Dockerfile I use...
Docker
Display MoreFROM ghcr.io/linuxserver/baseimage-alpine:3.15 RUN \ echo "**** install build packages ****" && \ apk add --no-cache --virtual=build-dependencies \ gcc \ g++ \ libusb-dev \ linux-headers \ make \ openssl-dev \ curl-dev \ pcsc-lite-dev \ subversion \ tar \ git && \ echo "**** install runtime packages ****" && \ apk add --no-cache \ ccid \ curl \ libcrypto1.1 \ libssl1.1 \ libcurl \ libusb \ pcsc-lite \ pcsc-lite-libs && \ echo "**** compile ncam ****" && \ git clone https://github.com/fairbird/NCam.git /tmp/ncam && \ cd /tmp/ncam && \ ./config.sh \ --enable all \ --disable \ CARDREADER_DB2COM \ CARDREADER_INTERNAL \ CARDREADER_STINGER \ CARDREADER_STAPI \ CARDREADER_STAPI5 \ IPV6SUPPORT \ LCDSUPPORT \ LEDSUPPORT \ WITH_NEUTRINO \ WITH_SOFTCAM \ WITH_CARDLIST && \ make \ CONF_DIR=/config \ DEFAULT_PCSC_FLAGS="-I/usr/include/PCSC" \ NO_PLUS_TARGET=1 \ NCAM_BIN=/usr/bin/ncam \ USE_LIBCRYPTO=1 \ USE_LIBCURL=1 \ pcsc-libusb && \ echo "**** fix broken permissions from pcscd install ****" && \ chown root:root \ /usr/sbin/pcscd && \ chmod 755 \ /usr/sbin/pcscd && \ echo "**** fix group for card readers and add abc to dialout group ****" && \ groupmod -g 24 cron && \ groupmod -g 16 dialout && \ usermod -a -G 16 abc && \ echo "**** cleanup ****" && \ apk del --purge \ build-dependencies && \ rm -rf \ /tmp/* # copy local files COPY root/ / # Ports and volumes EXPOSE 8888 VOLUME /configNot really sure how to use all of the from XYZ as buildstage and automation stuff.
That's why I asked if you were interested.
-
Awesome thanks!
I think its possible with just Git Hub and Docker Hub, but that looks like it might be more flexible.
Would you consider doing the same for NCAM? Using the Linuxserver.io OSCAM image as a base https://github.com/fairbird/NCam
-
No I meant is the image updated automatically.
I'm not sure how it works but I think you can have the docker image build automatically every time changes are pushed.
-
Thanks. Is this updated automatically?
-
What is cccam_cfg_save = 1 supposed to do?
If cccam_cfg_save = 1 and you add a line to the CCcam.cfg file, you can change it and save it at htxp://ip:8181/readers.html which will also be included in the ncam.server configuration file...
OK thanks.
So for it to actually get saved to ncam.server I first need to edit /save each working line manually?
-
I have no idea what is being "saved".
When the option is enabled, readers are still loaded from cccam.cfg every time I restart.
If I delete cccam.cfg then no readers will appear when I restart.... So not sure what is "saved"
The only difference I see is that the readers are not added to the "readers" tab... But what does that do other than let me edit settings?
-
I still have no idea what it does

-
What is cccam_cfg_save = 1 supposed to do?
Always
1 = -------> IS Activate
0 = --------> IS off
I know 1 == True and 0 == False
What I meant was, what does the setting do?
From the description it sounds to me like working lines should remain even after being deleted from the cccam.cfg file. But this doesn't happen for me so I am wondering what it is supposed to do.
-
What is cccam_cfg_save = 1 supposed to do?
