[NTLUG:Discuss] Slow when Connected to Net

Jack Snodgrass jack at jacksnodgrass.com
Wed Jun 16 13:04:07 CDT 2004


You'll also have to change 
PEERDNS=yes 
to 
PEERDNS=no
in your ( most likely ) 
/etc/sysconfig/network-scripts/ifcfg-eth0
file. 

I'd use nano or pico on 
/etc/sysconfig/network-scripts/ifcfg-eth0
and change the yes to no. Then CTRL-w ( control key and w ) 
to save the file. 

if you don't change this... the next time you get a DHCP
response your box will update this file again. 

You might want to make a backup of the file once you 
edit it... cp /etc/resolv.conf /etc/resolv.conf.good
in case you need it again...

jack


On Wed, 2004-06-16 at 12:50, Cameron, Thomas wrote:
> Use your favorite text editor and just delete that line.
> 
> For vi you would do this:
> 
> vi /etc/resolv.conf
> 
> This would open the file in vi.  Use your keyboard arrow keys to navigate to that first line and type "dd" with out the quotes.  This will delete that whole line.  The hit :wq (that's colon, w, q).  This writes the file then quits.
> 
> There are many ways to do this, and lots of editors to do it with.  I happen to use vi.
> 
> Thomas Cameron, RHCE, CNE, MCSE, MCT
> Assistant Vice President
> Linux Design and Engineering
> Bank of America
> (972) 997-9641
> 
> > -----Original Message-----
> > From: discuss-bounces at ntlug.org [mailto:discuss-bounces at ntlug.org]On
> > Behalf Of Andrew Brown
> > Sent: Wednesday, June 16, 2004 12:33 PM
> > To: NTLUG Discussion List
> > Subject: Re: [NTLUG:Discuss] Slow when Connected to Net
> > 
> > 
> > Bingo, it is the first one and I remember this IP from the 
> > set up of the 
> > Router. OK stupid follow up as I am new to Linux. How do I go 
> > about getting 
> > the first IP out of the nameserver setup? 
> > 
> > Thanks again for the help!
> > 
> > On Wednesday 16 June 2004 11:32 am, Cameron, Thomas wrote:
> > > > nameserver 192.168.1.254
> > > > nameserver 204.127.202.4
> > > > nameserver 216.148.227.68
> > >
> > > I am betting that 192.168.1.254 was assigned by the router 
> > that removed.
> > >
> > > Try this:
> > >
> > > host www.google.com 192.168.1.254
> > > host www.google.com 204.127.202.4
> > > host www.google.com 216.148.227.68
> > >
> > > I bet the first one fails.  I would take the first line out 
> > of resolv.conf.
> > >
> > > --
> > > Thomas Cameron, RHCE, CNE, MCSE, MCT
> > > Assistant Vice President
> > > Linux Design and Engineering
> > > Bank of America
> > > (972) 997-9641
> > >
> > > The opinions expressed in this message are mine alone and do not
> > > necessarily reflect the opinions of my employer, Bank of America.
> > >
> > > _______________________________________________
> > > https://ntlug.org/mailman/listinfo/discuss
> > 
> > 
> > _______________________________________________
> > https://ntlug.org/mailman/listinfo/discuss
> > 
> 
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
> 




More information about the Discuss mailing list