Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[PROBLEM] LAN down overnight
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Problem: LAN down overnight
29th Nov, 2013, 10:12 AM
Post: #1
henrythor Offline
Registered
Posts: 3
Joined: Nov 2013
Reputation: 0
LAN down overnight
Hi

I have a problem with my Pi and Xbian 1.0 beta2.

I'll get it up and running, watch stuff then the next day it's not working anymore.

I've been rebooting it every time using my CEC enabled remote, but I finally found my wireless keyboard in a drawer and checked the console.

Dmesg shows this:
Terminal
[ 369.554319] smsc95xx 1-1.1:1.0 eth0: link down
[ 372.035609] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
[ 392.012861] smsc95xx 1-1.1:1.0 eth0: link down
[ 393.646034] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
Had to setup a routing table for it to work again, even if it was "up" and had link according to ifconfig.

Seems like the network card shuts itself on and off, it's not being done with ifdown/ifup, since if it were it'd work.

I don't ever recall this happening in my previous install, which was 1.0 alpha 5.

Reason it's probably not an universal problem is that I've setup my pi with a static IP (so that port forwards and such work aswell as Yatse, because my shitty Zhone router doesn't support static ips on DHCP. So maybe other people's xbians are just reconfiguring after dropping out.

So I guess what I'm trying to figure out is why the interface is dropping out at all. And to ask you guys to look if you have similar messages from the smsc95xx interface in your dmesg.

Regards,
Henry.
Find all posts by this user
Quote this message in a reply
29th Nov, 2013, 10:57 AM
Post: #2
rikardo1979 Offline
Management
******
Posts: 3,545
Joined: Dec 2012
Reputation: 190
RE: LAN down overnight
check this out
http://forum.xbian.org/thread-1727.html?highlight=power+cable
maybe you having same issue

~~~~>>>Please always follow rules and read before you post<<<~~~~
Find all posts by this user
Quote this message in a reply
29th Nov, 2013, 12:54 PM
Post: #3
henrythor Offline
Registered
Posts: 3
Joined: Nov 2013
Reputation: 0
RE: LAN down overnight
(29th Nov, 2013 10:57 AM)rikardo1979 Wrote:  check this out
http://forum.xbian.org/thread-1727.html?highlight=power+cable
maybe you having same issue

Don't think I do. I have a decent PSU supplying 1000mA and not a whole lot of peripherals. Just the ethernet and a logitech adapter for wireless keyboard/mouse that I never use. Plus this never happened before I upgraded from 1.0 alpha 5 to beta 2.
Find all posts by this user
Quote this message in a reply
29th Nov, 2013, 04:41 PM
Post: #4
freem@n Offline
Registered
Posts: 134
Joined: Aug 2013
Reputation: 5
AW: LAN down overnight
Although 1000mA could be sufficient it's not very much. Maybe it's supplying even less. Therefore I would always stick to a 1500-2000 MA PSU at least.
But you should also check your router about your problem. Maybe because your router probably receives a new IP-Address overnight your RPi gets lost. Or your router has some kind of sleep-functionality (which I have enabled for WiFi overnight).

RPi 1 Model B & RPi 2
Find all posts by this user
Quote this message in a reply
30th Nov, 2013, 11:13 AM
Post: #5
henrythor Offline
Registered
Posts: 3
Joined: Nov 2013
Reputation: 0
RE: LAN down overnight
(29th Nov, 2013 04:41 PM)freem@n Wrote:  Although 1000mA could be sufficient it's not very much. Maybe it's supplying even less. Therefore I would always stick to a 1500-2000 MA PSU at least.
But you should also check your router about your problem. Maybe because your router probably receives a new IP-Address overnight your RPi gets lost. Or your router has some kind of sleep-functionality (which I have enabled for WiFi overnight).

I'll try a new psu when I get a chance. As for the router, it doesn't change IP's or sleep, it's just functioning as a bridge to my fiber optics box, and I have a static IP there.
Find all posts by this user
Quote this message in a reply
1st Dec, 2013, 09:43 AM
Post: #6
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: LAN down overnight
@henrythor

XBian version prior Beta2 used ifplugd to reactivate (ifup) the interface on network link loss (and reconnect).

Try reactivating it again for eth0 manually by editing /etc/default/ifplugd or by using dpkg:
Code:
sudo dpkg-reconfigure ifplugd

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 9th May, 2025, 10:40 PM Powered By MyBB, © 2002-2025 MyBB Group.