If you are planning to run PC based card sharing linux server then there is a slightly different method to update cccam f-lines to your linux server. Let us learn how to add CCcam F-lines to your linux based PC server using putty & Winscp.
Tested Operating Systems:
This method has been tested and working perfect on below mentioned operating systems:
- Ubuntu 14.04, 16.04, 18.04, 18.10
- Debian 7 & 8
- CentOs 6, 7 & 8
There are multiples tools that can do such type of work but we use basic tools so that you can understand more better.
I have also posted tutorial how to Install CCcam Server on your Linux Based PC server. Now i am going to tell you how to put your F-Lines on you cccam server so that clients can connect to your server. Before continuoue to our tutorial i would like to tell you how your users connected to your server.
Server CCcam Line Vs Clients line:
If you want your user connect to your server then you need to write F-Line in your CCcam Server so that client can add your F-Line as a C-Line in their receiver. Basic Fline looks like this:
F: user password
On client side, your customer add this F-Line as a C-line in their box like this:
C: your-host-name port user password
Your-host-name: is the ip address of your CCcam server or PC tcp/ip v4 address
Port: is the port which you have selected on your CCCam.cfg file.
Add F-Line to your CCcam Server cfg:
Upate your CCcam.cfg (For Debian users)
First of all update your CCcam.cfg file to your pc by adding new F-lines at the bottom of your file then keep it as a backup on your PC. Create new folder of “cccam” on your Linux server using Winscp in “home/cccam”
Now by using Winscp, drag your cccam.cfg file from your PC and drop it to “home/cccam” folder.
(For Ubuntu and Centos users)
By using Winscp, drag your cccam.cfg file from your PC and drop it to “var/config” folder.
You will be asked to confirm the transfer, click on copy button to transfer it to your server.
It’s done now.
Now this is the time to replace your old cccam.cfg file with your updated file. This can be done by using Putty
Login to your server by using putty and run below commands:
(Debian Users) /emu/script/./configupdate.sh (Ubuntu Users) /var/script/configupdate.sh
This will backup your old cfg and transfer your updated cfg in correct directory.
Remember: Do not try to put a config file straight into the Var/etc folder, it won’t work.
You have successfully inserted your F-Line on your PC CCcam Server. Now your client can connect to your server by using your F-line. If you need further clarification, feel free to write in comments. Have Fun