Where did NetworkManager keep the settings about IP address and DNS? Thanks.
Hi, /etc/resolv.conf BR, Dan Beast wrote:> > Where did NetworkManager keep the settings about IP address and DNS? > Thanks. > > > > _______________________________________________ > Fedora-laptop-list mailing list > Fedora-laptop-list@redhat.com > http://www.redhat.com/mailman/listinfo/fedora-laptop-list >
Dan Morozov wrote:> Hi, > > /etc/resolv.conf >[beast@butterfly etc]$ cat /etc/resolv.conf # generated by NetworkManager, do not edit! nameserver 10.1.1.2 It will be overwrite everytime NM runs. I check in $HOME/.gconf/system/networking/wireless/networks/sid/%gconf but none mentions about IP and DNS settings. --beast
Hi, So don''t use NM, try edit /etc/resolv.conf and restart the network: /etc/init.d/network restart BR, Dan Beast wrote:> Dan Morozov wrote: >> Hi, >> >> /etc/resolv.conf >> > [beast@butterfly etc]$ cat /etc/resolv.conf > # generated by NetworkManager, do not edit! > nameserver 10.1.1.2 > > It will be overwrite everytime NM runs. I check in > $HOME/.gconf/system/networking/wireless/networks/sid/%gconf but none > mentions about IP and DNS settings. > > > --beast > > > > _______________________________________________ > Fedora-laptop-list mailing list > Fedora-laptop-list@redhat.com > http://www.redhat.com/mailman/listinfo/fedora-laptop-list >
Gianluca Sforna wrote:> On 1/16/07, Beast <beast@ldap.or.id> wrote: >> Dan Morozov wrote: >> > Hi, >> > >> > /etc/resolv.conf >> > >> [beast@butterfly etc]$ cat /etc/resolv.conf >> # generated by NetworkManager, do not edit! >> nameserver 10.1.1.2 >> >> It will be overwrite everytime NM runs. I check in >> $HOME/.gconf/system/networking/wireless/networks/sid/%gconf but none >> mentions about IP and DNS settings. > > AFAIK NM polls the connection for IP and DNS informations; in other > words, those info are taken from a DHCP serverI did not use dyn IP and I have no DHCP server running either. I setup static IP using script in /etc/NetworkManager/dispatcher.d The problem is the nameserver IP setup by NM was incorrect, I need to fix it but confuse which file to be edited. --beast
Beast wrote:> Gianluca Sforna wrote: >> On 1/16/07, Beast <beast@ldap.or.id> wrote: >>> Dan Morozov wrote: >>> > Hi, >>> > >>> > /etc/resolv.conf >>> > >>> [beast@butterfly etc]$ cat /etc/resolv.conf >>> # generated by NetworkManager, do not edit! >>> nameserver 10.1.1.2 >>> >>> It will be overwrite everytime NM runs. I check in >>> $HOME/.gconf/system/networking/wireless/networks/sid/%gconf but none >>> mentions about IP and DNS settings. >> >> AFAIK NM polls the connection for IP and DNS informations; in other >> words, those info are taken from a DHCP server > > I did not use dyn IP and I have no DHCP server running either. I setup > static IP using script in /etc/NetworkManager/dispatcher.d > > The problem is the nameserver IP setup by NM was incorrect, I need to > fix it but confuse which file to be edited. >Aparently it setup by /var/lib/dhclient/dhclient-eth1.leases, dhcdbd and dhclient was running, though the dhcdbd service was not autostart. It maybe invoke automaticaly by NM. Tks. --beast