ifcfg-eth0

General support questions
Post Reply
abdelhamid.ghoul
Posts: 7
Joined: 2017/07/08 20:22:25

ifcfg-eth0

Post by abdelhamid.ghoul » 2017/07/08 20:27:24

Hello,

I don't find the ifcfg-eth0 file in /etc/sysconfig/network-scripts (i'm using centos 6.9)

i tried to creat a new file in the same path but when i restart the VM. i lose the file.

I'm new in CentOS. I really need your help to fix it.

Thanks you in advance.

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: ifcfg-eth0

Post by TrevorH » 2017/07/08 20:55:31

Post the output from ifconfig -a and from ls -la /etc/sysconfig/network-scripts/ifcfg*
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

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: ifcfg-eth0

Post by gerald_clark » 2017/07/09 01:34:44

also show the output of uname -a .

abdelhamid.ghoul
Posts: 7
Joined: 2017/07/08 20:22:25

Re: ifcfg-eth0

Post by abdelhamid.ghoul » 2017/07/09 08:27:21

Thanks guys

i'm waiting for your feedback
Attachments
uname-a.JPG
uname-a.JPG (18.79 KiB) Viewed 2468 times
ls-la.JPG
ls-la.JPG (18.03 KiB) Viewed 2468 times
ifconfig-a.JPG
ifconfig-a.JPG (70.52 KiB) Viewed 2468 times

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: ifcfg-eth0

Post by gerald_clark » 2017/07/09 15:20:18

Don't install from the live CD. Use DVD1.

abdelhamid.ghoul
Posts: 7
Joined: 2017/07/08 20:22:25

Re: ifcfg-eth0

Post by abdelhamid.ghoul » 2017/07/09 15:48:03

gerald_clark

thank you for your answer. I'm begginner, i didn't understood your answer. Please can you give more details.

CaViCcHi
Posts: 68
Joined: 2012/04/18 17:03:15
Contact:

Re: ifcfg-eth0

Post by CaViCcHi » 2017/07/11 20:18:40

you're running the machine from the dvd, every change you made isn't saved.

I never really downloaded the centos live dvd, so I'm not sure if you get sent to gnome like fedora's...
you have to install it. When you launch the live cd/dvd there should be an icon on the desktop to install and follow the installation.

or I imagine that when you boot, you get presented with some options and one of them should be "install"

if none of this works then get this one

http://mirror.rackspace.com/CentOS/6.9/ ... inimal.iso

and follow the easy installation

(or choose from the mirrors) http://isoredirect.centos.org/centos/6/isos/x86_64/

also since you're installing anew you may want to move on to CentOS7 but that's your choice

Post Reply