Network problems

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Network problems

Postby gregoire » Mon Aug 06, 2012 2:27 pm

Hello,

I have had a pogoplug running arch linux for a few month now without problems until I had to restart it yesterday. Now it won't boot properly. I don't really know what is going on, the only clue I have is that every few seconds, the network seems to be going on and off and there is a lot of those in kernel.log:
$this->bbcode_second_pass_code('', '
mv643xx_eth_port mv643xx_eth_port.0: eth0: link up, 100 Mb/s, full duplex, flow control disabled
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
')

If I remove the drive on which arch is installed, the device boots and I can ssh to it. So I tried installing a fresh version on a different usb key, following the procedure there:http://archlinuxarm.org/platforms/armv5/pogoplug-v2-pinkgray (I have a POGO-E02) and I get the same thing.

Since I'm switching ISP I figured that this could be the problem but I don't know what to do to find out what is going on.
Any ideas?
gregoire
 
Posts: 4
Joined: Mon Aug 06, 2012 1:53 pm

Re: Network problems

Postby WarheadsSE » Mon Aug 06, 2012 2:53 pm

Why would switching ISPs make your network connection go up/down?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Network problems

Postby gregoire » Mon Aug 06, 2012 3:40 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'W')hy would switching ISPs make your network connection go up/down?


Well, that's what I'm trying to figure out. :-) I was thinking that maybe there was a problem with the new router or something.

The only other explanation I can think of is that a recent package upgrade introduced the problem, but then I supposed the fresh install should work fine?
gregoire
 
Posts: 4
Joined: Mon Aug 06, 2012 1:53 pm

Re: Network problems

Postby moonman » Tue Aug 07, 2012 6:19 am

If it's the router - then you can assign an ip to the pogoplug, assign an ip to your computer and connect them with a crossover cable - see if it does same thing or just try a different router.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Network problems

Postby gregoire » Tue Aug 07, 2012 8:13 pm

$this->bbcode_second_pass_quote('moonman', 'I')f it's the router - then you can assign an ip to the pogoplug, assign an ip to your computer and connect them with a crossover cable - see if it does same thing or just try a different router.


Thanks, that actually worked: I can ssh to the device if I connect it directly to my computer.

So the situation now is:
- if I boot the device while connected to the new router, it fail to boot arch and revert to the Pogoplug OS
- if it boots while connected to my laptop (or without ethernet) it correctly boot archlinux and I can connect to it if it is directly linked to my laptop. If I connect the router cable once the device is booted, it answer to pings but I cannot connect via ssh.

I also noticed that when plugged to the router, the orange led on the ethernet card of the pogplug blink constantly. After googling a bit I found that on some cards, this could mean collision of a speed conflict. Could that be the problem? The pogoplug, my laptop and my old router all have gigabit ethernet but the new router doesn't, so maybe archlinux is going too fast for the network?

Shouldn't archlinux adapt automatically to the network speed? Is there a way to set the speed manually?
gregoire
 
Posts: 4
Joined: Mon Aug 06, 2012 1:53 pm

Re: Network problems

Postby WarheadsSE » Tue Aug 07, 2012 8:30 pm

1) it should auto-negotiate, but some routers/switches don't do it nicely.
2) WTF it boots to pogoplug ?
3) Wow, what is that brand of router so I can never use it?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Network problems

Postby gregoire » Tue Aug 07, 2012 10:38 pm

$this->bbcode_second_pass_quote('WarheadsSE', '1')) it should auto-negotiate, but some routers/switches don't do it nicely.

I was wrong, auto-negotiation works. It turns out that the orange led can also mean that the card is not running at full speed. I managed to install ethtool and set the speed to 100 manually while connected to my laptop and the orange led started blinking but the connection held. Moreover, when I then switched cable and connected the pogoplug to my network, it worked: I could connect to it via ssh, and even forcing the auto-negotiation then didn't break the connection.

It now looks like everything is ok as long as I use a static IP. It is weird but I can live with it.

$this->bbcode_second_pass_quote('WarheadsSE', '2')) WTF it boots to pogoplug ?


Actually, I made some more test and, while it still happens, it doesn't seem to be correlated with which ethernet cable is plugged in.

$this->bbcode_second_pass_quote('WarheadsSE', '3')) Wow, what is that brand of router so I can never use it?

Netgear router/firewall FVS318 but I am not convinced that the router is faulty everything works fine when the pogoplug is booted on the pogoplug os…
gregoire
 
Posts: 4
Joined: Mon Aug 06, 2012 1:53 pm
Top

Re: Network problems

Postby syntaxing » Wed Aug 08, 2012 3:03 am

Hey gregoire,

I've been having some network problems too with the series 4 too and I've been trying a few things such as forcing dhcpcd to start up by changing the rc.local file and setting a static ip address. In the end, the static ip did the trick too. Its funny how you mentioned how you had a netgear router because I too connect my pogoplug to a netgear router provided by my ISP. I'm not too convinced either that its the router's fault because I had arch booting on the same router and same device before. The problem arise after installing a fresh copy of the most recent rootfs. I have another router in my network (A linksys one) and I connected the pogoplug to it and still no luck with ssh-ing into the pogoplug using dhcpcd.
syntaxing
 
Posts: 10
Joined: Mon May 23, 2011 8:46 pm


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 7 guests