Unexplained falling off the network

Support for your TonidoPlug
expenguinbasher
Veteran Tonidoid
Veteran Tonidoid
Posts: 51
Joined: Tue Aug 07, 2012 6:23 am
Location: UK

Unexplained falling off the network

Postby expenguinbasher » Tue Oct 02, 2012 2:39 am

After 28 days of continuous uptime, my plug unexpectly went offline this morning.

I have looked through all the logs I can find, and as far as I see, it was happily renewing IP addresses via DHCP and logging firewall events up to about 04:34 but can see nothing beyond that. When I discovered the fault, I found that my iPod would not go online, and my laptop (which was on) had lost contact with the default gateway (the plug) so it seems the newtork services had hung or something, although all leds seemed to be blinking away as normal. I did first reset my router - daft I know because by then I had realised that I could not ping the local address. Then i had no choice but to reboot the plug by pulling the power cord. It came right back up and seems to be ticking along fine.

Can anyone give me some troubleshooting tips to see what happened, as I say the logs aren't that enlightening - as an example a snip of the syslog:

Code: Select all

Oct  2 04:24:48 tp2-plug dhcpd: DHCPREQUEST for xxx.xxx.xxx.13 from 18:e7:f4:xxx.xxx.xxx via eth0
Oct  2 04:24:48 tp2-plug dhcpd: DHCPACK on xxx.xxx.xxx.13 to 18:e7:f4:xxx.xxx.xxx via eth0
Oct  2 04:31:35 tp2-plug kernel: Shorewall:net2fw:DROP:IN=eth1 OUT= MAC=ff:ff:ff:ff:ff:ff:00:09:f3:08:e6:4b:08:00 SRC=77.42.215.100 DST=82.xxx.xxx.xxx LEN=52 TOS=0x0C PREC=0x00 TTL=50 ID=27842 DF PROTO=TCP SPT=57444 DPT=3389 WINDOW=65535 RES=0x00 SYN URGP=0
Oct  2 04:34:33 tp2-plug dhcpd: DHCPREQUEST for xxx.xxx.xxx.13 from 18:e7:f4:xxx.xxx.xxx via eth0
Oct  2 04:34:33 tp2-plug dhcpd: DHCPACK on xxx.xxx.xxx.13 to 18:e7:f4:xxx.xxx.xxx via eth0
Oct  2 05:27:57 tp2-plug kernel: imklog 4.6.4, log source = /proc/kmsg started.
Oct  2 05:27:57 tp2-plug rsyslogd: [origin software="rsyslogd" swVersion="4.6.4" x-pid="1371" x-info="http://www.rsyslog.com"] (re)start
Oct  2 05:27:57 tp2-plug ifplugd(eth0)[1345]: Program executed successfully.
Oct  2 05:27:57 tp2-plug kernel: Linux version 2.6.31.8-topkick1281p2-001-004-20101214 (bossman@ubuntu) (gcc version 4.4.5 20100614 (prerelease) (FSF GNU GCC branch-4.4.5. Marvell GCC 2010q4-113) ) #3 Sun Sep 2 06:22:04 PDT 2012
Oct  2 05:27:57 tp2-plug kernel: CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
Oct  2 05:27:57 tp2-plug kernel: CPU: VIVT data cache, VIVT instruction cache


Thanks in advance

Tuxedo
Tonido Team
Tonido Team
Posts: 1458
Joined: Wed Jan 28, 2009 11:30 pm

Re: Unexplained falling off the network

Postby Tuxedo » Tue Oct 02, 2012 9:09 am

Could be some driver issue.
The right way to debug this is to connect a usb-serial cable to the plug and leave it there.
Next time it happens you can connect through the serial cable and see whats going on.

expenguinbasher
Veteran Tonidoid
Veteran Tonidoid
Posts: 51
Joined: Tue Aug 07, 2012 6:23 am
Location: UK

Re: Unexplained falling off the network

Postby expenguinbasher » Tue Oct 02, 2012 11:39 am

thanks for the quick resoponse

I'll have to invest in one of those, haven't bothered so far because I thought console access would be beyond my needs.

The only additional driver is for the eth1 usb-ethernet (it was in the kernel source all I did was enable it), but I lost etho access. Seems odd that it would run for a month with no problems though.

marioscube
Guru Tonidoid
Guru Tonidoid
Posts: 341
Joined: Sat Apr 14, 2012 5:42 pm
Location: Netherlands

Re: Unexplained falling off the network

Postby marioscube » Tue Oct 02, 2012 12:11 pm

http://www.ebay.co.uk/itm/180836792643#ht_6563wt_1141

Worked for me.

Drivers included in linux (Debian Wheezy).

Used Putty under linux (Debian Wheezy).

Could not ge it to work with other software or with Windows, but ymmv.

expenguinbasher
Veteran Tonidoid
Veteran Tonidoid
Posts: 51
Joined: Tue Aug 07, 2012 6:23 am
Location: UK

Re: Unexplained falling off the network

Postby expenguinbasher » Wed Oct 03, 2012 2:03 am

Thanks, just ordered one, when it arrives I will play with it on my spare plug to get a working environment. I can only run Linux in a VM, but it is easy to present the usb port through to the VM so I should be OK.


Return to “TonidoPlug Support”

Who is online

Users browsing this forum: No registered users and 8 guests