Difference between revisions of "Setting up WIFI links"

From Rhizomatica Wiki
Jump to: navigation, search
(The equipment)
Line 5: Line 5:
 
[[File:Airgrid_cable.png]]
 
[[File:Airgrid_cable.png]]
  
Ubiquity Airgrid[https://www.ubnt.com/airmax/airgridm]
+
Ubiquity Airgrid[https://www.ubnt.com/airmax/airgridm] | air OS Manual [http://dl.ubnt.com/guides/airOS/airOS_UG.pdf]
  
 
==== Connect to the airGrid ====
 
==== Connect to the airGrid ====
  
Connect the airGrid to the POE port on the power supply via ethernet and the work machine to the LAN port.  
+
Connect the airGrid to the POE port on the power supply via ethernet cable and the work machine to the LAN port.  
  
 
Plug in the power supply to boot up the antenna.
 
Plug in the power supply to boot up the antenna.
Line 53: Line 53:
 
Change password by clicking little key to the right of //Administrator Username//.
 
Change password by clicking little key to the right of //Administrator Username//.
  
Change and Apply everything!
+
Change and Apply everything by clicking the corresponding buttons!
  
 
==== Maintenance from a distance ====
 
==== Maintenance from a distance ====
  
ssh into airgrid from BSC or otherwise from the network
+
One can ssh into the airgrid from the connected BSC or otherwise from the network
  
 
  (eg: ssh ubnt@172.16.0.250)
 
  (eg: ssh ubnt@172.16.0.250)
Line 81: Line 81:
 
aaa.1.wpa.key.1.mgmt=WPA-PSK
 
aaa.1.wpa.key.1.mgmt=WPA-PSK
 
aaa.1.wpa.mode=2
 
aaa.1.wpa.mode=2
aaa.1.wpa.psk=Rh1z0m@t1c@_Caj0n0s
+
aaa.1.wpa.psk=p@ssw0rd
 
aaa.status=enabled
 
aaa.status=enabled
 
bridge.1.devname=br0
 
bridge.1.devname=br0
Line 217: Line 217:
 
update.check.status=enabled
 
update.check.status=enabled
 
users.1.name=ubnt
 
users.1.name=ubnt
users.1.password=$1$JxutqE3E$h2pNO4ZTWcg.5BGa4DpXb1
+
users.1.password=$1$hashedpass
 
users.1.status=enabled
 
users.1.status=enabled
 
users.2.status=disabled
 
users.2.status=disabled
Line 245: Line 245:
 
wireless.status=enabled
 
wireless.status=enabled
 
wpasupplicant.device.1.status=disabled
 
wpasupplicant.device.1.status=disabled
wpasupplicant.profile.1.network.1.psk=Rh1z0m@t1c@_Caj0n0s
+
wpasupplicant.profile.1.network.1.psk=p@ssw0rd
 
wpasupplicant.status=disabled
 
wpasupplicant.status=disabled
 
</pre>
 
</pre>

Revision as of 18:06, 4 August 2015

This page is shows how to configure wireless links between BSC and BTS. Here we are using Ubiquity airGrid links, though most Ubiquity links will be similar.

The equipment

Airgrid cable.png

Ubiquity Airgrid[1] | air OS Manual [2]

Connect to the airGrid

Connect the airGrid to the POE port on the power supply via ethernet cable and the work machine to the LAN port.

Plug in the power supply to boot up the antenna.

In your browser connect to the interface via https://192.168.1.20.

Username and password are both : ubnt

Country: Mexico

Language: English

Under Wireless tab:

Wireless Mode: Station (for tower/BTS) , Access Point (for BSC)

WDS (Transparent Bridge Mode): Check for Enable

SSID: RHIZO_INSTALLNAME (eg: RHIZO_ALOTEPEC). Set SSID to be same for both links!

Security: WPA2-AES WPA Authentication: PSK WPA Preshared Key: same key between antennas

Under Network Tab

Network mode: Bridge

Management Network Settings:

Management IP Address: Static

IP Address:172.16.0.250 ( within 172.16.0.0/24 with exception of 172.16.0.1, 172.16.0.11 (BTS) and 172.16.0.12 (BTS), generally between 172.16.0.250 and 172.16.0.255)

Netmask: 255.255.255.0

Gateway IP: 172.16.0.1

After clicking change and then Apply, change DNS settings on your work machine to an unassigned static IP in the 172.16.0.0 range (eg: 172.16.0.34) log back in via IP address to the assigned airGrid: eg: 172.16.0.250

Under System Tab

Change password by clicking little key to the right of //Administrator Username//.

Change and Apply everything by clicking the corresponding buttons!

Maintenance from a distance

One can ssh into the airgrid from the connected BSC or otherwise from the network

(eg: ssh ubnt@172.16.0.250)
vi /tmp/system.cfg

edit the config

then "save && reboot"

Example config file

This for the Cajonos tower link (/tmp/system.cfg):

aaa.1.br.devname=br0
aaa.1.devname=ath0
aaa.1.driver=madwifi
aaa.1.radius.acct.1.status=disabled
aaa.1.radius.auth.1.status=disabled
aaa.1.radius.macacl.status=disabled
aaa.1.ssid=RHIZO_CAJONOS
aaa.1.status=enabled
aaa.1.wpa.1.pairwise=CCMP
aaa.1.wpa.key.1.mgmt=WPA-PSK
aaa.1.wpa.mode=2
aaa.1.wpa.psk=p@ssw0rd
aaa.status=enabled
bridge.1.devname=br0
bridge.1.fd=1
bridge.1.port.1.devname=eth0
bridge.1.port.1.status=enabled
bridge.1.port.2.devname=ath0
bridge.1.port.2.status=enabled
bridge.1.status=enabled
bridge.1.stp.status=disabled
bridge.status=enabled
dhcpc.1.devname=br0
dhcpc.1.status=disabled
dhcpc.status=disabled
dhcpd.status=disabled
discovery.cdp.status=enabled
discovery.status=enabled
dyndns.status=disabled
ebtables.status=enabled
ebtables.sys.arpnat.1.devname=ath0
ebtables.sys.arpnat.1.status=enabled
ebtables.sys.arpnat.status=disabled
ebtables.sys.eap.1.devname=ath0
ebtables.sys.eap.1.status=enabled
ebtables.sys.eap.status=enabled
ebtables.sys.status=enabled
ebtables.sys.vlan.status=disabled
gui.language=en_US
httpd.https.port=443
httpd.https.status=enabled
httpd.port=80
httpd.session.timeout=900
httpd.status=enabled
netconf.1.autoip.status=disabled
netconf.1.devname=eth0
netconf.1.hwaddr.mac=
netconf.1.hwaddr.status=disabled
netconf.1.ip=0.0.0.0
netconf.1.mtu=1500
netconf.1.netmask=255.255.255.0
netconf.1.promisc=enabled
netconf.1.role=bridge_port
netconf.1.status=enabled
netconf.1.up=enabled
netconf.2.allmulti=enabled
netconf.2.autoip.status=disabled
netconf.2.devname=ath0
netconf.2.hwaddr.mac=
netconf.2.hwaddr.status=disabled
netconf.2.ip=0.0.0.0
netconf.2.mtu=1500
netconf.2.netmask=255.255.255.0
netconf.2.promisc=enabled
netconf.2.role=bridge_port
netconf.2.status=enabled
netconf.2.up=enabled
netconf.3.autoip.status=disabled
netconf.3.devname=br0
netconf.3.hwaddr.mac=
netconf.3.hwaddr.status=disabled
netconf.3.ip=172.16.0.251
netconf.3.mtu=1500
netconf.3.netmask=255.255.255.0
netconf.3.role=mlan
netconf.3.status=enabled
netconf.3.up=enabled
netconf.status=enabled
netmode=bridge
ntpclient.1.server=0.ubnt.pool.ntp.org
ntpclient.1.status=enabled
ntpclient.status=enabled
ppp.status=disabled
pwdog.status=disabled
radio.1.ack.auto=enabled
radio.1.ackdistance=600
radio.1.acktimeout=25
radio.1.antenna.id=3
radio.1.chanbw=0
radio.1.chanshift=0
radio.1.clksel=1
radio.1.countrycode=484
radio.1.cwm.enable=0
radio.1.cwm.mode=0
radio.1.devname=ath0
radio.1.dfs.status=enabled
radio.1.forbiasauto=0
radio.1.freq=0
radio.1.ieee_mode=11naht20
radio.1.low_txpower_mode=disabled
radio.1.mcastrate=7
radio.1.mode=master
radio.1.obey=enabled
radio.1.polling=enabled
radio.1.pollingnoack=0
radio.1.pollingpri=
radio.1.rate.auto=enabled
radio.1.rate.mcs=7
radio.1.reg_obey=enabled
radio.1.status=enabled
radio.1.subsystemid=0xe835
radio.1.txpower=25
radio.countrycode=484
radio.rate_module=atheros
radio.status=enabled
resolv.host.1.name=CAJONOS_AP_TORRE
resolv.host.1.status=enabled
resolv.nameserver.1.ip=8.8.8.8
resolv.nameserver.1.status=enabled
resolv.nameserver.2.ip=
resolv.nameserver.2.status=disabled
resolv.nameserver.status=enabled
resolv.status=disabled
route.1.comment=
route.1.devname=br0
route.1.gateway=172.16.0.1
route.1.ip=0.0.0.0
route.1.netmask=0
route.1.status=enabled
route.status=enabled
snmp.status=disabled
sshd.auth.passwd=enabled
sshd.port=22
sshd.status=enabled
syslog.remote.status=
syslog.status=disabled
system.button.reset=enabled
system.cfg.version=65543
system.date.status=disabled
system.date.timestamp=
system.eirp.status=disabled
system.latitude=
system.longitude=
system.timezone=GMT+6
telnetd.status=disabled
update.check.status=enabled
users.1.name=ubnt
users.1.password=$1$hashedpass
users.1.status=enabled
users.2.status=disabled
users.status=enabled
vlan.status=disabled
wireless.1.addmtikie=enabled
wireless.1.ap=
wireless.1.authmode=1
wireless.1.autowds=disabled
wireless.1.devname=ath0
wireless.1.hide_ssid=disabled
wireless.1.mac_acl.policy=allow
wireless.1.mac_acl.status=disabled
wireless.1.scan_list.channels=
wireless.1.scan_list.status=disabled
wireless.1.security.type=none
wireless.1.ssid=RHIZO_CAJONOS
wireless.1.status=enabled
wireless.1.wds.1.peer=
wireless.1.wds.2.peer=
wireless.1.wds.3.peer=
wireless.1.wds.4.peer=
wireless.1.wds.5.peer=
wireless.1.wds.6.peer=
wireless.1.wds.status=enabled
wireless.hideindoor.status=disabled
wireless.status=enabled
wpasupplicant.device.1.status=disabled
wpasupplicant.profile.1.network.1.psk=p@ssw0rd
wpasupplicant.status=disabled