ubuntu server 16 wifi连接设置
- 安装驱动
(需要安装aptitude)
aptitude install firmware-iwlwifi
- 加载驱动
modprobe iwl3945
- 安装需要的软件包
apt-get install wireless-tools wpasupplicant
- 配置无线网络
vi /etc/network/interfaces
auto wlan0
iface wlan0 inet dhcp
pre-up ip link set wlan0 up
pre-up iwconfig wlan0 essid ssid
wpa-ssid ssid
wpa-psk password
- 启用无线网线
ifup -v wlan0