Sample Header Ad - 728x90

Unable to find network card after executing mdev - s?

0 votes
1 answer
56 views
I am customizing a Linux system with a Linux kernel version of 6.4.0. I executed mdev -s in rcS and checked the startup print, which was also successful. When I entered the live environment, I saw that the name of the network card was enp2s0. However, after startup, I found that enp2s0 could not be found. I don't know what's going on? I have checked the kernel configuration and found that the network driver is compiled. rcS: echo PATH=/sbin:/bin:/usr/bin:/usr/sbin echo LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib:/lib:/lib64 mount -a source /etc/profile mkdir /dev/pts -p mount -t devpts devpts /dev/pts mdev -s if [ $? -eq 0 ]; then echo "mdev -s executed successfully." else echo "mdev -s execution failed." fi ip addr add 192.168.5.2/24 dev enp2s0 Screenshot of error reporting: enter image description here
Asked by just a student (135 rep)
Aug 31, 2023, 11:46 AM
Last activity: Sep 4, 2023, 01:57 AM