Client Node Configuration

From OCARC
Jump to navigation Jump to search
An antenna MUST be connected to the radio at all times when it is powered on, Not having an antenna connected will result in damage to the radio!!!
These instructions are a work in progress and are unlikely to result in a working connection

Preface

This describes one simple method of configuring your radio modem to connect to HamWAN. It will configure your radio to be used connected directly to a computer(s) without another internet connection. It will provide a provide DHCP address to computers connected over ethernet and will have a public 44.x.x.x address on the wireless side.

Integration With An Existing Network

Integrating HamWAN with an existing network is not a simple task an involves complex networking concepts and may be beyond the capabilities of your home networking equipment.

Configuration Steps

These steps should get you on the air but do not include any local networking (radio will have HamWAN access but your computer will not)

  1. Upgrade your modem to the latest version of RouterOS
    • If you have connected the modem to your LAN in a way that provides Internet access, the following command can be used:
      /system package update upgrade
    • Otherwise, use the standalone upgrade method: http://wiki.mikrotik.com/wiki/Manual:Upgrading_RouterOS (also works on older ROS 5.xx that does not support the upgrade command)
  2. Reset the router to a blank configuration.
    /system reset-configuration no-defaults=yes
  3. Give your modem a name, use your callsign so that we can easily identify the owner of this radio
    /system identity set name=MYCALL
     Note: PDSR does this differently and wants you to suffix your callsign with the name of the site you are connecting too. Its unclear why they do this as it just makes roaming more complicated.
    
  4. Set a password for the admin user
    /user set admin password=
    /console clear-history

    This is an example password generated in your browser. You may choose any password you like.

  5. To support shared administration, add the following HamWAN Network Administration accounts into the "full" group. Usernames are case sensitive.
    /user add group=full name=manage password=
    /console clear-history

    The passwords above are randomly generated in your browser, not stored anywhere, and will never be used. Any HamWAN access to your modem will be done with certificates.

  6. TODO: Install hamwan SSH Keys, This is not required to achieve a connection
  7. Enable Ethernet boot in case you ever need to reinstall the router with NetInstall (this could save you a trip up to your roof, its a good idea)
    /system routerboard settings set boot-device=try-ethernet-once-then-nand
  8. Configure Remote Central Logging Skip this step for now we do not yet have a central logging server
    /system logging action set 3 bsd-syslog=no name=remote remote=X.X.X.X remote-port=514 src-address=0.0.0.0 syslog-facility=daemon syslog-severity=auto target=remote
    /system logging add action=remote disabled=no prefix="" topics=info
    /system logging add action=remote disabled=no prefix="" topics=warning
    /system logging add action=remote disabled=no prefix="" topics=error
    
  9. SNMP Monitoring
    /snmp set enabled=yes contact="#HamWAN on irc.freenode.org"
    /snmp community set name=hamwan addresses=44.135.216.0/23 read-access=yes write-access=no numbers=0
  10. Setup NTP Skip this step for now we do not yet have a network time server
  11. Clear the firewall rules
    /ip firewall filter remove [find dynamic=no]
    
  12. Set the HamWAN Maximum Transmission Unit (MTU) policy TODO: We need to make sure this is correct for our network
    /ip firewall mangle
    add action=change-mss chain=output new-mss=1378 protocol=tcp tcp-flags=syn tcp-mss=!0-1378
    add action=change-mss chain=forward new-mss=1378 protocol=tcp tcp-flags=syn tcp-mss=!0-1378
    
  13. Remove local DHCP server
    /ip dhcp-server remove [find]
    /ip dhcp-server network remove [find]
      
  14. Remove local IP address
    /ip address remove [find]
  15. Disable DNS Service Important!!!
    /ip dns set allow-remote-requests=no
  16. Add HamWAN sector channels. HamWAN uses custom channels outside the normal frequency range for 5ghz WiFi, you need to add these channels to the radio. Currently all of our sector sites use 10mhz channels but you should add both 5 and 10 variants to be safe.
    /interface wireless channels add band=5ghz-onlyn comment="Cell sites radiate this at 0 degrees (north)" frequency=5920 list=HamWAN name=Sector1-5 width=5
    /interface wireless channels add band=5ghz-onlyn comment="Cell sites radiate this at 120 degrees (south-east)" frequency=5900 list=HamWAN name=Sector2-5 width=5
    /interface wireless channels add band=5ghz-onlyn comment="Cell sites radiate this at 240 degrees (south-west)" frequency=5880 list=HamWAN name=Sector3-5 width=5
    
    /interface wireless channels add band=5ghz-onlyn comment="Cell sites radiate this at 0 degrees (north)" frequency=5920 list=HamWAN name=Sector1-10 width=10
    /interface wireless channels add band=5ghz-onlyn comment="Cell sites radiate this at 120 degrees (south-east)" frequency=5900 list=HamWAN name=Sector2-10 width=10
    /interface wireless channels add band=5ghz-onlyn comment="Cell sites radiate this at 240 degrees (south-west)" frequency=5880 list=HamWAN name=Sector3-10 width=10
    
  17. Configure the modem to announce your callsign
    /interface wireless set 0 radio-name="MYCALL"
     Note: PDSR does this differently and wants you to suffix your callsign with your location and the site your connecting to. Its unclear why they do this as it just makes roaming more complicated.
    
  18. Set your location, so that your station shows up on the HamWAN map. Supply your latitude and longitude in decimal degrees separated by a comma, like location=47.1234,-121.1234.
    /snmp set location=LAT,LON
  19. Configure the wireless card to connect to HamWAN
    /interface wireless set 0 disabled=no frequency-mode=superchannel band=5ghz-onlyn mode=station scan-list=HamWAN ssid=HamWAN wireless-protocol=nv2
  20. Configure your modem to request a DHCP address from the HamWAN network.
    /ip dhcp-client add add-default-route=yes dhcp-options=hostname,clientid disabled=no interface=wlan1
    


