Broadband-Hamnet™ Forum :: Hardware
Welcome Guest   [Register]  [Login]
 Subject :Raspberry Pi & HSMM Mesh.. 2014-03-22- 07:25:41 
w4rss
Member
Joined: 2013-11-27- 15:56:35
Posts: 13
Location

HSMM-Mesh with Raspberry Pi.

I followed the directions from http://kb9mwr.blogspot.com/2013/08/hsmm-mesh-on-raspberry-pi.html to install HSMM-Mesh on my Raspberry Pi.

 It appears to work but I can't see either of my other two nodes on Linksys Routers.

 On my main Linksys the setings are as follows:

 Node Name: W4RS-01

Type: Mesh Node

 WIFI

Proto: static

IP: 10.197.235.151

Mask: 255.0.0.0

SSID: BroadbandHamnet-v1

Adhoc

1

LAN

Lanmode: 5 host direct

IP: 10.47.92.185

Mask: 255.255.255.248

DHCP (ticked)

Start: 186

End: 190

WAN

DHCP

DNS1: 8.8.8.8

DNS2: 8.8.4.4

 

On the Raspberry PI:

WIFI

Proto: static

IP: 10.198.98.8

Netmask: 255.0.0.0

SSID: BroadbandHamnet-v1(changed to be the same as the Linksys

Adhoc

1

LAN

mode: 5 host dmz

IP: 10.51.16.65

Mask: 255.255.255.248

DHCP (ticked)

Start: 66

End: 70

WAN

Proto: DHCP

DNS1: 8.8.8.8

DNS2: 8.8.4.4

i am using an ALFA awus036nh USB WiFi antenna.

 What am I missing to get this device to show/connect to the other 2 or my routers and the other HSMM routers in the neighborhood?  (there are 5 total)

Thanks

Dick

IP Logged
 Subject :Re:Raspberry Pi & HSMM Mesh.. 2014-04-13- 11:42:07 
W6DPS
Member
Joined: 2014-01-25- 19:09:19
Posts: 11
Location: Barstow, California
 

You might try changing the subnet masks on both to: 255.0.0.0 The first octet in each is 10, which is non-routable and correct. The other three octets are derived from the last three of the MAC address. It looks like your tighter subnet mask on the Linksys may be filtering out the Pi. Good luck, and post it this changes anything. Dave, W6DPS

IP Logged
Last Edited On: 2014-04-13- 11:44:22 By W6DPS for the Reason
Amateur Extra, first license in 1977
 Subject :Re:Raspberry Pi & HSMM Mesh.. 2014-04-19- 05:10:40 
ka0piz
Member
Joined: 2014-04-19- 04:56:08
Posts: 8
Location
Please do post results. It seems like this setup could be very useful.... especially as a mobile type node. It seems like putting kits together for ARES teams to deploy could be very useful.
IP Logged
 Subject :Re:Raspberry Pi & HSMM Mesh.. 2014-04-19- 06:08:51 
KG6JEI
Member
Joined: 2013-12-02- 19:52:05
Posts: 516
Location
For a mobile node for ARES I would recomend looking at the Ubiquiti gear. Pi's are great devices but USB based wifi cards are often limited in capability (power and options for installation) USB distance is max of 30m with repeaters every 5 meters. Take an ethernet cable on the other hand and without any repeaters you can go 100m distance from the wifi point (think about getting to RF outside the building, etc) You could use the pi and run a network cable like Ubiquiti Them we get into weather and voltage issues A Pi If installed outside would need weatherproofing. In addition a pi needs 5v of power at 500ma you would need a power supply with the node and a method to bring power. A Ubiquiti could actually be fed from your main setup area along the ethernet cable. Has a wide voltage range (12v battery direct is fine) Not to say not to experiment with Pi, just saying keep an eye on the other variables when thinking deployment and portable nodes.
IP Logged
Note: Most posts submitted from iPhone
 Subject :Re:Raspberry Pi & HSMM Mesh.. 2014-04-19- 10:56:42 
ka0piz
Member
Joined: 2014-04-19- 04:56:08
Posts: 8
Location
All good points. I do not have any nodes up..but now have several wrtg54gs version 3 routers coming my way. Ubiquiti is less known to me, and the Linksys is now discontinued... so seeing a Pi pop up sounded interesting. Perhaps we should add to the profiles here a list of what hardware who has actually run... a pie chart of success makes newcomers easily gravitate to what works well. The other thing that got my interest: a pi running with 512 meg of Ram, a display, keyboard and mouse on a USB hub could also run as a local platform for things like a wordpress sight and a BBS. So for one box to deploy into a go box, it seems attractive, though I have not tried all this yet. Truely playing around with all of this will help with options. Seems if one was not going to use the pi, a chromebook might be a handy thing to consume the network that just got set up.
IP Logged
 Subject :Re:Raspberry Pi & HSMM Mesh.. 2014-04-19- 11:26:07 
KG6JEI
Member
Joined: 2013-12-02- 19:52:05
Posts: 516
Location

The Pi is still limited by its Graphics driver (I have the old 256mb model which makes it worse)

Using them as much as you might think as interactive systems is hard. I use mine mainly as remote console and a Command Line coding system. Even running Wireshark takes a long time on my node.

With a combination of a remote server and my node I do however do most of the Ubiquiti programing from a Pi.

Pi's are great, one just has to evaluate how you use them.  I bought mine hoping they would be more flexible, but for user interaction its not been so great (in my opinion). For the cost of a full pi setup with monitor, keyboard, mouse, sd card, etc, I would recommend grabbing a cheap laptop it is likely to perform better at similar cost  and more portable.

Pi's do however work great if you just need to play MPEG2 video using hardware accelerated playback and beat some of my large systems in this regard because of the GPU in the chip.

Pi's can make decent remote servers to host files (as long as you don't need super performance), store operations plans, host remote information, access some basic websites (JavaScript is a resource killer), be distribution systems, BBS servers, etc. (The biggest limitation is the Graphics support --- which I know is getting better but will take time)

So yep, love my Pi, but not as great as I had hopped --- Eventually ill make one into a repeater controller and data logger, etc.


Linksys gear is still made and sold as the WRT54GL (see Amazon) however for similar cost you can get Ubiquiti ( -30c to 75c OR -40c to 80c (depending upon model)  OUTDOOR rated as compared to Linksys  0 to 40c INDOOR only)


We are starting to see networks replace their Linksys nodes with Ubiquiti now that we have a working release.


The Ubiquiti gear has an up to 10dbm extra receive sensitivity and up to 10dbm extra transmit power meaning you can have another 20dbm across an RF link with Ubiquiti compared to Linksys.

I've heard of a story where 2 directional antennas were needed because the Linksys gear couldn't see an Omni at a remote site, replacing the remote side with a NanoStation it was able to connect reliably to the Omni because of its better receiver so the directional was re-purposed to work on a backbone uplink to another site.

Ubiquiti Hardware Samples:

http://www.ubnt.com/airmax#airMaxHardware

Some are meant to be put on an antenna (bullet and rocket) with no/very little feedline loss.  some even have an antenna built in (AirGrid and NanoStation) meaning you take a node put it on a pole, zero feedline loss, run a cat5 cable for power and internet, and you are setup.

IP Logged
Note: Most posts submitted from iPhone
 Subject :Re:Raspberry Pi & HSMM Mesh.. 2014-05-13- 13:28:19 
KK6JVY
Member
Joined: 2014-05-12- 11:26:54
Posts: 3
Location

Did you ever get this to actually work?

I did same and the PI can see the WRT node but can not (or does not) connect. On the WRT node side it does not detect the PI at all.

Yes promising - just has a lan connect gateway for the mesh to have access to internet.

Please post back with any suggestions on how to get PI on same mesh with WRT routers.


Thank you,

  Andy Johnson - KK6JVY


IP Logged
 Subject :Re:Raspberry Pi & HSMM Mesh.. 2014-05-14- 07:00:11 
w4rss
Member
Joined: 2013-11-27- 15:56:35
Posts: 13
Location
Yes, I did indeed get it to work and all 3 routers, 2-WRT and the PI see each other. It took a little perseverance and trial and error, but once I got the right version of debian-pi installed it worked like a charm. Dick W4RSS
IP Logged
 Subject :Re:Raspberry Pi & HSMM Mesh.. 2014-05-14- 07:35:01 
KK6JVY
Member
Joined: 2014-05-12- 11:26:54
Posts: 3
Location

Ok - can you give some hints on the configuration side.

I left defaults on both WRT and PI and PI can see the IP of the WRT but when I click on it, it just times out. Recently changed the IP to the same 10.80.106.x subnet between the two - still same results.

I also changed the Lan IP to 192. of the WRT - it defaulted to 10. which is not routeable - also checked the NAT function and that seems to have no effect on MESH as well.

Again never have seen any Mesh reported on the WRT device - reflashed that to make sure too.

Sort of stuck - any thoughts?


IP Logged
 Subject :Re:Raspberry Pi & HSMM Mesh.. 2014-05-23- 18:00:44 
W6DPS
Member
Joined: 2014-01-25- 19:09:19
Posts: 11
Location: Barstow, California
 
I have found two things that help when installing HSMM-Pi. First is the WiFi adapter used. I use the ALFA AWUS036N with good results. Other WiFi adapters seem to be hit or miss. Second, I have had the easiest time when I do a fresh install on a cleanly formatted SD card. I immediately do an "update" and "upgrade". I only install packages the I will use on that node, and keep those to a reasonable configuration. When I did encounter an install that had issues like not being able to connect, I formatted the card and started over, and had no problem on the next try. I have started doing a low-level erase and format any time I install an OS for the Pi. I have been successful in installing GPSD and getting NTPD to use the GPS as the time source. I then can share the NTP server on the mesh. I have also been able to share HTML and other documents using the Apache2 server that is part of HSMM-Pi. In general with the Pi, a better quality SD card works better. A class 4 card is adequate, but it seems the better cards perform better. I use class 8 or 10 now, and have no problems with read/write errors. My two cents worth, refunds available on request. Dave, W6DPS
IP Logged
Amateur Extra, first license in 1977
Page # 


Powered by ccBoard


SPONSORED AD: