FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 04-03-2008, 01:37 AM
Dan Williams
 
Default f9 resetting dns nameservers

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@redhat.com> 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@redhat.com> 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@redhat.com> wrote:
> > > > > > On Tue, 2008-04-01 at 18:42 +0200, Optimization Kit wrote:
> > > > > > > Hi,
> > > > > > >
> > > > > > > On 01/04/2008, Xavier Toth <txtoth@gmail.com> 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@redhat.com
> > > > > > https://www.redhat.com/mailman/listinfo/fedora-devel-list
> > > > > >
> > > > >
> > > >
> > > > --
> > > >
> > > >
> > > > fedora-devel-list mailing list
> > > > fedora-devel-list@redhat.com
> > > > https://www.redhat.com/mailman/listinfo/fedora-devel-list
> > > >
> > >
> >
> > --
> >
> >
> > fedora-devel-list mailing list
> > fedora-devel-list@redhat.com
> > https://www.redhat.com/mailman/listinfo/fedora-devel-list
> >
>

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-03-2008, 02:45 PM
"Xavier Toth"
 
Default f9 resetting dns nameservers

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.



On Wed, Apr 2, 2008 at 8:37 PM, Dan Williams <dcbw@redhat.com> 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@redhat.com> 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@redhat.com> 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@redhat.com> wrote:
> > > > > > > On Tue, 2008-04-01 at 18:42 +0200, Optimization Kit wrote:
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > On 01/04/2008, Xavier Toth <txtoth@gmail.com> 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@redhat.com
> > > > > > > https://www.redhat.com/mailman/listinfo/fedora-devel-list
> > > > > > >
> > > > > >
> > > > >
> > > > > --
> > > > >
> > > > >
> > > > > fedora-devel-list mailing list
> > > > > fedora-devel-list@redhat.com
> > > > > https://www.redhat.com/mailman/listinfo/fedora-devel-list
> > > > >
> > > >
> > >
> > > --
> > >
> > >
> > > fedora-devel-list mailing list
> > > fedora-devel-list@redhat.com
> > > https://www.redhat.com/mailman/listinfo/fedora-devel-list
> > >
> >
>
> --
>
>
> fedora-devel-list mailing list
> fedora-devel-list@redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-devel-list
>

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-03-2008, 03:11 PM
Ralf Ertzinger
 
Default f9 resetting dns nameservers

Hi.

On Wed, 02 Apr 2008 08:02:33 -0400, Dan Williams wrote:

> Can you keep NM off, but do the following and report the output (as
> root):
>
> /usr/sbin/nm-system-settings --plugins=ifcfg-fedora

Having glanced over the code for that one:
does this work for anything besides Ethernet/WLAN connections?

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-03-2008, 07:02 PM
Dan Williams
 
Default f9 resetting dns nameservers

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@redhat.com> 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@redhat.com> 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@redhat.com> 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@redhat.com> wrote:
> > > > > > > > On Tue, 2008-04-01 at 18:42 +0200, Optimization Kit wrote:
> > > > > > > > > Hi,
> > > > > > > > >
> > > > > > > > > On 01/04/2008, Xavier Toth <txtoth@gmail.com> 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@redhat.com
> > > > > > > > https://www.redhat.com/mailman/listinfo/fedora-devel-list
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > > --
> > > > > >
> > > > > >
> > > > > > fedora-devel-list mailing list
> > > > > > fedora-devel-list@redhat.com
> > > > > > https://www.redhat.com/mailman/listinfo/fedora-devel-list
> > > > > >
> > > > >
> > > >
> > > > --
> > > >
> > > >
> > > > fedora-devel-list mailing list
> > > > fedora-devel-list@redhat.com
> > > > https://www.redhat.com/mailman/listinfo/fedora-devel-list
> > > >
> > >
> >
> > --
> >
> >
> > fedora-devel-list mailing list
> > fedora-devel-list@redhat.com
> > https://www.redhat.com/mailman/listinfo/fedora-devel-list
> >
>

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-03-2008, 07:03 PM
Dan Williams
 
Default f9 resetting dns nameservers

On Thu, 2008-04-03 at 17:11 +0200, Ralf Ertzinger wrote:
> Hi.
>
> On Wed, 02 Apr 2008 08:02:33 -0400, Dan Williams wrote:
>
> > Can you keep NM off, but do the following and report the output (as
> > root):
> >
> > /usr/sbin/nm-system-settings --plugins=ifcfg-fedora
>
> Having glanced over the code for that one:
> does this work for anything besides Ethernet/WLAN connections?

Not yet, though I'm going to add support for PPP connections pretty
soon. Is there a certain device class you'd like to see?

Dan


--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-03-2008, 07:14 PM
Ralf Ertzinger
 
Default f9 resetting dns nameservers

Hi.

On Thu, 03 Apr 2008 15:03:43 -0400, Dan Williams wrote

> Not yet, though I'm going to add support for PPP connections pretty
> soon. Is there a certain device class you'd like to see?

I have a modem connection and an xDSL connection (via the built in ethernet)
that I use from time to time.

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-03-2008, 09:05 PM
Dan Williams
 
Default f9 resetting dns nameservers

On Thu, 2008-04-03 at 21:14 +0200, Ralf Ertzinger wrote:
> Hi.
>
> On Thu, 03 Apr 2008 15:03:43 -0400, Dan Williams wrote
>
> > Not yet, though I'm going to add support for PPP connections pretty
> > soon. Is there a certain device class you'd like to see?
>
> I have a modem connection and an xDSL connection (via the built in ethernet)
> that I use from time to time.

PPPoE or PPPoA?

Dan

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-04-2008, 07:34 AM
Ralf Ertzinger
 
Default f9 resetting dns nameservers

Hi.

On Thu, 03 Apr 2008 17:05:31 -0400, Dan Williams wrote:

> > I have a modem connection and an xDSL connection (via the built in
> > ethernet) that I use from time to time.
>
> PPPoE or PPPoA?

PPPoE.

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-04-2008, 07:51 AM
Gilboa Davara
 
Default f9 resetting dns nameservers

On Fri, 2008-04-04 at 09:34 +0200, Ralf Ertzinger wrote:
> Hi.
>
> On Thu, 03 Apr 2008 17:05:31 -0400, Dan Williams wrote:
>
> > > I have a modem connection and an xDSL connection (via the built in
> > > ethernet) that I use from time to time.
> >
> > PPPoE or PPPoA?
>
> PPPoE.
>

/+1.
I know at least 3 people that require it.

- Gilboa

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-04-2008, 06:50 PM
Dan Williams
 
Default f9 resetting dns nameservers

On Fri, 2008-04-04 at 09:34 +0200, Ralf Ertzinger wrote:
> Hi.
>
> On Thu, 03 Apr 2008 17:05:31 -0400, Dan Williams wrote:
>
> > > I have a modem connection and an xDSL connection (via the built in
> > > ethernet) that I use from time to time.
> >
> > PPPoE or PPPoA?
>
> PPPoE.

Ok; there's some support for PPPoE already in NM but it hasn't had much
testing. There's still some work to be done to get the system settings
service reading the ifcfg files for it to. What would help is if people
could send me their PPPoE ifcfg files so I can make sure their cases are
covered.

Thanks!
Dan

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

Thread Tools




All times are GMT. The time now is 04:36 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org