Re: Static address and resolvconf problem



That works but is a workaround to the bug which cannot be used if you need different DNS nameservers depending on the network you are connecting to (for example to solve internal machine names, which aren't public).

Surprisingly the problem arises in the simplest case ( static IP address ), and only after rebooting: The configuration set by NM isn't written on /etc/resolv.conf and the NM configuration must be re-selected to get written to the file.

Aldo
 

José Queiroz escribió:
Because you didn't configured resolvconf to fix your nameserver in
/etc/resolv.conf.

You do that adding the line "nameserver 127.0.0.1" to
"/etc/resolvconf/resolv.conf.d/head" and reconnecting. There may be a
better way, indeed.

2010/1/24 Aldo Caruso <aldo caruso argencasas com>:
  
That doesn't solve the problem: when I select static configuration and
reboot, the nameserver entry is deleted from /etc/resolv.conf ( whichever it
is, 127.0.0.1 or other ).

José Queiroz escribió:

Why don't you install a dns server on your machine? This way you can
use resolvconf to fix "nameserver 127.0.0.1" to you, and never again
need to guess what is your dns server right now...

2010/1/23 Aldo Caruso <aldo caruso argencasas com>:


Hi,
 I have Ubuntu 8.0, two network manager configurations corresponding to two
locations: one when I'm at home with a static IP address, and the other for
using wi fi with dynamic IP addressed.
 Everything worked well until I installed the resolvconf package.
 When I use the dynamic configuration there is no problem. If instead I
select the static one, everything works fine until I reboot my machine.
 After a boot, the file /etc/resolv.conf has no entries (only default
comments), and I must reselect the static configuration from network manager
in order to get the static DNSs listed in /etc/resolv.conf

Thanks for any clue.
Aldo
_______________________________________________
NetworkManager-list mailing list
NetworkManager-list gnome org
http://mail.gnome.org/mailman/listinfo/networkmanager-list



_______________________________________________
NetworkManager-list mailing list
NetworkManager-list gnome org
http://mail.gnome.org/mailman/listinfo/networkmanager-list

    
_______________________________________________
NetworkManager-list mailing list
NetworkManager-list gnome org
http://mail.gnome.org/mailman/listinfo/networkmanager-list
  


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]