Fedora 12 64bit
What will be the correct steps changing dynamic IP to static IP on F12 console, instead of on Gnome running;
System -> Administration -> Network -> Edit, etc.
I made following test;
$ cat /etc/sysconfig/network-scripts/ifcfg-eth0Code:
# Attansic Technology Corp. Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller
# /etc/init.d/network restartFailed.Code:
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
Bringing up interface eth0.origin_20100211:
Determining IP information for eth0...dhclient(25343) is already running - exiting.
This version of ISC DHCP is based on the release available
on ftp.isc.org. Features have been added and other changes
have been made to the base software release in order to make
it work better with this distribution.
Please report for this software via the Red Hat Bugzilla site:
Then I took further step;
Edited rc.local as follows;
$ cat /etc/rc.d/rc.localCode:
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
ifconfig eth0 192.168.0.200
route add default gw 192.168.0.1
Rebooted PC. Then it worked.
Please advise. TIA