newcamd, cccam switcher plugin ?

Dreambox500 - Support for the Dreambox 500 DM-500 satellite receiver.


Reply
 
LinkBack Thread Tools Display Modes
Old 11-08-2009   #1
Member
 
Join Date: 01-05-2009
Location: Bahrain
Posts: 28
Thanks: 10
Thanked 6 Times in 6 Posts

My System: Dreambox 500 Hp Pavilion DV4 1135EE
newcamd, cccam switcher plugin ?

I need a plugin that switch between newcamd.list files

example:
a plugin to change between newcamd1.list, newcamd2.list ... etc

and a plugin that do the same for CCcam.cfg files

I am using Gemeni 4.6
shnsqr is offline   Reply With Quote
Old 11-08-2009   #2
Member
 
Join Date: 01-05-2009
Location: Bahrain
Posts: 28
Thanks: 10
Thanked 6 Times in 6 Posts

My System: Dreambox 500 Hp Pavilion DV4 1135EE

Final Question:
I know that it is possible in CCcam.cfg to insert more than one c-line but is it possible to insert more than one server in newcamd.list file? if yes, how this work? if one server dead will the dreambox switch automatically to other server?
shnsqr is offline   Reply With Quote
Old 11-08-2009   #3
Specialist Contributor
 
compufunk's Avatar
 
Join Date: 07-05-2008
Location: NW, Ireland
Posts: 1399
Thanks: 126
Thanked 231 Times in 198 Posts

My System: DM 600-S, AB IPBox 9000HD, Moteck SG2100, Fracarro Penta 85 dish, + some puters

Originally Posted by shnsqr View Post
I need a plugin that switch between newcamd.list files

example:
a plugin to change between newcamd1.list, newcamd2.list ... etc
Just write a little script to do it.

Code:
mv /pathToNewcamdList/newcamd.list /pathToNewcamdList/newcamd.list2
mv /pathToNewcamdList/newcamd.list1 /pathToNewcamdList/newcamd.list
mv /pathToNewcamdList/newcamd.list2 /pathToNewcamdList/newcamd.list1
compufunk is offline   Reply With Quote
The Following User Says Thank You to compufunk For This Useful Post:
shnsqr (13-08-2009)
Old 12-08-2009   #4
Member
 
Join Date: 01-05-2009
Location: Bahrain
Posts: 28
Thanks: 10
Thanked 6 Times in 6 Posts

My System: Dreambox 500 Hp Pavilion DV4 1135EE

can u explain more plz
where should i write this script?
shnsqr is offline   Reply With Quote
Old 13-08-2009   #5
Specialist Contributor
 
compufunk's Avatar
 
Join Date: 07-05-2008
Location: NW, Ireland
Posts: 1399
Thanks: 126
Thanked 231 Times in 198 Posts

My System: DM 600-S, AB IPBox 9000HD, Moteck SG2100, Fracarro Penta 85 dish, + some puters

Sorry but you'll have to go and figure it out yourself, there is just too much involved for me to explain here. Either that or wait for someone else to write a plugin or script to do it.

The simplest I can explain it is....
1: Copy the code in post 3 to a text file and save it on your dreambox.
2: type ' chmod 755 /path/To/File/FileName' in a telnet/ssh terminal.
3: To execute the script, browse to the file using tuxcommander and press the key to execute it.
compufunk is offline   Reply With Quote
Old 13-08-2009   #6
Member
 
Join Date: 01-05-2009
Location: Bahrain
Posts: 28
Thanks: 10
Thanked 6 Times in 6 Posts

My System: Dreambox 500 Hp Pavilion DV4 1135EE

ok thnx

I paste the code in a new file and rename it to switcher.sh
I upload the file using DCC to var/script directory and chmod it 755
I Browse to the file in TuxCommander and click OK to excute

an empty screen shown and nothing happend
how to know if the script is excuted?
shnsqr is offline   Reply With Quote
Old 13-08-2009   #7
Specialist Contributor
 
compufunk's Avatar
 
Join Date: 07-05-2008
Location: NW, Ireland
Posts: 1399
Thanks: 126
Thanked 231 Times in 198 Posts

My System: DM 600-S, AB IPBox 9000HD, Moteck SG2100, Fracarro Penta 85 dish, + some puters

Originally Posted by shnsqr View Post
how to know if the script is excuted?
Check which version of newcamd.list is in use!

Also, obviously, you'll need to modify /pathToNewcamdList/ to the correct path and use the appropriate file names.
compufunk is offline   Reply With Quote
The Following User Says Thank You to compufunk For This Useful Post:
shnsqr (13-08-2009)
Old 13-08-2009   #8
Member
 
Join Date: 01-05-2009
Location: Bahrain
Posts: 28
Thanks: 10
Thanked 6 Times in 6 Posts

My System: Dreambox 500 Hp Pavilion DV4 1135EE

Originally Posted by compufunk View Post
Check which version of newcamd.list is in use!

Also, obviously, you'll need to modify /pathToNewcamdList/ to the correct path and use the appropriate file names.

do u mean that i have to change the code to be:

Code:
mv /var/keys/newcamd.list /var/keys/newcamd.list2
mv /var/keys/newcamd.list1 /var/keys/newcamd.list
mv /var/keys/newcamd.list2 /var/keys/newcamd.list1
then execute the script?

after that how to move between newcamd.list to newcamd1.list?
and how to check the version ?

sorry for my stupid questions
shnsqr is offline   Reply With Quote
Old 15-09-2009   #9
Member
 
Join Date: 10-06-2007
Location: Middle east
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

My System: small network using one gateway linksys router to access the internet through satellite link

This is just a series of commands that you can execute interactively from a terminal session. (telnet) If you are familiar with DOS or linux, they should be easy to understand. cp is copy, in DOS and the first argument is the SOURCE while the second is the TARGET. If you understand what was just said, you should be able to know what to do next. It's not that complicated and you should be able to right more complicated commands easily.
The way I would do it is have as many shell (switching) files as you have newcamd.list files. Each one is used to switch to the right config file.
example :
cp /var/keys/newcamdx.list /var/keys/newcamd.list
and x is the newcamdx.list file you want to switch to.
mv is MOVE with is like cut & paste so make sure you test the command before you implement it or you might lose some files!
zakk is offline   Reply With Quote
Reply

Bookmarks

Tags
cam, cccam, newcamd, plugin, switcher


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off







All times are GMT +1. The time now is 09:34 PM.


All views and information expressed in users' communications and profiles represent the opinions of the users concerned and do not represent the views of Satellites.co.uk. All images and news content are believed to be in the public domain, except where otherwise stated. Forum software by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Content Relevant URLs by vBSEO 3.3.1