Haiti-Distributed-Healthcare-System / hdhs

Haiti Distributed Healthcare System
3 stars 0 forks source link

Pine Networking / Page Hosting #10

Closed meghanmc closed 4 years ago

meghanmc commented 4 years ago

Determine how to use the pine's local network to allow external devices to connect to an application running on a specified port.

Investigate options for creating a consistent address to access the application (i.e. will the users have to enter the IP address manually?)

I should be able to the device as a hotspot, and serve me the application at a constant route / domain / ip.

is nginx or apache complete overkill?

bmitchinson commented 4 years ago

https://forum.pine64.org/archive/index.php?thread-4383.html

bmitchinson commented 4 years ago

image

The pine wifi module is disabled in all new versions of linux due to security? wha.

What even is "linux 0.7.9"

https://wiki.pine64.org/index.php/ROCKPro64

image

bmitchinson commented 4 years ago

https://raspberrypi.stackexchange.com/questions/82758/eduroam-wpa-enterprise-no-wifi-when-using-wpa-supplicant-conf

https://forum.pine64.org/showthread.php?tid=4383

sudo iwlist wlan0 scan sudo ifup wlan0 sudo ifconfig eth0 down sudo wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf sudo nmcli connection up eduroam nmtui sudo service network-manager restart nmcli dev wifi hotspot ifname wlp4s0 ssid test password "test1234" journalctl -n 50 nm docs no nm guide mDNS

Raspap

raspap port raspap SSL

bmitchinson commented 4 years ago

https://forum.pine64.org/showthread.php?tid=982

https://forum.pine64.org/showthread.php?tid=7534

https://forum.pine64.org/showthread.php?tid=1578

bmitchinson commented 4 years ago

Since the Pine now hosts runs the npm start script within docker for create react app and is connected to eduroam, it now can be accessed from over eduroam wireless in react hot-reload mode.

21 contains some measurable items to make sure using the pine over a pi is worth it.

10 has more information about what's needed networking wise

8 has details about configuring the SSD to work.

abpwrs commented 4 years ago

Note from in-person convo w/ @bmitchinson : We don't want anyone to have to type in a static IP address of RockPro64 in order to download the app. We will need some global redirect or mini DNS resolver type of solution