SuSE refuses DHCP lease without DNS server

Tried to connect with an openSUSE 10.3 laptop I set up myself,
to a network I also set up myself, and was very astonished I wouldn’t
get a DHCP lease. Inspection of /var/log/messages revealed the laptop
did get a lease, but rejected it as unacceptable because it didn’t
contain a DNS server address.

Now this is correct, and intentional. The network in question does
not have nor need a DNS server. (I’ll explain if I must, but it
doesn’t really matter for this question.) But why would dhcpcd
refuse such a lease? And, more importantly, can I convince it
somehow that a DHCP lease which only assigns an IP address,
netmask and default gateway is good enough?

Thx
T.

What happens if you use the -R (–nodns) option to prevent dhcpcd from touching /etc/resolv.conf. Maybe it didn’t like having nothing to write there?

ken yap wrote:

>
> What happens if you use the -R (–nodns) option to prevent dhcpcd from
> touching /etc/resolv.conf. Maybe it didn’t like having nothing to write
> there?

Did you uncheck in YaST2 -> Network Devices -> Network Settings ->
Hostname/DNS “Update DNS data via DHCP”?


Freek

Freek schrieb:
> ken yap wrote:
>
>> What happens if you use the -R (–nodns) option to prevent dhcpcd from
>> touching /etc/resolv.conf. Maybe it didn’t like having nothing to write
>> there?

No change in behaviour.

> Did you uncheck in YaST2 -> Network Devices -> Network Settings ->
> Hostname/DNS “Update DNS data via DHCP”?

I did.

Thanks,
Tilman


Tilman Schmidt t.schmidt@phoenixsoftware.de
Phoenix Software GmbH www.phoenixsoftware.de
Adolf-Hombitzer-Str. 12 Amtsgericht Bonn HRB 2934
53227 Bonn, Germany Geschäftsführer: W. Grießl