Code Monkey home page Code Monkey logo

hsmm-pi's People

Contributors

argilo avatar mathisono avatar tekstrand avatar tylert avatar urlgrey avatar virtualdxs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hsmm-pi's Issues

After booting with wifi adapter removed, no longer broadcasts SSID

Booted up the pi with no adapter connected. Restarted it with adapter in it, but the network does not come up now.

pi@K0RET-1 ~ $ iwconfig
wlan0 IEEE 802.11bgn ESSID:"HSMM-MESH"
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:on

I've had this happen multiple times; every time my solution has been to re-image the SD and then reinstall hsmm-pi. How can I troubleshoot this to see what part of the chain is breaking down?

Creating services generates network connection loss

My Raspberry is already on the net for days. I create a service to access an http page on a PC inside the local network. After the restart any node in the network is detected.
To fix the raspberry again and let it see the network I had to do:

cd ~/hsmm-pi/
sudo cp src/var/data/hsmm-pi/hsmm-pi.sqlite /var/data/hsmm-pi/

and redo the GUI setup.

73 de Leo IZ5FSA

[Question] Amateur Radio License

In your videos on YouTube of you using your hsmm-pi on your Raspberry Pi's. Did younneed a amateur radio license to use those antennas?

Also, can hsmm, be used for recreational activities such as hosting say now, a game server, or is it only and strictly used for emergency services.

P.S I say in the README that users can use hsmm without a license if they don't use the requisites that HAM's use if I am correct, so basically the Wifi-related consumer frequencies.

Show Mesh Links & Neigbors on Status Page

The Status page currently shows only the mesh links, which is mislabeled as being the neighbors. Mesh links represent the full set of known nodes, including those multiple hops away. On the other hand, mesh neighbors are those nodes that can be reached directly. Add an icon to a mesh link to indicate that it's a neighboring node.

Broadband Hamnet version 3

Broadband Hamnet version 3 was released for all hardware, but it's not compatible with v2 or v1. Would it be possible to get HSMM-Pi to work with BBHN3?

WEB interface not working after a clean install

Hi I know this has probably come up before but here it is again.

This is my first time install of hsmm-pi and everything seems to have gone well.

The Apache server seems to be working....I verified by putting a simple html page in the docroot. same location as the index.php script.

Problem seems to be a missing reference to some cake file.....sorry I am not very familiar with PHP and web servers. But I am comfortable in Linux.

I get the following error in the apache2 error.log.....

[Tue Feb 23 19:03:07.064895 2016] [:error] [pid 643] [client 192.168.1.118:51821] PHP Warning: include(Cake/bootstrap.php): failed to open stream: No such file or directory in /home/pi/hsmm-pi/src/var/www/hsmm-pi/webroot/index.php on line 92
[Tue Feb 23 19:03:07.072973 2016] [:error] [pid 643] [client 192.168.1.118:51821] PHP Warning: include(): Failed opening 'Cake/bootstrap.php' for inclusion (include_path='/home/pi/hsmm-pi/src/var/www/lib:.:/usr/share/php:/usr/share/pear') in /home/pi/hsmm-pi/src/var/www/hsmm-pi/webroot/index.php on line 92
[Tue Feb 23 19:03:07.073581 2016] [:error] [pid 643] [client 192.168.1.118:51821] PHP Fatal error: CakePHP core could not be found. Check the value of CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to the directory containing your /cake core directory and your /vendors root directory. in /home/pi/hsmm-pi/src/var/www/hsmm-pi/webroot/index.php on line 101

Any suggestions would be appreciated.
Bob

Adding Service

Is there a tutorial or Help page showing how and what to put in the Services Adding page to make it work?
I tried to add a Service. It shows up on the HSMM-Pi node, but not on the Linksys nodes in the network.
How do I redirect it to port 80 and a path other than /var/www ?
It only gives me a choice of TCP or UDP. What if I want 'http' ? Is this the same as one of those choices?
Gary

[Help] When rebooting.

