LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-12-2016, 03:50 PM   #16
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,258

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947

Your original problem is that you were trying to edit the configuration file for a network interface that didn't exist. Your network interface is not called "eth0", so the configuration file "ifcfg-eth0" does not exist. Your network interfaces are "eno1" and "eno2", and their configuration files are "ifcfg-eno1" and "ifcfg-eno2" respectively. Those are the files you want to edit instead of "ifcfg-eth0".
 
1 members found this post helpful.
Old 07-12-2016, 03:51 PM   #17
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,258

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
Quote:
Originally Posted by Joseph2016 View Post
so like this ?

Thank you for all the help

/sbin/ip link set eth1 down
/sbin/ip link set eth1 name eno1
/sbin/ip link set eno1 up

is that correct?
No, you don't have an eth1 either. Stop trying to change the names of your interfaces. Your original instructions said to use "vi ifcfg-eth0", change that to "vi ifcfg-eno1" (assuming your ethernet cable is plugged into eno1, otherwise use eno2).
 
1 members found this post helpful.
Old 07-12-2016, 03:53 PM   #18
Joseph2016
LQ Newbie
 
Registered: Jul 2016
Location: New York
Distribution: Centos
Posts: 22

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
I assume network manager is installed and running. If nmtui does not work will do it manually.

http://www.krizna.com/centos/setup-network-centos-7/
Thank you for that link, I am learning so much

I have

eno1 = ethernet disconnected
en02 - ethernet unavailable
lo = loopback unmanned


AM I getting closer to getting online?

What do I need to do next?

Thank you in advance
 
Old 07-12-2016, 04:17 PM   #19
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,943

Rep: Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522
Read the link I posted. You want to open the nmtui GUI and edit the connection for en01.
Using the arrow keys move it to the IPv4 configuration (if configuring a V6 address move to that line) line and press enter.

Select manual then move to show, press enter then move to add.
Type in the address/netmask
move to the gateway and type it its address
move to the DNS,press enter and add the DNS servers.

If satisfied move down to the OK and press enter and finally quit.
 
1 members found this post helpful.
Old 07-12-2016, 04:56 PM   #20
Joseph2016
LQ Newbie
 
Registered: Jul 2016
Location: New York
Distribution: Centos
Posts: 22

Original Poster
Rep: Reputation: Disabled
You BOTH ROCK !


whoot!

https://postimg.org/image/bl99bncyv/

Thank you so much

PS - Can anyone suggest anything better then cpanel to manage domains and works with CENTOS?
 
Old 07-13-2016, 08:27 PM   #21
Joseph2016
LQ Newbie
 
Registered: Jul 2016
Location: New York
Distribution: Centos
Posts: 22

Original Poster
Rep: Reputation: Disabled
I got STATIC IPS today and now I have this error when trying to restart the network or even connecting

I have two static IPS and

and set it all on automatic like this says

command: systemctl restart network

"Job for network service failed because the control process exited with error code:

"systemctl status network.service" and journalctl -xe " for details

I promise I am reading a linux book , just where do I got from here?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
/etc/sysconfig/network-scripts/ifcfg-eth0 and 1 being rewritten on reboot smcracraft Linux - General 2 05-27-2012 02:19 AM
How to add default gateway in /etc/sysconfig/network-scripts/* zamri Linux - Networking 2 09-06-2005 11:32 AM
How to change /etc/sysconfig/network-scripts/ifcfg-eth0 ariana Linux - Networking 1 05-01-2005 02:37 PM
can anyone post their /etc/sysconfig/network-scripts/ifcfg-wlan0? Dooberdoink Linux - Wireless Networking 1 03-27-2005 10:49 AM
/etc/sysconfig/network-scripts on Solaris? meshcurrent Solaris / OpenSolaris 6 11-24-2002 02:51 AM


All times are GMT -5. The time now is 12:48 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration