Sponsored links


Go Back   Sat Industry Forums > Dreambox > Dreamulators
Register FAQ Members List Calendar Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-24-2006
MaxGen's Avatar
Registered User
 
Join Date: Mar 2004
Posts: 36
Thanks: 0
Thanked 1 Time in 1 Post
MaxGen is on a distinguished road
help with newcs server on Ubuntu

I'm trying to setup newcs on Ubuntu. I am executing the newcs.i386 binary, but it complained of a missing libcrypto.so.0.9.7 library. I copied the libcrypto file from my DB to the lib directory on the server but now I'm getting a "little-endian" error. I am assuming I should be installing a libcrypto.so.0.9.7 file for debian/Ubuntu? I found a package so I will try it tonight.

http://packages.ubuntulinux.org/cgi-...arty&arch=i386

If there is anyone that has this running on Linux, I could use some advise. Am I on the right track, am I missing something all together?

TIA
Reply With Quote
Sponsored links
  #2 (permalink)  
Old 08-24-2006
PacMan's Avatar
Registered User
 
Join Date: Oct 2003
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
PacMan is on a distinguished road
Re: help with newcs server on Ubuntu

soundīs weard

cause iīm using ubuntu 5.10 and it worked just perfectly from the start ,only needed to copy newcs.x86 and newcs.xml and that was all
Reply With Quote
  #3 (permalink)  
Old 08-24-2006
Registered User
 
Join Date: Aug 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Relworp is on a distinguished road
Re: help with newcs server on Ubuntu

Quote:
Originally Posted by MaxGen
I copied the libcrypto file from my DB to the lib directory on the server but now I'm getting a "little-endian" error. I am assuming I should be installing a libcrypto.so.0.9.7 file for debian/Ubuntu? I found a package so I will try it tonight.
TIA
Well, you're actually trying to use a library compiled for a little endian arch->PPC on a bigendian one ->x86. This is most definately a no can do! With a bit of luck
you'll find a working x86 one (your link).
Anyway, running your card server, any variety, on Linux is preferable to running it on Windows for lot's of reasons.
Good Luck...do tell us how it worked out.

/Regards....
Reply With Quote
  #4 (permalink)  
Old 08-24-2006
MaxGen's Avatar
Registered User
 
Join Date: Mar 2004
Posts: 36
Thanks: 0
Thanked 1 Time in 1 Post
MaxGen is on a distinguished road
Re: help with newcs server on Ubuntu

Guys, thanks for the tip. After I installed the debian libcrypto package I no longer get the little endian error. I seem to be getting much further now, however it's still not working. I get stuck in and endless loop with the following lines:

Code:
[ 20:21:14 ] [ Phoenix ] Opening device ttyS0
[ 20:21:14 ] [ Phoenix ] Could not get device ttyS0
[ 20:21:14 ] [ Loader ] Reset failed ...
This continues to scroll until I reboot.

I thought perhaps I plugged it into the wrong com port, ie: com2 instead of com1, but it's not working on either port.

I ran the command: dmesg | grep tty

...and it gave me the following output, which seems to indicate the OS knows about the serial port.

Code:
[42949379.290000] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[42949379.290000] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[42949379.300000] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[42949379.300000] 00:0a: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
I'll try changing the newcs.xml to ttyS1 and moving the cable to com2, just in case there is a problem with com1.

Thanks again guys
Reply With Quote
  #5 (permalink)  
Old 08-24-2006
MaxGen's Avatar
Registered User
 
Join Date: Mar 2004
Posts: 36
Thanks: 0
Thanked 1 Time in 1 Post
MaxGen is on a distinguished road
Re: help with newcs server on Ubuntu

Would anyone be able to post their newcs.xml file for Linux? There was a line "<carddetect>on</carddetect>" Should that perhaps be off?

TIA
Reply With Quote
  #6 (permalink)  
Old 08-24-2006
Registered User
 
Join Date: Aug 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Relworp is on a distinguished road
Re: help with newcs server on Ubuntu

Quote:
Originally Posted by MaxGen

Code:
[ 20:21:14 ] [ Phoenix ] Opening device ttyS0
[ 20:21:14 ] [ Phoenix ] Could not get device ttyS0
[ 20:21:14 ] [ Loader ] Reset failed ...
This continues to scroll until I reboot.

I thought perhaps I plugged it into the wrong com port, ie: com2 instead of com1, but it's not working on either port.

