Gentoo Archives: gentoo-user

From: Stroller <stroller@××××××××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Network configuration: looking up URLs is very slow; how can I fix this?
Date: Sat, 13 Sep 2008 13:59:39
Message-Id: 2F3BFDEA-3897-45F8-AD15-CF4D064769AB@stellar.eclipse.co.uk
In Reply to: Re: [gentoo-user] Network configuration: looking up URLs is very slow; how can I fix this? by Alan Mackenzie
1 On 12 Sep 2008, at 21:59, Alan Mackenzie wrote:
2 > ...
3 > /etc/resolv.conf:
4 > ######################################################################
5 > ###
6 > # Generated by dhcpcd for interface eth0
7 > search Speedport_W_700V
8 > nameserver 192.168.2.1
9 > ######################################################################
10 > ###
11
12 I might remove the "search" line. That tells your computer to search
13 for google.com.Speedport_W_700V if no IP address is found.
14
15 > I do # route (as root), and get this:
16 > ######################################################################
17 > ###
18 > Kernel IP routing table
19 > Destination Gateway Genmask Flags Metric Ref
20 > Use Iface
21 > 192.168.2.0 * 255.255.255.0 U 0
22 > 0 0 eth0
23 > link-local * 255.255.0.0 U 0
24 > 0 0 eth0
25 > loopback * 255.0.0.0 U 0
26 > 0 0 lo
27 > default speedport.ip 0.0.0.0 UG 0
28 > 0 0 eth0
29 > ######################################################################
30 > ###
31
32 I'd also specify 192.168.2.1 as the default route explicitly, rather
33 than by name.
34
35 Stroller.

Replies