MathiasJeschkeRestricted: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 5: | Line 5: | ||
= Get versions via telnet (Ethernet conn. required) = |
= Get versions via telnet (Ethernet conn. required) = |
||
#!/bin/sh |
#!/bin/sh |
||
ADD_HOSTS="mn11" |
|||
exec 2>&- |
exec 2>&- |
||
if [ -z $1 ] |
|||
then |
|||
for i in $(seq 21 55) |
|||
do |
|||
HOSTS="$HOSTS wgt$i" |
|||
done |
|||
HOSTS="$HOSTS $ADD_HOSTS" |
|||
else |
|||
HOSTS="$1" |
|||
fi |
|||
for i in $HOSTS |
for i in $HOSTS |
||
do |
do |
||
echo -n " |
echo -n "$i " |
||
echo -n "read sdp/sdp.meta" | netcat -w 1 |
echo -n "read sdp/sdp.meta" | netcat -w 1 $i 7777 | sed -n 4p | sed 's/.*\(version="[0-9]*"\).*\(start_time="[0-9]*"\).*/\1 \2/' |tr '\012' ' ' |
||
echo |
echo |
||
done |
done |
||
= Kernel-Click = |
= Kernel-Click = |
Revision as of 15:19, 13 February 2006
Get versions from neighbour beacons
$ click-align /mnt/mj/brn/dump_sdp.click | /tmp/clickrun/click
Get versions via telnet (Ethernet conn. required)
#!/bin/sh
ADD_HOSTS="mn11"
exec 2>&- if [ -z $1 ] then for i in $(seq 21 55) do HOSTS="$HOSTS wgt$i" done HOSTS="$HOSTS $ADD_HOSTS" else HOSTS="$1" fi
for i in $HOSTS do echo -n "$i " echo -n "read sdp/sdp.meta" | netcat -w 1 $i 7777 | sed -n 4p | sed 's/.*\(version="[0-9]*"\).*\(start_time="[0-9]*"\).*/\1 \2/' |tr '\012' ' ' echo done
Kernel-Click
- Checkout latest click
svn co svn://merkur.sardmn.informatik.hu-berlin.de/brn/archives/click-20051012/
- Checkout BRN sources
cd click-20051012 cd elements svn co svn://merkur.sardmn.informatik.hu-berlin.de/brn/platform/wgt634u/brn/src brn cd .. sh conf_geode.sh cd linuxmodule vi build.sh sh build.sh
Files for Geode Nodes
- /brn/sdp/library/0
- /brn/sdp/current -> library/0
- /brn/sdp/current_id (contains 0)
- /brn/start.sh
- /brn/ath_hal.ko
- /brn/ath_pci.ko
- /brn/click-align
- /usr/sbin/click-align -> /brn/click-align
- /etc/rc2.d/S99brnstart -> /brn/start.sh
- /var/updatelink -> /tmp/sdp
- /usr/sbin/rcclick -> /var/updatelink/current/activate
- /var/update/fallback-stage1
- /usr/sbin/click-align -> /brn/click-align
echo 'savedefault --default=1 --once' | grub --batch
Links
brn-hu-wlan1.dyndns.org
ifconfig eth1 up wl scan wl scnaresults wl join <essid> [key xxxxxxxxxx]