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-01-2008, 04:26 PM
"Xavier Toth"
 
Default f9 resetting dns nameservers

I initially install with dhcp configured but then reconfigured for a
static ip. Now every time I reboot my resolv.conf is overwritten.
Who's doing this and how can I stop it?

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-01-2008, 04:36 PM
Suren Karapetyan
 
Default f9 resetting dns nameservers

Xavier Toth wrote:

I initially install with dhcp configured but then reconfigured for a
static ip. Now every time I reboot my resolv.conf is overwritten.
Who's doing this and how can I stop it?



NetworkManager I guess

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-01-2008, 04:42 PM
"Optimization Kit"
 
Default f9 resetting dns nameservers

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.

Regards,
Michal

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

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
 
Old 04-01-2008, 05:24 PM
"Optimization Kit"
 
Default f9 resetting dns nameservers

Hi,

On 01/04/2008, 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.

I added information about DNS'es and PEERDNS=no and now everything works well.

Thanks!

>
>
> Dan
>

Regards,
Michal

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

Where does it look for the ifcfg file?

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
 
Old 04-01-2008, 09:15 PM
Dan Williams
 
Default f9 resetting dns nameservers

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
 
Old 04-01-2008, 10:21 PM
"Xavier Toth"
 
Default f9 resetting dns nameservers

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.

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
 
Old 04-02-2008, 10:14 AM
Gilboa Davara
 
Default f9 resetting dns nameservers

On Tue, 2008-04-01 at 11:26 -0500, Xavier Toth wrote:
> I initially install with dhcp configured but then reconfigured for a
> static ip. Now every time I reboot my resolv.conf is overwritten.
> Who's doing this and how can I stop it?
>

Most likely related to this [1] bug.

- Gilboa
[1] https://bugzilla.redhat.com/show_bug.cgi?id=134886


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

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
 

Thread Tools




All times are GMT. The time now is 11:57 AM.

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