* [gentoo-user] remove DHCPCD/djbdns -- and now, manual setup fails...
@ 2007-02-22 19:34 Michael Higgins
2007-02-22 21:17 ` [solved] " Michael Higgins
2007-02-22 21:39 ` Neil Bothwick
0 siblings, 2 replies; 4+ messages in thread
From: Michael Higgins @ 2007-02-22 19:34 UTC (permalink / raw
To: gentoo-user
Hello, list --
I have a server that had been running dhcpcd to get it's IP address.
I don't want to do like this anymore, so I removed the package and attempted
to configure the interface manually.
However, somewhere in my configs dhcp client is still called. How do I fix
this?
Also, I'd tried installing and configuring djbdns.
I can't get the nameservers in resolv.conf to give me dns, even though I can
ping them.
And, starting sshd calls dhcp and kills the eth0 device.
How can I fix this? Any takers?
--
Michael Higgins
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* [solved] RE: [gentoo-user] remove DHCPCD/djbdns -- and now, manual setup fails...
2007-02-22 19:34 [gentoo-user] remove DHCPCD/djbdns -- and now, manual setup fails Michael Higgins
@ 2007-02-22 21:17 ` Michael Higgins
2007-02-22 21:39 ` Neil Bothwick
1 sibling, 0 replies; 4+ messages in thread
From: Michael Higgins @ 2007-02-22 21:17 UTC (permalink / raw
To: gentoo-user
> -----Original Message-----
> From: Michael Higgins [mailto:mhiggins@banfieldgroup.com]
>
> Hello, list --
>
> I have a server that had been running dhcpcd to get it's IP address.
>
> I don't want to do like this anymore, so I removed the
> package and attempted to configure the interface manually.
>
> However, somewhere in my configs dhcp client is still called.
> How do I fix this?
>
> Also, I'd tried installing and configuring djbdns.
>
> I can't get the nameservers in resolv.conf to give me dns,
> even though I can ping them.
>
> And, starting sshd calls dhcp and kills the eth0 device.
>
> How can I fix this? Any takers?
>
> --
> Michael Higgins
[ solved ] - found offending line in /etc/conf.d/net. Can ssh into machine.
Still no DNS joy. I'll try getting a clue on #gentoo, I guess.
--
Michael Higgins
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] remove DHCPCD/djbdns -- and now, manual setup fails...
2007-02-22 19:34 [gentoo-user] remove DHCPCD/djbdns -- and now, manual setup fails Michael Higgins
2007-02-22 21:17 ` [solved] " Michael Higgins
@ 2007-02-22 21:39 ` Neil Bothwick
2007-02-22 22:19 ` Michael Higgins
1 sibling, 1 reply; 4+ messages in thread
From: Neil Bothwick @ 2007-02-22 21:39 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 610 bytes --]
On Thu, 22 Feb 2007 11:34:27 -0800, Michael Higgins wrote:
> I have a server that had been running dhcpcd to get it's IP address.
>
> I don't want to do like this anymore, so I removed the package and
> attempted to configure the interface manually.
How? We can't guess at what changes you made.
> However, somewhere in my configs dhcp client is still called. How do I
> fix this?
By posting the configs here, particularly /etc/conf.d/net. We have to see
the config file to be able to tell what's wrong with it.
--
Neil Bothwick
"Mr. Worf, scan that ship." "Aye Captain. 300 dpi?"
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [gentoo-user] remove DHCPCD/djbdns -- and now, manual setup fails...
2007-02-22 21:39 ` Neil Bothwick
@ 2007-02-22 22:19 ` Michael Higgins
0 siblings, 0 replies; 4+ messages in thread
From: Michael Higgins @ 2007-02-22 22:19 UTC (permalink / raw
To: gentoo-user
> -----Original Message-----
> From: Neil Bothwick [mailto:neil@digimed.co.uk]
> Sent: Thursday, February 22, 2007 1:40 PM
>
> On Thu, 22 Feb 2007 11:34:27 -0800, Michael Higgins wrote:
>
> > I have a server that had been running dhcpcd to get it's IP address.
> >
> > I don't want to do like this anymore, so I removed the package and
> > attempted to configure the interface manually.
>
> How? We can't guess at what changes you made.
>
> > However, somewhere in my configs dhcp client is still
> called. How do I
> > fix this?
>
> By posting the configs here, particularly /etc/conf.d/net. We
> have to see the config file to be able to tell what's wrong with it.
(As I mentioned in different post, I found the offending line in conf.d/net
and fixed. Or, thought I did...)
Here is /etc/conf.d/net:
config_eth0=( "192.168.100.5 netmask 255.255.255.0 brd 192.168.100.255" )
routes_eth0=( "default via 192.168.100.1" )
/etc/nsswitch.conf:
passwd: compat
shadow: compat
group: compat
# passwd: db files nis
# shadow: db files nis
# group: db files nis
hosts: files dns
networks: files dns
services: db files
protocols: db files
rpc: db files
ethers: db files
netmasks: files
netgroup: files
bootparams: files
automount: files
aliases: files
/etc/hosts:
127.0.0.1 localhost
::1 localhost
/etc/resolv.conf:
nameserver 209.116.241.10
nameserver 216.99.225.31
nameserver 216.99.233.253
. . .
The problem is that I installed djbdns and ran the scripts to set it up.
It didn't work to cache and serve dns queries, so I gave up. But unmerging
it left me with no DNS at all.
I was hoping to find out what these scripts overwrote that's hijacking my
DNS requests.
Anyway, if anyone on the list has removed djbdns and re-configured access
directly to their ISP's nameservers, I'd like to know if it was effortless,
or was there something else required.
--
Michael Higgins
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-02-22 22:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-22 19:34 [gentoo-user] remove DHCPCD/djbdns -- and now, manual setup fails Michael Higgins
2007-02-22 21:17 ` [solved] " Michael Higgins
2007-02-22 21:39 ` Neil Bothwick
2007-02-22 22:19 ` Michael Higgins
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox