In my root file system, I can see that I have a directory /sys/class/net/eth0/.
However, I want to create another interface /sys/class/net/eth1 and /sys/class/net/eth2.
How can I do so?
I am using Embedded system - Yocto kernel version 4.12?
$ ls /etc/network/
if-down.d if-post-down.d if-pre-up.d
$ sudo ifconfig eth1 0.0.0.0 up
Password:
SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
eth1: ERROR while getting interface flags: No such device
ls -l /sys/class/net/orcat /proc/net/dev– cas Aug 08 '19 at 01:42dmesgsay after boot about picking up and initializing the hardware? Any errors? – dirkt Aug 08 '19 at 07:31