[gentoo-user] remove DHCPCD/djbdns -- and now, manual setup fails...

2007-02-22 Thread Michael Higgins
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



Re: [gentoo-user] remove DHCPCD/djbdns -- and now, manual setup fails...

2007-02-22 Thread Neil Bothwick
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?


signature.asc
Description: PGP signature


[solved] RE: [gentoo-user] remove DHCPCD/djbdns -- and now, manual setup fails...

2007-02-22 Thread Michael Higgins
 -Original Message-
 From: Michael Higgins [mailto:[EMAIL PROTECTED] 
 
 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



RE: [gentoo-user] remove DHCPCD/djbdns -- and now, manual setup fails...

2007-02-22 Thread Michael Higgins
 -Original Message-
 From: Neil Bothwick [mailto:[EMAIL PROTECTED] 
 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