LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-13-2016, 02:10 PM   #1
swaxolez
LQ Newbie
 
Registered: Jun 2012
Posts: 9

Rep: Reputation: Disabled
Need urgent help with Remote Deployment and Network


Hi there,

I must apologize immediately for the title and the panicky situation I'm currently in. I need to deploy this tomorrow and have run into issues that has me spooked about the future reliability. I'm using two Raspberry Pi's with Debian Jessie in a remote location (really remote or at least hard to get to). The Server Pi has two ethernet, one built in ethernet and oneusb ethernet. It also has a 3G modem.

I need to be able to have all ethernet and ppp devices be able to talk with other. I have an IP camera attached to eth0 and a second single purpose Pi connected to eth1. The second Pi is used simply as a display terminal and displays a web page served from the first Pi showing various sensor data and statistics.

The 3G modem allows me to autossh in and perform sys admin stuff once in a while on the server Pi.

I had all of this working using bridge-utils but it seems (at least from what little I can see in my syslog) that the usb ethernet device is dropping which ultimately brings down the bridge which is a major problem for me.

I've thought about scripting a watchdog to check the network health and performing a reboot but this is awkward and creates some unwanted downtime on my Pi's.

Ideally I want eth0 and eth1 to have static IP addresses. I want them to be independent but yet talk with each other or see each other on the network.

Instead of using bridge-utils can I use iptables and routing?

I really appreciate any help with this and will gladly pay if need be to get a good working solution.
 
Old 02-13-2016, 03:51 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
I can not offer to much insight on the inner workings of a Pi..

What are the models of your Pi's? Is the power supply sufficient to power the Pi and the USB devices? Have you verified the 3G MODEM and the ethernet adapter are not overloading the USB current? With the B+ models you can increase USB power from 600mA to 1.2A.

I suppose being in a remote location you might not be able to afford the current requirements of a switch to eliminate the need for the USB ethernet adapter. You could set up iptables to forward traffic from eth0 to eth1 instead of bridging.
 
Old 02-13-2016, 04:21 PM   #3
swaxolez
LQ Newbie
 
Registered: Jun 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
There is lots of power and I have the PI set with it being able to handle 2 amps. I think this is an issue with the usb ethernet port itself. I'm currently gong to setup a ping pong situation between the two Pi's. If they don't respond then I'll restart the network.

Prior to the RPI's I was using an Odroid which is a little more powerful but was having very problematic usb driver issues with the kernel. I don't think they have it resolved yet.

I guess I'll stick with bridge-utils and do a network check until I have it properly worked out and then make a trip to the installation.
 
Old 02-13-2016, 04:40 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
The only other issue that I can think of is I/O. All USB and ethernet traffic go through the USB controller. Does this happen randomly or can you tie it to a specific moment when you where trying to communicate on all three at the same time?
 
Old 02-14-2016, 02:43 AM   #5
swaxolez
LQ Newbie
 
Registered: Jun 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
I was wrong. I measured voltage on the pins of the Pi and its more like 4.75 volts and going to 4.6. I've managed to shore things up a little by moving devices around and am back to 4.89 volts. Still, I'd like to see 5V bang on in a perfect world.

Thanks for your feedback. I thought power was not an issue but I think you got it right in your first response.
 
  


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
linux maven remote war deployment bhaumik Linux - Newbie 4 09-19-2010 01:48 PM
Network file deployment. unreal128 Linux - Software 2 09-10-2005 03:58 PM
apps for network deployment? kahn Linux - Software 4 04-29-2005 06:27 PM
Slackware network deployment ? dunric Slackware 2 07-21-2004 03:26 PM
remote software deployment project newbie20 Linux - Software 0 09-01-2003 03:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:06 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