https://smart888.taobao.com/ 立观智能监控
分类: LINUX
2009-07-08 18:09:40
启动时:
insmod /lib/modules/rt61.o
ifconfig ra0 up
看现有无线网络
iwpriv ra0 get_site_survey > /tmp/rascanlog
用dhcpclient方式连现有AP
iwpriv ra0 get_site_survey > /tmp/rascanlog
ps > /tmp/pslog
ps > /tmp/pslog
ifconfig ra0 up
iwpriv ra0 set AuthMode=OPEN
/sbin/iwconfig ra0 essid "xlinktest305 " key s:88888
/sbin/dhclient ra0 >/tmp/log 2>&1
正常用户名密码开机
cat /proc/pci | grep PCI device
insmod /lib/modules/rt61.o
ifconfig ra0 up
iwpriv ra0 get_site_survey > /tmp/rascanlog
ps > /tmp/pslog
cat /tmp/pslog | grep wpa_supplicant
ps > /tmp/pslog
cat /tmp/pslog | grep dhclient
ifconfig ra0 up
iwpriv ra0 set AuthMode=OPEN
/sbin/iwconfig ra0 essid "xlinktest305 " key s:88888
/sbin/iwconfig ra0 | grep "Access Point"
iwpriv ra0 set AuthMode=SHARED
/sbin/iwconfig ra0 | grep "Access Point"
/sbin/dhclient ra0 >/tmp/log 2>&1
cat /tmp/log | grep No DHCPOFFERS
/sbin/ifconfig eth0
/sbin/ifconfig eth0 | grep inet addr:
/sbin/ifconfig eth0 | grep HWaddr