OLSR and other Freifunk related binaries ======================================== olsr-setup-cac1df64dcd5.exe: Current olsr-0.5.6-r3-pre for windows (2k, XP, Vista) olsr-setup-9a623d791e69+vista-2008-01-26.exe: The installer in this directory will install the windows version of the olsrd routing daemon on your windows PC. This is the olsrd-0.5.4 version with a lot of enhancements currently in CVS as well as some extras and fixes already included with the Freifunk Firmware. Note1: The switch.exe program needs to be run as administrator, otherwise it cannot set the routes. Note2: You need XP or Win2K for that - I personally don't think this will run on the largest spyware you can currently buy. olsr-seqno6.pl.gz: Script to record files, e.g. for olsr input recording from the berlin mesh. Use something like "olsrd -dispin" option piped into the olsr-seqno6.pl script. If you want to roll your own: ># olsrd -d 0 -nofork -dispin|./olsr-seqno6.pl - For a meaningful display, just grep for a single IP. For example: ># grep hop:2[0-9] olsr-seqno6-berlin.txt|grep ansn:[0-9][0-9][^0-9] (Shows distant nodes, possibly re-started during the period) ># grep 104.6.6.3 olsr-seqno6-berlin.txt (Shows what we got from that node) ipkg-kit.tgz Example on how to roll your own ipks. madwifi-trunk-r3314.tgz Unpatched source tree madwifi-trunk-r3314-hal2008-02-10-ibssfixed*: Current openwrt/kamikaze version of madwifi with some addons (newer HAL for static turbo in germany). Note, that this version accepts the "nosbeacon" option when creating an adhoc VAP (wlanconfig create) Hier ein Beispiel aus meiner /etc/network/interfaces: # Note: do not use athX because udev will rename that to ath0 iface vap0 inet static address 104.198.65.66 netmask 255.0.0.0 broadcast 104.255.255.255 wireless_mode ad-hoc wireless_key off wireless_rts off wireless_fraq off wireless_channel 10 wireless_ap 02:ca:ff:ee:ba:be wireless_essid olsr.freifunk.net up sh -c "echo 'nameserver 81.169.139.12\nnameserver 212.91.230.58'>/etc/resolv.conf" up sh -c "iwpriv $IFACE doth 0;iwpriv $IFACE uapsd 0;iwpriv $IFACE bgscan 0;iwpriv $IFACE ap_bridge 0;iwpriv $IFACE rssi11b 11;iwpriv $IFACE rssi11g 11;iwpriv $IFACE rssi11a 11;iwpriv $IFACE mcast_rate 5500;iwpriv $IFACE bintval 1000" pre-up sh -c "for if in ath0 vap0 vap1 vap2 vap3;do if grep -q \$if: /proc/net/dev;then ip link set dev \$if down;wlanconfig \$if destroy;fi;done;wlanconfig $IFACE create wlandev wifi0 wlanmode ad-hoc nosbeacon>/dev/null" post-down sh -c "grep -q $IFACE: /proc/net/dev && wlanconfig $IFACE destroy;exit 1" # Note: this config for 5Ghz, Channel 100 iface vap1 inet static address 104.198.65.66 netmask 255.0.0.0 broadcast 104.255.255.255 wireless_mode ad-hoc wireless_channel 100 wireless_essid 100.freifunk.net wireless_ap 02:ca:ff:ee:01:00 wireless_key off wireless_rts off wireless_fraq off up sh -c "echo 'nameserver 81.169.139.12\nnameserver 212.91.230.58'>/etc/resolv.conf" up sh -c "iwpriv $IFACE uapsd 0;iwpriv $IFACE bgscan 0;iwpriv $IFACE ap_bridge 0;iwpriv $IFACE rssi11b 11;iwpriv $IFACE rssi11g 11;iwpriv $IFACE rssi11a 11" pre-up sh -c "for if in ath0 vap0 vap1 vap2 vap3;do if grep -q \$if: /proc/net/dev;then ip link set dev \$if down;wlanconfig \$if destroy;fi;done;wlanconfig $IFACE create wlandev wifi0 wlanmode ad-hoc nosbeacon>/dev/null;iwpriv $IFACE mode 1;iwpriv $IFACE xr 0;iwpriv $IFACE doth 0" post-down sh -c "wlanconfig $IFACE destroy;exit 1" # Note: 25c3 mesh, Note the "iwpriv probereq 0" which prevents the probes storm iface vap2 inet dhcp wireless_mode ad-hoc wireless_key off wireless_rts off wireless_fraq off wireless_channel 1 wireless_ap 02:25:C3:CA:FF:EE wireless_essid 6mesh.freifunk.net up sh -c "iwpriv $IFACE doth 0;iwpriv $IFACE uapsd 0;iwpriv $IFACE bgscan 0;iwpriv $IFACE ap_bridge 0;iwpriv $IFACE rssi11b 11;iwpriv $IFACE rssi11g 11;iwpriv $IFACE rssi11a 11;iwpriv $IFACE mcast_rate 5500;iwpriv $IFACE bintval 1000;iwpriv $IFACE probereq 0" pre-up sh -c "for if in ath0 vap0 vap1 vap2 vap3;do if grep -q \$if: /proc/net/dev;then ip link set dev \$if down;wlanconfig \$if destroy;fi;done;wlanconfig $IFACE create wlandev wifi0 wlanmode ad-hoc nosbeacon>/dev/null" post-down sh -c "grep -q $IFACE: /proc/net/dev && wlanconfig $IFACE destroy;exit 1"