Announcement

Collapse
No announcement yet.

[Solved sort of]Save Network Settings

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [Solved sort of]Save Network Settings

    I cannot get Fiesty to save my network settings. (DNS Servers). I've read all the threads about uninstalling knetworkmanager and configuring in the Control Center. I've done that. I've also set permissions on resolv.conf to read only. The avahi-daemon is not running on boot by the way. http://kubuntuforums.net/forums/inde...opic=3083733.0

    Every time I reboot, all my changes are undone, including the permissions on resolv.conf. How the heck is it possible for file permissions to change on their own?

    #2
    Re: Save Network Settings

    Just a (very bad) gut feeling: could you please post the system's feedback to ls -l /etc/resolv* ...?

    Comment


      #3
      Re: Save Network Settings

      Here is the output.

      Code:
      eric@kubuntu:~$ ls -l /etc/resolv*
      -rw-r--r-- 1 root root  86 2007-06-08 21:27 /etc/resolv.conf
      
      /etc/resolvconf:
      total 4
      drwxr-xr-x 2 root root 4096 2007-04-17 01:25 update-libc.d

      Comment


        #4
        Re: Save Network Settings

        Bump

        Anybody......anybody......(crickets chirping)

        Comment


          #5
          Re: Save Network Settings

          Mumble, mumble ... to get at least one small step closer (hopefully, that is ...):

          1. Create a useable version of /etc/resolv.conf, to be labeled resolv.conf.good;
          2. add the following line of code to /etc/rc.local (above the exit 0, of course):

          Code:
          cp -f /etc/resolv.conf.good /etc/resolv.conf
          3. Reboot, hope for the best - and keep an eye at /var/log/dmesg & friends ...

          Comment


            #6
            Re: [Solved sort of] Save Network Settings

            I found this while searching the net on this topic.
            http://lists.freebsd.org/pipermail/f...ch/116144.html

            I got resolv.conf to retain one of my dns server ip's by editing /etc/dhcp3/dhcpclient.conf like so.

            send host-name "<hostname>";
            #send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
            #send dhcp-lease-time 3600;
            #supersede domain-name "fugue.com home.vix.com";
            supersede domain-name-servers 20*.22*.8.4*;
            #prepend domain-name-servers 127.0.0.1;

            where the *'s are the real ip #'s of my primary dns server. I can restart and this setting is saved. However it seems to me to be an inelegant solution to the problem. Also I can't figure out the syntax to get more than one server ip to stay in.

            Comment

            Working...
            X