MathiasJeschkeRestricted: Difference between revisions
Jump to navigation
Jump to search
Line 115: | Line 115: | ||
= VMware Server for OSP = |
= VMware Server for OSP = |
||
⚫ | |||
* /etc/vmware/vm-list-private |
|||
* /vmware/home/osp01..osp12 |
|||
* Passwörter generieren |
|||
* VM duplizieren |
* VM duplizieren |
||
** vmx-Files anpassen (MAC-Adressen) |
** vmx-Files anpassen (MAC-Adressen) |
||
⚫ | |||
** auf private setzen (/etc/vmware/vm-list-private) |
** auf private setzen (/etc/vmware/vm-list-private) |
||
** Was ist mit den UUID der VMs? |
** Was ist mit den UUID der VMs? |
||
** Passwörter generieren und setzen |
** Nutzer und Passwörter generieren und setzen (home: /vmware/home/osp01..osp12) |
||
** <pre>ssh sarprk -p 22xx -l root</pre> |
** <pre>ssh sarprk -p 22xx -l root</pre> |
Revision as of 21:10, 11 April 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
Minimal Kernel-Click-Config for SDP
FromDevice(wlan0) //, PROMISC true -> Prism2Decap() -> ExtraDecap() -> FilterPhyErr() -> filter :: FilterTX(); filter[0] -> WifiDupeFilter() -> mgm_clf :: Classifier(0/00%0f, -); // management frames mgm_clf[0] //handle mgmt frames -> Discard; mgm_clf[1] //handle other frames (data) -> WifiDecap() -> Classifier(12/8086) -> EtherDecap() -> brnclf :: Classifier(0/01, //BrnSDP 0/02, //BrnTFTP - //other ); brnclf[0] // sdp -> to_user_click::Null; brnclf[1] // tftp -> to_user_click; to_user_click -> PushMACHeader() -> Print(to_user_click) -> WifiEncap(0x00, 0:0:0:0:0:0) -> ToHostSniffers(wlan0); brnclf[2] //dsr -> Discard;
Telnet/IP access
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]
VMware Server for OSP
- VM duplizieren
- vmx-Files anpassen (MAC-Adressen)
- VMs in Server eintragen (/etc/vmware/vm-list)
- auf private setzen (/etc/vmware/vm-list-private)
- Was ist mit den UUID der VMs?
- Nutzer und Passwörter generieren und setzen (home: /vmware/home/osp01..osp12)
ssh sarprk -p 22xx -l root