I earlier asked a question Wifi isnt working after using wifite [duplicate]. This and this answer helped me. But, the problem is it works but, after few hours later when I start my laptop I get the same issue.
I faces the issue whenever I run codes on the . Then, reboot my laptop everything works fine. I am unable to fix the issue permanently. I didn't use
wifite
after facing the issue that moment
sudo airmon-ng check kill
Output : Killing these processes PID Name 1394 wpa_supplicant
sudo service NetworkManager restart
sudo ifconfig wlan0 up
Output : wlan0 : Error while getting interface flags : No such device
sudo iwconfig wlan0 down
Output : wlan0: ERROR while getting interface flags:No such device
sudo ifconfig wlan0 up
Output : wlan0 : ERROR while getting interface flags:No such device
sudo aireplay-ng wlan0
Output : Please specify an attack mode. "aireplay-ng --help" for help
I was trying to set wlan0 up. But, there was no wlan0 when I run ifconfig
. When I restarted after running those commands. wlan0 was working correctly but, I have faced the multiple times. After running wifite few days ago. Even I have faced the issue again now... I think wifite
status is keep running or something else is happening to it.
iwconfig
lo no wireless extensions.
eth0 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 Power Management:offwwan0 no wireless extensions.
docker0 no wireless extensions.
ifconfig
docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255 ether 02:42:7d:19:b4:b6 txqueuelen 0 (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
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ether f0:de:f1:da:7d:80 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 device interrupt 20 memory 0xf2500000-f2520000
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10 loop txqueuelen 1000 (Local Loopback) RX packets 28 bytes 1728 (1.6 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 28 bytes 1728 (1.6 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0