SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Debian 4.0, Ubuntu 6.10, Ubuntu Server 6.06
Posts: 134
Rep:
Losing name server info upon reboot
Each time I reboot my system (twice now), I lose my name server info and have to go into Yast (Network Services -> DNS and Hostname -> Name Servers and Domain Search List) and fill my router's info into the name server 1 field. If I reboot, this field will be blank again. Of course, this means that I can't surf the internet or anything like that until this space is filled in properly.
This problem first appeared after suspending my computer (I meant to shut it down, but I wasn't watching where I was clicking! ). I don't know if this is the root cause of the problem.
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Rep:
You know, you can have more than one nameserver address in resolv.conf? Maybe try one of the public servers as a second address line -- might be worth a shot (and did you try resetting the router just for drill?)
Distribution: Debian 4.0, Ubuntu 6.10, Ubuntu Server 6.06
Posts: 134
Original Poster
Rep:
Thank you very much for the help! I did as you recommended, but resetting the router and adding another nameserver to the resolv.conf didn't help in this case (the file would still be blank every time I'd reboot).
I have no idea what could be doing this, as I'm still well-entrenched in the linux learning stage.
I did get past this problem by putting the necessary information in the resolv.conf and then changing the permissions so it can't be modified. There's probably a far better way to do it (not so "brute force" like this), but it worked for me in the meantime!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.