LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-21-2010, 12:17 PM   #1
Jose Rivas
Member
 
Registered: Jul 2006
Posts: 56

Rep: Reputation: 15
How to assign fixed IP


Fedora 6, Realtek 8139.
Gnome graphic let me assign with

system-config-network

I was assing private 192.100.1.10 and click ok.
After I run ifconfig and take 169.254.195.57 (look like auto assign)

Is there another method to assign IP?
 
Old 01-21-2010, 12:31 PM   #2
HasC
Member
 
Registered: Oct 2009
Location: South America - Paraguay
Distribution: Debian 5 - Slackware 13.1 - Arch - Some others linuxes/*BSDs through KVM and Xen
Posts: 329

Rep: Reputation: 55
ifconfig
 
Old 01-21-2010, 12:35 PM   #3
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
If possible, you really need to look at getting a more current version of fedora. You are many major versions behind.

One option is to do this:

Code:
# mv /etc/sysconfig/networking /etc/sysconfig/networking.OLD
Next, edit /etc/sysconfig/network-scripts/ifcfg-eth0 so that it contains the following:

Code:
BOOTPROTO=static
IPADDR=192.100.1.10
NETMASK=255.255.255.0
ONBOOT=yes
Update the correct eth file and/or modify the netmask above, as appropriate for your installation.

Finally:

Code:
# service network restart
 
Old 01-21-2010, 01:36 PM   #4
Jose Rivas
Member
 
Registered: Jul 2006
Posts: 56

Original Poster
Rep: Reputation: 15
Yea, I know this Fedora 6 is old, but Fedora12 stop when starting to install (new Intel Motherboard)
The old works fine.
This machines will not go to internet.

Thanks.
 
Old 01-21-2010, 03:13 PM   #5
Jose Rivas
Member
 
Registered: Jul 2006
Posts: 56

Original Poster
Rep: Reputation: 15
Ok. the ifcfg-eth0 saves the config, but when restart the machine, the IP is lost and the eth1 keep searching a dinamic IP. After a moment, return to 169.254.195.57
 
Old 01-21-2010, 03:44 PM   #6
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Then you're apparently plugged in to eth1. Remove the config from ifcfg-eth0, and add it to ifcfg-eth1 (as I alluded to earlier).
 
  


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
Assign fixed port to nlockmgr rwcooper Slackware 11 06-15-2010 06:33 AM
Bug in 8.04, fixed in 8.10 - How to get fixed in 8.04 which is LTS? taylorkh Ubuntu 4 02-28-2009 05:17 PM
Re-assign partitions rvijay17 Linux - General 2 01-10-2009 05:58 PM
Assign a value mierdatuti Programming 4 12-31-2008 01:50 PM
Assign group by IP waifurchin Linux - General 1 01-29-2003 04:36 PM

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

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