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 - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-25-2004, 02:06 PM   #1
imsam
Member
 
Registered: Dec 2003
Posts: 64

Rep: Reputation: 15
Question How can I edit IP settings?


Hi,

I'll be asking a lot of newbie questions. If I bug you with these questions, I apologize in advance.

If I wanted to change the IP settings of my RH9 machine using nothing but the command prompt, what files do I need to edit? Also do I need to restart anything i.e. the machine or some services?
 
Old 10-25-2004, 02:27 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
What exactly do you mean when you say IP settings?

Trivial things like the machines IP address, or MTU sizes
and the likes? :)


Cheers,
Tink
 
Old 10-25-2004, 02:45 PM   #3
imsam
Member
 
Registered: Dec 2003
Posts: 64

Original Poster
Rep: Reputation: 15
IP settings

Hi,

Say, I want to change the IP address of my machine and point to a new set of DNS servers. My little research shows me that I can use NETCONFIG command which I did. Now, is that the way to do it? Are there better ways to do it? And last but not last, once I make my changes and click OK, do I need to restart anything i.e. any services, etc.
 
Old 10-25-2004, 03:55 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Lets put it that way: it's the way redhat does it, and
if you don't want to risk breaking things for later use
sticking with the readhat way of doing things is probably
a good idea. If you want to do it all manually, you can
have a look in /etc/sysconfig/networking/devices and
/etc/sysconfig/networking/profiles/default/resolv.conf


Cheers,
Tink
 
Old 10-26-2004, 08:22 AM   #5
imsam
Member
 
Registered: Dec 2003
Posts: 64

Original Poster
Rep: Reputation: 15
Do I need to restart anything?

Hi,

Once I use NETCONFIG to make changes in my IP settings, do I need to restart any service or anything? Or are the changes effective immediatelly after I hit OK?
 
Old 10-26-2004, 01:18 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Sorry, I can't answer that question. But if you
run ifconfig or do a cat /etc/resolv.conf you
should see whether the settings did change
or not.



Cheers,
Tink
 
  


Reply



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
Which file do I edit to change xsession settings for all users Abdul Linux - Software 1 09-12-2004 07:54 PM
help vi edit tomamodi Linux - Newbie 1 08-13-2004 01:36 AM
Mandrake 10.0 Gnome/KDE Taskbar icon settings...are there settings? LiquidRezin Linux - Newbie 2 03-22-2004 09:27 AM
Which do I need to edit? Do-Ping Linux - Software 4 04-04-2003 01:34 PM
Changing US keyboard settings to Spain (SP) settings or Mexico. zLinuxz Linux - General 4 12-01-2002 12:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:51 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