1 |
> -----Original Message----- |
2 |
> From: Neil Bothwick [mailto:neil@××××××××××.uk] |
3 |
> Sent: Thursday, February 22, 2007 1:40 PM |
4 |
|
5 |
> |
6 |
> On Thu, 22 Feb 2007 11:34:27 -0800, Michael Higgins wrote: |
7 |
> |
8 |
> > I have a server that had been running dhcpcd to get it's IP address. |
9 |
> > |
10 |
> > I don't want to do like this anymore, so I removed the package and |
11 |
> > attempted to configure the interface manually. |
12 |
> |
13 |
> How? We can't guess at what changes you made. |
14 |
> |
15 |
> > However, somewhere in my configs dhcp client is still |
16 |
> called. How do I |
17 |
> > fix this? |
18 |
> |
19 |
> By posting the configs here, particularly /etc/conf.d/net. We |
20 |
> have to see the config file to be able to tell what's wrong with it. |
21 |
|
22 |
(As I mentioned in different post, I found the offending line in conf.d/net |
23 |
and fixed. Or, thought I did...) |
24 |
|
25 |
Here is /etc/conf.d/net: |
26 |
|
27 |
|
28 |
config_eth0=( "192.168.100.5 netmask 255.255.255.0 brd 192.168.100.255" ) |
29 |
routes_eth0=( "default via 192.168.100.1" ) |
30 |
|
31 |
/etc/nsswitch.conf: |
32 |
|
33 |
passwd: compat |
34 |
shadow: compat |
35 |
group: compat |
36 |
|
37 |
# passwd: db files nis |
38 |
# shadow: db files nis |
39 |
# group: db files nis |
40 |
|
41 |
hosts: files dns |
42 |
networks: files dns |
43 |
|
44 |
services: db files |
45 |
protocols: db files |
46 |
rpc: db files |
47 |
ethers: db files |
48 |
netmasks: files |
49 |
netgroup: files |
50 |
bootparams: files |
51 |
|
52 |
automount: files |
53 |
aliases: files |
54 |
|
55 |
/etc/hosts: |
56 |
|
57 |
|
58 |
127.0.0.1 localhost |
59 |
::1 localhost |
60 |
|
61 |
/etc/resolv.conf: |
62 |
|
63 |
nameserver 209.116.241.10 |
64 |
nameserver 216.99.225.31 |
65 |
nameserver 216.99.233.253 |
66 |
|
67 |
. . . |
68 |
|
69 |
The problem is that I installed djbdns and ran the scripts to set it up. |
70 |
|
71 |
It didn't work to cache and serve dns queries, so I gave up. But unmerging |
72 |
it left me with no DNS at all. |
73 |
|
74 |
I was hoping to find out what these scripts overwrote that's hijacking my |
75 |
DNS requests. |
76 |
|
77 |
Anyway, if anyone on the list has removed djbdns and re-configured access |
78 |
directly to their ISP's nameservers, I'd like to know if it was effortless, |
79 |
or was there something else required. |
80 |
|
81 |
-- |
82 |
Michael Higgins |
83 |
|
84 |
|
85 |
-- |
86 |
gentoo-user@g.o mailing list |