香蕉的wifi配置

一般趋向于用网线,在网络拉线不方便时还要考虑wifi
首先查询一下系统的版本
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.4 LTS"

sudo iwlist wlan0 scanning
sudo iw dev wlan0 scan

sudo apt-get install wpasupplicant
wpa_passphrase mywifi "password"
wpa_passphrase ESSID > xxx.conf

sudo vi /etc/network/interfaces

auto wlan0
iface wlan0 inet dhcp
wpa-ssid "mywifi"
wpa-psk 9b011391b504add363e12b6d1bb9c4eaf52d96eaa91266662c62bfa9aac1529

up/down不管用,重启吧

标签: none

添加新评论