"Adding a Network Device"… ?!?!

General support questions
Post Reply
N8tiv
Posts: 38
Joined: 2014/10/23 00:16:57
Location: Anchorage, AK 99508

"Adding a Network Device"… ?!?!

Post by N8tiv » 2017/10/19 22:16:19

https://www.centos.org/docs/5/html/Inst ... evice.html
22.6. Adding a Network Device

The process of adding a network device has changed with the migration of the 2.4 kernel to the 2.6 kernel:

The proc file system is no longer used to control or obtain status on network devices.

The new sys file system now provides facilities for controlling devices.

/sys/class/net/interface_name/device now provides status on active devices.

interface_name is a name such as eth0 or eth2 that is given to a network interface by the device driver when the device is configured.

/etc/chandev.conf no longer exists.

The sys file system now contains the information that was placed in /etc/chandev.conf.

/etc/modules.conf no longer exists.

Network interface alias specifications are now placed in /etc/modprobe.conf.
When I type this in the command line:
sudo cd /sys/class/net/enp1s0f0/device

"No such directory"

I have CentOS Linux release 7.4.1708 (Core)

Did I miss the "Small Bus" on the way to school or something? :mrgreen: :roll: :ugeek:

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

Re: "Adding a Network Device"… ?!?!

Post by TrevorH » 2017/10/20 00:03:44

You're reading the docs for CentOS 5 and using CentOS 7. They are quite different. Read the docs on docs.redhat.com for RHEL 7 instead.
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

N8tiv
Posts: 38
Joined: 2014/10/23 00:16:57
Location: Anchorage, AK 99508

Re: "Adding a Network Device"… ?!?!

Post by N8tiv » 2017/10/20 02:33:22

TrevorH wrote:You're reading the docs for CentOS 5 and using CentOS 7. They are quite different. Read the docs on docs.redhat.com for RHEL 7 instead.
:lol: :oops: :roll: :ugeek: :idea:
YEP! I got on the "Wrong Small Bus"! LOL

Didn't miss, the small bus… Got on the wrong small bus altogether! :-)

Thanks Trevor!
:-)

Post Reply