home  wiki

Diff: GHO-Wrap

--- Version 2 
+++ Version 3 
@@ -1,9 +1,10 @@ 
 *** Draft *** 
 
-This Page outlines the steps we took to configure the new wraps for GHO. 
+This Page outlines the steps we took to configure the new (Yawarra http://www.yawarra.com.au) provided wrap units for GHO. 
 
 
 For the full details & pic's refer to the GHO-Wrap-Project Case Study 
+(coming in may after comissioning) 
 
 
 
@@ -11,7 +12,6 @@ 
 this image and copied it to the supplied 512Mb CF Flash cards. 
 
 
 One we set an ip address in the /etc/network/interfaces file 
 
 We proceeded with our wireless config. 
@@ -20,4 +20,118 @@ 
 unit but the cheaper a/b/g Wiston CM9 will work on this config as well. 
 
 
 Here's our interfaces file (Draft) 
+GHO-North-wrap-1E:/# more /etc/network/interfaces 
+**********************start of file**************** 
+# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or 
+# /usr/share/doc/ifupdown/examples for more information. 
+auto lo 
+iface lo inet loopback 
+# right interface when lookign at back , also poe input port 
+auto eth2 
+iface eth2 inet dhcp 
+#auto wlan0 
+#iface wlan0 inet static 
+#        address 10.1.10.1 
+#        netmask 255.255.255.0 
+#        broadcast 10.1.10.255 
+#        up iwconfig wlan0 essid voyage mode Master 
+#        up nat.sh wlan0 eth0 "10.1.10.0/24" 
+auto ath0 
+iface ath0 inet static 
+        address 10.10.129.1 
+        netmask 255.255.255.240 
+        broadcast 10.1.129.15 
+        post-down wlanconfig ath0 destroy 
+        pre-up wlanconfig ath0 create wlandev wifi0 wlanmode ap 
+        # pre-up iwconfig ath0 essid "GHO-North.melbournewireless.org.au" channel 04 rate auto rts off frag off 
+        pre-up iwconfig ath0 essid "GHO-North" channel 04 rate 11M rts off frag off 
+        pre-up ifconfig ath0 up 
+#        madwifi-base wifi0 
+#        wireless-mode Master 
+#        wireless-mode Adhoc 
+#        up iwpriv ath0 mode 2 
+#        up iwconfig ath0 mode master 
+#        up iwconfig ath0 essid voyage1 
+#        pre-up iwconfig ath0 channel 8 
+#        up iwconfig ath0 txpower auto 
+#        up iwconfig ath0 enc off 
+#        up iwconfig ath0 rate 11M 
+#        up nat.sh ath0 eth0 "10.1.20.0/24" 
+auto ath1 
+iface ath1 inet static 
+        address 10.10.131.65 
+        netmask 255.255.255.240 
+        broadcast 10.10.131.79 
+        post-down wlanconfig ath1 destroy 
+        pre-up wlanconfig ath1 create wlandev wifi1 wlanmode ap 
+#       pre-up iwconfig ath1 essid "GHO-North.melbournewireless.org.au" channel 165 rate auto rts off frag off 
+        pre-up iwconfig ath1 essid "GHO-North-58" channel 165 rate auto rts off frag off 
+        pre-up ifconfig ath1 up 
+#        madwifi-base wifi1 
+#        wireless-mode Master 
+#        wireless-mode Adhoc 
+#        wireless-mode Managed 
+#        up iwpriv ath1 mode 3 
+#        up iwconfig ath1 mode master 
+#        up iwconfig ath1 essid voyage2 
+#        pre-up iwconfig ath1 channel 10 
+#        up iwconfig ath1 txpower auto 
+#        up iwconfig ath1 enc off 
+#        up iwconfig ath1 rate 2M 
+#        up nat.sh ath1 eth0 "10.1.20.0/24" 
+# left interface when looking at back 
+auto eth1 
+iface eth1 inet static 
+       address 192.168.1.1 
+       netmask 255.255.255.0 
+       broadcast 192.168.0.255 
+**********************end of file**************** 
+And here's out post interface startup file 
+more /etc/init.d/ath_init 
+**********************start of file**************** 
+#!/bin/sh 
+# 
+# give the interfaces some time to settle 
+sleep 5 
+# turn off diversity on the interfaces 
+sysctl -w dev.wifi0.diversity=0 
+sysctl -w dev.wifi0.txantenna=1 
+sysctl -w dev.wifi0.rxantenna=1 
+sysctl -w dev.wifi1.diversity=0 
+sysctl -w dev.wifi1.txantenna=1 
+sysctl -w dev.wifi1.rxantenna=1 
+# set the distance control 
+athctrl -i wifi0 -d 25000 
+athctrl -i wifi1 -d 25000 
+**********************end of file**************** 
[EditText] [Spelling] [Current] [Raw] [Code] [Diff] [Subscribe] [VersionHistory] [Revert] [Delete] [RecentChanges]
> home> about> events> files> members> maps> wiki board   > home   > categories   > search   > changes   > formatting   > extras> site map

Username
Password

 Remember me.
>

> forgotten password?
> register?
currently 0 users online
Node Statistics
building132
gathering192
interested515
operational242
testing216