After installing HSMM-Pi on Raspbian on my RapsberryPi's, I then reboot, I loose all connectivity to my Pi. No web interface, or SSH. Not even ping.

Version display on the web GUI.

It would be a quick useful reference if the version i.e. V0.3.0 is displayed somewhere on the status page. Especially if you have a few devices around and need to keep track of the versions.

Dup IP's when when attatching usb0

So Im trying to get my Wimax puck setup... Im not shure about thats happing here? Im getting the addresses that the Wimax puck assigns to the Rpi, on the Eth0 address. I will then assign the USB0 & Eth0 to a bond0.

How am I going to configure bond0 in the Web interface, if its going to overwrite my Config file???

-Dose any one have any experience configuring a Rpi in this manner?
-How do I take replace eth0 with bond0 with out destroying nodes confiuration?

WARNING WARNING WARNING WARNING

This file is managed by HSMM-Pi.

Manual changes to this file WILL BE OVERWRITTEN

auto lo
iface lo inet loopback

iface eth0 inet dhcp

auto wlan0
iface wlan0 inet static
address 10.204.82.30
netmask 255.0.0.0
wireless-mode ad-hoc
wireless-channel 1
wireless-essid HSMM-MESH

iface default inet dhcp

allow-hotplug usb0
iface usb0 inet dhcp

73 Mathison

Multiple Radio Support

Scott:

The Pi has the horsepower to support multiple radios (with a high current USB hub).

My thought is it would be useful to be able to set up individual radios with completely different profiles. I can think of 3 immediately I wish I could do.

  1. Mesh (of course)
  2. Access Point
  3. Client

Imagine a Pi with 3 radios in it. One on an HSMM mesh, one providing AP to those nearby, and a client radio providing WAN off a public access point. Add in a simplified GRE configuration, and it would be a snap to pop up an adhoc mesh node that connects back through Starbucks to a larger but RF unreachable mesh.

Pis could support routing between different frequency bands such as 13, 9 and 5 cm. One Pi, multiple radios.

73;
Bob KV4PC
kv4pc at qsl dot net

Alfa AWUS036H compatibility with 0.4.0

The Alfa AWUS036H wifi adapter was working with HSMM-Pi that I cloned back in July, and was able to work with Linksys and Ubiquiti nodes. I recenly did a fresh install after upgrading Linksys and Ubiquiti nodes to BBHN v3. The new install works fine with a wifi adapter from Adafruit, but the Alfa unit now doesn't work. It seems to have trouble setting to Ad Hoc mode. When I try to reset the wlan0 interface, I get a message "Device or Resource busy."

I tried going back to HSMM-Pi v0.3.0
-the Alfa adapter works, sees and is seen by the other nodes, but
-can't actually communicate (services on other nodes don't work, RasPi node services don't work on other nodes)

I tried installing with tags/v0.4.0
-initially the Alfa would not function
-after adding "auto eth0" to /etc/network/interfaces and restarting the networking service, the Alfa adapter works (sees/is seen by other nodes)
-after a reboot, however, the Alfa adapter again fails. If I take out "auto eth0", restart networking, the add "auto eth0" back, and again restart the networking service, it works.
- I haven't had time yet to determine if mesh services work between nodes with the v0.4.0 node working.

Any thoughts?

[Bug] Setting of WiFi channel

Once the WiFi channel is set, it does not seem to actually get saved, as once I did a WiFi scan, the BSSID was pciked up running on channel 1 while I had set it to channel 9 and saved the configurations.

Specify the version of CakePHP installed with Pear

The installation script uses Pear to install the CakePHP libraries required by the HSMM-Pi web application. However, the installation script does not indicate which version of CakePHP to install. It's currently installing 2.4.1, but it's conceivable that at some point in the future the default version installed by Pear could be incompatible with HSMM-Pi.

Specify the version of CakePHP in the Pear command like:
sudo pear install cakephp/CakePHP-2.4.1

git clone routine not able to find bbhn packages

