Eurocardsharing

Go Back   Eurocardsharing > Sharing receivers > Other sharing receivers

Other sharing receivers Discussion, Debian pc server and infinity USB phoenix at Sharing receivers forum; All, have been doing a hell of a lot of reading on this forum as well as others via google. ...

Reply
 
LinkBack Thread Tools Display Modes
Debian pc server and infinity USB phoenix
Old
  (#1)
appyuk
Junior Member
 
appyuk's Avatar
 
Offline
Posts: 5

Level: 1 [♥ Bé-Yêu ♥]
Life: 0 / 8
Magic: 1 / 195
Experience: 34%

Thanks: 1
Thanked 0 Times in 0 Posts
Join Date: Aug 2010
Debian pc server and infinity USB phoenix - 18-September-2010, 11:11

All, have been doing a hell of a lot of reading on this forum as well as others via google.

Have been trying to get an old PC up and running using a Infinity USB Phoenix card reader and I just can't seem to get it to work. Here's what I have done so far after installing Debian on the PC.

CCcam

Edited cccam.cfg with the following:

PHOENIX SERIAL READER : /dev/ttyS0
PHOENIX SERIAL READER : /dev/ttyS1
SMARTCARD CLOCK FREQUENCY : /dev/ttyttyS0 3570000
SMARTCARD CLOCK FREQUENCY : /dev/ttyttyS1 3570000
TRY ALL CHIDS : /dev/ttyS0
TRY ALL CHIDS : /dev/ttyS1
BOXKEY : /dev/ttyS0 xx xx xx xx
BOXKEY : /dev/ttyS1 xx xx xx xx
SERVER LISTENING PORT : xxxxx

Configured reader

Have configured the reader on a windows PC so that it is in phoenix mode (3.58).

Server

Have run the following commands in PuTTy:

Code:
apt-get update
Code:
aptitude install libusb-dev
Code:
apt-get install gcc
Code:
apt-get install make
Once all the above has been downloaded and installed, this is what I did next:

Downloaded ntfytool (v1.1) and copied, using ftp, it to the home directory in root. I then ran the following commands in PuTTy:

Code:
cd /home
Code:
tar -zxvf nftytool-1.1.tar.gz && cd nftytool-1.1
Code:
mkdir /var/nftytool
Code:
cp * -r /var/nftytool
Code:
cd /var/nftytool
Code:
./configure
Code:
make
I then ftp'd into the server as root and checked /VAR folder and confirmed that nftytool folder is there and all the files have transfered into it.


Following this I ftp'd cccam.cfg to server and transfered the same into /VAR/ETC then restarted cccam.

I then ran the following commands in PuTTY:

Code:
cd /var/nftytool
Code:
./nftytool -p phoenix -- -p phoenix -f 3.58 -e
After all of the above I still can't seem to get it to work. I have a client on my internal network and tested it on there (changed the cLine in the client so it connects to the server).

Any ideas or pointers would be very much appreciated.

Last edited by appyuk; 18-September-2010 at 11:13..
   
Reply With Quote
Old
  (#2)
freedream22
ECS Master
 
freedream22's Avatar
 
Offline
Posts: 671

Level: 23 [♥ Bé-Yêu ♥]
Life: 0 / 564
Magic: 223 / 15333
Experience: 58%

Thanks: 49
Thanked 185 Times in 135 Posts
Join Date: Mar 2009
Age: 30
18-September-2010, 13:43

1. Your cccam.cfg does not look correct.
Try to change the line
PHOENIX SERIAL READER : /dev/ttyS1
to
PHOENIX SERIAL READER : /dev/USB0
Look on var/log/messages what is the usb port in which you connect the reader or give the commant lsusb.

2.The parameters of ./nftytool script look correct.
Do you get any error after running it ?
3.Stop the CCcam and run it in debug mode (/var/bin/CCcam.x86 -d).
Do you get any error there ?

cheers!

Last edited by freedream22; 18-September-2010 at 13:47..
   
Reply With Quote
Sponsored Links
Old
  (#3)
appyuk
Junior Member
 
appyuk's Avatar
 
Offline
Posts: 5

Level: 1 [♥ Bé-Yêu ♥]
Life: 0 / 8
Magic: 1 / 195
Experience: 34%

Thanks: 1
Thanked 0 Times in 0 Posts
Join Date: Aug 2010
18-September-2010, 21:01

Quote:
Originally Posted by freedream22 View Post
1. Your cccam.cfg does not look correct.
Try to change the line
PHOENIX SERIAL READER : /dev/ttyS1
to
PHOENIX SERIAL READER : /dev/USB0
Look on var/log/messages what is the usb port in which you connect the reader or give the commant lsusb.

2.The parameters of ./nftytool script look correct.
Do you get any error after running it ?
3.Stop the CCcam and run it in debug mode (/var/bin/CCcam.x86 -d).
Do you get any error there ?

cheers!
Hi, thanks for responding. I will try and change the cccam.cfg as suggested, but I thought that a infinity USB phoenix transmits information via the serial and the usb is only used for power.

I've had a look in var/log/messages and to be honest I'm not sure what I'm looking for. But I did find this in there:

Code:
usb 2-2: new low speed USB device using uhci_hcd and address 2
usb 2-2: New USB device found, idVendor=104f, idProduct=0001
usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-2: Product: Infinity USB
usb 2-2: Manufacturer: WB Electronics
When I send command lsusb: I get:

Code:
Bus 002 Device 002: ID 104f:0001 WB Electronics Infinity Phoenix
So am I right in saying that I should have the following in cccam.cfg:

PHOENIX SERIAL READER : /dev/USB1

When I run ./nftytool script I do not get an error message.

But when I stop cccam and run it in debug mode (/var/bin/CCcam.x86 -d), I get an error message saying

Code:
-bash : /var/bin/CCcam.x86: No such file or directory
This is strange because the CCcam.x86 file is actually in emu/cccam.

What have I got wrong here?
   
Reply With Quote
Old
  (#4)
freedream22
ECS Master
 
freedream22's Avatar
 
Offline
Posts: 671

Level: 23 [♥ Bé-Yêu ♥]
Life: 0 / 564
Magic: 223 / 15333
Experience: 58%

Thanks: 49
Thanked 185 Times in 135 Posts
Join Date: Mar 2009
Age: 30
20-September-2010, 12:43

Quote:
Originally Posted by appyuk View Post
Hi, thanks for responding. I will try and change the cccam.cfg as suggested, but I thought that a infinity USB phoenix transmits information via the serial and the usb is only used for power.

I've had a look in var/log/messages and to be honest I'm not sure what I'm looking for. But I did find this in there:

Code:
usb 2-2: new low speed USB device using uhci_hcd and address 2
usb 2-2: New USB device found, idVendor=104f, idProduct=0001
usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-2: Product: Infinity USB
usb 2-2: Manufacturer: WB Electronics
When I send command lsusb: I get:

Code:
Bus 002 Device 002: ID 104f:0001 WB Electronics Infinity Phoenix
So am I right in saying that I should have the following in cccam.cfg:

PHOENIX SERIAL READER : /dev/USB1

When I run ./nftytool script I do not get an error message.

But when I stop cccam and run it in debug mode (/var/bin/CCcam.x86 -d), I get an error message saying

Code:
-bash : /var/bin/CCcam.x86: No such file or directory
This is strange because the CCcam.x86 file is actually in emu/cccam.

What have I got wrong here?
Hi again !
You are right when you say for cccam.cfg line !
When you connect it with serial cable the usb cable is used only for power supply so in that case your Phoenix line should look like this:

SERIAL READER : /dev/ttyS0

if you have connected it to the COM1 serial port of your pc.

Regarding with starting the cccam in debug mode ,if your CCcam.x86 binary is located under /emu/cccam you should start with that path:
/emu/cccam/CCcam.x86 -d
otherwise if you could not locate that try with find command:
find / -name "CCcam.x86"
Check if the CCcam.x86 has x permission(e.g is executable) ,if not give this:
chmod 755 /emu/cccam/CCcam.x86
The only thing I'm wandering is why the lsusb command shows the device listed?
Is lsusb given after connecting with serial and executing ntftool script or before ?

cheers!

Last edited by freedream22; 20-September-2010 at 15:28..
   
Reply With Quote
Old
  (#5)
samot4
ECS Master
 
samot4's Avatar
 
Offline
Posts: 782

Level: 25 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Life: 0 / 605
Magic: 260 / 20610
Experience: 21%

Thanks: 1
Thanked 227 Times in 145 Posts
Join Date: Oct 2006
23-September-2010, 17:42

The correct line is:
PHOENIX SERIAL READER : /dev/ttyUSB0


RaspberryPi Wheezy Oscam
VU+DUO Blackhole mgcamd
Vusolo2 Blackhole Oscam
   
Reply With Quote
Old
  (#6)
appyuk
Junior Member
 
appyuk's Avatar
 
Offline
Posts: 5

Level: 1 [♥ Bé-Yêu ♥]
Life: 0 / 8
Magic: 1 / 195
Experience: 34%

Thanks: 1
Thanked 0 Times in 0 Posts
Join Date: Aug 2010
25-September-2010, 14:40

Quote:
Originally Posted by freedream22 View Post
Hi again !
You are right when you say for cccam.cfg line !
When you connect it with serial cable the usb cable is used only for power supply so in that case your Phoenix line should look like this:

SERIAL READER : /dev/ttyS0

if you have connected it to the COM1 serial port of your pc.

Regarding with starting the cccam in debug mode ,if your CCcam.x86 binary is located under /emu/cccam you should start with that path:
/emu/cccam/CCcam.x86 -d
otherwise if you could not locate that try with find command:
find / -name "CCcam.x86"
Check if the CCcam.x86 has x permission(e.g is executable) ,if not give this:
chmod 755 /emu/cccam/CCcam.x86
The only thing I'm wandering is why the lsusb command shows the device listed?
Is lsusb given after connecting with serial and executing ntftool script or before ?

cheers!
Hi, OK I have stopped cccam and ran the command ./CCcam.x86 -d and I get this:

Code:
13:32:20:746 Cccam: online using nodeID bf91ae1863a39393
13:32:20:747 Cccam: create 1 cam device (s)
13:32:20:758 Cccam: readKeyfile: cannot open /var/keys/softcam.key or not found
13:32:20:758 Cccam: readKeyfile: cannot open /var/keys/autoRoll.key or not found
13:32:20:758 Cccam: static cw not found or bad
13:32:20:758 Cccam: parsed 0 entries from /var/etc/CCcam.prio
13:32:20:758 Cccam: readProviderfile: cannot open /var/etc/CCcam.providers or not found
13:32:20:758 Cccam: readChannelList: cannot open /var/etc/CCcam.channelinfo or not found
13:32:20:758 Cccam: server started on port 12000
Also it says that the server is started on port 12000 when I nhave changed the server listening port in my CCcam.cfg file.

Re the Isusb, I gave this command after the reader was connected and nftytool script was executed.

Also I am now getting something different when I run:

cd /var/nftytool
./nftytool -p phoenix -- -p phoenix -f 3.58 e

It now says:

Code:
Infinity USB 1.06
Phoenix: You must specify and action to perform
This is starting to drive me up the wall.........LOL!

Quote:
Originally Posted by samot4 View Post
The correct line is:
PHOENIX SERIAL READER : /dev/ttyUSB0
Hi, I'm a bit confused. Are you saying that my cccam.cfg should look like this:

PHOENIX SERIAL READER : /dev/ttyUSB0
PHOENIX SERIAL READER : /dev/ttyUSB1
SMARTCARD CLOCK FREQUENCY : /dev/ttyttyS0 3570000
SMARTCARD CLOCK FREQUENCY : /dev/ttyttyS1 3570000
TRY ALL CHIDS : /dev/ttyS0
TRY ALL CHIDS : /dev/ttyS1
BOXKEY : /dev/ttyS0 xx xx xx xx
BOXKEY : /dev/ttyS1 xx xx xx xx
SERVER LISTENING PORT : xxxxx

Last edited by appyuk; 25-September-2010 at 14:57..
   
Reply With Quote
Old
  (#7)
freedream22
ECS Master
 
freedream22's Avatar
 
Offline
Posts: 671

Level: 23 [♥ Bé-Yêu ♥]
Life: 0 / 564
Magic: 223 / 15333
Experience: 58%

Thanks: 49
Thanked 185 Times in 135 Posts
Join Date: Mar 2009
Age: 30
25-September-2010, 15:04

If you use the reader in phoenix mode that means that it communicates with PC via COM port (serial RS232) and your line in cccam.cfg should be this:

SERIAL READER : /dev/ttyS0

First execute the nftool and after start cccam. This is general rule.

cheers!
   
Reply With Quote
The Following User Says Thank You to freedream22 For This Useful Post:
appyuk (25-September-2010)
Old
  (#8)
appyuk
Junior Member
 
appyuk's Avatar
 
Offline
Posts: 5

Level: 1 [♥ Bé-Yêu ♥]
Life: 0 / 8
Magic: 1 / 195
Experience: 34%

Thanks: 1
Thanked 0 Times in 0 Posts
Join Date: Aug 2010
25-September-2010, 15:58

EDIT: Figured out what was wrong - had to reconfigure Nftytool and sort out port issue - so now, all up and running! Thanks for all you help freedream22!

Last edited by appyuk; 25-September-2010 at 20:41.. Reason: Update
   
Reply With Quote
Old
  (#9)
geotec
Junior Member
 
geotec's Avatar
 
Offline
Posts: 4

Level: 1 [♥ Bé-Yêu ♥]
Life: 0 / 5
Magic: 1 / 135
Experience: 21%

Thanks: 0
Thanked 1 Time in 1 Post
Join Date: Dec 2009
13-November-2010, 22:01

i am having the same problem so if u wouldnt mind could u please reply and temm me and other ppl how u solved it cheers in advance
   
Reply With Quote
Old
  (#10)
dadoggy
Junior Member
 
dadoggy's Avatar
 
Offline
Posts: 8

Level: 1 [♥ Bé-Yêu ♥]
Life: 0 / 18
Magic: 2 / 488
Experience: 73%

Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: May 2009
Location: Robin Hood country
13-September-2011, 17:38

Hi.
My home debian server runs perfectly when using a dreambox as a card reader, but i'm having an odd issue using a phoenix serial/usb card reader directly.

I have done the below but i'm not clearing certain movie sd + hd and sport sd + hd channels on 28.2e.

Any help in streering me in the right direction would be appriciated.
  • (Using Infinity Phoenix as reader in Debian)

    apt-get update
    apt-get install gcc
    aptitude install libusb-dev
    apt-get install make
    apt-get install build-essential

    (ftp nftytool to home dir)

    cd /home
    tar -zxvf nftytool-1.1.tar.gz && cd nftytool-1.1
    mkdir /var/nftytool
    cp * -r /var/nftytool
    cd /var/nftytool
    ./configure
    make

    reboot


    (then ftp into the server as root and checked /VAR folder and confirmed that nftytool folder is there and all the files have transfered into it.)
    (then ftp cccam.cfg to server and transfered the same into /VAR/ETC then restarted cccam.)

    cccam stop

    (to set frequency)

    cd /var/nftytool
    ./nftytool -p phoenix -- -p phoenix -f 3.58 -e

    SERIAL READER : /dev/ttyS0
    BOXKEY: /dev/sci0 xx xx xx xx

The only thing that i can see is i have't enabled TRY ALL CHIDS : /dev/ttyS0

Is that the answere?


Respect,
DaDoggy

VU+ Solo with 1 meter ally dish mounted on a Manhattan mount, Dreambox 500, Eagle linux box, 5 mac's, 4 pc's, Debian home server
   
Reply With Quote
Reply

Bookmarks

Tags
debian, infinity, phoenix, server


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 Off
Pingbacks are Off
Refbacks are Off

Forum Jump



ECS on RSS ECS on Twitter ECS on Facebook ECS on Youtube
Follow us on:

Powered by vBulletin
Copyright 2002 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
Dreambox