LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-15-2004, 01:06 AM   #1
nerdbebo
LQ Newbie
 
Registered: Jun 2004
Location: Arlington, Texas
Posts: 17

Rep: Reputation: 0
Keep losing route and DNS.


Hey...

I'm having a really frusterating problem here, and I can't seem to find out whats wrong.

Throughout the day I will randomly lose my route to the internet. My routing table should look something like this...

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
default 192.168.0.2 0.0.0.0 UG 0 0 0 eth1

Although.... when I lost connectivity, #route displays this.

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1

I've found if I take eth1 down and back up it will find the route again.

I am running a DHCP server on the network, but I'm using a static address for my laptop. Here is a copy of my ifcfg-eth1.

DEVICE=atml0
BOOTPROTO=static
TYPE=Wireless
MODE=Managed
ESSID=ANY
GATEWAY=192.168.0.2
CHANNEL=6
NETMASK=255.255.255.0
IPADDR=192.168.0.67
DOMAIN=
HWADDR=
IPV6INIT=no
onBOOT=hotplug
USERCTL=no
PEERDNS=yes
RATE=Auto


Also, the next thing I've noticed is my resolv.conf changes everytime I reset eth1.

It changes from my default config to this...

### BEGIN INFO
#
# Modified_by: dhcpcd
# Backup: /etc/resolv.conf.saved.by.dhcpcd
# Process: dhcpcd
# Process_id: 1364
# Script: /sbin/modify_resolvconf
# Saveto:
# Info: This is a temporary resolv.conf created by service dhcpcd.
# The previous file has been saved and will be restored later.
#
# If you don't like your resolv.conf to be changed, you
# can set MODIFY_{RESOLV,NAMED}_CONF_DYNAMICALLY=no. This
# variables are placed in /etc/sysconfig/network/config.
#
# You can also configure service dhcpcd not to modify it.
#
# If you don't like dhcpcd to change your nameserver
# settings
# then either set DHCLIENT_MODIFY_RESOLV_CONF=no
# in /etc/sysconfig/network/dhcp, or
# set MODIFY_RESOLV_CONF_DYNAMICALLY=no in
# /etc/sysconfig/network/config or (manually) use dhcpcd
# with -R. If you only want to keep your searchlist, set
# DHCLIENT_KEEP_SEARCHLIST=yes in /etc/sysconfig/network/dhcp or
# (manually) use the -K option.
#
### END INFO
search |@|@
nameserver 192.168.0.1

I have verified MODIFY_RESOLV_CONF_DYNAMICALLY=no

Ideas? I feel like I'm a complete newb here, but I've tried everything I know. I have a feeling it is because of the DHCP server on my network, but what confuses me is that I don't have DHCP enabled on my laptop anywhere.

Thanks in advance.
 
Old 07-15-2004, 05:59 AM   #2
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,293

Rep: Reputation: 123Reputation: 123
It's in the final line...
Quote:
SuSe 9.1
SuSe is very much like Windows.
Thing is, if you change a configuration-file in SuSe you have to run suseconfig (not sure about the spelling).
If you don't, SuSe will simply overwrite your settings with what it thinks is better...
And suseconfig does take some time, depending of course on your computer... Everytime it runs I believe it goes through every configuration file in you system!

So make your changes and then (in a console, I believe) run "suseconfig".
And if you don't like Microsoft - why run SuSe???
 
Old 07-15-2004, 06:08 AM   #3
nerdbebo
LQ Newbie
 
Registered: Jun 2004
Location: Arlington, Texas
Posts: 17

Original Poster
Rep: Reputation: 0
I had no clue...

This kept getting more and more frusterating. Well, maybe I should consider moving from SuSE.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
DNS losing cache vasillalov Linux - Networking 7 12-27-2007 05:16 PM
how to restart dns resolve or add route? exper Solaris / OpenSolaris 4 06-17-2005 07:59 PM
FC3 - Keep losing default route wswartz Fedora 6 04-03-2005 10:32 PM
I want to se up a dns name to route to my ip but i'm lost on how to do it ensnaregod General 4 08-18-2004 12:09 AM
Setting DNS route on wireless NIC crunchywelch Linux - Wireless Networking 5 08-18-2003 08:17 PM


All times are GMT -5. The time now is 05:02 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration