LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-07-2009, 08:36 PM   #1
gonvaro
Member
 
Registered: Jan 2009
Location: Medellín, Colombia
Distribution: Fedora 17
Posts: 69

Rep: Reputation: 15
Unhappy USB Device Server


Hello friends;

I have a network device, called "Silex SX-5000U2" to get a better idea this is the link for the manual for that device http://www.silexeurope.com/media/manuals/SX5000U2.pdf

It's a USB Device Server. Although the manufacturer expresses no support for linux, in the software world, we all know that everything is possible.

It, I was able to connect the printer to Ubuntu 9.04, but I could with shares or with the scanner.

Regards...
 
Old 09-08-2009, 12:49 PM   #2
j_jerry
Member
 
Registered: Sep 2009
Distribution: fedora 11
Posts: 318

Rep: Reputation: 46
Can you make it more clear? you can't connect.right?
 
Old 09-08-2009, 07:02 PM   #3
gonvaro
Member
 
Registered: Jan 2009
Location: Medellín, Colombia
Distribution: Fedora 17
Posts: 69

Original Poster
Rep: Reputation: 15
Really, you have read the PDF file link I published?

How can use the connection to the scanner and storage device?

Quote:
Originally Posted by j_jerry View Post
Can you make it more clear? you can't connect.right?

Last edited by gonvaro; 09-08-2009 at 07:54 PM.
 
Old 09-08-2009, 09:48 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,265

Rep: Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624
Quote:
in the software world, we all know that everything is possible.
Almost....

From the manual you posted the storage server is compatible with netbios so it should be accessible via samba. However the scanner function appears to require windows software. About the only real information is that the scanner function uses port 19540 TCP protocol.
 
Old 09-08-2009, 10:32 PM   #5
gonvaro
Member
 
Registered: Jan 2009
Location: Medellín, Colombia
Distribution: Fedora 17
Posts: 69

Original Poster
Rep: Reputation: 15
Ok, and...

So what are you thinking?
What do your solution using Ubuntu 9.04 as OS?

The file you see here is the result of a scan with Umit

Quote:
Originally Posted by michaelk View Post
Almost....

From the manual you posted the storage server is compatible with netbios so it should be accessible via samba. However the scanner function appears to require windows software. About the only real information is that the scanner function uses port 19540 TCP protocol.
Attached Files
File Type: txt scan_192.168.2.2_Umit.txt (17.9 KB, 25 views)

Last edited by gonvaro; 09-08-2009 at 10:41 PM.
 
Old 09-08-2009, 10:44 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,265

Rep: Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624
I'm thinking you can access an attached storage device on the server the same way you can access a windows network share. Example:
mount -t cifs //xx.xx.xx.xx/drive1 /media/nas (where xx = IP address) Use the mkdir utility to create a mount directory.
I assume that samba is installed.

The manual has details on the netbios and drive share names.
 
Old 09-08-2009, 10:46 PM   #7
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
Have you assigned the device an IP per page 2-8 of the manual? In this case the Unix and Linux commands should be very similar.

Edit: The printer should be able to be used with Samba. Scanners are little more tricky.

Last edited by lazlow; 09-08-2009 at 10:53 PM.
 
Old 09-08-2009, 11:05 PM   #8
gankoji
Member
 
Registered: Nov 2007
Location: Southern California
Distribution: Slackware-13.0 x86_64, Slackware 12.2, slackware64-current
Posts: 225

Rep: Reputation: 35
for scanner support you can check out sane. Other than that, the manual is pretty clear about what you need to do. give your server an IP address, and try connecting to your share device. Let us know how that goes and we'll figure what to do from there.
 
Old 09-08-2009, 11:15 PM   #9
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
I am not too sure how sane will deal with this. It may be fine but I suspect that it may through a fit. Basically you are remotely operating (everything) over samba.
 
Old 09-08-2009, 11:19 PM   #10
gankoji
Member
 
Registered: Nov 2007
Location: Southern California
Distribution: Slackware-13.0 x86_64, Slackware 12.2, slackware64-current
Posts: 225

Rep: Reputation: 35
Well, I was referring to the possibility that you may be able to use it as a sort of codec before transmitting/receiving raw data to the scanner with samba. I really couldn't say, never tried it or even thought of it until 5 minutes ago. Just a quip at an interesting exercise in hacking to someone who has the right motivation ;-).
 
Old 09-09-2009, 12:24 AM   #11
gonvaro
Member
 
Registered: Jan 2009
Location: Medellín, Colombia
Distribution: Fedora 17
Posts: 69

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by michaelk View Post
I'm thinking you can access an attached storage device on the server the same way you can access a windows network share. Example:
mount -t cifs //xx.xx.xx.xx/drive1 /media/nas (where xx = IP address) Use the mkdir utility to create a mount directory.
I assume that samba is installed.

