setting up a mesh network node

5
Using a wireless digital network m y not seem like tr ditional QR but transmitting with lo w pow r is at the core o f h o w these networks operate Here  s a basic guide to sett ng up your own SettingUp a esh etwor k ode BY J. GORDON BEATTIE JR. W2TTT Y OU may ha ve read about  mesh nodes  or mesh networks  and wondered how these amateur radio nodes get co nf igured to produce a functional network. Amateur radio mesh nodes based on the Austin B ro ad ba nd -H am ne t HS MM -MESH) Group s wonderful software take care of the identi fic at ion requir ements whil e also creating functional networks that can be used for both routine and emer gency communlcations . With this soft w are, readily a vailable Linksys WRT 54G /GS/GL routers (photo A) can be tr an sf ormed into mesh network nodes that pro vide fast and robu st selt-orga ni zi ng networ ks through which we can pass te xt, da ta fi les , video , and e ven voi ce traffic . Ther e is an inherent simpli city tothe Linksy s implementation that is quite attracti ve to the new user of this tech nology and it is strongly recommended as an ent ry- level s ystem. In this article , we w illbediscussingthe setup and con figuration of the Link sys-based HSMM MESH /Broadband-Hamnet nodes . Getting Started You will needtoobtain aLi nksy s rout er , and that requires some care to get a model and v ersion that are compat ible with the mesh software . The compati bl e models use the Linux operating sys tem . You can find the model and v er sion information on the bottom of the rout erintheupper leftcorner ofthe label right under the Linksys logo as shown in photo B. See Table I for a listing of compatible models an d required soft ware . If youfindarouterontheInternet , it s li ke lytobepre-loaded withanaf ter mar ketsoftware buildcalled  DD-WRT which provides some additional con ventional router functions . If you find such a unit at an attractive price , don t be worried ab ou t compatibility as long as the v ersion i s listed in T able I. Of course , the best unit i s one that has the correct version , powers up , andis free , so check garage sales and local thrift stores . For ref ere nce , the WRT-54GS v ersions 1 through 3 are the best, be ca use they provide the most memo ry for embedded applications to be re s ident on the mesh node . e-mail : < W2  atl . nel> Photo A Three different models of Linksys routers from top , WRT54GL, WRT54GS and WRT54G ) that are id eal for use as no des in Broadband/ Hamnet  HSMM-MESH) net wor ks. Model W RT-54 W RT-54GS W RT-54GS W RT-54GL Version Notes V 1-4 (V 1 i s 5V o nly) V  Most des irable h as l arge memory capaci ty V 4 V 1.(}-1 . 1 Softwa re Versi on bbh n-1 . 0 . 0-wrt54g b bhn-1 . 0 .0- wrt54gs b bhn-1.0.0-wrt54gs _ v 4 bbhn -1 . 0 . 0-wrt54g Tabl e I . Mes h network- comp atib le Lin ksy s WRT-54IWRT54GSIWRT-54GL mod els . 4 co February 2014 Visit O u r W eb S it e

Upload: ham-radio-hsmm

Post on 11-Oct-2015

47 views

Category:

Documents


0 download

DESCRIPTION

.

