Re: Can't get network to work

From: Kent West (westk_at_acu.edu)
Date: 11/30/04

  • Next message: Christian Convey: "usb vs. drivers"
    Date: Tue, 30 Nov 2004 07:44:40 -0600
    To: debian-user@lists.debian.org
    
    

    Michelle wrote:

    > Problem:
    > On a fresh install of Debian 3.0r3 Woody (2.2.20-idepci kernel) off the
    > .iso from the server, the neworking doesn't work. I'm on an AMD Athlon
    > with a 21140-based on-board ethernet chip (lspci and WinXP both say so)

    <snip>

    > SO I KNOW IT CAN WORK.
    >
    > HOWEVER, after booting, eth0 is only configured for a 192.168 address,
    > NOT what the dhcp in my dsl modem should be giving it. I run ifup eth0
    > and I get a series of "SIOCSIFADDR: No such device" errors. Ditto if I
    > run dhclient directly.

    <snip>

    > Again, more research, and I am told to type, "modprobe tulip". Ok, now
    > there is no error. (apparently, insprobe pci_scan and then insprobe
    > tulip does the same thing)
    >
    > I type, "ifdown eth0" and then "ifup eth0", and nope, still the same
    > SIOCSIFADDR errors.
    >
    > I added 'alias /dev/eth0 tulip' in the /etc/modutils/aliasas file and
    > then ran update-modules. /etc/modules.conf has this entry. Reboot,
    > and same problems.
    >
    > During boot, it appears to find the nework card just fine (tulip.o comes
    > up, and lspci gives all the details about the card). Also, the
    > SIOCSIFADDR messages are repeated there as the dhcp tries to come up.
    > Then during modprobe in boot it says "Can't locate module eth0:0",
    > with a bunch of IO types errors (all-caps).
    >
    For networking in Debian, you need to be concerned with four basic things:

    1) Inserting the correct module - "modprobe tulip" should do this on a
    boot-by-boot basis. Adding "tulip" to "/etc/modules" should allow the
    system to handle this step automatically.

    2) Your "/etc/network/interfaces" file needs to be correctly configured
    for static/dhcp. "man interfaces" will give you more info; Ron's
    suggestion is accurate for DHCP.

    3a) If using dhcp, you need to install a dhcp client, such as "aptitude
    install dhcp-client" or similar.
    3b) If using static, you need to configure "/etc/resolv.conf".

    4) [Re]start networking. "/etc/init.d/networking restart".

    As I've never had to add anything to "/etc/modutils/aliases" for a first
    ethernet card (and am not quite familiar with it), I'd first try
    removing that entry you made and then add "tulip" to "/etc/modules" and
    then reboot.

    -- 
    Kent
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Christian Convey: "usb vs. drivers"

    Relevant Pages

    • Re: clients can access smb server, but only after some time
      ... > DHCP hand out hostnames as well I think you'll go a long way. ... and bind and dhcp configuration files from its database. ... > command line PostgreSQL client was not hard). ...
      (comp.unix.admin)
    • Re: Cannot get IP address from Router DHCP
      ... >>> Should DHCP be enabled on the Win2K machine as they are in the XP? ... for DNS if you wish. ... >>> port on the router using the old cable and it works. ...
      (microsoft.public.win2000.networking)
    • Re: What is it I ask?
      ... SARPCs and two MS-Win PCs. ... with each of the four machines plus router assigned an IP address. ... not have DHCP active on the RO machines. ...
      (comp.sys.acorn.networking)
    • Re: Help with wireless network please?
      ... Whilst using dhcp to set up the Iyonix you should leave the gateway ... John Sandford West Herts UK ...
      (comp.sys.acorn.networking)
    • Re: Fwd: Re: [SLE] Configuring a Router SOLVED
      ... > reconfigured the nic to accept a dynamic IP via DHCP and that seems to ... > Linksys page via my browser, I assume that is on my router. ...
      (SuSE)