LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   nForce 2 network card & ifup problem (https://www.linuxquestions.org/questions/linux-hardware-18/nforce-2-network-card-and-ifup-problem-63925/)

dmellem 06-05-2003 07:53 PM

nForce 2 network card & ifup problem
 
Hi,

I just got a computer with the nForce chipset. Red Hat 9 didn't recognize the NIC out of the box but I got the drivers from nvidia.com. Upon boot, it would fail, even with a static IP address (it was trying to run dhclient). Anyhow, I discovered that there was a setting in /etc/sysconfig/networking/profiles/default/ifcfg-eth0 that was being using instead of the settings from netconfig (/etc/sysconfig/network-scripts/ifcfg-eth0).

1. How does this get set? It wouldn't work until I renamed the ifcfg-eth0 under default.

2. When I run "route," it shows two identical routes for the LAN. How do I get rid of one?

3. Is there a way to trace or step through a shell script? It would have been a lot easier to find this if I could have stepped through "ifup eth0."

Thanks a lot,

-Dan

finegan 06-06-2003 12:45 AM

1. tinker with the GUIs, or better yet, just delete both profiles by hand and then tinker with the GUIs.

2. route delete default (and then) route delete

3. zap both of those annoying profiles, reboot the crate, verify there's no attempted route with "route" and then just try dhcp with dhclient, or...

ifconfig eth0 192.168.0.2 up
route add default gw 192.168.0.1

Cheers,

Finegan


All times are GMT -5. The time now is 04:22 AM.