I ran the command: dmesg | grep tty
I get the same response issuing the same command in a console also, with Ubuntu 6.06. However the line under CODE above: "COULD not get device..." might suggest either a hardware problem (hopefully not) or really trying to open the wrong device.
My excursions into newCS setup, limited as they might be, have led me to believe that it is inititally/primarily targeted at USB card readers but I might be out on a limb here. Trying with defaults to open a
bog standard com port might not work very well. If my findings are correct(dont't hold your breath) you should be using USB card readers with newCS or specifically configure for use with ordinary com ports.

/Regards...
Reply With Quote
  #7 (permalink)  
Old 08-24-2006
PacMan's Avatar
Registered User
 
Join Date: Oct 2003
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
PacMan is on a distinguished road
Re: help with newcs server on Ubuntu

what programmer/phoenix are u useing whit it , maby the problems that ?

did u try 2 change the phoenix in smartmouse mode and c if that helps
Reply With Quote
  #8 (permalink)  
Old 08-25-2006
MaxGen's Avatar
Registered User
 
Join Date: Mar 2004
Posts: 36
Thanks: 0
Thanked 1 Time in 1 Post
MaxGen is on a distinguished road
Re: help with newcs server on Ubuntu

Thanks for sticking with me guys.

I've tried 2 different programmers so far; a generic programmer and an Extreme Pro. Each with their own cable and power supply. Both are producing the same result.

I read somewhere about creating a symbolic link between ttyS0 and /dev/modem when connecting a modem to the PC. Would I have to do something like that for the ISO reader? I'm not sure what smartmouse mode is but I think that's a feature of the programmer that I don't believe I have.

I changed the <carddetect> line to "no". doing that produced the results below, but I sustpect what I am seeing is not right. It still doesn't look like newcs sees the reader.

Code:
[ 20:02:55 ] [ Loader ] Reader type 2 on node ttyS0
[ 20:02:55 ] [ Phoenix ] Opening device ttyS0
[ 20:02:55 ] [ Phoenix ] Could not get device ttyS0
[ 20:02:55 ] [ Loader ] Reset failed ...
[ 20:02:55 ] [ Loader ] Starting Newcamd Server on port 10110
[ 20:02:55 ] [ NewCS ] Ready to GO! :)
This is frustrating

MaGen...

Last edited by MaxGen : 08-25-2006 at 09:39 AM.
Reply With Quote
  #9 (permalink)  
Old 08-25-2006
Registered User
 
Join Date: May 2006
Posts: 152
Thanks: 0
Thanked 0 Times in 0 Posts
dm66 is on a distinguished road
Re: help with newcs server on Ubuntu

This is quite easy to figure out. First are you osuren nothing else is claiming that port - i.e pppd, minicom, etc. There should be only one exclusive owner on that port and all other apps will fail. Use 'lsof' on freshmeat.net to check who else is on the port. If that shows up nothing, then run the following command and post peruse the output. You should see a open() line for /dev/ttyS0 and a return failure. Please post what it is.

strace -f -o debug.txt newcs
Reply With Quote
  #10 (permalink)  
Old 08-25-2006
MaxGen's Avatar
Registered User
 
Join Date: Mar 2004
Posts: 36
Thanks: 0
Thanked 1 Time in 1 Post
MaxGen is on a distinguished road
Re: help with newcs server on Ubuntu

dm66

I ran the lsof command but I did not see anything referring to ttyS0... Should I be looking for something else?

After running the strace command, I see this:

Code:
5204  write(1, "[ 08:59:55 ] [ Loader ] Reader t"..., 53) = 53
5204  send(3, "[ 08:59:55 ] [ Loader ] Reader t"..., 53, 0) = 53
5204  close(-1)                         = -1 EBADF (Bad file descriptor)
5204  time(NULL)                        = 1156510795
5204  write(1, "[ 08:59:55 ] [ Phoenix ] Opening"..., 46) = 46
5204  send(3, "[ 08:59:55 ] [ Phoenix ] Opening"..., 46, 0) = 46
5204  open("ttyS0", O_RDWR|O_NONBLOCK|O_NOCTTY) = -1 ENOENT (No such file or directory)
5204  time(NULL)                        = 1156510795
5204  write(1, "[ 08:59:55 ] [ Phoenix ] Could n"..., 52) = 52
5204  send(3, "[ 08:59:55 ] [ Phoenix ] Could n"..., 52, 0) = 52
5204  time(NULL)                        = 1156510795
5204  write(1, "[ 08:59:55 ] [ Loader ] Reset fa"..., 41) = 41
5204  send(3, "[ 08:59:55 ] [ Loader ] Reset fa"..., 41, 0) = 41
What caught my eye was the "no such file or directory". The file is in /dev. My dmseg |grep tty seems to indicate everything is in order as well.

I'm not very good with linux so your help is greatly appreciated.

Just so you know, I built another ubuntu server with the same results.

Regards...
Reply With Quote
Reply


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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newcs server - camd3 client -possible ? jabbahot Dreamulators 2 08-09-2006 09:29 PM
newcs server,evo clients freezing blackbear New Dreamers 1 07-08-2006 09:44 AM
newcs server run ok but i cant connect to it astrasw Dreamulators 1 04-23-2006 09:50 AM
NewCS came or just a server. 192.168.0.254 New Dreamers 0 04-10-2006 01:08 PM
What's the difference between a card server (such as newcs) and a card spider adunlop New Dreamers 4 10-12-2005 04:07 AM


All times are GMT +10. The time now is 09:18 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Page generated in 0.29648 seconds with 10 queries