====>interfaces 文件
auto lo
iface lo inet loopback
##==========wire card========
# The primary network interface
##iface eth0 inet dhcp
#auto eth0
#iface eth0 inet static
# address 192.168.1.3
# netmask 255.255.255.0
# network 192.168.1.0
# broadcast 192.168.1.255
# gateway 192.168.1.1
# # dns-* options are implemented by the resolvconf package, if installed
# dns-nameservers 192.168.1.1
##========wirelesscard=====
auto wlan0
iface wlan0 inet static
address 192.168.1.10
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
====>relolv.conf
nameserver 202.96.209.6
hnameserver 202.96.209.133
====>/etc/rc.local添加的脚本文件
iwconfig wlan0 essid "jwqhome" power on key s:tomatoherojwq ap 00:25:86:3C:DD:00
阅读(1382) | 评论(0) | 转发(0) |