Back

Ubuntu命令行下扫描及加入无线网络

新建或编辑/etc/wpa_supplicant.conf

sudo vim /etc/wpa_supplicant.conf 

按下述格式填写:

network={
  ssid="ssid_name" 
  psk="password" 
} 

保存后运行

wpa_supplicant -B -iwlan0 -c/etc/wpa_supplicant.conf -Dwext && dhclient wlan0
comments powered by Disqus