Find the answer to your Linux question:
Page 1 of 6 1 2 3 4 5 ... LastLast
Results 1 to 10 of 53
Hey guys, I was wondering if anyone could help me. I recently did a gentoo install, and in the gentoo environment now I cannot emerge, or ping, or anything whatsoever ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer
    Join Date
    Oct 2004
    Location
    Vancouver
    Posts
    1,366

    (Solved)Gentoo network error, netmount not started, eth0?


    Hey guys, I was wondering if anyone could help me. I recently did a gentoo install, and in the gentoo environment now I cannot emerge, or ping, or anything whatsoever that has to do with network services. I have looked at everything that I can think of, I just cannot figure it out. I know though, that the network card does work because I have used it on slackware, and various live cds work.

    Well when I boot up I notice the message
    Code:
    *Bringing eth0 up via DHCP                                             [!!]
    
    *ERROR: Problem starting needed services
    *             "netmount" was not sarted
    This error also happens when I try to manually run
    Code:
    /etc/init.d/netmount start
    So the netmount script will not work at all.

    when I use ifconfig -a I get
    Code:
    ifconfig -a
    lo        Link encap:Local Loopback
               inet addr:127.0.0.1  Mask:255.0.0.0
               UP LOOPBACK RUNNING  MTU:16436  Metric:1
               RX packets:0  errors:0  dropped:0 overrruns:0 frame:0
               TX packets:0 errors:0  dropped:0  overruns:0  carriers:0
               collisions:0  txqueuelen:0
               RX bytes:0  (0.0 b)  TX bytes:0  (0.0 b)
    so I know that there is something not right with eth0, or rather I think it, so when I ifconfig eth0 up

    Code:
    ifconfig eth0 up
    eth0:  unknown interface: No such device
    ok so the problem now seems to be my eth0 not being properly registered, but when I try "dhcpcd eth0 start" or "up" nothing gets returned.

    I know though that my card is detected because it shows up properly with "lspci"

    Code:
    lspci #note this is just the section showing the card being printed out correctly#
    
    0000:06:00.0 Ethernet controller: Xircom Cardbus Ethernet 10/100 (rev 03)
    can any of you guys please help me get network connectivity so that I can ping the net, and emerge etcetera,

    thank you so much for your time and consideration,

    John
    Operating System: GNU Emacs

  2. #2
    Linux Newbie eerok's Avatar
    Join Date
    Feb 2005
    Location
    Canada
    Posts
    153
    First try
    Code:
    # dmesg | grep eth0
    to make sure your card is assigned properly. If you have an onboard nic that's not plugged in, for example, the kernel might try to use it anyway.

    Then try
    Code:
    # cat /etc/conf.d/net | grep eth0
    and make sure you uncommented this line:
    Code:
    iface_eth0="dhcp"
    The other lines should be commented out, except maybe for the dhcp_eth0 option line.

    Oops, I have to go to work now ... try those 2 things and let us know the results ...
    noobus in perpetuum

  3. #3
    Linux Engineer
    Join Date
    Oct 2004
    Location
    Vancouver
    Posts
    1,366
    I will try this when I get home from work eerok, thanks so much for the response...praying it'll do the thing!
    Operating System: GNU Emacs

  4. #4
    Linux Engineer spencerf's Avatar
    Join Date
    Jan 2005
    Location
    Syracuse, NY
    Posts
    1,144
    did you do this before you chrooted into your new gentoo environment?

    Copy DNS Info

    One thing still remains to be done before we enter the new environment and that is copying over the DNS information in /etc/resolv.conf. You need to do this to ensure that networking still works even after entering the new environment. /etc/resolv.conf contains the nameservers for your network.

    Code Listing 3: Copy over DNS information

    (The "-L" option is needed to make sure we don't copy a symbolic link)
    # cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf

    If not then umount your filesystems
    exit out of environment and run this or just restart with live cd.

    Hope this helps.

    Or if you are passed this part of the install look at this page of the handbook and make sure this stuff is all commented correctly
    http://www.gentoo.org/doc/en/handboo...?part=1&chap=8
    All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL

  5. #5
    Linux Engineer
    Join Date
    Oct 2004
    Location
    Vancouver
    Posts
    1,366
    ahh, still no luck on it.

    Code:
    dmesg  | grep eth0
    returns nothing

    I get an interesting return for this though...

    Code:
    cat /etc/conf.d/net | grep eth0
    
    #iface_eth0="192,168.0.2 broadcaset 192.168.0.255 netmask 255.255.255.0"
    iface_eth0="dhcp"
    #dhcpcd_eth0="-HD"
    #alias_eth0="192.168.0.3 192.168.0.4"
    #broadcast_eth0="192.168.0.255 192.168.0.255"
    #netmask_eth0="255.255.255.0 255.255.255.0"
    #gateway="eth0/192.168.0.1"
    and I have copied my resolv.conf. Does anyone know where I should go from here, or if I need to uncomment any more of the lines in /etc/conf.d/net, I have tried the "dhcpcd_eth0="-HD"" uncommented, but it seems to make no difference so far.

    Thanks for your time,

    John

    [/code]
    Operating System: GNU Emacs

  6. #6
    Linux Newbie eerok's Avatar
    Join Date
    Feb 2005
    Location
    Canada
    Posts
    153
    Well, I found this

    http://support.intel.com/support/net.../CS-003258.htm
    Linux support for Xircom CardBus adapters has recently been introduced. This support is provided in the form of a patch update to Tulip.c and a kernel PCMCIA patch. ...
    Looks like you might need to research this a bit to get things working. Livecd's use kudzu to probe hardware, but you'll need to spell things out more for the kernel.

    Maybe do a search on the gentoo forums.
    noobus in perpetuum

  7. #7
    Linux Engineer
    Join Date
    Oct 2004
    Location
    Vancouver
    Posts
    1,366
    I guess that I need to, but slackware always worked fine without having to put in drivers, etc...been reading through the gentoo forums and handbooks, still can't figure out a thing...

    how do i make sure that xircom is assigned as eth0?

    any ideas?

    thank you for your time,

    john
    Operating System: GNU Emacs

  8. #8
    Linux Engineer spencerf's Avatar
    Join Date
    Jan 2005
    Location
    Syracuse, NY
    Posts
    1,144
    uncomment out the line that says this:

    iface_eth0="192,168.0.2 broadcaset 192.168.0.255 netmask 255.255.255.0"

    and also keep the iface_eth0=dhcp line too.
    All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL

  9. #9
    Linux Engineer spencerf's Avatar
    Join Date
    Jan 2005
    Location
    Syracuse, NY
    Posts
    1,144
    Oh yeah...that line has a spelling error too. it should be broadcast and their is a comma instead of period in first set of numbers.

    mine looks like this:

    iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0"
    iface_eth0="dhcp"
    All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL

  10. #10
    Linux Engineer
    Join Date
    Oct 2004
    Location
    Vancouver
    Posts
    1,366
    ok I uncommented that particular line, but am still having problems with eth0 being an unknown device and no such interface. Is there a way that I have to manually assign the designation of eth0 to the xircom card, which I know is detected because lspci lists it correctly....this is so confusing, every other distro that I have used has worked like a charm with this card

    ok, thanks for your time guys,

    John
    Operating System: GNU Emacs

Page 1 of 6 1 2 3 4 5 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •