Click to See Complete Forum and Search --> : NIC install question
sad_b0i
07-16-2001, 11:46 PM
when i do "ifconfig" i get this... i want to know if my NIC is installed correctly...
Link Encap: Local Loopback
inet addr: 127.0.0.1 mask: 255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
Rx: packets: 20 errors:0 dropped:0 overruns:0 frame:0
Tx: packets:20 errors:0 dropped:0 overruns:0 carrier:0 collisiond:0 txquelen:0
does this mean anything? thanks!
O.K., I'll bite on this one:
Yes, it a) means a lot, and b) means that your nic is not properly configured. The output of ifconfig is only listing the loopback device (lo), but nothing for your nic (eth0, most likely). Since you didn't post any specific info (distro, model of NIC, etc.), this is what I can suggest:
First, try using the Forum Search for answers to your question; the topic of getting network cards up and running has long, well-documented history here. (Yikes! I've been possesed by the ghost of mdwatts ;) ).
Also, here's my short-list of "troubleshooting-your-Nic" things to try: 1. Check the screen output at bootup. If the NIC is being properly initialized, you should see a line that says: "Bringing up eth0- O.K." If you see "failed" or "delaying" instead, you've got problems (see #3).
2. Assuming the NIC comes up, you can do the configuration with the graphical configuration tools linuxconf or netconf. Click on Basic host information->Adaptor 1. From there, select eth0 as the device, choose the correct module for yuor NIC from the drop-down list of kernel modules, and enable the device. Then either choose DHCP (if you're using it), or enter your IP information manually. After that, fill in your DNS and gateway/routing info under the appropriate sections.
3. If you get a failure on bootup, you may have a resource conflict with another device. Try turning off Plug-N-Play support in your BIOS, it can cause conflicts with some cards.
4. Log in as root, go to the command line or terminal window, and type "cat /proc/pci" and verify that your NIC is being recognized. Type "cat /proc/interrupts" and make sure your NIC's IRQ isn't conflicting with another device. Type "cat /proc/ioports" and check the address ranges for conflicts. If you have resource conflicts, you can try rearranging the slot order of your PCI cards.
5. You can also verify the IRQ/address info by typing "ifconfig". There should be stats for the loopback device (lo) and eth0.
6. If you get card recognized, but the module isn't loading, try to load it manually by typing "insmod <your module's name>". After that, type "lsmod" to list all loaded modules; your NIC's module should show up there.
7. You can then manually configure the NIC by typing "ifconfig eth0 xxx.xxx.xxx.xxx up", where xxx.xxx.xxx.xxx is your IP address.
8. Last, type "alias eth0 <your module's name>". Those are the most basic steps; try them and see what happens. If you still have issues, repost with specifics on the problems.
[ 17 July 2001: Message edited by: DMR ]
Originally posted by DMR:
[QB]O.K., I'll bite on this one:
Yes, it a) means a lot, and b) means that your nic is not properly configured. The output of ifconfig is only listing the loopback device (lo), but nothing for your nic (eth0, most likely). Since you didn't post any specific info (distro, model of NIC, etc.), this is what I can suggest:
First, try using the Forum Search for answers to your question; the topic of getting network cards up and running has long, well-documented history here. (Yikes! I've been possesed by the ghost of mdwatts ;) ).
Also, here's my short-list of "troubleshooting-your-Nic" things to try: [QUOTE]1. Check the screen output at bootup. If the NIC is being properly initialized, you should see a line that says: "Bringing up eth0- O.K." If you see "failed" or "delaying" instead, you've got problems (see #3).
2. Assuming the NIC comes up, you can do the configuration with the graphical configuration tools linuxconf or netconf. Click on Basic host information->Adaptor 1. From there, select eth0 as the device, choose the correct module for yuor NIC from the drop-down list of kernel modules, and enable the device. Then either choose DHCP (if you're using it), or enter your IP information manually. After that, fill in your DNS and gateway/routing info under the appropriate sections.
3. If you get a failure on bootup, you may have a resource conflict with another device. Try turning off Plug-N-Play support in your BIOS, it can cause conflicts with some cards.
4. Log in as root, go to the command line or terminal window, and type "cat /proc/pci" and verify that your NIC is being recognized.
Type "cat /proc/interrupts" and make sure your NIC's IRQ isn't conflicting with another device. Type "cat /proc/ioports" and check the address ranges for conflicts. If you have resource conflicts, you can try rearranging the slot order of your PCI cards.
5. You can also verify the IRQ/address info by typing "ifconfig". There should be stats for the loopback device (lo) and eth0.
6. If you get card recognized, but the module isn't loading, try to load it manually by typing "insmod <your module's name>". After that, type "lsmod" to list all loaded modules; your NIC's module should show up there.
7. You can then manually configure the NIC by typing "ifconfig eth0 xxx.xxx.xxx.xxx up", where xxx.xxx.xxx.xxx is your IP address.
8. Last, type "alias eth0 <your module's name>". Those are the most basic steps; try them and see what happens. If you still have issues, repost with specifics on the problems.
bdg1983
07-17-2001, 06:49 AM
Nice to know I'm always in your thoughts. Makes me feel warm all over.
Don't bother searching for the answers, DMR will help you with anything you need. ;)
mdwatts the 4th. hasn't been taken yet.
'mdwatts the 4th formally known as DMR'
sad_b0i
07-17-2001, 08:56 AM
thanks ill do that and see what happens...