Results 1 to 4 of 4

Thread: SuSE refuses DHCP lease without DNS server

  1. #1
    Tilman Schmidt NNTP User

    Default 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.

  2. #2
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,683
    Blog Entries
    4

    Default Re: SuSE refuses DHCP lease without DNS server

    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?

  3. #3
    Freek NNTP User

    Default Re: SuSE refuses DHCP lease without DNS server

    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

  4. #4
    Tilman Schmidt NNTP User

    Default Re: SuSE refuses DHCP lease without DNS server

    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 Geschftsfhrer: W. Griel

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •