Changeset 4902
- Timestamp:
- 01/26/09 04:19:24 (4 years ago)
- Location:
- developers/werner/wlan/owrt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
developers/werner/wlan/owrt/NOTES
r4901 r4902 1 Setup: 2 1 3 http://downloads.openwrt.org/kamikaze/8.09_RC2/brcm47xx/openwrt-wrt54g-squashfs.bin 2 4 http://192.168.1.1/Upgrade.asp … … 6 8 wget http://downloads.openwrt.org/kamikaze/8.09_RC2/brcm47xx/openwrt-brcm47xx-squashfs.trx 7 9 mtd -r write firmware.trx linux 10 11 12 Listen: 13 killall -9 hostapd 14 ### ad-hoc kills monitoring. monitor mode crashes the AP. 15 # ifconfig wlan0 down 16 # iwconfig wlan0 mode ad-hoc 17 # ifconfig wlan0 up 18 tcpdump -i mon.wlan0 -s0 -w cap 19 20 21 Silence: 22 iwconfig wlan0 txpower auto 23 iwconfig wlan0 txpower off 24 25 26 Fix MAC (https://dev.openwrt.org/ticket/4505): 27 28 ifconfig wlan0 down 29 ip link set wlan0 address 00:90:4c:5f:00:2a 30 ifconfig wlan0 up -
developers/werner/wlan/owrt/genconf
r4901 r4902 4 4 ip=192.168.`expr $1 + 1`.1 5 5 nat=192.168.`expr $1 + 1`.2 6 chan=`expr $1 \* 3 - 2` 7 8 # 1 4 7 10 6 9 7 10 echo "# Configuration for $dev" … … 10 13 echo "uci set system.@system[0].hostname=$dev" 11 14 echo "uci set wireless.wlan0.disabled=0" 15 echo "uci set wireless.wlan0.channel=$chan" 12 16 echo "uci set wireless.@wifi-iface[0].ssid=$dev" 13 17 echo "uci commit network" … … 22 26 echo 23 27 echo "opkg update" 24 echo "opkg install tcpdump strace ip ntpdate ntpdate"28 echo "opkg install tcpdump strace ip ntpdate" 25 29 echo "/sbin/reboot"
Note: See TracChangeset
for help on using the changeset viewer.
