Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

Checklist: Ethernet Problems

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
mdeininger
Veteran
Veteran
User avatar
Posts: 1740
Joined: Wed Jun 15, 2005 11:45 am
Location: Emerald Isles, observing Dublin's docklands
Contact:
Contact mdeininger
Website

Checklist: Ethernet Problems

  • Quote

Post by mdeininger » Thu Aug 17, 2006 7:42 pm

as wynn pointed out in this thread we really could use a checklist for network problems, since lots of threads on this are spawning just now, so here goes:

Before asking for help on your Ethernet Setup, check the following:
  • are the right modules loaded? using

    Code: Select all

    lspci
    can often help you determine which modules you need.
  • did you try to use the net-setup command?
  • are you sure your ethernet is eth0? remember that you can always list all your network devices using

    Code: Select all

    ifconfig -s -a
    . be sure to try all of the eth* devices with net-setup.
  • does

    Code: Select all

    mii-tool
    have anything useful to say about the link status of your ethernet devices?
  • did you try to manually configure your network?
  • are there any suspicious/fishy error messages on the console when loading the proper module or in dmesg? check with

    Code: Select all

    dmesg
  • are your routes (i.e. what gateway to use) set up properly? check with

    Code: Select all

    route -n
  • is dns resolution set up properly? check with

    Code: Select all

    cat /etc/resolv.conf
  • does it work while installing, but not after booting? check your kernel configuration.
More things to read before panicking:
there's lots of nifty resouces to be found on these forums...
  • NeddySeagoons' Rough guide to Fixing Networking
  • KC3: Networking worked during installation, but now that I compiled my own kernel, it doesn't work anymore. What's wrong?
What exactly doesn't work?
Network errors can have lots of causes, so you should formulate your issue very precisely. "it doesn't work" doesn't really help anyone in trying to figure out what's wrong.
  • has your interface been assigned an IP address, either manually or via DHCP? check with

    Code: Select all

    ifconfig
  • can you ping an IP address on your LAN? for example:

    Code: Select all

    ping 192.168.0.1
  • can you ping an internet IP address? for example:

    Code: Select all

    ping 66.249.85.104
    (one of google's IP addresses)
  • can you ping an internet hostname? for example:

    Code: Select all

    ping www.google.com
  • can you browse to a website? for example:

    Code: Select all

    links2 www.google.com
    or try a browser on the livecd
  • if it doesn't work inside your chroot, does it work outside of it? if so, did you copy the cd's /etc/resolv.conf into your installation's /etc directory?
  • post-installation: did it work on the livecd, but now it doesn't anymore? you most certainly lack some modules/kernel options then.
Additional information that could help us help you
if you have network problems, please try to provide as many of the following so we can figure out what's wrong:
  • any relevant sections of lspci:

    Code: Select all

    lspci|grep Network
    (or similarly with lsusb for USB devices)
  • any relevant info in dmesg:

    Code: Select all

    dmesg|grep -i eth
  • the output of

    Code: Select all

    lsmod
  • the output of

    Code: Select all

    ifconfig -a
  • the output of

    Code: Select all

    route -n
  • in really tough cases, this could also help: the output of

    Code: Select all

    gzcat /proc/config.gz|grep -i NET
i hope this checklist will be useful. could a moderator make this sticky, please? i feel this could come in handy... if anyone has anything to add, just post here and i'll add it to the list [i'm sure i forgot a lot :twisted:]
Last edited by mdeininger on Tue Aug 22, 2006 6:41 pm, edited 7 times in total.
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )
Top
wynn
Advocate
Advocate
User avatar
Posts: 2421
Joined: Fri Apr 01, 2005 10:45 am
Location: UK

  • Quote

Post by wynn » Thu Aug 17, 2006 8:15 pm

There's also NeddySeagoons' Rough guide to Fixing Networking which I've only just remembered.

He goes into how to find the correct module/driver (Sieve of NeddySeagoon?) and mentions the firewire eth1394 problem which has bitten almost everyone.
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Top
mdeininger
Veteran
Veteran
User avatar
Posts: 1740
Joined: Wed Jun 15, 2005 11:45 am
Location: Emerald Isles, observing Dublin's docklands
Contact:
Contact mdeininger
Website

  • Quote

Post by mdeininger » Thu Aug 17, 2006 8:24 pm

yep, the eth1394 really is a popular one. and really confusing at that since nobody would expect a firewire port to be listed as an ethernet device... not at first, anyway. just added the link :)
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )
Top
wynn
Advocate
Advocate
User avatar
Posts: 2421
Joined: Fri Apr 01, 2005 10:45 am
Location: UK

  • Quote

Post by wynn » Tue Aug 22, 2006 3:06 pm

One other comment: do you think putting

Code: Select all

route -n
instead of just

Code: Select all

route
would help?

If DNS isn't working, just plain "route" can take some time and (thinks back) the timid might think it's broken.

Otherwise it's brilliant. There just can't be any more "my networking is broken" posts :D
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Top
mdeininger
Veteran
Veteran
User avatar
Posts: 1740
Joined: Wed Jun 15, 2005 11:45 am
Location: Emerald Isles, observing Dublin's docklands
Contact:
Contact mdeininger
Website

  • Quote

Post by mdeininger » Tue Aug 22, 2006 6:40 pm

heh, thanks wynn, you're perfectly right. i'll edit it right away :)

i sure hope this covers most of the problems and gets enough attention,... maybe we should do the same for the good ol' vfs errors :D
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )
Top
wynn
Advocate
Advocate
User avatar
Posts: 2421
Joined: Fri Apr 01, 2005 10:45 am
Location: UK

  • Quote

Post by wynn » Tue Aug 22, 2006 7:04 pm

maybe we should do the same for the good ol' vfs errors
(runs QuickSearch) Oh, you mean

Code: Select all

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown block (0,0)
The omens are not good, quote from LWN taken from LKML
The current -mm tree is 2.6.18-rc4-mm1. Recent changes to -mm include a reworking of the serial ATA configuration options ("If you blindly run `make oldconfig' you won't have any disks."),
But it would be nice to collect all the wisdom in these forums which has been showered on the problem. I bet NeddySeagoon has a Rough Guide, yes, partly, his "Rough Guide to DIY Kernels" http://forums.gentoo.org/viewtopic-p-24 ... ml#2431534 "roughly" (tm) covers the issues.
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Top
mdeininger
Veteran
Veteran
User avatar
Posts: 1740
Joined: Wed Jun 15, 2005 11:45 am
Location: Emerald Isles, observing Dublin's docklands
Contact:
Contact mdeininger
Website

  • Quote

Post by mdeininger » Tue Aug 22, 2006 8:01 pm

yep, exactly that type of errors. and someone should point out that the number in () is pretty important with this type of error message, because it gives people a rough clue about what's wrong. and someone ought to point out that device names can change between kernel versions *nods*.

i mean, i did see *lots* of posts with kernel panics due to badly configured kernels and similar things.
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )
Top
Post Reply

7 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy