使用 aircrack-ng 后没有 wifi

使用 aircrack-ng 后没有 wifi
 uname -a
Linux devuan 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux

停止监控模式后sudo airmon-ng stop wlan0mon

PHY     Interface       Driver          Chipset

phy0    wlan0mon        ath9k           Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
                (mac80211 station mode vif enabled on [phy0]wlan0)
                (mac80211 monitor mode vif disabled for [phy0]wlan0mon)

Wlan0 看起来再次启动(处于管理模式):

 sudo ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 54:04:a6:44:50:ac  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 187  bytes 39831 (38.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 187  bytes 39831 (38.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.114.191  netmask 255.255.255.0  broadcast 192.168.114.255
        inet6 fe80::a493:af6b:7193:3443  prefixlen 64  scopeid 0x20<link>
        inet6 2a02:a420:20:1d78:a697:c812:153a:8640  prefixlen 64  scopeid 0x0<global>
        ether 02:2b:02:0e:03:7f  txqueuelen 1000  (Ethernet)
        RX packets 75695  bytes 88368088 (84.2 MiB)
        RX errors 6  dropped 0  overruns 0  frame 6
        TX packets 48648  bytes 10423340 (9.9 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 3a:7c:d6:15:f5:25  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0



sudo iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

usb0      no wireless extensions.

wlan0     IEEE 802.11  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=15 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off

sudo airmon-ng check

Found 3 processes that could cause trouble.
Kill them using 'airmon-ng check kill' before putting
the card in monitor mode, they will interfere by changing channels
and sometimes putting the interface back in managed mode

  PID Name
 1707 avahi-daemon
 1708 avahi-daemon
 1808 NetworkManager

使用之前airmon-ng我必须终止 4 个进程,现在只显示 3 个,这可能表明无法使用 wlan0 连接到互联网。网络管理器似乎已启动。

重启 NetworkManager(或写为 networkmanager、network-manager)的提示

systemctl start NetworkManager
bash: systemctl: opdracht niet gevonden

未找到

service wpa_supplicant start
bash: service: opdracht niet gevonden

未找到

托盘中的网络图标消失了。重启后图标又回来了,我可以看到“wifi”,但它是灰色的,无法连接。

我该怎么做错了才能重新连接使用互联网?

相关内容