Connecting To Internet Through The Terminal Using IW


To connect to the internet,
Type:
iw dev
ip link show wlan0
ip link set wlan0 up
ip link show wlan0
iw wlan0 link
iw wlan0 scan (optional because it didn't work for me)
wpa_passphrase Food >> /etc/wpa_supplicant/wpa_supplicant.conf 123456
Here Food is the SSID and 123456 is the password.
cat /etc/wpa_supplicant/wpa_supplicant.conf
wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
iw wlan0 link
dhclient wlan0
ip addr show wlan0 OR ifconfig wlan0
ip route show
ping 8.8.8.8. Try to ping any website to ensure access to network

Comments

Popular posts from this blog

Setting Up and Using NjRat on Kali

Windows_Office_Permanent_Activator_V6