Results 1 to 6 of 6

Thread: Screwy problem with DNS /etc/resolv.conf

  1. #1
    Join Date
    Jun 2008
    Location
    Delta Quadrant
    Posts
    1,453

    Default Screwy problem with DNS /etc/resolv.conf

    Fresh install of OpenSuSE 11 on HP laptop with Linksys
    add-on 10/100 card. Everything works except I cannot assign
    the DNS servers. The applet in YaST lets me add it, but when you
    hit finish it goes through and says it's writing everything then
    it hits Run SuSEConfig in the progress meter and immediately exits.
    Nothing is getting written into /etc/resolv.conf and you cannot
    perform lookups which means no browsing. For the session I can manually
    add the nameserver entries into resolv.conf, but any powering off or
    rebooting of the machine results in an empty resolv.conf which I suppose
    it to be expected since Network Manager controls it, but I have to have
    a way to keep it populated and YaST will not accept entries.



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

    Default Re: Screwy problem with DNS /etc/resolv.conf

    If you are using networkmanager then you would be getting the DNS nameservers via DHCP no? If you want to bypass those, I recall there's a box you have to tick to say don't use the DHCP specified ones, but use these.

  3. #3
    Join Date
    Jun 2008
    Location
    Taiwan
    Posts
    150

    Default Re: Screwy problem with DNS /etc/resolv.conf

    You can choice another way to fix it.
    Write down a resolv.conf that you want and then put in /root folder.

    Make a shell script in /etc/init.d/after.local
    example as below:

    #!/bin/sh
    cp /root/resolv.conf /etc/
    Regards,
    Bryan Yu
    http://lifestory.moqin.com/

  4. #4
    Join Date
    Jun 2008
    Location
    Delta Quadrant
    Posts
    1,453

    Default Re: Screwy problem with DNS /etc/resolv.conf

    > If you are using networkmanager then you would be getting the DNS
    > nameservers via DHCP no? If you want to bypass those, I recall there's
    > a box you have to tick to say don't use the DHCP specified ones, but
    > use these.


    Statically assigned IP's and when you deselect Use DHCP on the IP settings
    page it is automagically greyed out on the DNS page. Methinks maybe the
    GUI is fibbing about the state of the switch. I have a hack in place to
    overwrite resolv.conf while further research goes into this.


  5. #5

    Default Re: Screwy problem with DNS /etc/resolv.conf

    same problem here
    hp6735b laptop


  6. #6

    Default Re: Screwy problem with DNS /etc/resolv.conf

    Problem solved by reinstalling WITHOUT automatic configuration. This time I configured network during installation and everything works fine.

Posting Permissions

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