TRANSCRIPT

  • QRPSpecialUsing a wireless digital network may not seem like traditional QRP,but transmitting with low power is at the core of how these networksoperate. Here 's a basic guide to setting up your own.

    Setting Up a Mesh Network NodeBY J. GORDON BEATTIE, JR.,' W2TTT

    YOU may have read about "meshnodes" or "mesh networks" andwondered how these amateurradio nodes get configured to producea functional network. Amateur radiomesh nodes based on the AustinBroadband-Hamnet (HSMM -MESH)Group's wonderful software take careof the identification requirements whilealso creating functional networks thatcan be used for both routine and emer-gency communlcations." With this soft-ware, readily available Linksys WRT-54G/GS/GL routers (photo A) can betransformed into mesh network nodesthat provide fast and robust selt-orga-nizing networks through which we canpass text, data files , video, and evenvoice traffic.

    There is an inherent simplicity to theLinksys implementation that is quiteattractive to the new user of this tech-nology and it is strongly recommendedas an entry-level system. In this article,we will be discussing the setup and con-figuration of the Linksys-based HSMM-MESH/Broadband-Hamnet nodes.

    Getting StartedYou will need to obtain a Linksys router,and that requires some care to get amodel and version that are compatiblewith the mesh software . The compati-ble models use the Linux operating sys-tem. You can find the model and ver-sion information on the bottom of the

    router in the upper left corner of the labelright under the Linksys logo as shownin photo B. See Table I for a listing ofcompatible models and required soft-ware. If you find a router on the Internet,it s likely to be pre-loaded with an after-market software build called "DD-WRT"which provides some additional con-ventional router functions. If you findsuch a unit at an attractive price, don't

    be worried about compatibility as longas the version is listed in Table I. Ofcourse , the best unit is one that has thecorrect version , powers up, and is free,so check garage sales and local thriftstores . For reference , the WRT-54GSversions 1 through 3 are the best,because they provide the most memo-ry for embedded applications to be res-ident on the mesh node.

    e-mail:

    Photo A. Three different models of Linksys routers (from top, WRT54GL,WRT54GS and WRT54G) that are ideal for use as nodes in Broadband/Hamnet

    (HSMM-MESH) networks .ModelWRT-54WRT-54GSWRT-54GSWRT-54GL

    Version/NotesV1-4 (V1 is 5V only)

    V 13 Most desirable has large memory capaci tyV4

    V1.(}-1.1

    Softwa re Versionbbhn-1.0.0-wrt54gbbhn-1.0.0-wrt54gs

    bbhn-1.0.0-wrt54gs_v4bbhn-1.0.0-wrt54g

    Table I. Mesh network-compatible Linksys WRT-54IWRT54GSIWRT-54GL models.

    42 co February 2014 Visit Our Web Site

  • _ I ..Ilol I _ I ~_ I u .1 . .. .1 ,.-,_~ . .. J ,' '''''

    Fig. 1. Windows IPCONFIG example. Note the connection information of"local.mesh" in the lower part of the screen.

    Once you have your router, plug it inand make sure that it cycles up in a fewseconds. If successful, the "Power" and"WLAN" LEDs will be lit. Next, connectyour computer' s Ethernet port to anyone of the router's LAN ports, labeled1-4, then open up a web browser andenter the IP address to log on to the router's admin-istrative console. If the router is in itsdefault mode and is running Linksyssoftware, then you will need to enternothing in the user name field and"adrnin" in the password field. If you arerepurposing a router with DD-WRT,then you will use the logon of "root" and"adrnin"as yourpassword. One of theseshould let you into the router's admin-istrative console.

    TroubleshootingRouter AccessIf you have trouble accessing therouter's logon screen, then you mayneed to get a new IP address from thisrouter. For Windows PCs, go to a sys-tem command prompt- and type"IPCONFIG/RELEASE co-" and then"IPCONFIG/RENEW" (see fig. 1).You should then be able to access therouter and log on. Apple and Linux-based systems have similarcommands.

    If you have trouble with the logon andpassword because you either don'tknow them or forgot them, then poweronthe router while holding the reset but-ton down with a pen for about 30 sec-onds. This will clear the whole configu-ration and should restore the router todefault settings.

    Obtaining and Loadingthe MESH SoftwareThere are several different files to usewith your Linksys router depending onits model and version. You will find thecorrect file name for your hardware inTable I. Download the needed file fromeither the Broadband-Hamnet web site< http : / / w w w . h s m m - m es h. 0 rg lsoftware-download.html> or from thefile section of the "ComTechGroup"Yahoo Group , whichyou can easily join by simply request-ing access.

    Once the file is saved on your com-puter and you have logged into therouter, select the "Administration" sec-tion tab and then select the "Upgrade"button. You will be prompted for a file-name. Browse over to the correct folderand select the file. At NO TIME duringthis phase of the process shoutd youunplug the router from the PC. Once

    completed, you will note that the routerreboots and is now an unconfiguredmesh node. Your router will take a bitlonger to boot the mesh software than itdid the default Linksys or other routersoftware. The "Power" LED will begin toflash, then the "DMZ" LED will come on.Once the "DMZ" LED goes off and the"WLAN" LED starts to flash, you havesuccessfully loaded and rebooted yourmesh node! You will see that the head-er of the page has your call sign andidentifier on top, along witha pageof sta-tistical elements. Congratulate yoursett:

    Basic ASICMESH Node ConfigurationYou're making progress, but you havemore to do. First,you will probably need

    Photo B.The bottom of aLinksys routerwill show you itsmodel numberand versioninformation.

    1: '~ C 192UilH I

    to repeat the process of releasing theold IP address and obtaining a new oneas you did when initially accessing theconsole. (These addresses are gener-ated by the router itself . See fig. 1.)Once you have the new IP address,then enter ''http://localnode:8080 -ccre-"to see the main mesh node console asshown in fig. 2. Click on the "Setup" but-ton and enter a logon of "root" and"mesh" as your password.

    You will then be presented with abasic configuration screen as shown infig. 3. You will need to enter a new valuefor the "Node Name." It should includeyour call sign with an extension thatmakes the node unique with respect toits ID. Some folks use functional exten-sions with serial numbers, while otherput in locations. There are no hard and

    www.cq-amateur-radio.com February 2014 CO 43

  • WinterFinds

    fast rules, but make sure that your callsign is at the beginning. You will alsoneed to enter a new node password intwo places . Make sure that you remem-ber what you entered . You might evenwant to put a label on the bottom of thenode with that password as long as youcan maintain physical security, but inany case, write it down-somewhere!

    Finally , it is strongl y recommended thatyou move the node off of channel 1, 6,or 11, as they are the most popular onesin use for normal WiFi operations. Weusually pick channel 3, but your local RFecosystem may drive other choices.(Note: WiFi channels 1-6 are sharedwith the 2.3-GHz amateur band, so anyplanned activities under FCC Part 97

    ......

    -

    PM' ..PucP e4 u

    -

    "'----.. 10 .

    - --. LIIJ.I2000

    .,.-- OO. I. trre

    ....-....__ ' Ol OZI,' 1~

    .... o ..u....... ... IOI U

    ~.lrrnu

    _.._.. .

    t.eN_1 ,.~~...._1"'-=-=--'~ VrdJ"~r-

    '....... .

    W/lJf ....... ::":JIl IlW'foOl>J.. r...t.

    ...... ,.....,. -

    .-~ 11'2270~

    -

    --

    "'"...,. w""

    ..- 11'"3

    ...-. 110 ... 12112 ........ 10 IlO1.""_,

    jiI . ..N_ jil6000

    -~'~'ID)q

    - , jii,uDllCPS-- SSll) ~ . r DllCP.... ..

    ....0-., r.... ...- .:J DllCP...

    '"a-o rr.:J

    --..- 1--..:1,..- i=>.:J,..,- jl,-.:::J...... p--

    ..-.J

    c

    1;.' - . ..

    .. .. I . ,.. _ ~ ,_ . . ... . .. _ ._t ,. .. ~ #t

    .. c __

    Fig. 2 . This is the screen you will see after loading the mesh software but beforeconfiguring the node. You now need to do setup.

    NOCALL

    lWo Io_,...~c. _.- ...._ .. ,...-4.

    Clds-G.p.. .,. _d ' .................

    Fig. 3. The configuration screen will guide you through the steps needed forcorrect setup.

    8.5 X 11 Paperback $39.95New! CD Version $29.95Buy both for only $59.95

    8.5 X 11 Paperback $19.95New! CD Version $14.95Buy both for only $29.95

    All the info in Reflec tions Iand II and more! Thiscompletely revised andupdated, 424page 3rdedition is a must-have!

    Shipping & Handling : USA- $7 for 1stbook, $3.50fo r 2nd,$2 for each add itional. CN/M X $15 tee Ist . $7 for 2nd,$3.50for each additional, All Other Countries - $25for tst.$10 for 2nd . $5 for eocn additiona l.

    Reflections IIIby Walt Maxwell, W2DU

    CQ Communications Inc .25 Newbridge Rd., Hicksville, NY 11801

    516-681 -2922; Fax 516-681 -2926htlp:// store.c q-amateur-radio.com

    W6SAI HF Antenna Handbookby Bill Orr, W6SAIW6SAI was known for hiseasy-to-unde rstand writingsty le. In keeping with thistradit ion, th is book is athoroug hly readable text forany antenna enthusiast,jam-packed with dozens ofinexpensive , practical antennaprojects that work!

    Understanding, Building &Using Baluns & Ununsby Jerry Sevick, W2FMI ~~!!The successor 10the popular Eand autho ritative Baluns andUnuns. Great deal of newtutorial mate rial , and designsnot in previous book, withcrysta l clea r explanations ofhow and wh y they work.

    8.5 X 11 Paperback $19.95New! CD Version $14.95Buy both for only $29.95

    44 co February 2014 Visit Our Web Site

  • Fig. 4. Once you've entered all the necessary information, you'll get a screen thatlooks like this while the router is configuring and rebooting itself.

    ..

    =

    _..

    J 2BS-APOI

    MJI ...... :'I~~=~t..ll ~~ .J,l /-'. '" liS RFModulesLA!' "'''1!:.I:::':':..l.o* &0-.... ......... 100~.... ... ~

    WAIf ...... ::'JIl I,.....,Ro&...... .,........ ::-::\~I) emiconductorsow... .--. :l'::t:'l

    - '-~_.. OOil.OI2.0Of

    r- ........ tolle.."O! ..... O'MU........ .."'.0

    --.-1610 Transmitter Tubes

    ...CSCM.rtl .............

    , 'J 2B .\POI I re booting

    W.. , hWf'f'lLD . . .....~ dwtI ..., ......."llni ... DMZ.lLD ,..c.p1,..._DHCP ..._ "'c:~ .....

    tm " ? 2 ...... _.."",

    Ttot LA..............(~'_"~I.IK"""._DHCPk_..,"'wc..,_ ~~CKIIn,....,. M .....

    &:

    a::.. c __

    T DoCal...c~OT_~_I"W'~ s-~ ,-bh.

    .. c __

    Se Hob'" Espo~oI we EItporl

    Fig. 5. Voila! Your mesh node is configured and ready to start communicating!

    c __

    , 'J 21l -.\1' 01 III"''' tatu

    ....-....... e..- ,......

    '".......

    ."....... JIZIIUZOI-

    mm=- W'2TTTLn

    ----nx ......H MUHlDl ...

    -W7TTt.JW1 IImIlIl1

    --WT.TT17CAWDI W7TTT"""'W'

    --

    .....

    -

    Phone: 760-744-0700TolI-Free: 800-737-2787(Orden"') 800RF PARTSWebsite: www.rfparts.comFax: 760-7441943

    888-744-1943mai: [email protected]

    Fig. 6. The mesh network status screen shows you what other nodes areaccessible to you as well as what features, or services , they offer.

    www.cq-arnateur-radto.com February 2014 CO 45

  • Fig. 8. Example of what you might see from the IP camera once you've selecteda mode on which to view its photos.

    Fig. 7. The Foscam IP camera lets the user select different modes based on whichone works best on your browser. The camera is accessed and configured over

    the mesh network.

    Just Do It!We all have become interested in a topicthat we've read about, gotten really firedup, and then came the practical realityof making it happen. You know the typeof issues that come up.. ."I'm distract-ed," "I don't know how to find or load thenew software," "What happens if I do itwrong?" etc. This article is an attemptto help you conquer those issues, andget on the air! I hope that you found ithelpful and interesting.

    Noles1. See Beattie, "HSMM-MESH Net-

    working in EmComm Applications," COOctober 2013, p. 26

    2. To access the system commandprompt in Windows, click on the "Start" orWindows logo button, then type "CMD" inthe search bar and click on "CMD.EXE"when it comes up.

    Is There Anybody Out There?OK, I borrowed the title line from PinkFloyd, but there really is a need to putup more than one node and find out ifthey can communicate with each other.In order to see neighboring nodes,select the "Mesh Status" button. If youhave two configured nodes or have anearby node, you will see somethinglike what's shown in fig. 6.

    As you can see, there are two neigh-boring mesh nodes and each has somedefined "Services." You can connect tothese services if they are defined andare using a compatible device. Forexample, W2TIT-LT2 is a Telnet serv-er that allows for keyboard-to-keyboardconnections, while W2TTI-PI01 is aRaspberry Pi computer running anInternet Relay Chat (IRC) server. TheW2TTI-IPCAM01 is an IP camera.Connecting to this Foscam brand cam-era is as easy as clicking on the cam-era link from your web browser and fol-lowing the camera server connectionsequence (fig. 7). Along the way you willbe prompted for a camera logon andpassword, and then you will be provid-ed with a choice of camera servermodes. Try each one with your brows-er to determine which option will giveyou success (fig. 8). ActiveX Mode pro-vides full recording and snapshot capa-bilities which are not shown here as thatplug-in was not installed into theChrome browser that was used for thescreen shots in figs. 7 and 8.

    web browser, and you will be present-ed with a screen as shown in fig. 5. Younow have a functional configured meshnode that should be ready to communi-cate. Congratulate yourself again!

    . - .. ~.!D ~ : . ..

    --.. ..

    entered, press the "Save Changes" but-ton and the node will save your entriesand reboot. During that reboot periodyou will see a screen as shown in fig. 4.Once it comes up as described previ-ously, you will need to once againensure that the computer gets a new IPaddress. Once that is done, enter''http:// localnode:8080 crs" in your

    e-'""",,, Ill...., ....... Oorl_" "'~l~" d --t .. D~ . , _ "

    ------

    r ... r- _ .:I- ~.=J......... - r\t.e-- - r ~

    C w2!tt-tqn()l

    ",..I afU I _ ~__ -,I . . . ...1.. ,_ . ...1_ , .... . 1 /

    rules- which allow more power andantenna flexibility than Part 15 rules-must be conducted on one of thesechannels .)

    One interesting thing to note is that iftwo mesh nodes are on different chan-nels, they will search out other nodeson other channels, but at a cost innetwork performance. Once it is all

    46 co February 2014 Visit Our Web Site