The manual has details on the netbios and drive share names.
Try, and look:

pepito@pepon:~$ sudo mount -t cifs //192.168.2.2/drive1 /mnt/usbdrv
[sudo] password for pepito:
Password:
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
 
Old 09-09-2009, 12:46 AM   #12
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
Can you ping the device?
 
Old 09-09-2009, 01:53 AM   #13
gonvaro
Member
 
Registered: Jan 2009
Location: Medellín, Colombia
Distribution: Fedora 17
Posts: 69

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by lazlow View Post
Can you ping the device?
Yes...

pepito@pepon:~$ ping 192.168.2.2
PING 192.168.2.2 (192.168.2.2) 56(84) bytes of data.
64 bytes from 192.168.2.2: icmp_seq=1 ttl=255 time=6.71 ms
64 bytes from 192.168.2.2: icmp_seq=2 ttl=255 time=1.23 ms
64 bytes from 192.168.2.2: icmp_seq=3 ttl=255 time=1.20 ms
64 bytes from 192.168.2.2: icmp_seq=4 ttl=255 time=4.89 ms
64 bytes from 192.168.2.2: icmp_seq=5 ttl=255 time=1.58 ms
64 bytes from 192.168.2.2: icmp_seq=6 ttl=255 time=2.07 ms
64 bytes from 192.168.2.2: icmp_seq=7 ttl=255 time=1.06 ms

--- 192.168.2.2 ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 6007ms
rtt min/avg/max/mdev = 1.061/2.680/6.711/2.057 ms

pepito@pepon:~$ ping usbsvr
PING usbsvr.dummy.porta.siemens.net (192.168.2.2) 56(84) bytes of data.
64 bytes from USBSVR.dummy.porta.siemens.net (192.168.2.2): icmp_seq=1 ttl=255 time=1.21 ms
64 bytes from USBSVR.dummy.porta.siemens.net (192.168.2.2): icmp_seq=2 ttl=255 time=1.13 ms
64 bytes from USBSVR.dummy.porta.siemens.net (192.168.2.2): icmp_seq=3 ttl=255 time=1.18 ms
64 bytes from USBSVR.dummy.porta.siemens.net (192.168.2.2): icmp_seq=4 ttl=255 time=1.31 ms
64 bytes from USBSVR.dummy.porta.siemens.net (192.168.2.2): icmp_seq=5 ttl=255 time=3.54 ms
64 bytes from USBSVR.dummy.porta.siemens.net (192.168.2.2): icmp_seq=6 ttl=255 time=1.43 ms

--- usbsvr.dummy.porta.siemens.net ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5008ms
rtt min/avg/max/mdev = 1.139/1.638/3.546/0.859 ms
 
Old 09-09-2009, 07:31 AM   #14
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,265

Rep: Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624
Here are several commancds to try and see if netbios is working on the server.
nmblookup usbsvr (should display IP address of the server)
smbtree
fndsmb

Just press the enter key if the commands ask for a password.
 
Old 09-09-2009, 08:03 AM   #15
gonvaro
Member
 
Registered: Jan 2009
Location: Medellín, Colombia
Distribution: Fedora 17
Posts: 69

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by michaelk View Post
Here are several commancds to try and see if netbios is working on the server.
nmblookup usbsvr (should display IP address of the server)
smbtree
fndsmb

Just press the enter key if the commands ask for a password.
Run the commands:

pepito@pepon:/home/pepito# nmblookup usbsvr
querying usbsvr on 192.168.2.255
192.168.2.2 usbsvr<00>
pepito@pepon:/home/pepito# smbtree
Password:
CASA
\\VAROLAP varolap server (Samba, Ubuntu)
\\VAROLAP\HP-Deskjet-f380 HP Deskjet f380 All-in-One
\\VAROLAP\IPC$ IPC Service (varolap server (Samba, Ubuntu))
\\VAROLAP\print$ Printer Drivers
\\USBSVR PRICOM SX-5000U2
Server requested LANMAN password (share-level security) but 'client lanman auth' is disabled
failed tcon_X with NT_STATUS_OK
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB drive not working properly, read only device? (USB key storage device) Arodef Linux - Hardware 14 01-01-2010 08:32 AM
LXer: Linux-based device server sprouts USB interface LXer Syndicated Linux News 0 08-11-2006 05:54 PM
How to force kernel to use a USB 2.0-compatible device (ehci_hcd) as a USB 1.1 device eze Linux - Hardware 0 05-16-2006 06:24 AM
USB device forward from terminal server sickdude Linux - Networking 2 07-23-2005 11:57 AM
HP Deskjet (USB) & CUPS & Slackware 9.1: Unable to open USB device "usb:/dev/usb/lp0&qu arnostienen Slackware 2 01-29-2004 04:22 PM


All times are GMT -5. The time now is 08:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration