MathiasJeschkeRestricted: Difference between revisions

From
Jump to navigation Jump to search
No edit summary
Line 44: Line 44:
* /usr/sbin/click-align -> /brn/click-align
* /usr/sbin/click-align -> /brn/click-align
* /etc/rc2.d/S99brnstart -> /brn/start.sh
* /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
echo 'savedefault --default=1 --once' | grub --batch

Revision as of 11:50, 7 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

exec 2>&-

HOSTS=${1:-$(seq 21 55)}

for i in $HOSTS
do
  echo -n "wgt$i "
  echo -n "read sdp/sdp.meta" | netcat -w 1 wgt$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

Multiplatform-SDP