/bin/sh: wpa_supplicant: 未找到

/bin/sh: wpa_supplicant: 未找到

我在/etc/network/interfaces文件中输入

auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet dhcp

然后我尝试了ifconfig。正在显示

eth0      Link encap:Ethernet  HWaddr 8A:B8:53:87:09:2A  
          inet6 addr: fe80::88b8:53ff:fe87:92a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:360 (360.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

ifconfig: SIOCGIFFLAGS: No such device

然后我尝试了ifconfig wlan0,但它显示错误:

ifconfig: wlan0: error fetching interface information: Device not found

在我观察到的启动日志中:

Starting network: [    6.178148] ip (252) used greatest stack depth: 5756 bytes left
/bin/sh: wpa_supplicant: not found
FAIL

如何调试这个?

相关内容