Dar*_*rek 1 network-programming linux-kernel buildroot
我的 VirtualMachine 上的 buildroot 中的网络有问题。当我输入 ifconfig 我得到答案:
eth0:获取接口信息时出错:找不到设备
在控制台上加载 buildroot 时,我看到:
ip: 找不到设备 eth0
ip: SI0CGIFFALGS : 没有这样的设备
我找不到解决这个问题的方法。
小智 5
# make linux-menuconfig
Device drivers —>
Network device support —>
Ethernet driver support—>
Run Code Online (Sandbox Code Playgroud)
选择:
<*> Intel(R) PRO/100+ support
<*> Intel(R) PRO/1000 Gigabit Ethernet support
<*> Intel(R) PRO/1000 PCI-Express Gigabit Ethernet support
<*> Intel(R) 82575/82576 PCI-Express Gigabit Ethernet support
[*] Intel(R) PCI-Express Gigabit adapters HWMON support
<*> Intel(R) 82576 Virtual Function Ethernet support
Run Code Online (Sandbox Code Playgroud)
并且现在应该与 VM 一起使用。