LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-28-2015, 09:46 AM   #1
ilesterg
Member
 
Registered: Jul 2012
Location: München
Distribution: Debian, CentOS/RHEL
Posts: 587

Rep: Reputation: 72
No interface config file for new adapter


Hi!

I'm on RHEL7 on a Virtualbox machine. I added a new adapter and was supposed to edit the config file when I noticed that there's only 1 network config file.

Code:
[omni@test network-scripts]$ pwd
/etc/sysconfig/network-scripts
[omni@test network-scripts]$ ls -l ifcfg-*
-rw-r--r--. 1 root root 278 Aug 28 09:42 ifcfg-enp0s3
-rw-r--r--. 1 root root 254 Jan 15  2015 ifcfg-lo
[omni@test network-scripts]$

I believe these files get auto created during install. What to do when the interfaces are just added?

Thanks!
 
Old 08-28-2015, 10:44 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 22,081

Rep: Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441
You can run the network manager text user interface command i.e. nmtui. Select the wired connection and then change the name to the actual interface i.e enp0s8 instead of wired connection. When you exit nmtui the ifcfg file will be created.

To see your your network connections use the ip command i.e.
ip addr show
 
1 members found this post helpful.
Old 08-28-2015, 11:02 AM   #3
ilesterg
Member
 
Registered: Jul 2012
Location: München
Distribution: Debian, CentOS/RHEL
Posts: 587

Original Poster
Rep: Reputation: 72
Awesome!

Thank you!
 
  


Reply

Tags
network interface, redhat


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
How to prevent auto up an interface at /etc/network/interface file ? Joydeep Bakshi Linux - Networking 8 07-28-2011 03:43 AM
Find the config file of a network interface helptonewbie Programming 4 11-08-2007 05:51 AM
ma111 adapter intall problem,wlan:unknown interface xiaoxiaoada Linux - Wireless Networking 1 12-27-2006 07:25 PM
Wireless adapter SpeedTouch 120 Config ilovedz Linux - Wireless Networking 2 09-20-2004 04:12 AM
Ethernet Adapter Config Problem? Flamer Linux From Scratch 4 02-21-2002 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:50 AM.

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
Open Source Consulting | Domain Registration