LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-27-2016, 02:32 AM   #1
fanoflq
Member
 
Registered: Nov 2015
Posts: 279

Rep: Reputation: Disabled
Network devices do not have device nodes in Linux


This much I have read ....
Network devices do not have device nodes in Linux.

And they are referenced using names like eth0 and wlan0.
You can see info on such using command: ifconfig

Network devices I/O is character based.
And we know device nodes represent character (byte stream) and block I/O devices.
So why are network devices not represented by device nodes?

What files represent the network devices (eth0 and wlan0)?
Where are they located at on Ubuntu and CentOS7?
 
Old 03-27-2016, 02:55 AM   #2
visiondude
LQ Newbie
 
Registered: Nov 2010
Location: UK
Distribution: puppyLinux, and OprnSuse
Posts: 14

Rep: Reputation: 9
Network devices do not have device nodes in Linux

ifconfig has been replaced by IP so I would suggest you do 'man ip' for info.
 
Old 03-27-2016, 03:06 AM   #3
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 1,635

Rep: Reputation: 232Reputation: 232Reputation: 232
It's largely a matter of historic design, but suffice to say that with networking layers involved (OSI model) mean that the notion direct network device access would be of very limited practical use. Better explained here

http://unix.stackexchange.com/questi...-other-devices

Other good answers...

http://superuser.com/questions/56411...ireless-adapte
http://askubuntu.com/questions/30659...show-up-in-dev

Quote:
What files represent the network devices (eth0 and wlan0)?
Where are they located at on Ubuntu and CentOS7?
They aren't accessible that way (as explained above).
 
1 members found this post helpful.
Old 03-27-2016, 03:33 AM   #4
fanoflq
Member
 
Registered: Nov 2015
Posts: 279

Original Poster
Rep: Reputation: Disabled
Thanks ferarri.
Off topic.
What happened to the new NZ national flag voting result?
 
Old 03-27-2016, 04:47 AM   #5
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 1,635

Rep: Reputation: 232Reputation: 232Reputation: 232
It went the way the majority wanted - no change. Actually, I think many who would have voted for a new flag didn't like the proposed new flag.
 
Old 03-27-2016, 02:18 PM   #6
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 7,506

Rep: Reputation: 2388Reputation: 2388Reputation: 2388Reputation: 2388Reputation: 2388Reputation: 2388Reputation: 2388Reputation: 2388Reputation: 2388Reputation: 2388Reputation: 2388
Network interface-cards are represented by device-nodes and maybe by names such as "eth0."

Network devices, as in, "things that represent resources on remote computers," may or may not have (virtual) device-nodes depending on exactly how they were implemented. A virtual resource might be represented only by a mount-point.
 
  


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
Setting up Kickstart server RHEL 6.5 for compute nodes, GPU nodes and PHI nodes sho1sho1 Red Hat 3 06-23-2015 05:20 PM
Devices and nodes- Association ?? kewl Linux - Kernel 1 10-01-2009 12:16 PM
assigning permanent device nodes to video devices? Kropotkin Linux - Hardware 7 09-09-2008 06:13 PM


All times are GMT -5. The time now is 03:20 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