Results 1 to 8 of 8

Thread: keep losing nameserver address

  1. #1

    Default keep losing nameserver address

    I did un upgrade from 10.3 to 11.0. Now I have a problem that I keep losing nameserver entry in my /etc/resolv.conf file. I have a Compaq 6820s laptop.
    Situation is like this:
    When I start my laptop, ethernet is up (I have a static address), but there's no dns server address. I can add it manually through console and internet will work. If I try to add it through yast, it won't work. In fact if I entered a address manually into the resolv.conf and open yast-network and enter secondary dns server and then apply, at the end I'll have an empty resolv.conf.
    Essentially, I have to manually enter nameserver every time laptop stsarts and it's lost after every restart. How can I put it there permanently?

  2. #2
    Join Date
    Jun 2008
    Location
    Tampa, FL
    Posts
    27

    Default Re: keep losing nameserver address

    It sounds like you have an adapter configured to update DNS via dhcp. This is a configurable option in Network Settings under DNS/Hostname at the bottom (checkbox). Ensure this is not checked and that you have defined your nameservers you want there also.

    Bounce the network stack (/etc/init.d/network restart) [as root] and you should be good to go.

  3. #3

    Default Re: keep losing nameserver address

    I do have that option selected, but it's also greyed out and I can not uncheck it.
    BTW, my pc has a static address.


  4. #4

    Default Re: keep losing nameserver address

    Anyone?
    Is there a conf file somewhere, where I can set it up manually?

  5. #5

    Default Re: keep losing nameserver address

    /etc/resolv.conf

    would you place a picture of General options tab, pls?

  6. #6
    visman NNTP User

    Default Re: keep losing nameserver address

    I had the same problem with OpenSUSE 11.0.

    If you change the network settings to DHCP and then go back to the tab it ungreys the checkbox and you can deselect it.

    Then change back from DHCP to static and the problem with the dns setting dissapearing is gone.

    Let me know if this works as I am still having problems after doing it with internet connectivity.

    ~Visman

  7. #7

    Default Re: keep losing nameserver address

    I did this, and nameserver now stays written, in yast and resolv.conf file. But now I can't access internet. At least before, after manually puting dns server name in, I could go online. Now, I can't, and I don't see how to undo it.
    I can still access local network.

  8. #8
    Join Date
    Jun 2008
    Location
    Mangalore, Karnataka, India
    Posts
    146

    Default Re: keep losing nameserver address

    What do you have under the routing tab? Make sure your router IP is entered there
    nucleuskore
    "The Future Is Open"
    http://www.neville.in
    http://www.linuxrocks.in

Posting Permissions

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