When installing through the install.sh routine an error occurs when it attempts to run "git clone git://ubnt.hsmm-mesh.org/bbhn_packages". The error is a failure to connect to the url... I checked, it no longer exists. It doesn't appear that they use any of the same directory structures at broadband-hamnet.org anymore. Any suggestions?
John, KY8T

network config

Im having issues with the code overriding " /etc/network/interfaces"

-when in Lan mode there is no parameter for a gateway. So i added one in the interfaces file and it works!!! Then make a change in the web browser and the web interface writes over the change ;-( .

  • Im trying to set up SmartGW on the nodes. Is that what your calling Gateway Node?
    I just don't have the same level of control over the OLSR config file as in the open wrt interface.

-I switched over to WAN mode and now the node isnt meshing any more...

Mesh node vpn configuration in gui

See if you can come up with a simple method of connecting remote nodes that are unable temporarily to connect via wifi. This will solve some problems, as well as keep people interested that are hard to reach initially.

Web interface access

Hi all
new to this, followed the instructions to get hsmm on a raspberry pi but after finished I have not access to the web interface. Say I am not aloud to have access on index.php. I tried a few things permissions wise but does not seem to help. Suggestions anyone?

Thanks Manos SV1IW

Stupid question time

mesh node-3
Hi Scott,
I have installed hsmm-pi on three P-pi2's. They can all see each other on the network list. I have a couple of stupid questions.
How do I manage the nodes via the network. Do I have to connect to each on via the Ethernet port and then connect to the wen interface or can I connect to one node then remotely administer the others?
The second question is how the services work.
What I am trying to set up is a network that can ne set up in an emergency response centre. There will be some nodes configured as specialist providers such as an internet gateway and the router will provide the firewall, another a viop server. Some will be simple repeaters to filling the dark spaces in a building. The others will be the interface between the lan and the mesh.
I want to be able that a pc on say node 2 can ping and see the c$ chare on a pc on node 3 and so on. The plan was that the node2 would have the ip 172.27.2.10 and would give out a dhcp scope 11-19. Node 3 and ip of 172.27.2.20 and have a dhcp soap of 21 - 29 do you get the idea. When I do this I can’t ping.
I assume I am doing something stupendously stupid and fully accept the title of N00B. On the surface this build id simple to build onto the R-pi. The headwear is the right cost. you’re not tied to specific hardware. in the UK Linksys WRG54's are hard to come by and the ubiquity kit even harder.
Help, Please? There is a group of UK Hams wanting to use your software and were all as stuck as each other.

Installation on Ubuntu 14.04

There is a problem in the installation (at least on Beaglebone black with ubuntu 14.04) with CakePHP

Starting to download CakePHP-2.5.2.tgz (792,150 bytes)
.............................................................................................................................................................done: 792,150 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/CakePHP-2.5.2.tgz"
Download of "cakephp/CakePHP" succeeded, but it is not a valid package archive
Error: cannot download "cakephp/CakePHP"
Download failed
install failed


A solution to get it working is to use -Z argument in pear install
sudo pear install -Z cakephp/CakePHP-2.4.10

It will use non compressed package and it works!

host name of nodes does not show up only ip address

The DNS records are not showing the nodes only the ip address's show up on the status page. I did see that there were errors in the var/log/daemon.log showing an error. I will post the error in the next few hours. A reboot will nto fix the issue. I am running the latest Raspian 2014-01-07-wheezy-raspbian I am also running hsmm 1.0 on a linksys router for one of the nodes the others on on VPN. This happens both with or with out VPN software installed.

Problems installing on Raspbian-Jessie

After install, localhost:8080 returns the Apache verification page. After editing /etc/apache/ports.conf to point the 8080 virtual host to /var/www, it returns a page with several of the hsmm-pi menu items, but with no css formatting. Clicking on any of the menu items on that page (status, login, etc) results in a 404 error.

Needs to display error when WLAN fails to start or crashes

As is, when you use a wireless dongle that fails due to not having enough current (AKA unpredictable behavior due to voltage drop), there is no indication of the error in the web browser. This could be fixed by checking to see if the selected WLAN still exists, and if not, displaying an error on each page.

Status not showing all Linksys routers in network

I have 3 Linksys routers in my home network. One is downstairs and the other 2 are in the same room as the HSMM-Pi node. The HSMM-Pi only shows the 2 in the same room on its Status page.
Does HSMM-Pi only show the nodes it is actually connected to or all the nodes in the network?
One of the Linksys nodes is a tunnel. On the other Linksys nodes I can see the Remote nodes on the other side of the tunnel. On the HSMM-Pi Status page it only shows the tunnel.
So maybe that is two questions, but they are related.
Gary

Mesh network not being recognized on node

I created 2 nodes on 2 identical PI's, one in gateway mode and the other in internal mode.

When I look at available wifi networks I see the opposite node being advertised at 100% quality.

The OLSRD is running but the status page shows there are no mesh networks that are in range.

I run the daemon from the command line with various settings of debug, but I don't get a clue as to what is wrong.

Anyone have any ideas?

Thanks
Bob
Va3rjs

hsmm-pi see's nodes, but isn't being seen by other nodes.

I've got a pair of wrt54 V1 nodes running and working fine. I just did a fresh install of raspian and hsmm-pi on my Rpi and tried to add it to the mesh - I'm getting an interesting symptom.

Neither of the two wrt54 nodes show the hsmm-pi node in their mesh status or olsrd stats pages. But the hsmm-pi node is displaying the two wrt54 nodes in both. Only by IP address, however, and no services are being presented. DNS services don't seem to be working.

The hsmm-pi is running in gateway mode. Do these symptoms suggest anything?

Thanks!

Documentation for Upgrade Process

Thanks for your efforts getting HSMM/BBHN working on the Raspberry Pi. I have one node configured and hope to add more soon.

The one thing I haven't run across is the upgrade process for hsmm-pi. I suppose since (generally speaking) node configuration is pretty trivial, rewriting the SD card and installing from scratch is reasonable -- but do you have any documentation/suggestions for an in-place upgrade?

Thanks again.

shh via host name doesn't work.

After installing the project and rebooting, the RPi will still be able to be connected to via the hostname.

After setting up the RPi as a mesh node, it is no longer able to be accessed using the host name, but the ip address will work.

Is there a way to continue using the host name for ssh?

Idea: Using the I/O for status

It would be great to have the node status on a I/O pin to light up a led or something like that... It would be better to have this configurable...
Connected to the mesh status
A specific address available (ping?)

RaspberryPi have i/o, why not using it?

Eric VA2EC

olsr_secure plug_in

I did get the HSSM-Pi & the this NW-mesh bulletM2 builds to talk, (NOT with the olsr_secure plug in enabled) There is a some sort of problem inputting the key thru the php config. I found olsrd.key and manually input, the key. The system doesn't acknowledge the key in the php site.

Booting issues

Okay I am noticing some weird booting issues.

Some times when I power the device things don't work... Its difficult for me to qualify that statement as I am not sure whats going on so I will post what I know. I will be happy to help track down the bug in any way that I can.

In an unpredictable way the pi does not want to boot. It gets stuck in a loop of "Restarting wlan0". I am unable to loginto the device as the boot process has not finished. The starting of the card prevents the rPi from fully booting.

To be honest I am not sure if its a hsmmpi issue or a os issue. I do know that I have been using this card with this rPi for a bit and have not seen this appear until I loaded hsmm-pi

Installation of HSMM-Pi

Apparently git is not included on the Raspbian Wheezy build. In order to follow the directions given, one should run "sudo apt-get install git"

Another point, the browser included with Raspbian, "Dillo" does not work well with the web interface. I discovered that Internet Explorer 8 on Windows XP does not play well either. An easy fix is to use Firefox.

Otherwise, it works well on an older 256Mb Raspberry Pi.

Thank you for putting this all together. a fun day today.

Marc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.