You are not logged in.

#1 2010-09-17 01:51:42

adan
Member
Registered: 2010-09-17
Posts: 16

Problem with internet connection (router)

Hi everybody, im from Argentina and im new to the whole Arch Linux world.

I love this distribution and im having a great fun learning all the things about it, but now im facing a big problem:

Since i installed my system and everything, my internet connection did work, but i notice that when im browsing the web, every 5 or 6 seconds my internet connection seems to disconnect and firefox tells me : Unable to connect (...), and if i reload the page, it connects again.

All this happens randomly, and never stops. I tried the Ubuntu Live CD to check if their defaults values work, and it happens the same!

I tried installing Wicd (i followed the guide) , i tried using "dhcp" and an static IP like its in my Windows XP "eth0 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255", and my router gateway="default gw 192.168.1.1", and nothing seems to work.

I dont know why in my Windows XP it works great, please help me, i want to fully migrate to Arch Linux for ever! smile

Offline

#2 2010-09-17 03:36:55

fphillips
Member
From: Austin, TX
Registered: 2009-01-24
Posts: 202

Re: Problem with internet connection (router)

Is Arch dual-booting with WinXP or are they two separate computers? If they are separate, you can try the Live CD in the WinXP computer, or plug in the Arch computer into WinXPs network cable. Try to figure out whether the problem is specific to Linux, or a single computer, or wiring.

Tell us as much as you can about your network hardware and software configuration.

Last edited by fphillips (2010-09-17 03:37:31)

Offline

#3 2010-09-17 15:52:22

adan
Member
Registered: 2010-09-17
Posts: 16

Re: Problem with internet connection (router)

Im dual-booting with WinXP, thats why i think is pretty wierd, in WinXP the internet connection is working exellent and in Arch it disconnects randomly, its pretty annoying.

Im not currently in mi PC, but my network hardware is (i think) VIA Rhine II Fast Ethernet Adapter, and in software configuration : i tried using "dhcp" and an static IP like its in my Windows XP "eth0 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255", and my router gateway="default gw 192.168.1.1".

And in my resolv.conf i tried putting (like windows) my router 192.168.1.1 and my ISP IP: nameserver 200.51.211.7 nameserver 200.51.212.7

Please i want to find a quick solution to this! Thanks in advance.

Offline

#4 2010-09-17 18:24:29

fphillips
Member
From: Austin, TX
Registered: 2009-01-24
Posts: 202

Re: Problem with internet connection (router)

I seem to remember this driver having a history of problems. Here are some things to try/report when you get back home:
It may have some problems setting the MTU or auto-negotiating.

ifconfig eth0 mtu 1500
ethtool -s eth0 autoneg off speed 10 duplex full

If you don't have ethtool installed, there is mii-tool.

What is in your MODULES line in rc.conf?
What does ifconfig eth0 say both before and after the connection drops?
What eth0 messages in dmesg, or any BUGs, OOPS, or suspicious errors.

Usually when using the same IP on two different computers I have to unplug the router for 30 seconds, then plug it back in. This is so it doesn't get confused in arpcache about what MAC is associated with which IP. You shouldn't have to do this since dual booting its the same MAC on both, but you can try it.

This is for a different card but something similar may be happening since you are dual-booting:
http://wiki.archlinux.org/index.php/Con … _WOL_issue

Offline

#5 2010-09-17 21:13:32

adan
Member
Registered: 2010-09-17
Posts: 16

Re: Problem with internet connection (router)

Thanks for the response!

Im allready home and i tried everything you said, and it still happens :S.
ifconfig eth0 =
eth0     
          Link encap:Ethernet  HWaddr 00:13:8F:6C:BD:59 
          inet addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::213:8fff:fe6c:bd59/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1856 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1851 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1308033 (1.2 Mb)  TX bytes:233196 (227.7 Kb)
          Interrupt:23 Base address:0xd400

And i cant do this when the connection falls down because its pretty fast, and when i tried it, it said the same thing.

I dont have any modules load up:

# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=()

