"... r8169 0000:04:00.0: eth0: link ..."

Discussion in 'Linux Networking' started by Ant, Nov 15, 2012.

  1. Ant

    Ant Guest

    Hello.

    Does anyone know why my almost year old Debian stable keeps having quick
    (two seconds long) network disconnections every morning after I go AFK
    for the whole day? I have been noticing this in my logs for a few days
    so far:

    $ dmesg |grep r8169
    [755535.837428] r8169 0000:04:00.0: eth0: link down
    [755537.479097] r8169 0000:04:00.0: eth0: link up
    [842998.963723] r8169 0000:04:00.0: eth0: link down
    [843000.678184] r8169 0000:04:00.0: eth0: link up
    [930341.871763] r8169 0000:04:00.0: eth0: link down
    [930343.538180] r8169 0000:04:00.0: eth0: link up

    FYI, this long cat5 network cable is connected to a four years old
    Linksys WRT54GL router, with its latest stock firmware.

    Thank you in advance. :)
    --
    Quote of the Week: "Ants. There's a size for every picnic, a colour for
    every occasion, and a bite to let you know that they are there. Apart
    from the bite, that could describe a Basenji pretty well." --Len Reddie
    /\___/\ Ant(Dude) @ http://antfarm.home.dhs.org (Personal Web Site)
    / /\ /\ \ Ant's Quality Foraged Links: http://aqfl.net
    | |o o| |
    \ _ / Please nuke ANT if replying by e-mail. If crediting,
    ( ) then please kindly use Ant nickname and AQFL URL/link.
     
    Ant, Nov 15, 2012
    #1
    1. Advertisements

  2. Dynamic IP renewal? Does the router have some kind of logging? Try to
    read it out. That will at least tell you if it has been rebooting...
    Stuff like that has usually some web interface at a fixed address
    (10.0.0.138 ?)
     
    Johann Klammer, Nov 16, 2012
    #2
    1. Advertisements

  3. Ant

    Ant Guest

    $ pydmesg |grep r8169
    [2012-11-13 08:44:29] r8169 0000:04:00.0: eth0: link down
    [2012-11-13 08:44:31] r8169 0000:04:00.0: eth0: link up
    [2012-11-14 09:02:12] r8169 0000:04:00.0: eth0: link down
    [2012-11-14 09:02:14] r8169 0000:04:00.0: eth0: link up
    [2012-11-15 09:17:55] r8169 0000:04:00.0: eth0: link down
    [2012-11-15 09:17:57] r8169 0000:04:00.0: eth0: link up

    for easier reading on actual dates and timestamps.

    Do you mean my LAN IP addresses? If so, then no I am using static IP
    addresses for my wired computers. Logs only show connections between
    computers and destinations. 10.0.0.138 didn't connect. This router
    doesn't even show its uptime. Bah.
    --
    "Why eat ants when an uncle will do?" --Tymoutta Aardvarka of Sarcastica
    /\___/\ Ant(Dude) @ http://antfarm.ma.cx (Personal Web Site)
    / /\ /\ \ Ant's Quality Foraged Links: http://aqfl.net
    | |o o| |
    \ _ / If crediting, then use Ant nickname and AQFL URL/link.
    ( ) If e-mailing, then axe ANT from its address if needed.
    Ant is currently not listening to any songs on this computer.
     
    Ant, Nov 16, 2012
    #3
  4. Ant

    Scott Alfter Guest

    Stock firmware for the WRT54GL is pretty lame. Since you paid extra for it
    (vs. the WRT54G), why are you still using stock firmware? I flashed mine
    with alternative firmware almost as soon as I bought it...these days, it's
    running a Shibby build of TomatoUSB:

    http://tomato.groov.pl/download/K24/build5x-093-EN/tomato-ND-1.28.5x-093-VPN.trx

    That's the version currently installed on mine. The latest version is here:

    http://tomato.groov.pl/download/K24/build5x-102-EN/tomato-ND-1.28.5x-102-VPN.trx

    (BTW, uptime on my WRT54GL is a bit over 26 days as I write this. :) )

    _/_
    / v \ Scott Alfter (remove the obvious to send mail)
    (IIGS( http://alfter.us/ Top-posting!
    \_^_/ >What's the most annoying thing on Usenet?
     
    Scott Alfter, Nov 16, 2012
    #4
  5. Ant

    Ant Guest

    Does anyone know why my almost year old Debian stable keeps having quick
    I saw it happen again yesterday morning when using the Internet and my
    other computer (Windows XP Pro. SP3). Both computers lost their network
    connections. I tried power cycling the router and saw it again this
    morning. So, it is not a computer problem. I will need to try resetting
    the router to factory settings and see if that works. If not, then I
    will try a third party firmware to see if that helps. The router could
    be dying like my previous Linksys routers. :(
    --
    Quote of the Week: "Left right left right we're army ants. We swarm we
    fight. We have no home. We roam. We race. You're lucky if we miss your
    place." --Douglas Florian (The Army Ants Poem)
    /\___/\ Ant(Dude) @ http://antfarm.home.dhs.org (Personal Web Site)
    / /\ /\ \ Ant's Quality Foraged Links: http://aqfl.net
    | |o o| |
    \ _ / Please nuke ANT if replying by e-mail. If crediting,
    ( ) then please kindly use Ant nickname and AQFL URL/link.
     
    Ant, Nov 19, 2012
    #5
  6. Ant

    ein Guest

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Ant wrote:
    [...]
    Impossible, not WRT54GL. In last several years we've sell hundreds
    without _any_ replacement. You can try to replace power supply adaptor.

    PS. Routers with no stock firmware. I've used Tomato firmware.

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.12 (GNU/Linux)
    Comment: Using GnuPG with undefined - http://www.enigmail.net/

    iEYEARECAAYFAlCqo1YACgkQbhT/MDrqNUHVawCfQeqFAwevO/SlHQBRC7Fg8yDG
    DbQAoLkscmE5hn5gWybUzWGp0AUrJLlv
    =I4vk
    -----END PGP SIGNATURE-----
     
    ein, Nov 19, 2012
    #6
  7. Ant

    Bill Martin Guest

    Hmmm,

    I just experienced a Linksys router flake-out...are you saying stock fw
    has an expiration date? :) Heh-heh, that should wake up a few
    conspiracy buffs...
     
    Bill Martin, Nov 20, 2012
    #7
  8. Ant

    ein Guest

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    I don't say every Linksys is the best. BTW. What is model name?
    I unfortunately say only about _WRT54GL_ model.
    First thing in installing every Linksys device should be alternative
    software lookup. (-;

    Regards.
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.12 (GNU/Linux)
    Comment: Using GnuPG with undefined - http://www.enigmail.net/

    iEYEARECAAYFAlCq60gACgkQbhT/MDrqNUHXBgCguYh0pSW2sHwv+TLeWQxhofl8
    BUgAoKFA4wyNT80IYBR0fWdHuaugoYaI
    =O9fR
    -----END PGP SIGNATURE-----
     
    ein, Nov 20, 2012
    #8
  9. Ant

    Chris Cox Guest

    :) Well.. the that's not consistent with truth though. I've thrown away may
    WRT54GL (and/or other variants) over the years. They are cheap devices... and
    IMHO, they got a bit cheaper after they were rebranded (cough).

    As a cheap device though, they do have value.. just don't expect 8 years of
    operation... They should last at least 3 years IMHO.
     
    Chris Cox, Nov 20, 2012
    #9
  10. Ant

    Ant Guest

    Wow, really? How long have they lasted for you? Three years? I had mine
    since 11/2/2009 as a new one. [sighs] :(
    --
    "Even the wishes of a small ant reach heaven." --Japanese
    /\___/\ Ant(Dude) @ http://antfarm.ma.cx (Personal Web Site)
    / /\ /\ \ Ant's Quality Foraged Links: http://aqfl.net
    | |o o| |
    \ _ / If crediting, then use Ant nickname and AQFL URL/link.
    ( ) If e-mailing, then axe ANT from its address if needed.
    Ant is currently not listening to any songs on this computer.
     
    Ant, Nov 21, 2012
    #10
  11. Ant

    ein Guest

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1
    I suppose that the oldest models has now 4-6 years old and it's still
    working. Sorry, I don't have such data.

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.12 (GNU/Linux)
    Comment: Using GnuPG with undefined - http://www.enigmail.net/

    iEYEARECAAYFAlCuIW8ACgkQbhT/MDrqNUElqgCgrZbKeVXIxKlTrPNOqisDpO6K
    upEAn0A/QlnYcATivU2Apo+HRV/+9cZL
    =wg5o
    -----END PGP SIGNATURE-----
     
    ein, Nov 22, 2012
    #11
  12. The following message is a courtesy copy of an article
    that has been posted to comp.os.linux.networking as well.


    I've had this with the original Linksys (WRT54G). Installed Tomato, it
    kept happening, looked at logs, router was rebooting. Into e-recycle
    bin it went ...

    It was really stressful because it started happening at about the time
    both me and roommate got new devices (me, Android, her, iPad) and I kept
    looking for a way to blame them.

    --
    Ian Zimmerman
    gpg public key: 1024D/C6FF61AD
    fingerprint: 66DC D68F 5C1B 4D71 2EE5 BD03 8A00 786C C6FF 61AD
    http://www.gravatar.com/avatar/c66875cda51109f76c6312f4d4743d1e.png
    Rule 420: All persons more than eight miles high to leave the court.
     
    Ian Zimmerman, Nov 25, 2012
    #12
  13. Ant

    Ant Guest

    I've had this with the original Linksys (WRT54G). Installed Tomato, it
    Dang. How long did you have yours?

    After six days of no two seconds disconnections after reconfiguring my
    router with default factory settings (physical button method), it
    happened again this morning.

    I guess I shouldn't try a third party firmware next? :(
    --
    Quote of the Week: "When many work together for a goal, great things may
    be accomplished. It is said a lion cub was killed by a single colony of
    ants." --Saskya Pandita
    /\___/\ Ant(Dude) @ http://antfarm.home.dhs.org (Personal Web Site)
    / /\ /\ \ Ant's Quality Foraged Links: http://aqfl.net
    | |o o| |
    \ _ / Please nuke ANT if replying by e-mail. If crediting,
    ( ) then please kindly use Ant nickname and AQFL URL/link.
     
    Ant, Nov 27, 2012
    #13
  14. Ant

    Ant Guest

    Bad news after six days of no two seconds disconnections. It happened
    again this morning. I guess resetting back to default settings and
    reconfiguring from scratch to minimal required settings did not fix it.
    :(
    --
    Quote of the Week: "When many work together for a goal, great things may
    be accomplished. It is said a lion cub was killed by a single colony of
    ants." --Saskya Pandita
    /\___/\ Ant(Dude) @ http://antfarm.home.dhs.org (Personal Web Site)
    / /\ /\ \ Ant's Quality Foraged Links: http://aqfl.net
    | |o o| |
    \ _ / Please nuke ANT if replying by e-mail. If crediting,
    ( ) then please kindly use Ant nickname and AQFL URL/link.
     
    Ant, Nov 27, 2012
    #14
  15. If there's no switch inbetween you and your route, try turning off
    auto-negotiation.

    /usr/sbin/ethtool -s eth0 autoneg off
     
    Ralph Spitzner, Nov 28, 2012
    #15
  16. Ant

    Ant Guest

    Bad news after six days of no two seconds disconnections. It happened
    I don't think is a Linux problem since my Windows had the same problem.
    No disconnections for today so far.
    --
    Quote of the Week: "When many work together for a goal, great things may
    be accomplished. It is said a lion cub was killed by a single colony of
    ants." --Saskya Pandita
    /\___/\ Ant(Dude) @ http://antfarm.home.dhs.org (Personal Web Site)
    / /\ /\ \ Ant's Quality Foraged Links: http://aqfl.net
    | |o o| |
    \ _ / Please nuke ANT if replying by e-mail. If crediting,
    ( ) then please kindly use Ant nickname and AQFL URL/link.
     
    Ant, Nov 28, 2012
    #16
  17. The following message is a courtesy copy of an article
    that has been posted to comp.os.linux.networking as well.


    Ian> I've had this with the original Linksys (WRT54G). Installed
    Ian> Tomato, it kept happening, looked at logs, router was rebooting.
    Ian> Into e-recycle bin it went ...

    Ant> Dang. How long did you have yours?

    About 2 years IIRC. Replaced a brain-dead monopolist combined
    modem-and-router device with it.

    --
    Ian Zimmerman
    gpg public key: 1024D/C6FF61AD
    fingerprint: 66DC D68F 5C1B 4D71 2EE5 BD03 8A00 786C C6FF 61AD
    http://www.gravatar.com/avatar/c66875cda51109f76c6312f4d4743d1e.png
    Rule 420: All persons more than eight miles high to leave the court.
     
    Ian Zimmerman, Dec 5, 2012
    #17
  18. Ant

    Ant Guest

    Weird. I wonder if I fixed it? It has been almost two weeks since I
    upgraded my 24/7 Debian stable's Kernel v2.6.23-5 to v3.2.0 from its
    stable backport and switching to KDE v4.4.5 (was using Gnome v2.3). I
    noticed no more new disconnections, reboots, etc. on my router. I don't
    see how that can cause my router to misbehave that way if it is caused
    by it.


    --
    "Although you're a little ant, I won't bully you." --Sai Yuk from The
    Legend of Fong Sai Yuk movie (English subtitles)
    /\___/\ Ant(Dude) @ http://antfarm.ma.cx (Personal Web Site)
    / /\ /\ \ Ant's Quality Foraged Links: http://aqfl.net
    | |o o| |
    \ _ / If crediting, then use Ant nickname and AQFL URL/link.
    ( ) If e-mailing, then axe ANT from its address if needed.
    Ant is currently not listening to any songs on this computer.
     
    Ant, Jan 11, 2013
    #18
  19. Ant

    Ant Guest

    Nope. I thought it would be arpwatch too, but nope. No coincidents. :(


    --
    "Now I have you where I want you... where is my jar of Bull ants?" --unknown
    /\___/\ Ant(Dude) @ http://antfarm.ma.cx (Personal Web Site)
    / /\ /\ \ Ant's Quality Foraged Links: http://aqfl.net
    | |o o| |
    \ _ / If crediting, then use Ant nickname and AQFL URL/link.
    ( ) If e-mailing, then axe ANT from its address if needed.
    Ant is currently not listening to any songs on this computer.
     
    Ant, Jan 18, 2013
    #19
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
There are no similar threads yet.
Loading...