LinuxQuestions.org
Review your favorite Linux distribution.
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 01-17-2017, 10:21 PM   #1
snovosel112811
LQ Newbie
 
Registered: Jan 2017
Posts: 9

Rep: Reputation: Disabled
eth0 option not available following ifconfig


Hello everyone, this may be an incredibly simple question, however when I run the command ifconfig in ubuntu 16.04, the eth0 option is not available. Instead, i see lo, and wlp58s0.


If it helps, I'm using a dell xps 13 9350 which does not have an ethernet port. Is this what this (eth0) is for?
 
Old 01-18-2017, 03:37 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,019

Rep: Reputation: 1275Reputation: 1275Reputation: 1275Reputation: 1275Reputation: 1275Reputation: 1275Reputation: 1275Reputation: 1275Reputation: 1275
Quote:
Originally Posted by snovosel112811 View Post
Is this what this (eth0) is for?
Yes
 
Old 01-18-2017, 09:46 AM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 9,078
Blog Entries: 4

Rep: Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179Reputation: 3179
The ethn device-naming convention was set aside some time ago. The device names are now more descriptive of what-and-where the device actually is. (For example, on my Linux VM, the network adapters look like enp0s8.)

This was done to help sysadmins in very large "shops" where they might be mucking around with physical network patch-cables. When devices were just "sequentially numbered," not only was it difficult to tell which device was which, but the numbering could actually change if new NICs were inserted, requiring a great deal of messy software re-configuration as a result of a hardware change that ought to have had no such impact.

Last edited by sundialsvcs; 01-18-2017 at 09:48 AM.
 
Old 01-18-2017, 11:12 AM   #4
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware, OpenBSD
Posts: 4,039
Blog Entries: 11

Rep: Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232
Quote:
Originally Posted by snovosel112811 View Post
Hello everyone, this may be an incredibly simple question, however when I run the command ifconfig in ubuntu 16.04, the eth0 option is not available. Instead, i see lo, and wlp58s0.


If it helps, I'm using a dell xps 13 9350 which does not have an ethernet port. Is this what this (eth0) is for?
Traditionally eth0 was used for the wired ethernet port and wlan0 for the wireless card, where both were present. But you don't have a wired port, so apparently the kernel gives the name eth0 to the only network card it can detect. The new udev name, as you can see, begins with wl for wireless, so it's actually more descriptive. The rest of the name indicates the bus address.

If you want to force use of the old nomenclature, boot with net.ifnames=0 on the kernel command line.
 
Old 01-18-2017, 11:31 AM   #5
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,413

Rep: Reputation: Disabled
I believe it's udev rules which handle the device node creation and naming convention for device nodes under Linux.
 
  


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
[SOLVED] ifconfig -a sees eth0 ifconfig does not thllgo Linux - Networking 2 05-05-2016 04:38 PM
no eth0 in ifconfig -a Four Linux - Networking 3 08-24-2008 07:59 PM
ifconfig eth0 up does not 'revive' eth0 Micro420 Linux - General 2 04-22-2006 01:55 PM
ifconfig eth0 drdarkman Linux - Networking 2 01-30-2005 12:16 PM
eth0 removed from ifconfig after dhcpcd eth0 johnklvr Linux - Networking 3 01-15-2004 09:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration