[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: problem with NIC



Marcelo Chiapparini <chiappa@uerj.br> wrote:

Hi!

I've just installed a minimal potato sytem (no GUI) in order to continue installing the rest of the stuff I need via the web. The machine uses a 3c905c tx NIC. Following the advices from this list I intalled the 3c59x driver for it. I disabled too the plug and play option in the BIOS (another suggestion from this list, which solved and IRQ conflict with the NIC). The problem is that I can't reach anything in my LAN. Here are the outputs from the ifconfig and route commands:

nostromo:/home/chiappa# ifconfig eth0
eth0    Link encap:Ethernet  HWaddr 00:01:03:DD:17:4C
        inet addr:152.92.133.47  Bcast:152.92.133.63  Mask:255.255.255.192
        UP BROADCAST RUNNING MULTICAST MTU:1500  Metric:1
        RX packets:0 errors:0 dropped:0 overruns:0 frame:0
        TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:100
        Interrupt:10 Base address:0xb400
nostromo:/home/chiappa# route
Kernel IP routing table
Destination   Gateway   Genmask         Flags   Metric   Ref   Use   Iface
localnet         *      255.255.255.192 U       0        0       0   eth0


it seems that the gateway is not assigned yet, but I gave the gw IP during the installation. If I use route for configuring it (thanks David!) I get:

nostromo:/home/chiappa# route add default gw 152.92.133.1
SIOCADDRT: File exists
and nothing is done.

What could be wrong with the NIC?

Thanks in advance for the help!

Regards,

Marcelo



I don't think anything is wrong with the NIC.

I "think" your problem may be in one of you config files. An "ifconfig" command without any arguments shoud list both the local loopback (lo) and your NIC (eth0). I don't see the "lo" interface listed above. I recall someone else having this sort of problem a while back during an initial install, and the missing "lo" interface was the reason. You might want to re-do the "ifconfig" command and re-check this.

Normally the initial config of all the interfaces during the startup of the network is controlled by a file called "/etc/network/interfaces". There is also a MAN page for it (man interfaces). You might want to refer to the man page and compare it to your /etc/network/interfaces file and see what is going wrong. Pay particular attention to the stanza for the "lo" interface. As I reall, the syntax of this file in Potato is somewhat different from what it is in "Testing", which I use. Alternatively, you can post that file here and get a few more eyeballs on it to help look for a problem.

Your second message shows that most of your other config options appear to be correct, assuming there are no typos.

Cheers & Good Luck!
-Don Spoon-










Reply to: