分类: LINUX
2008-05-31 07:46:46
wget http://bu3sch.de/b43/fwcutter/b43-fwcutter-011.tar.bz2 |
export FIRMWARE_INSTALL_DIR="/lib/firmware" |
export PATH=/usr/bin:/usr/sbin:/bin:/sbin modprobe b43 iwconfig wlan0 enc s:1112223334445 [1] iwconfig wlan0 enc open [1] iwconfig wlan0 essid "ap2" iwconfig wlan0 rate 54Mb/s ifconfig wlan0 up ifconfig wlan0 192.168.33.25 route add default gw 192.168.33.1 cat >/etc/resolv.conf < nameserver 202.102.224.68 eof echo "1" > /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -o wlan0 -s 10.0.0.0/24 -j MASQUERADE |