Ok I have been having some network troubles after a kernel compile.
I decided to recompile so that I could install the new nvidia drivers without downloading the kernel headers. Also it gives me practice for when kernel 2.6.0 arrives.
Could any Linux gurus help me re-establish proper networking? (The actual questions are right at the bottom.)
My relevant machine details:
Some relevant lines from my kernel configuration, edited for brevity (followed by comments):
Now initially I cannot get to the network at all as this shows:
(150.203.110.1 is my gateway by the way.)
Now this isn't a problem with the card as it runs fine under my old kernel and "other" Operating Systems.
(The card is fully Linux compatible by the way, I bought the only one in the store which had "Linux support" written on front of it - and it worked fine before the recompile.)
I check to see if maybe the kernel hasn't modprobed the card by doing "cat /proc/pci":
I have also seen something like:
flash by in the boot process.
After a long time I worked out that I should do an "ifconfig eth0" which indicates that I have no IP address nor netmask.
I am on a DHCP dynamic IP so I figure I should try and find a way to reget my IP, but the best thing I can find is dhclient.
So I do "dhclient eth0" as root and get no output, but upon re-pinging 150.203.110.1 there is no change. I re-check my IP and find I still don't have one.
I then do:
So now I at least have an IP and netmask even if my admin will be upset at me for not using DHCP.
I re-ping 150.203.110.1 and I get normal output. (As in the ping is succesful.)
But when I ping an actual domain name I get "unknown host":
So I still have no DNS, even though I am on the network.
My questions:
1:What have I done wrong in the recompile process? (Do I need to recompile "# CONFIG_IP_PNP_BOOTP" in?)
2:How do I set up my computer for full DHCP assignment? (Preferably on boot instead of by hand.)
3:If I am stuck with manual IP assignment (which will mean having to boot into Windows to find an unused IP address - ie the one assigned to my Windows box) then can I just shove the dns' IP address into /etc/hosts.conf? What would the formatting of that be?