Re: f9 resetting dns nameservers

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

 



On Thu, 2008-04-03 at 09:45 -0500, Xavier Toth wrote:
> I did miss that :(
> 
> [tedx@comms python]$ sudo /usr/sbin/nm-system-settings --plugins=ifcfg-fedora
> Loaded plugins:
>    ifcfg-fedora: (c) 2007 - 2008 Red Hat, Inc.  To report bugs please
> use the NetworkManager mailing list.
> 
>    ifcfg-fedora: parsing /etc/sysconfig/network-scripts/ifcfg-eth0~ ...
>    ifcfg-fedora:     error: Ignoring connection
> '/etc/sysconfig/network-scripts/ifcfg-eth0~' because it's not an ifcfg
> file.
>    ifcfg-fedora: parsing /etc/sysconfig/network-scripts/ifcfg-lo ...
>    ifcfg-fedora:     error: Ignoring loopback device config.
>    ifcfg-fedora: parsing /etc/sysconfig/network-scripts/ifcfg-eth0 ...
>    ifcfg-fedora:     read connection 'System eth0'
>    ifcfg-fedora: Ignoring connection 'ifcfg-eth0' because
> NM_CONTROLLED was false.

^^^^ so if you flip NM_CONTROLLED to yes, NM should find the connection
and start to use it.

Dan

> 
> 
> On Wed, Apr 2, 2008 at 8:37 PM, Dan Williams <dcbw@xxxxxxxxxx> wrote:
> > On Wed, 2008-04-02 at 08:03 -0500, Xavier Toth wrote:
> >  > /usr/sbin/nm-system-settings --plugins=ifcfg-fedora
> >  >
> >  > ** (nm-system-settings:19898): WARNING **: Could not acquire the
> >  > NetworkManagerSystemSettings service.
> >  >   Message: 'Connection ":1.77" is not allowed to own the service
> >  > "org.freedesktop.NetworkManagerSystemSettings" due to security
> >  > policies in the configuration file'
> >
> >  Note the (as root)...
> >
> >  Dan
> >
> >
> >
> >  >
> >  > On Wed, Apr 2, 2008 at 7:02 AM, Dan Williams <dcbw@xxxxxxxxxx> wrote:
> >  > > On Tue, 2008-04-01 at 17:21 -0500, Xavier Toth wrote:
> >  > >  > Installing the 3521 version and editing ifcfg-eth0 didn't do it for
> >  > >  > me. I turned off NetworkManager :( at least now I don't have to
> >  > >  > reconfigure DNS after reboot.
> >  > >
> >  > >  Can you keep NM off, but do the following and report the output (as
> >  > >  root):
> >  > >
> >  > >  /usr/sbin/nm-system-settings --plugins=ifcfg-fedora
> >  > >
> >  > >  Thanks,
> >  > >
> >  > >
> >  > > Dan
> >  > >
> >  > >  > On Tue, Apr 1, 2008 at 4:15 PM, Dan Williams <dcbw@xxxxxxxxxx> wrote:
> >  > >  > > On Tue, 2008-04-01 at 16:11 -0500, Xavier Toth wrote:
> >  > >  > >  > Where does it look for the ifcfg file?
> >  > >  > >
> >  > >  > >  Versions >= svn3476 look in:
> >  > >  > >
> >  > >  > >  /etc/sysconfig/network-scripts/
> >  > >  > >
> >  > >  > >  and will pick up any file that starts with "ifcfg-" and does _not_ end
> >  > >  > >  with any of: .bak, ~, .orig, .rej
> >  > >  > >
> >  > >  > >  This is the same place that ifup/ifdown look for ifcfg files.
> >  > >  > >
> >  > >  > >  Dan
> >  > >  > >
> >  > >  > >
> >  > >  > >
> >  > >  > >  > On Tue, Apr 1, 2008 at 11:54 AM, Dan Williams <dcbw@xxxxxxxxxx> wrote:
> >  > >  > >  > > On Tue, 2008-04-01 at 18:42 +0200, Optimization Kit wrote:
> >  > >  > >  > >  > Hi,
> >  > >  > >  > >  >
> >  > >  > >  > >  > On 01/04/2008, Xavier Toth <txtoth@xxxxxxxxx> wrote:
> >  > >  > >  > >  > > I initially install with dhcp configured but then reconfigured for a
> >  > >  > >  > >  > >  static ip. Now every time I reboot my resolv.conf is overwritten.
> >  > >  > >  > >  >
> >  > >  > >  > >  > I've got the same problem with NetworkManager.
> >  > >  > >  > >  >
> >  > >  > >  > >  > cat /etc/resolv.conf
> >  > >  > >  > >  > # generated by NetworkManager, do not edit!
> >  > >  > >  > >  >
> >  > >  > >  > >  > nameserver 160.195.151.8
> >  > >  > >  > >  >
> >  > >  > >  > >  > This really sucks.
> >  > >  > >  > >  >
> >  > >  > >  > >  > >  Who's doing this and how can I stop it?
> >  > >  > >  > >  >
> >  > >  > >  > >  > I don't know.
> >  > >  > >  > >
> >  > >  > >  > >  Update to the latest rawhide version of NetworkManager (svn3521), which
> >  > >  > >  > >  fixes the location that it reads your ifcfg files from (that anaconda
> >  > >  > >  > >  wrote on startup).
> >  > >  > >  > >
> >  > >  > >  > >  Then add the options DNS1, DNS2, and maybe DNS3 to your ifcfg file, and
> >  > >  > >  > >  NM will bring up your static connection correctly and use your DNS
> >  > >  > >  > >  servers.
> >  > >  > >  > >
> >  > >  > >  > >  Dan
> >  > >  > >  > >
> >  > >  > >  > >
> >  > >  > >  > >
> >  > >  > >  > >
> >  > >  > >  > >  --
> >  > >  > >  > >  fedora-devel-list mailing list
> >  > >  > >  > >  fedora-devel-list@xxxxxxxxxx
> >  > >  > >  > >  https://www.redhat.com/mailman/listinfo/fedora-devel-list
> >  > >  > >  > >
> >  > >  > >  >
> >  > >  > >
> >  > >  > >  --
> >  > >  > >
> >  > >  > >
> >  > >  > > fedora-devel-list mailing list
> >  > >  > >  fedora-devel-list@xxxxxxxxxx
> >  > >  > >  https://www.redhat.com/mailman/listinfo/fedora-devel-list
> >  > >  > >
> >  > >  >
> >  > >
> >  > >  --
> >  > >
> >  > >
> >  > > fedora-devel-list mailing list
> >  > >  fedora-devel-list@xxxxxxxxxx
> >  > >  https://www.redhat.com/mailman/listinfo/fedora-devel-list
> >  > >
> >  >
> >
> >  --
> >
> >
> > fedora-devel-list mailing list
> >  fedora-devel-list@xxxxxxxxxx
> >  https://www.redhat.com/mailman/listinfo/fedora-devel-list
> >
> 

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux