clean install creates ifcfg-eth0 but 'service network restart' ignores it
clean install creates ifcfg-eth0 but 'service network restart' ignores it
Think the subject covers it all. ifcfg-eth0 is there but when I do service 'network restart' it starts loopback but that is all, it does not even try eth0.
This is driving me nuts. Ive now installed CentOS around 7 times and had no luck. The reason i am using 6.10 is it has to match a production server. I used the minimal install ISO.
The liveDVD works fine (it can access websites through Firefox).
Ben
This is driving me nuts. Ive now installed CentOS around 7 times and had no luck. The reason i am using 6.10 is it has to match a production server. I used the minimal install ISO.
The liveDVD works fine (it can access websites through Firefox).
Ben
Last edited by ben_tvpp on 2018/12/05 13:54:47, edited 1 time in total.
Re: clean install creates ifcfg-eth0 but 'service network restart' ignores it
What is the output from grep ONBOOT /etc/sysconfig/network-scripts/ifcfg-eth0 ?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: clean install creates ifcfg-eth0 but 'service network restart' ignores it
ONBOOT=no
In other thisng is MM_CONTROLED=yes, which seems wrong but changing this does not work.
I also tried doing a full desktop install, which worked (using 'install to hard drive' from liveDVD) but when I used yum to uninstall Desktop components it stooped working. I suspect it was using NetworkManager and works with this but without it there is something wrong.
Ben
In other thisng is MM_CONTROLED=yes, which seems wrong but changing this does not work.
I also tried doing a full desktop install, which worked (using 'install to hard drive' from liveDVD) but when I used yum to uninstall Desktop components it stooped working. I suspect it was using NetworkManager and works with this but without it there is something wrong.
Ben
Re: clean install creates ifcfg-eth0 but 'service network restart' ignores it
As I see you discovered from another thread, ONBOOT=no is the problem. It's part of the CentOS FAQ...
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 1521
- Joined: 2014/05/21 20:16:00
- Location: Central New York, USA
Re: clean install creates ifcfg-eth0 but 'service network restart' ignores it
when you changed it to 'yes' did you reboot or at least start the device with 'ifup eth0' as root?
- after that, out of ideas
- after that, out of ideas
Re: clean install creates ifcfg-eth0 but 'service network restart' ignores it
What's your NIC, and can you check if the corresponding module is loaded?
Re: clean install creates ifcfg-eth0 but 'service network restart' ignores it
From another thread: he got it working. This one is dead.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: clean install creates ifcfg-eth0 but 'service network restart' ignores it
Sorry, posted to wrong thread.
"Got it working, ONBOOT=yes, MM_CONTROLED=no"
Ben
"Got it working, ONBOOT=yes, MM_CONTROLED=no"
Ben
-
- Posts: 1521
- Joined: 2014/05/21 20:16:00
- Location: Central New York, USA
Re: clean install creates ifcfg-eth0 but 'service network restart' ignores it
POOP! I totally didn't 'connect' the network service comment and the NM_CONTROLLED.