树莓派Raspbian中配置无线网卡

先查看无线网卡是否有驱动:
搜索Realtek驱动:

1
apt-cache search realtek

显示如下:

1
firmware-realtek - Binary firmware for Realtek wired and wireless network adapters

安装Realtek驱动:

1
sudo apt-get install firmware-realtek

接着编辑/etc/wpa_supplicant/wpa_supplicant.conf这个文件
添加网络相关配置,类似:

1
2
3
4
5
network={
ssid="tplink-home"
key_mgmt=WPA-PSK
psk="12345678"
}

还要修改下/etc/network/interfaces文件,把无线网卡设为dhcp方式获取地址
方法是将iface wlan0 inet manual这一行注释掉,改为

1
iface wlan0 inet dhcp

基本上全部完成了,重启无线网卡即可:

1
ifup wlan0
玩转AWVS(二) Python笔记
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×