Changeset 4902


Ignore:
Timestamp:
01/26/09 04:19:24 (4 years ago)
Author:
werner
Message:

More struggling with OpenWRT ...

Location:
developers/werner/wlan/owrt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • developers/werner/wlan/owrt/NOTES

    r4901 r4902  
     1Setup: 
     2 
    13http://downloads.openwrt.org/kamikaze/8.09_RC2/brcm47xx/openwrt-wrt54g-squashfs.bin 
    24http://192.168.1.1/Upgrade.asp 
     
    68wget http://downloads.openwrt.org/kamikaze/8.09_RC2/brcm47xx/openwrt-brcm47xx-squashfs.trx 
    79mtd -r write firmware.trx linux 
     10 
     11 
     12Listen: 
     13killall -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 
     18tcpdump -i mon.wlan0 -s0 -w cap 
     19 
     20 
     21Silence: 
     22iwconfig wlan0 txpower auto  
     23iwconfig wlan0 txpower off  
     24 
     25 
     26Fix MAC (https://dev.openwrt.org/ticket/4505): 
     27 
     28ifconfig wlan0 down 
     29ip link set wlan0 address 00:90:4c:5f:00:2a 
     30ifconfig wlan0 up 
  • developers/werner/wlan/owrt/genconf

    r4901 r4902  
    44ip=192.168.`expr $1 + 1`.1 
    55nat=192.168.`expr $1 + 1`.2 
     6chan=`expr $1 \* 3 - 2` 
     7 
     8# 1 4 7 10 
    69 
    710echo "# Configuration for $dev" 
     
    1013echo "uci set system.@system[0].hostname=$dev" 
    1114echo "uci set wireless.wlan0.disabled=0" 
     15echo "uci set wireless.wlan0.channel=$chan" 
    1216echo "uci set wireless.@wifi-iface[0].ssid=$dev" 
    1317echo "uci commit network" 
     
    2226echo 
    2327echo "opkg update" 
    24 echo "opkg install tcpdump strace ip ntpdatentpdate" 
     28echo "opkg install tcpdump strace ip ntpdate" 
    2529echo "/sbin/reboot" 
Note: See TracChangeset for help on using the changeset viewer.