After reading the comments at the top of the /etc/conf.d/net, a blank file will
automatically use DHCP for any net.* scripts in /etc/init.d, so I commented out
all the parameters that I'd added. The file then matches the one in the livecd
boot-up that I used to install the OS.
For the /etc/resolv.conf file, I have:
search belkin
nameserver 192.168.2.1
nameserver 207.69.188.185
nameserver 207.69.188.186
nameserver 207.69.188.187
route -n returns
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref
Use Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0
0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0
0 0 lo
0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0
0 eth0
Comparing this with the equivalent working connection via my Mandriva Linux
boot-up, /etc/resolv.conf is the same, but route -n returns
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref
Use Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 10 0
0 eth0
169.254.0.0 0.0.0.0 255.0.0.0 U 10 0
0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0
0 0 lo
0.0.0.0 192.168.2.1 0.0.0.0 UG 10 0
0 eth0
The main difference is that the metric column is all 0 on my non-working
install, and I'm missing the 169.254.0.0 row from route -n
I'm not using genkernel. Is it possible that a kernel misconfiguration is
responsible for the problems I'm having?
Thanks
Jeff
-----Original Message-----
>From: Novensiles divi Flamen <[EMAIL PROTECTED]>
>Sent: Nov 3, 2006 10:15 PM
>To: [email protected]
>Subject: Re: [gentoo-user] Networking problems
>
>On Saturday 04 November 2006 09:57, Jeff Cranmer wrote:
>> I seem to have some network issues with my gentoo install
>>
>> I have /etc/init.0/net.eth0 configured to run at the default runlevel.
>> It appears to startup ok. No firewall has been installed yet.
>> The network appears to startup eth0 correctly, obtaining a dhcp address
>> from my cable provider via the router.
>>
>Are you getting DNS and default route settings from the DHCP server? Your
>option 'nodns' means you'd need to have it set manually.
>
>cat /etc/resolv.conf should show the value of your DNS server.
>
>route -n should show your default gateway. Check that both values are sane.
>
>- Noven
>--
>>-- Novensiles divi Flamen --<
>>---- Miles Militis Fons ----<
--
[email protected] mailing list