1 |
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. |
2 |
|
3 |
For the /etc/resolv.conf file, I have: |
4 |
search belkin |
5 |
nameserver 192.168.2.1 |
6 |
nameserver 207.69.188.185 |
7 |
nameserver 207.69.188.186 |
8 |
nameserver 207.69.188.187 |
9 |
|
10 |
route -n returns |
11 |
Kernel IP routing table |
12 |
Destination Gateway Genmask Flags Metric Ref Use Iface |
13 |
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 |
14 |
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo |
15 |
0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 eth0 |
16 |
|
17 |
Comparing this with the equivalent working connection via my Mandriva Linux boot-up, /etc/resolv.conf is the same, but route -n returns |
18 |
Kernel IP routing table |
19 |
Destination Gateway Genmask Flags Metric Ref Use Iface |
20 |
192.168.2.0 0.0.0.0 255.255.255.0 U 10 0 0 eth0 |
21 |
169.254.0.0 0.0.0.0 255.0.0.0 U 10 0 0 eth0 |
22 |
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo |
23 |
0.0.0.0 192.168.2.1 0.0.0.0 UG 10 0 0 eth0 |
24 |
|
25 |
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 |
26 |
|
27 |
I'm not using genkernel. Is it possible that a kernel misconfiguration is responsible for the problems I'm having? |
28 |
|
29 |
Thanks |
30 |
|
31 |
Jeff |
32 |
|
33 |
|
34 |
-----Original Message----- |
35 |
>From: Novensiles divi Flamen <noven@×××××××.org> |
36 |
>Sent: Nov 3, 2006 10:15 PM |
37 |
>To: gentoo-user@l.g.o |
38 |
>Subject: Re: [gentoo-user] Networking problems |
39 |
> |
40 |
>On Saturday 04 November 2006 09:57, Jeff Cranmer wrote: |
41 |
>> I seem to have some network issues with my gentoo install |
42 |
>> |
43 |
>> I have /etc/init.0/net.eth0 configured to run at the default runlevel. |
44 |
>> It appears to startup ok. No firewall has been installed yet. |
45 |
>> The network appears to startup eth0 correctly, obtaining a dhcp address |
46 |
>> from my cable provider via the router. |
47 |
>> |
48 |
>Are you getting DNS and default route settings from the DHCP server? Your |
49 |
>option 'nodns' means you'd need to have it set manually. |
50 |
> |
51 |
>cat /etc/resolv.conf should show the value of your DNS server. |
52 |
> |
53 |
>route -n should show your default gateway. Check that both values are sane. |
54 |
> |
55 |
>- Noven |
56 |
>-- |
57 |
>>-- Novensiles divi Flamen --< |
58 |
>>---- Miles Militis Fons ----< |
59 |
|
60 |
-- |
61 |
gentoo-user@g.o mailing list |