urlgrey / hsmm-pi

A set of tools to easily configure the Raspberry Pi to function as a High-Speed Multimedia (HSMM) wireless node.
MIT License
370 stars 92 forks source link

Save Network Settings Button: "An Internal Error Has Occured" #132

Closed Kevin-Ehrichs closed 6 years ago

Kevin-Ehrichs commented 6 years ago

In order to get my setup running I have followed the below steps:

  1. Used the link in the Readme.md to get the latest Raspian image.

  2. Git clone this repo

  3. Changed the following packages in the Install.sh in order to get the install to work -php -php-mcrypt -php-sqlite3

  4. After install finished, I was able to load the webpage showing the Node status.

The issue: Whenever I try to change a setting and click the "Save Network Settings" button, I am always presented with a page that says "An internal Error has occurred."

Even though i get this message, the settings seem to still take effect.

For example, If I change the node name and "Save Network Settings", I get the error message, but when I refresh the status page, it shows that the node name has indeed changed.

I am not sure if this is a true issue, which may be leading to not being able to see neighboring nodes.

compuvin commented 6 years ago

Take a look at my pull request https://github.com/urlgrey/hsmm-pi/pull/131. There is one line of code in the Network Settings page which is causing an issue when saving (has to do with DHCP). I think what might be causing you problems is the update included on that same pull request for a file called rc.local.template that has a few fixes that effect routing.

Kevin-Ehrichs commented 6 years ago

I was just coming back here to comment and say that i found your pull request! This issue is fixed using your pull request. Thank you.

compuvin commented 6 years ago

Great! Glad I could help. :) I think you are going to find having a Pi mesh node useful.

On Tue, Feb 13, 2018 at 12:56 PM, Kevin-Ehrichsnotifications@github.com wrote:
I was just coming back here to comment and say that i found your pull request! This issue is fixed using your pull request. Thank you.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub, or mute the thread.

Kevin-Ehrichs commented 6 years ago

Oh wow, so I just made the Pull request #131 changes on my second node and i am now seeing a neighboring node.

Thank you for all of your help and work to make this work easily on stretch.

Kevin-Ehrichs commented 6 years ago

I have a few other questions that I dont want to clutter the issues page with. Is there any way I can contact you via email?

compuvin commented 6 years ago

Sure. I'm still learning myself but happy to help if I can. Replying in a separate comment with my email so I can remove it afterwards.

Kevin-Ehrichs commented 6 years ago

Thank you.