There is a fair amount of descriptions of emulator settings for this receiver series, but the issues are not diminishing. A little generalizing the issue, we consider cardsharing settings for mgcamd emulator using Openbox S5 as an example. The description will have excurses, which I hope will be useful to owners of other receivers based on Linux operating system with the same emulator.
Before we start to configure cardsharing, let us excurse slightly to describe those programs and components that may be required
and help us to set up.
Configuring the access to receiver via Telnet and FTP.
In Windows XP embedded telnet client is activated by default, but in Windows Vista and Windows7 you must activate it.
For Windows7 as an example, consider two ways how to do this:
Telnet Enable Method 1:
Start – Control Panel – Programs and Features – Turn Windows features on or off – Telnet Client (check it)
Telnet Enable Method 2:
Run command line as Administrator (Start – Type “cmd” – Right click on cmd.exe application in pop-up window –
Run as Administrator):
and give the command:
dism /online /Enable-Feature /FeatureName:TelnetClient
Wait until the activation process complete.
To connect to the receiver via telnet we open command line window and send the command: telnet IP address of your receiver, in my case thiis is telnet 192.168.1.5 (you can see IP address in such a manner: Menu – Settings – Network Settings – IP address) and click Enter
Then login will be requested, enter “root” and click Enter
We have connected to receiver and can send control commands to the receiver or obtain required information.
Just as a telnet client, you can use Putty program. Run the program – Indicate the telnet protocol – Host Name (or IP address), indicate the IP address of receiver – Click Open
And then, as in Windows telnet, specify and confirm login (and a password, if necessary)
Consider the access to receiver via FTP at the example of FTP client built in Total Commander
You can download Total Commander using the link
As well, let us assume that IP address of the receiver is already known.
Run Total Commander – Network – Connect to FTP server
Next, create a connection: Add – Name of Connection: arbitrary – Server: indicate IP address of receiver – Account: root – Password: without a password (just below we shall show the passwords that are used on some receiver models) – Remote Directory: specify /var in order to move into this folder just after connection – OK
After the connection is established, you can connect to the receiver: Network – Connect to FTP server – Select the connection created by us – Connect
And now we are in the /var folder of the receiver
Now about configuring the emulator itself. You can find very detailed description of emulator settings using the link
In our case, we need consider in more detail only the editing of newcamd.list
file, since an attached archive contains all other files have already been set for our servers. Download the archive, unpack it on your computer into any convenient folder. The /plugin/var folder will include two folders: bin and keys
The keys folder contains configuration files for mgcamd emulator:
mg_cfg - (the main configuration file of emulator settings)
ignore.list - (file of CaIDs/Idents/ChIDs to be ignored)
priority.list - (file of CaID/Ident/ChID priorities)
replace.list - (file of CaID/Ident priority/substitution)
newcamd.list - (file containing the server settings)
The bin folder contains:
mgcamd - (emulator)
autorun.sh - (file of emulator/plugin autorun after the receiver is turned on)
Few words about the editor for configuration files. I use either AkelPad or EditPad Pro. The Windows Notepad also can be used, but I still would advise to use a third-party editor.
Sometimes the errors occur during setup procedure, as in the case of abovementioned report concerning the errors under mgcamd setup, and one of the errors will be considered below.
So, we have downloaded the archive with the emulator and configuration file, unpacked it, and now we need to install the emulator and configuration files into receiver and adjust the viewing of purchased package.
We connect to the receiver via FTP using Total Commander (how to do this, we have considered above). Assume we have the var folder of receiver in the left panel of Total Commander,
and open downloaded and unpacked folder with the emulator and configuration file in the right panel.
Then open the keys folder on the receiver and the same folder on the computer, and copy all the files from computer to receiver (naturally, assuming the files from downloaded keys folder to the keys folder in the receiver), if the keys folder is not available in the receiver, copy the folder together with the files. To perform copying you would select the desired file or folder and press F5 key on the keyboard or click on the same key in Total Commander.
Similarly we act with files from the /var/bin folder, i.e., we open the same folders in the receiver and computer and copy mgcamd and autorun.sh files from computer to receiver into appropriate folder
Now we need to provide the files with appropriate rights (attributes), that can be read about here
The rights will be given using numerical representation, here I shall clarify that files must have the rights (attributes) equal to 644 in the keys folder, and 755 in the bin folder
Now consider how to use Total Commander to assign appropriate rights to the files. So, let us start with mgcamd and autorun.sh files in the /var/bin folder, that as we agreed should have the rights equal to 755
Open the /var/bin folder of receiver – Select mgcamd file – Click on the top "Files" - Change Attributes.
Click Change Attributes – the window opens providing a possibility to edit the rights for files, in our case you need to type 755 and click Ok
The rights of files can be seen in the "Attributes” column
Do the same manipulations in the keys folder, but assign the value of 644 to file attributes
We get outside of a problem, now we need to edit newcamd.list, i.e., add the data with the server settings, and it can be done on a computer, if we open this file using the appropriate editor before copying to the receiver, or directly on the receiver by selecting the file in Total Commander and clicking F4
So we have indicated in the billing the type of receiver as based on the Linux OS and received settings similar to shown below, if a single package is purchased:
CWS_KEEPALIVE = 300
CWS_INCOMING_PORT = 12000
CWS = server port login password 01 02 03 04 05 06 07 08 09 10 11 12 13 14
Select these settings and insert into newcamd.list, previously removing all its content
Here I recommend you to pay special attention to the settings of this file, I wrote about it above and repeat here (this is why I advise you to use these text editors)
there should be no spaces in front of strings with settings, otherwise the emulator will not see these settings, i.e., it SHOULD NOT
be done as on the screenshot below
Save changes in the file and upload into receiver, agree with replacement. The emulator is configured, we are left to run it from the receiver menu. Using the remote control of receiver we select – Menu – Applications – Plugins – Select mgcamd – green on the remote control (start)
Additional questions concerning the operation of these cards can be put on the forum about satellite TV