Skip to content

andysun2015/WiFi-connection-with-no-GUI-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

WiFi-connection-with-no-GUI-env

*Sometimes we may use pure linux command mode environment to connect to internet and some problems occur, you can read the following step to try to resolve these problems.

*Wifi setup:

-Install driver .

Netgear A6210 wifi driver, ref: https://github.com/kaduke/Netgear-A6210 .

(1) git clone https://github.com/kaduke/Netgear-A6210 .

(2) cd Netgear-A6210 .

(3) make .

(4) sudo make install .

-Install wpa_supplicant(if needed) .

sudo apt-get install wpasupplicant

-Setup ssid/password via wpa_passphrase and save to config file .

cmd:sudo wpa_passphrase ssid password . sudo wpa_passphrase Mobile Lightsail@350 > /home/rich/Mobile.conf .

-Connect to AP.

  1. Enable wlan0
    sudo ifconfig wlan0 up
  2. wpa_supplicant connection command
    sudo wpa_supplicant -Dnl80211 -iwlan0 -c/home/rich/Mobile.conf
  3. Request IP
    sudo dhclient wlan0

FAQ:

  1. connect fail.

    (1) maybe network manager want to connect to AP too, please stop network manager if exits.

    sudo /etc/init.d/network-manager stop .

About

WiFi connection with no GUI env

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published