LINUX下WIFI默认连接

#! /bin/sh ifconfig wlan0 up
iwconfig wlan0 key 123456
iwconfig wlan0 essid "rat-linux"
iwconfig wlan0 ap auto
ifconfig wlan0 192.168.1.30 netmask 255.255.255.0

原文地址:https://www.cnblogs.com/sankye/p/4837921.html