From owner-freebsd-questions Thu Apr 5 14:14:53 2001 Delivered-To: freebsd-questions@freebsd.org Received: from lila.inti.gov.ar (lila.inti.gov.ar [200.10.161.32]) by hub.freebsd.org (Postfix) with ESMTP id 5B68837B443 for ; Thu, 5 Apr 2001 14:14:45 -0700 (PDT) (envelope-from fernan@iib.unsam.edu.ar) Received: from iib005.iib.unsam.edu.ar ([200.3.113.15] helo=mail.inti.gov.ar ident=fernan) by lila.inti.gov.ar with smtp (Exim 3.02 #1) id 14lGvM-0001Cz-00; Thu, 05 Apr 2001 18:04:12 -0300 Date: Thu, 5 Apr 2001 18:12:36 -0400 From: Fernan Aguero To: Robert Small Cc: FreeBSD-Questions Subject: Re: network down after install Message-ID: <20010405181236.E4066@iib005.inti.gov.ar> Reply-To: fernan@iib.unsam.edu.ar References: <20010405140130.E1396@iib005.inti.gov.ar> <3ACCC7FA.B9BEAE4E@superjake.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit In-Reply-To: <3ACCC7FA.B9BEAE4E@superjake.net>; from robert@superjake.net on Thu, Apr 05, 2001 at 15:31:06 -0400 X-Mailer: Balsa 1.1.2 Lines: 131 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 05 Apr 2001 15:31:06 Robert Small wrote: > Fernan > > Try the command ifconfig ed0 xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx (where the x's > are > your ip and netmask) and if that makes the network run, you must add it to > your > rc.conf: > network_interfaces="xl0 lo0 tun0" > ifconfig_xl0="xxx.xxx.xxx.xxx netmask 255.255.255.0" > > or something like that. > > Let me know if that helps! > > Robert Robert, thanks for your reply. I also tried that, without success. The error says "ifconfig: interface ed0 does not exist" I also noticed that when booting from the FreeBSD CDROM I get to a visual configuration editor ... there I can select from a number of network devices. The ed device is there (NE2000) and I deleted all the others. After getting out of the editor and continuing the boot process I could see the same output: ed0: irq 11 at device 14.0 on pci0 device_probe_and_attach: ed0 attach returned 2 So it seems that even with the GENERIC kernel, the NIC does not get configured right. Is this a common installation problem? Should I expect GENERIC to cover everything more or less standard, like a RealTek 8029? If this is related to an IRQ problem/conflict ... how do i troubleshoot it? I know I can change IRQs and ports in the visual configuration editor, but is there any way I can probe the card to see where is expected to be found (IRQ and port?) Thanks in advance for your replies. Fernan > Fernan Aguero wrote: > > > *This message was transferred with a trial version of CommuniGate(tm) Pro* > > Hi > > > > I have just installed FreeBSD for the first time and I have problems with > the > > network connection. > > > > Details: > > FreeBSD-4.2 from December 2000 on a Pentium II, 300 MHz > > Ethernet card is a PCI Realtek 8029 (NE2000). > > > > The machine boots OK, but network is down. Inspecting the dmesg output I've > > found several lines with "No such device" errors, like the following: > > config> en ed0 > > No such device: ed0 > > Invalid command or syntax. Type '?' for help. > > config> po ed0 0x280 > > No such device: ed0 > > Invalid command or syntax. Type '?' for help. > > .. > > > > somewhere later the following line appeared (which i guess is from my > ethernet > > card): > > pci0: (vendor=0x10ec, dev=0x8029) at 14.0 irq 11 > > > > The output of ifconfig -a is: > > faith0: flags=8000 mtu 1500 > > gif0: flags=8010 mtu 1280 > > gif1: flags=8010 mtu 1280 > > gif2: flags=8010 mtu 1280 > > gif3: flags=8010 mtu 1280 > > lo0: flags=8049 mtu 16384 > > inet 127.0.0.1 netmask 0xff000000 > > > > After this initial failure I tried building a custom kernel, and after > reading > > HARDWARE.TXT I added the following line: > > device ed > > which is supposed to implement the driver for all NICs that emulate the > NE2000. > > I also removed other devices (after reading section 7 of the Handbook they > > appeared to be redundant and useless). > > > > Now the dmesg output shows: > > ed0: irq 11 at device 14.0 on pci0 > > device_probe_and_attach: ed0 attach returned 2 > > > > Still ifconfig -a shows the same old devices (no ed0) and the network is > down. > > > > Any ideas would be appreciated. > > > > Thanks, Fernan > > > > PS: I know the hardare and network are OK, because everything worked without > > problems before FreeBSD. > > > > -- > > Fernan Aguero > > Bioinformatics > > IIB-UNSAM > > fernan@iib.unsam.edu.ar > > ICQ 100325972 > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > -- > ----------------------------------------------------------- > The only difference between a rut and a grave is the depth. > > > -- Fernan Aguero Bioinformatics IIB-UNSAM fernan@iib.unsam.edu.ar ICQ 100325972 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message