Results 1 to 2 of 2

Thread: Network manager breaking my settings

  1. #1
    Join Date
    Jun 2008
    Beans
    5
    Distro
    Ubuntu 8.04 Hardy Heron

    Network manager breaking my settings

    Hi,

    I have a laptop (Dell latitude D620) running Ubuntu 8.04 (Gnome) with all the latest and greatest updates, but the network manager is being a bit mischievous. It keeps changing my settings, and not in a good way!

    At work I have a static IP wired connection which needs a gateway and DNS servers, etc. I also have a wireless card which I use with DHCP both at work, and also when I bring the laptop home. When everything is configured properly, everything works just fine.

    BUT:

    If I bring the laptop home and switch on the wireless, my DNS server is automatically set to 192.168.1.1, which is correct for my router. But this removes my static DNS servers required for my wired connection, and when I bring my laptop back to work, I no longer can connect and have to reset the DNS manually.

    Then it seems like every time I change something in the network manager (like re-adding the DNS servers), it tries to 'fix' my hostname/domain/aliases. My hostname is nlinfit and domain is mit.edu, so I believe my /etc/hosts should read something like:

    127.0.0.1 localhost nlinfit.mit.edu
    127.0.1.1 nlinfit

    If I don't have at least one alias as 'nlinfit' and one as 'nlinfit.mit.edu' then Gnome gets slow and things like 'sudo' seem to hang. But after I mess around in the network manager, it replaces every single 'nlinfit' alias with 'nlinfit.mit.edu' and I'm stuck with a broken computer again, until I manually edit /etc/hosts.

    Any ideas? Thanks!

  2. #2
    Join Date
    Jan 2007
    Beans
    5,549

    Re: Network manager breaking my settings

    to permanently set DNS servers http://prash-babu.blogspot.com/2008/...-in-linux.html .. opendns servers used in this example!!

Tags for this Thread

Bookmarks

Posting Permissions

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