I did the dmesg and found this lines about eth0:
eth0: VIA Rhine II at 0x1d400, 00:13:8f:6c:bd:59, IRQ 23.
eth0: MII PHY found at address 1, status 0x7869 advertising 01e1 Link 45e1.
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
eth0: no IPv6 routers present

Nothing more :S, i read the guide you send me, but my router does not have that problem, all lights of the router are on when i power-off my WinXP.
My connections work this way :   ROUTER(Zyxel p-600 series) ------> Switch (Tenda s108) --------> My pc or My Brother's pc.

I cant believe WinXP is doing a better job than me sad.

Please help (THANKS A LOT!)
Adan.

Offline

#6 2010-09-18 01:38:38

adan
Member
Registered: 2010-09-17
Posts: 16

Re: Problem with internet connection (router)

I tried to connect with a different cable directly to my router, and the same thing happend.

Something is wrong with my configuration, please people, i want to get rid of WinXP ASAP!

Thanks

Offline

#7 2010-09-18 03:15:20

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: Problem with internet connection (router)

Buy a new nic. If your settings are truly the same between linux and windows it seems like there is a driver/module issue in the linux kernel. Alternatively post a bug report to kernel.org, however no one might get to it.


Website - Blog - arch-home
Arch User since March 2005

Offline

#8 2010-09-18 17:02:44

stewie
Member
Registered: 2009-05-16
Posts: 20

Re: Problem with internet connection (router)

I don't know if this will help, but my router doesn't support ipv6 very well if at all.
I use to have trouble with an internet connection if I had ipv6. I had to disable it
in rc.conf in the modules section:

...
MODULES=(!ipv6)
...

lsmod | grep ipv6
rmmod ipv6

Maybe a reboot afterwards to take effect.

edit:
Disable the IPv6 Module
http://wiki.archlinux.org/index.php/IPv … the_Module

Last edited by stewie (2010-09-18 17:09:21)


We wants it, we needs it. Must have the precious. Arch Linux.

Offline

#9 2010-09-20 17:28:08

soundman
Member
From: Istanbul, Turkey
Registered: 2010-06-05
Posts: 17

Re: Problem with internet connection (router)

I have same problem last updates.
My ugly solution: downgrade kernel 2.6.35.4-1 > 2.6.34.2-2

Offline

#10 2010-09-28 19:02:49

adan
Member
Registered: 2010-09-17
Posts: 16

Re: Problem with internet connection (router)

Hi people, i bought a new NIC and THE SAME THING IS HAPPENING!, i might consider downgrading the Kernel like SoundMan said.

Do you people recommend this? Is there any solution to this? I CANT USE INTERNET NORMALLY!

Thanks a LOT!

Offline

#11 2010-09-29 01:32:51

adan
Member
Registered: 2010-09-17
Posts: 16

Re: Problem with internet connection (router)

People, i dont know what to do, i tried it in a TOTAL DIFFERENT PC THAN MINE and it happens the SAME!

Im thinking that there's a problem with my MODEM from my ISP, cause i tried 3 differents NIC's and a total different computer with the Ubuntu Live CD and i have the same problem.

Please give me some advices, i dont know what to do next.

Offline

#12 2010-09-29 06:11:02

adan
Member
Registered: 2010-09-17
Posts: 16

Re: Problem with internet connection (router)

I tried Ubuntu Live CD in my brother's laptop (a wireless connection to my router) AND IT WORKS GREAT!

I dont know what to do, this is getting really hard :S, please help me out!

Offline

#13 2010-09-30 04:25:07

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: Problem with internet connection (router)

You said in your initial posting that you were using 'dhcp' _and_ static ip-address - well, those two are incompatible! (I would guess that dhcp takes preference).
Try with a strictly static ip-addy - ie in /etc/rc.conf you should have:

eth0="eth0 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255"
INTERFACES=(eth0)
gateway="default gw 192.168.1.1"
ROUTES=(gateway)

As for driver - I haven't got any machine at home using a Tigeon adapter, but you just may have to use 'r8169 !tg3' in your MODULES= (if I remember correctly - I might be well off in my thinking ...)
Check which driver is loaded (lsmod) and then try to find another, compatible driver and negating the one that is loaded by default (as indicated above)

Offline

Board footer

Powered by FluxBB