I am running Fedora release 17 (Beefy Miracle) and would like to set up a static IP address. I work with RHEL so I thought I would be able to locate a file /etc/sysconfig/network-scripts/ifcfg-eth0 but I have no such file on my system .
What's the use of /etc/sysconfig/network-scripts/ifcfg-eth* files ? In some cases ifconfig lists the interface eth0 but I don't find the corresponding ifcfg-eth0 file whereas in other instances if I create the ifcfg-eth1 file and restart the network like service network restart - this interface is not listed in ifconfig ??
Hello, I have a problem with my noowbie script.
It does not work.
When I try to use it (for ex., /etc/init.d/myscript start) nothing happened.
Before that I make chkconfig --add myscript and chmod 777 on it.
Can you help me?
#chkconfig: 2345 10 90
if [ ! -f /etc/sysconfig/network ]; then
I have configured 3 eth in X Window System in my CentOS 6.3 (virtualbox), but when I type ifconfig in my command-line tool, the information shown is different from I found in /etc/sysconfig/network-scripts, anyone knows what're the problem?
Create /etc/sysconfig/network-scripts/ifcfg-eth0:0 (etc) files for each one. You can base it off the existing ifcfg-eth0 file and remove the HWADDR= line and amend the rest of the details to match ... [by TrevorH]