BLFS 8.4를 구축했지만 WIFI가 작동하지 않습니다. 시작하는 동안 오류 메시지가 나타납니다.
Starting wpa_supplicant on the wlan0 interface...Could not read interface wlan0 flags: No such device
Could not read interface wlan0 flags: No such device
Could not read interface wlan0 flags: No such device
WEXT: Could not set interface 'wlan0' UP
wlan0: Failed to initialize driver interface
*****
*****face wlan0 doesn't exist.
내 인터페이스이기 때문에 wlp2s0으로 다시 구성했습니다. 이제 컴퓨터를 켤 때 더 이상 오류가 발생하지 않지만 여전히 Wi-Fi를 통해 인터넷에 액세스할 수 없습니다.
의 출력은 ip link
다음과 같습니다
bash-5.0# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether 70:5a:b6:8f:2b:56 brd ff:ff:ff:ff:ff:ff
3: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/sit 0.0.0.0 brd 0.0.0.0
4: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DORMANT group default qlen 1000
link/ether d6:c3:d9:15:c1:dc brd ff:ff:ff:ff:ff:ff
아래는 출력입니다iwconfig
bash-5.0# iwconfig
sit0 no wireless extensions.
lo no wireless extensions.
enp3s0 no wireless extensions.
wlp2s0 IEEE 802.11 ESSID:"iBall-Baton"
Mode:Managed Frequency:2.437 GHz Access Point: 00:1E:A6:DF:94:F4
Bit Rate=1 Mb/s Tx-Power=15 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=50/70 Signal level=-60 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:1 Invalid misc:6 Missed beacon:0
다음은 출력입니다ifup wlp2s0
* Bringing up the wlp2s0 interface... [ OK ]
* ting wpa_supplicant on the wlp2s0 interface... [ OK ]
* Adding IPv4 address 192.168.1.216 to the wlp2s0 interface... [ OK ]
S Gateway already setup; skipping. [ SKIP ]
산출/etc/sysconfig/ifconfig.wlp2s0
ONBOOT="yes"
IFACE="wlp2s0"
SERVICE="wpa"
# Additional arguments to wpa_supplicant
WPA_ARGS=""
WPA_SERVICE="ipv4-static"
IP="192.168.1.216"
GATEWAY="192.168.1.1"
PREFIX="24"
BROADCAST="192.168.1.255"
산출/etc/sysconfig/wpa_supplicant-wlp2s0.conf
network={
ssid="iBall-Baton"
#psk="hamburger"
psk=98562f1a2fa154c127a1ebe9daeecce837edcc57365b6b9b05ffcf2c50bbea0c
}
산출/etc/resolv.conf
cat /etc/resolv.conf
domain ib-wrb304n.setup.in
search ib-wrb304n.setup.in
nameserver 192.168.1.1
산출ping 8.8.8.8
ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
92 bytes from 192.168.1.213: Destination Host Unreachable
92 bytes from 192.168.1.213: Destination Host Unreachable
92 bytes from 192.168.1.213: Destination Host Unreachable
^C92 bytes from 192.168.1.213: Destination Host Unreachable
--- 8.8.8.8 ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss