Broadband-Hamnet™ Forum :: Hardware
Welcome Guest   [Register]  [Login]
 Subject :HSMM-MESH on Raspberry PI.. 2013-07-23- 04:22:03 
G8BPQ
Member
Joined: 2013-07-09- 09:30:49
Posts: 2
Location

Hi,

I have HSMM-MESH running on a Raspberry PI. I based the system on the standard Raspbian linux distribution rather than OpenWRT, partly because OpenWRT support of the PI seemed pretty undeveloped, and partly to enable the same approach to be applied to other platforms.

The system self-configures in the same way as the standard WRT54G installation.

I have two PIs linked to a WRT54GS, but as I don't have any nearby Mesh nodes I can't test very thoroughly. If anyone is interested in helping me test, or even just trying the system for themselves, please contact me - john.wiseman(at)cantab.net

Thanks,

John G8BPQ



IP Logged
 Subject :Re:HSMM-MESH on Raspberry PI.. 2013-07-24- 02:40:22 
F6CNB
Member
Joined: 2013-06-20- 09:22:08
Posts: 17
Location: Frelsburg, Texas
John, I have two mesh nodes at home and raspberry pi. I ll be very interrested to test your solution next week when I ll ve back in France. I'll test it with the new beta version of hsmm mesh. 73 Remi F6cnb or W5/F6cnb currently W1/F6cnb
IP Logged
 Subject :Re:HSMM-MESH on Raspberry PI.. 2013-08-15- 11:17:50 
KD7RYY
Member
Joined: 2011-10-27- 10:48:43
Posts: 21
Location: Vancouver, WA CN85rq
Any update on this?
IP Logged
 Subject :Re:HSMM-MESH on Raspberry PI.. 2013-08-15- 21:02:57 
G8BPQ
Member
Joined: 2013-07-09- 09:30:49
Posts: 2
Location
I thought I'd posted there messages here, but obviously not!

The lower part (blue) is the original post, the upper bit (black) is an  update.



I've uploaded an updated version of my HSMM-MESH system for the PI. The main changes are:

Fixed bug that interfered with setting firewall rules.
Renamed LAN port from eth0 to lan, and WAN port from eth0.1 to wan, to simplify configuring a system with the ethernet port used for a WAN link and a second wifi or ethernet dongle as LAN port.

Fixed some fields on status page.

Sets the linux  hostname to the mesh Node Name.

The system sets the password for user pi to pi, and the root password to the value set in the setup screen.

Note this creates a Mesh node compatible with Mesh Verson 0.4.3. I will be producing one to work with the new release soon.
73, John

 

As there seems to be quite a bit of interest, I've put together some preliminary installation instructions. More technical info, build detaill, etc will follow.

Download latest Rasbian image from http://www.raspberrypi.org/downloads and write to an SD Card in the usual way. (2GB is enough, but larger can be used). Leave card in PC.

Download https://dl.dropboxusercontent.com/u/31910649/meshautoconf0.4.3.zip and unzip, You should end up with a folder meshautoconf0.4.3.

Check that you have folders lib, proc, sys, dev, etc, bin, files, OpenWRTFiles, PIFiles. I've sometimes had problems with winzip not creating empty folders.

Open the boot partition of the SD card, and copy all the files and folders from meshautoconf0.4.3 into it.

Unmount the SD card, install in PI, and power up, If you have a monitor it is worth connecting it so you can see what is going on.

The PI should boot 3 times. The first time it uses the boot partition as the root partition, and copies a few files to the main partition on the PI. This takes a few seconds. The second time it uses the rc.local file just installed to install some packages (from the boot partition, so no internet is needed). and configure the node. This can take several minutes. It then boots again to activate the MESH configuration.

The files are set up to work the same as a WRT54 node - the LAN port is configured as 172.27.0.1, with DHCP enabled - so you can connect a PC and configire the node in the usual way (web browser to localnode:8080). Sometimes I've found the PC doesnt get an IP address the first time. If this happens, rebooting the PI should fix it.

I've found it easier to configure the LAN port with an address on my LAN, so I don't have to unplug the PC and connect it to the PI. You can edit file "interfaces" to set an address on your LAN instead of the 172.27 address. If you do this, remember to set the same address when you configure the Node. or you will loose access. You'll need to connect to the IP address:8080 to configure.

73,
John
IP Logged
 Subject :Re:HSMM-MESH on Raspberry PI.. 2013-08-17- 06:30:23 
