LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-01-2006, 05:16 AM   #1
frank james
LQ Newbie
 
Registered: Jan 2005
Location: east preston uk
Distribution: debian
Posts: 4

Rep: Reputation: 0
Angry network settings get changed unintentionally


I use my pc with Debian at 3 locations, they all have different isps. So each one has its configuration for dns and these are all different and are set up in the ethernet configuration. Often the configuration gets changed without warning and suddenly the browser halts. What can I do about it please? I would really appreciate helpful suggestions
 
Old 11-01-2006, 08:39 AM   #2
spectra
Member
 
Registered: Nov 2006
Location: UK
Distribution: Debian(s) / Gentoo
Posts: 30

Rep: Reputation: 15
Sorry i'm having some difficulty understanding the question, what is changing?

The DNS server entries are stored in /etc/resolv.conf

Do you mean the DNS servers IP changes or you/Debian changes physical NIC info? (As viewed/changed with ifconfig command)
 
Old 11-01-2006, 02:24 PM   #3
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by frank james
I use my pc with Debian at 3 locations, they all have different isps. So each one has its configuration for dns and these are all different and are set up in the ethernet configuration. Often the configuration gets changed without warning and suddenly the browser halts. What can I do about it please? I would really appreciate helpful suggestions
You may want to look at the switchconf or laptop-net packages.
 
Old 11-01-2006, 02:36 PM   #4
bullium
Member
 
Registered: Aug 2003
Location: Ohio
Distribution: Ubuntu 12.04, Mint 13, RHES 5.5, RHES 6
Posts: 146

Rep: Reputation: 17
Quote:
Originally Posted by frank james
I use my pc with Debian at 3 locations, they all have different isps. So each one has its configuration for dns and these are all different and are set up in the ethernet configuration. Often the configuration gets changed without warning and suddenly the browser halts. What can I do about it please? I would really appreciate helpful suggestions
I think I know what your saying. The problem is that your resolve.conf file is getting "reset" therefore your nameserver setting is getting reset.

To keep this from happening set the immutable bit like so:

Code:
chattr +i /etc/resolv.conf
 
Old 11-03-2006, 04:48 AM   #5
frank james
LQ Newbie
 
Registered: Jan 2005
Location: east preston uk
Distribution: debian
Posts: 4

Original Poster
Rep: Reputation: 0
Wink dns reset

Thanks to Dave, Happy Tux and Bullium, I probably didn't explain it very well but Bullium has hit the right spot. I'll do what he says and will keep in touch. Very many thanks to you all.
Frank
 
Old 11-04-2006, 05:37 AM   #6
frank james
LQ Newbie
 
Registered: Jan 2005
Location: east preston uk
Distribution: debian
Posts: 4

Original Poster
Rep: Reputation: 0
Wink network changes

Thanks very much , all is ok now!
 
  


Reply

Tags
dns



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Broken X after changed monitor settings? badbunny Linux - Newbie 2 10-27-2005 11:14 AM
Changed network settings, Mandrake won't load InsolentLS Linux - Software 1 11-11-2004 04:18 PM
changed display settings now can't see - HELP!! thalerz Linux - General 16 11-20-2003 06:03 PM
Login Manager settings changed Mattyz Linux - General 0 10-27-2003 05:27 AM
BIOS settings changed by MDK 9.1 hwaage Mandriva 4 09-12-2003 03:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration