LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-15-2015, 09:22 PM   #1
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,340

Rep: Reputation: Disabled
USB sharing over IP or Ethernet


Short version: I'm looking for a way to access a USB device from a Linux system over IP (preferrably) or raw Ethernet. Has anyone here tried this?

I've looked briefly at the USB/IP project and USB Redirector, but the former hasn't seen active development in a while and the latter is non-free. Both require a Linux (or Windows) computer acting as a USB server.

Long version: The scenario is this: I have a number of UPS units servicing switches and other network equipment at various locations, and these are physically located inside wiring closets.

The UPS units all have USB connections (not serial or Ethernet). I'd like to be able to log power outages and monitor battery status, but there are no computers in the immediate vincinity, and I can't put one inside the wiring closets due to lack of space and/or cooling.

I see three possibilities:
  1. Find Linux software capable of communicating with an existing USB network server, like the Action Star IU-P1A0-A or IU-P4A1-A (pretty much the ideal solution)
  2. Put a Raspberry PI in the wiring closets and find suitable Linux software to run at both ends
  3. Replace a bunch of otherwise good UPS units with ones that have an Ethernet or serial connection (I'd really like to avoid this)
This article looks promising, but it depends on non-free and non-open software, which I'd also like to avoid. I don't mind paying for it, though.
 
Old 06-16-2015, 06:29 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
Would NUT running on the Raspberry PIs do what you need?
http://www.networkupstools.org
 
Old 06-16-2015, 06:56 AM   #3
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,340

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by smallpond View Post
Would NUT running on the Raspberry PIs do what you need?
http://www.networkupstools.org
Almost, but not quite.

NUT doesn't (yet) support battery maintenance for all UPS models, and I'd like to avoid setting up and maintaining multiple remote software installations if at all possible.

Besides, a generic USB network server could also be used to share other devices, such as temperature probes and management ports on routers and switches.
 
Old 06-16-2015, 03:48 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
This is something like what might work. SIIG USB over IP 1-Port

Might be a powerline usb gizmo.

You really need more like a usb to serial gizmo then serial to ip gizmo I'd think.

Last edited by jefro; 06-16-2015 at 03:51 PM.
 
Old 06-16-2015, 03:51 PM   #5
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,340

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
Usb over ethernet is usually a two sided affair. What you want is a way to mount a usb drive on something and access it via tcp/ip.
If you read the original post, you'll see that is not at all what I want.
 
Old 06-17-2015, 03:13 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
"UPS units all have USB connections"

"over IP"

Yes, I did understand it. The output of the usb needs some way to convert a usb female connection to an IP then back to usb. I am not sure you can easily use a usb device on a nic in linux.

Guess you could look at this. http://usbip.sourceforge.net/

Last edited by jefro; 06-17-2015 at 03:18 PM.
 
  


Reply



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
Internet Sharing via Ethernet Card dushyantgohil Linux - Newbie 4 08-30-2012 12:08 PM
File sharing between computers on the same ethernet hub. psionl0 Slackware 12 06-17-2011 12:09 AM
Ethernet to USB converter, not USB to Ethernet MrUmunhum Linux - Hardware 14 11-13-2009 12:43 PM
sharing mac internet through ethernet, dhcp stairwayoflight Linux - Networking 3 01-19-2008 03:46 PM
DSL Ethernet USB Combo Router + Internet Sharing kenny_zzz Linux - Networking 0 02-28-2004 03:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:51 AM.

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
Open Source Consulting | Domain Registration