LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-21-2003, 09:10 AM   #1
nidputerguy
Member
 
Registered: Oct 2003
Posts: 47

Rep: Reputation: 15
Which file to edit for setting static IP?


For some reason I have forgotten which file this is! Please help! Redhat 8..

Thanks!
 
Old 12-21-2003, 09:11 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
You can either run:
netconfig

or edit:
/etc/sysconfig/network-scripts/ifcfg-eth0
 
Old 12-21-2003, 09:42 AM   #3
nidputerguy
Member
 
Registered: Oct 2003
Posts: 47

Original Poster
Rep: Reputation: 15
Thanks bro! no rm -r for me ;P
 
Old 12-22-2003, 04:00 AM   #4
AdamPengelly
LQ Newbie
 
Registered: Oct 2003
Posts: 29

Rep: Reputation: 15
Hello guys,

What do I have to out in this, currently blank, file if I want to have a staic IP of 192.168.0.8?

I'm using RH 7.3, is it still the same file?
 
Old 12-22-2003, 01:16 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Take a look at:
http://www.redhat.com/docs/manuals/l...rkscripts.html
 
  


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
Setting a static IP dreakon SUSE / openSUSE 2 10-02-2005 03:08 PM
Setting group on file creation/edit deiussum Linux - Security 4 06-17-2005 04:50 PM
Setting a static IP hongman Linux - Networking 6 02-22-2005 05:07 AM
setting a static IP EMHagerty Linux - Networking 1 09-09-2004 03:15 PM
Setting a Static IP wh33t Mandriva 1 12-20-2003 05:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:37 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration