root toor sudo nano /etc/network/interfacesauto lo
iface lo inet loopback
iface eth0 inet static
address 192.168.1.88
netmask 255.255.255.0
gateway 192.168.1.1
auto wlan0
iface wlan0 inet static
address 192.168.1.88
netmask 255.255.255.0
gateway 192.168.1.1
wpa-ssid 要连接的wlan ssid
wpa-passphrase wlan密码
wireless-channel 11
修改后 按 Ctrl + O 保存文件 按 Ctrl + X 退出
时间: 2024-12-14 21:19:34