1. Upgrade your modem to the latest version of RouterOS

  1. Upgrade your modem to the latest version of RouterOS
    • If you have connected the modem to your LAN in a way that provides Internet access, the following command can be used:
      /system package update upgrade
    • Otherwise, use the standalone upgrade method: http://wiki.mikrotik.com/wiki/Manual:Upgrading_RouterOS (also works on older ROS 5.xx that does not support the upgrade command)
  1. Reset the modem configuration
/system reset-configuration no-defaults=yes

3. Assign a name to your modem so that if can be identified on the network

/system identity set name=VE7OGO

4. Secure your modem by assigning a password to the admin user account

/user set admin password=<password> /console clear-history

5. Add additional user accounts to support monitoring and remote configuration /user add group=full name=va7dig password=<password> add group=read name=monitoring password=<password> /console clear-history

6. Install Keys for Remote Access TODO: Instructions 7. Enabled Recovery Mode (NetInstall)

/system routerboard settings set boot-device=try-ethernet-once-then-nand

8. Remote Logging We do not currently have remote logging

9. SNMP Monitoring

/snmp set enabled=yes contact="#HamWAN on irc.freenode.org" /snmp community set name=hamwan addresses=44.135.216.0/23 read-access=yes write-access=no numbers=0


15. Disable Internal DNS Server

/ip dns set allow-remote-requests=no


16. Configure the modem to use HamWAN Sector Channels

/interface wireless channels add band=5ghz-onlyn comment="Cell sites radiate this at 0 degrees (north)" frequency=5920 list=HamWAN name=Sector1-5 width=5 add band=5ghz-onlyn comment="Cell sites radiate this at 120 degrees (south-east)" frequency=5900 list=HamWAN name=Sector2-5 width=5 add band=5ghz-onlyn comment="Cell sites radiate this at 240 degrees (south-west)" frequency=5880 list=HamWAN name=Sector3-5 width=5 add band=5ghz-onlyn comment="Cell sites radiate this at 0 degrees (north)" frequency=5920 list=HamWAN name=Sector1-10 width=10 add band=5ghz-onlyn comment="Cell sites radiate this at 120 degrees (south-east)" frequency=5900 list=HamWAN name=Sector2-10 width=10 add band=5ghz-onlyn comment="Cell sites radiate this at 240 degrees (south-west)" frequency=5880 list=HamWAN name=Sector3-10 width=10

17. Configure the modem to identify using your callsign

/interface wireless set 0 radio-name="<CALLSIGN>" # For example, set 0 radio-name="AE7SJ/Monroe-Paine"

18. Configure your modems location. This allows it to show on our map /snmp set location=LAT,LON Replace LAT and LON with your coordinates in decimal

Example of VA7DBD.client VA7DBD's Client Radio Config