kf7ywp
Member
Joined: 2012-10-15- 09:08:03
Posts: 6
Location
Is there any way you could setup a mailing list that we could subscribe to? I am kind of interested in your idea. As I have converted all my nodes (5) to v1.0 so that they will work with my ubiquiti equipment when its supported or I have time to manually configure them I dont have any real way to play around with my rPi at this point. I will be giving a demonstration in the next little bit at one of the local Ham radio clubs on HSMM to drum up some interest in the area and would live to show off your build! But... as I get busy I dont always have time to read over all the forms to look for changes or updates :-( Thanks, Anthony
IP Logged
 Subject :Re:HSMM-MESH on Raspberry PI.. 2013-08-28- 03:11:53 
kf5mmw
Member
Joined: 2013-07-30- 15:37:37
Posts: 3
Location
Hi all, I just wanted to drop a note here about the Raspberry Pi and Broadband-Hamnet. I think Scott has posted here before about his HSMM-PI project, but I wanted to post something as well! (http://hsmmpi.wordpress.com) I can't say that building a Pi node is going to be cheaper or easier than building one on the WRT54G platform, but I do think that it is a much more flexible platform if you want to add additional features or services. So far it works great, and Scott has been very open to suggestions and comments, and has been turning them around with a code update almost overnight. Some of the features that are in the wish list for Broadband-Hamnet are already working on the Pi, and it is of course fully compatible with my other nodes, so I wonder whether some consideration should be given to the strengths of each platform? For instance, I was running several WRT54G's, and had a Raspberry pi set up as an Asterisk server to support them. Worked great, except Asterisk would complain and refuse to start because it didn't know what time it was. Inconvenient, but can be worked around. I suggested to Scott, who had already set up a gps on the pi, that pulling the time from the gps would solve some problems. So he did. Now the pi is also set up to be a NTP server for other devices as well. Do we need that functionality on the WRT platform now? We know it can be done. (Bring a serial port out, connect gps, modify firmware) I don't think so. Do we need a config option to set the time from NTP on the WRT? - yes! I would also like to see the position reporting he has implemented on the WRT! I also hope that people don't feel that there is any competition among the different solutions, as I don't think that is the case at all. I can see different node platforms being used for different applications, and hope to see cooperation for the benefit of the entire community! Best Regards, Drew Wood / KF5MMW
IP Logged
 Subject :Re:HSMM-MESH on Raspberry PI.. 2013-08-28- 03:13:28 
kf5mmw
Member
Joined: 2013-07-30- 15:37:37
Posts: 3
Location
What the hell? :) I really did make paragraphs in that message to make it easier to read. It just 'forgot' when I clicked submit. Sorry!
IP Logged
 Subject :Re:HSMM-MESH on Raspberry PI.. 2013-08-28- 04:14:28 
KF5JIM
Future Astronaut
Joined: 2013-07-17- 12:13:36
Posts: 250
Location: Nederland

KF5MMW,
Worked great, except Asterisk would complain and refuse to start because it didn't know what time it was. Inconvenient, but can be worked around.
That can be fixed if you continue to read further down on the RPi Documentation page, scroll down to 3. Running RasPBX without Internet connection and install fake-hwclock (or you could change the boot script to take the time check out).

IP Logged
My opinions and views expressed here are solely my own.
 Subject :Re:HSMM-MESH on Raspberry PI.. 2013-08-28- 06:03:43 
kf5mmw
Member
Joined: 2013-07-30- 15:37:37
Posts: 3
Location
Thanks, I did find that after some experimenting, ie: the can be worked around part, but I felt that the real solution to the problem was going to have to be a RTC. Knowing what time it is - for real - can be fairly critical in a disaster or other situation when we are making use of the mesh. Timestamps on emails, IM's, voip phone calls... I think there has to be an NTP server running somewhere in the mesh to coordinate time. Luckily, the GPS option solves that, and gives the added benefit of location information about nodes as well.
IP Logged
 Subject :Re:HSMM-MESH on Raspberry PI.. 2013-08-29- 02:31:11 
KG1L
Member
Joined: 2013-06-28- 12:53:53
Posts: 18
Location: Owings, MD

"I really did make paragraphs in that message to make it easier to read."

kf5mmw,

I had the same problem. Use line breaks (shift-return, in Windoze) instead of Return at the end of each paragraph.

73

PS, click at the preview button before you submit.  You can fix the line breaks there.

IP Logged
Last Edited On: 2013-08-29- 02:34:03 By KG1L for the Reason Reformat
 Subject :Re:HSMM-MESH on Raspberry PI.. 2013-08-31- 13:20:25 
KI4WPI
Member
Joined: 2012-09-16- 04:20:26
Posts: 19
Location: Tamarac, FL

This website goes back to 2004, but given the recent developments with the Raspberry Pi's use as a MESH node, I believe that this once again bears revisiting. There are some really good photo designs for using DIY antennas with the USB wi-fi dongles. As well, how there is literally NO loss in a USB cable for a few meters length, which would go well with being connected to a Pi router....

http://www.usbwifi.orconhosting.net.nz/

Gary-KI4WPI

IP Logged
Last Edited On: 2013-08-31- 13:21:49 By KI4WPI for the Reason
Gary Michalosky
KI4WPI
 Subject :Re:HSMM-MESH on Raspberry PI.. 2013-11-15- 17:54:13 
VA3MAA
Member
Joined: 2013-09-29- 23:18:25
Posts: 12
Location: Windsor, Ontario

Well I loaded up the hsmm-mesh but I used the script and it downloaded it all seemed to go well but I have yet to manage to log into the raspberry to configure it? I tried your write up in this thread and even localnode:8080 and cannot seem to get into the raspberry/mesh status page?

Any suggestions? I am hooking an ethernet cable from my PC directly to the raspberry just as I have done with a router.

IP Logged
Last Edited On: 2013-11-15- 17:58:03 By VA3MAA for the Reason
 Subject :Re:HSMM-MESH on Raspberry PI.. 2013-12-27- 04:38:32 
n5ale
Member
Joined: 2013-04-12- 12:33:53
Posts: 1
Location

I just got my Raspberry Pi ham net node up and inter-operating with my regular version 1 node.   Some interesting things to note, if the node number is not in the same century as the others exp [n5ale-100 and n5ale-200 there is no connection given all other things are the same.  Simple change to N5ale-101 and all works very well.  I am using a Rosewill RNX-N150HG wireless adapter [not sure about the chipset], which seems quite stable. Yes I did have to change the SSID to see the other node but thats to be expected.  

  I do have a question about other features, has anyone added a second wireless interface and configured it as an access point?  Along that same line has anyone added a usb Ethernet adapter and confiured it for Wan support?  

  I am in the Beaumont area of Texas and the small group here is planing on having a demonstration network setup for the Orange ham-fest in February.  Some cameras, some push to talk voip applications [Team Talk ] have been successfully  tested so far on regular nodes, but I want to add a Raspberry Pi node to the mix as well so of to work I go.  

So much to do. 

So much to do. 

Rich Hudgins N5ALE 

IP Logged
 Subject :Re:HSMM-MESH on Raspberry PI.. 2014-03-03- 08:11:57 
w4rss
Member
Joined: 2013-11-27- 15:56:35
Posts: 13
Location

Does HSMM-MESH reguire exclusive use of the Pi or can it work alongside other apps?


Dick

W4RSS

IP Logged
 Subject :Re:HSMM-MESH on Raspberry PI.. 2014-11-17- 16:07:23 
WA3MEJ
Member
Joined: 2014-05-02- 13:39:03
Posts: 10
Location
 
John, G8BPQ are there any updates since this thread expired earlier this year? I have two Pi units that I have not used for anything (ordered from MCM) as yet I am not sure what operating system is on the cards as they came preloaded... but suspect it might be NOOB. I have downloaded the Raspian and am ready to install it.. unfortunately it has been a very long time since I have used any flavor of LINUX and so am out of touch.. SOOOOO it would be great if you had a HOW-TO_INSTALL short course for those of us that are LINUX challenged. John, It has been a long times since out last email (last time was on the BPQ Node software about 4 yrs ago) but I know from the old packet days that you are provider of GOOD information whenever you get involved. If you wish to do this directly my QRZ address is still good.. Thanks Jim WA3MEJ
IP Logged
 Subject :Re:HSMM-MESH on Raspberry PI.. 2014-11-17- 16:07:29 
WA3MEJ
Member
Joined: 2014-05-02- 13:39:03
Posts: 10
Location
 
John, G8BPQ are there any updates since this thread expired earlier this year? I have two Pi units that I have not used for anything (ordered from MCM) as yet I am not sure what operating system is on the cards as they came preloaded... but suspect it might be NOOB. I have downloaded the Raspian and am ready to install it.. unfortunately it has been a very long time since I have used any flavor of LINUX and so am out of touch.. SOOOOO it would be great if you had a HOW-TO_INSTALL short course for those of us that are LINUX challenged. John, It has been a long times since out last email (last time was on the BPQ Node software about 4 yrs ago) but I know from the old packet days that you are provider of GOOD information whenever you get involved. If you wish to do this directly my QRZ address is still good.. Thanks Jim WA3MEJ
IP Logged
Page # 


Powered by ccBoard


SPONSORED AD: