On Thu, 01 May 2008 10:21:51 -0400 Dan Williams <[EMAIL PROTECTED]> wrote:
> > 3) I'm trying to make NM work with resolvconf. I want to pass DNS > > configurations > > received from DHCP to the dispatcher and then to the dispatcher script. I > > have no > > knowledge of dbus, so I made an ugly patch to pass the first nameserver > > configuration. > > Could you tell me what should be the correct way of passing the nameservers > > to the dispatcher? > > You shouldn't be using the dispatcher for this or any other core > functionality of NM. Instead, what information does resolvconf need, > and how do you call it? Can we detect when the user wishes to run with > resolvconf enabled? I view resolvconf as just one more method to > handle /etc/resolv.conf, in addition to the (broken) caching-nameserver > code and the direct resolv.conf manipulation. I'd rather teach NM about > resolvconf properly if we can. I forgot to write you what information does resolvconf need. It needs the values of the domain search sortlist and nameserver configuration options for /etc/resolv.conf and the interface name. BR, Hristo _______________________________________________ NetworkManager-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/networkmanager-list
