home  wiki

GHO-Wrap


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)



We had a running image of voyage linux 0.3 so we used
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.

We decided to use atheros 5212 based wireless cards (Ubiquiti) on our
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****************

  1. Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
  2. /usr/share/doc/ifupdown/examples for more information.
auto lo
iface lo inet loopback

  1. right interface when lookign at back , also poe input port

auto eth2
iface eth2 inet dhcp

#auto wlan0
#iface wlan0 inet static
  1. address 10.1.10.1
  2. netmask 255.255.255.0
  3. broadcast 10.1.10.255
  4. up iwconfig wlan0 essid voyage mode Master
  5. 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

  1. madwifi-base wifi0
  2. wireless-mode Master
  3. wireless-mode Adhoc
  4. up iwpriv ath0 mode 2
  5. up iwconfig ath0 mode master
  6. up iwconfig ath0 essid voyage1
  7. pre-up iwconfig ath0 channel 8
  8. up iwconfig ath0 txpower auto
  9. up iwconfig ath0 enc off
  10. up iwconfig ath0 rate 11M
  11. 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

  1. 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

  1. madwifi-base wifi1
  2. wireless-mode Master
  3. wireless-mode Adhoc
  4. wireless-mode Managed
  5. up iwpriv ath1 mode 3
  6. up iwconfig ath1 mode master
  7. up iwconfig ath1 essid voyage2
  8. pre-up iwconfig ath1 channel 10
  9. up iwconfig ath1 txpower auto
  10. up iwconfig ath1 enc off
  11. up iwconfig ath1 rate 2M
  12. up nat.sh ath1 eth0 "10.1.20.0/24"


  1. 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
#

  1. give the interfaces some time to settle
sleep 5

  1. 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

  1. set the distance control
athctrl -i wifi0 -d 25000
athctrl -i wifi1 -d 25000


**********************end of file****************


Version 3 (current) modified Mon, 26 Jul 2021 12:49:28 +0000 by melb_ap
[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
gathering193
interested515
operational233
testing214