-
Notifications
You must be signed in to change notification settings - Fork 1
Provide setup and configuration details #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
File contains the cli setup commands apparently needed for successful operation with current Raspbian image.
Hi Ron, thanks. Your installation documentation log looks as professsional my server installation documentation looks like. Let me have a more brief look untill the end of the week. Does anything work with that setup? In the original code are some more bugs i haven't uploaded to Git anymore. The next problem could be, that the PHP Code was made for PHP 5 and the Shell Commands for Squeeze and Wheezy Kernel. eg. ifconfig won't work anymore with new OS. That has to be checked and if necessary ported if you want to use it with current OS. Christian |
Hi Christian, |
Hi Ron, sudo nano /etc/lighttpd/conf-enabled/10-simple-vhost.conf #simple-vhost.default-host = "www.example.com" #NetPi sudo nano /etc/lighttpd/lighttpd.conf Changed all paths in NetPi files to NetPi/... All logs I moved to NetPi/www/log. Making no sense in /var/log/netpi and /opt/netpi because some shell scripts creates special logs like cdp and they are read by php file for browser output. Some wrong code are in PHP files like fclose, because the original author just copied examples without changing them with correct typo for attributes he used. So turn on warning and notification output in php for debugging. Many shell scripts in netpi needs root access. For not changing too much in scripts and creating users with correct privileges I added pi to sudo and made it easy to handle the NetPi Testing device with autologin. I added pi to autologin group and changed lightdm config. You should also have in mind that with Debian9 naming of ethernet interfaces changed. Cause of that it would be a good idea making scripts and NetPi interface independant. I would suggest a dropdownlist with ethernet interfaces, created from ip -a output before entering the main window. For the project, testing 1200 network outlets with linkstate, vlan, ip, ... I wanted to use NetPi one and a half year ago but I ended up with my own shell script on a Pi3 with touchscreen. For that special purpose NetPi wasn't so useable, but I think it's still a cool project and if you want to port it to Debian9 PHP7 I think that would be great. If you have further questions don't hesitate. Christian |
Thank you very much Christian; for your valuable feedback. |
Improve the NetPi system setup and configuration
Thanks to your feedback, I have reworked the setup and configuration, reflected in 'netup_stup.txt'
|
Please review 'netpi_setup.txt' and provide feedback.
There was insufficient setup and configuration information for me to readily get this code set working;
at lease so on the Raspbian Stretch OS image on a RPi-2.
I suspect, that the original project creator (as well as sgsax and chrisli-m) naturally made modifications to their systems without directly associating them to any one project; yet the project is dependant on them.
This is understandable. What was in sgsax's Wiki was of help. Thank you for that.
I don't expect you to directly except this pull-request.
Not having a better understanding of the under lying operational design;
some of the steps in 'netpi_setup.txt' may overly complicate things or be less than optimum.
I have further changes on my implementation, in the areas of DISPLAY access, logging (as reflected in my setup) and diagnostics.
I'll wait on those till setup and configuration are more certain.
I think the likes of what's in 'netpi_setup.txt' should be integrated into the project Wiki.
I would like 'BlameTheNetwork' and 'sgsax' to review this as well, but don't know how to arrange that.