LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 12-08-2010, 07:23 AM   #1
aby
LQ Newbie
 
Registered: Dec 2010
Location: mumbai
Distribution: Red Hat LInux 5.0
Posts: 24

Rep: Reputation: 0
Smile system-config-network


hi everybody i am using red hat linux 5.0 & i unable to start the network configuration form the system->admnistrator->netowrk
.....

actually by running system-config-network cmd i am able to edit only gateway but not the primary dns

i also tried from the /etc/resolv.conf
 
Old 12-08-2010, 07:28 AM   #2
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Bangalore, India
Distribution: Linux Mint 13
Posts: 590

Rep: Reputation: 64
Quote:
Originally Posted by aby View Post
hi everybody i am using red hat linux 5.0 & i unable to start the network configuration form the system->admnistrator->netowrk
.....

actually by running system-config-network cmd i am able to edit only gateway but not the primary dns

i also tried from the /etc/resolv.conf
Editing /etc/resolv.conf should work here unless your /etc/hosts file is messed up.
 
Old 12-08-2010, 07:36 AM   #3
aby
LQ Newbie
 
Registered: Dec 2010
Location: mumbai
Distribution: Red Hat LInux 5.0
Posts: 24

Original Poster
Rep: Reputation: 0
Smile Syatem-config-network

by editing the resolv.conf & after restarting the netowork the resolv.conf remove the chages & it become as like previous

Last edited by aby; 12-08-2010 at 07:38 AM.
 
Old 12-08-2010, 07:39 AM   #4
aby
LQ Newbie
 
Registered: Dec 2010
Location: mumbai
Distribution: Red Hat LInux 5.0
Posts: 24

Original Poster
Rep: Reputation: 0
Smile system-config-network

by editing the resolv.conf & after restarting the netowork the resolv.conf remove the chages & it become as like previous
 
Old 12-08-2010, 08:00 AM   #5
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Hi aby and welcome to LQ,

you should provide more information about your network.
Are you using DHCP?

Markus
 
Old 12-08-2010, 08:04 AM   #6
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,037

Rep: Reputation: 756Reputation: 756Reputation: 756Reputation: 756Reputation: 756Reputation: 756Reputation: 756
If you're using DHCP, locate the file inet1.conf in the /etc directory; on some systems it will be found in /etc/rc.d named rc.inet1.conf, you may need to look around.

If you have trouble finding the file, this may be useful:
Code:
su -               or sudo
password
cd /etc
find . -type f -print | xargs grep -il DHCP_KEEPRESOLV
That will locate the file name for you; be sure to edit the one that has "conf" in its name.

In that file there should be a group of DHCP parameters that you can change -- the one you want to change is highlighted in this list.
Code:
#IFNAME[4]="wlan0"
#IPADDR[4]=""
#NETMASK[4]=""
#USE_DHCP[4]="yes"
#DHCP_HOSTNAME[4]="icculus-wireless"
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
If you uncomment the highlighted line above, that should prevent DHCP from overwriting /etc/resolv.conf. You'll need to stop and restart your network services for this change to take effect. You probably do not want to mess with any of the others.

Hope this helps some.

Last edited by tronayne; 12-08-2010 at 08:05 AM.
 
  


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
system-config-network 1.3.96.2 and wg311v3 paul62 Linux - Wireless Networking 0 09-15-2007 10:32 PM
system-config-network legalizeit Linux - Networking 3 11-24-2006 01:40 PM
FC5 system-config-network ericbowler300 Linux - Newbie 4 10-13-2006 01:12 AM
system-config-network-cmd BulbousHead Linux - Networking 2 01-18-2006 01:20 PM
system-config-network does not launch sailu_mvn Linux - Software 0 12-08-2005 01:38 AM


All times are GMT -5. The time now is 09:40 AM.

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