MakerBay / Coral_Reef_Mapping_Drone

A sailing robot to map coral reefs
https://makerbay.github.io/Coral_Reef_Mapping_Drone/
10 stars 4 forks source link

RPI Allow Remote Access Without Wifi #55

Closed mike6649 closed 4 years ago

mike6649 commented 4 years ago

SSH is enabled on the RPI, so the camera and navigational functions can be directly controlled via another laptop. But Only as long as there is Wifi.

In the open seas, operator should be able to connect to it remotely without the presence of wifi.

mike6649 commented 4 years ago

Using RPI as a wireless access point Follow above guide, but skip Step 8 (Enable Internet Connection).

Acceptance Criteria:

  1. From a laptop, it is possible to find and join the wifi hotspot created by the RPI.
  2. The laptop can then remote access the RPI via this command: ssh pi@192.168.0.10
mike6649 commented 4 years ago

Completed, reverted configuration as the RPI would be unable to connect to internet with WLAN, only with ethernet.

TODO: a script to switch configurations between normal mode and hotspot mode

mike6649 commented 4 years ago

Done Run ~/rpi-menu/ap_mode.sh to enable the access point. RPI will act as a gateway. The wifi name is called makerbay_RPI4, Default password “raspberry”. The IP address of the RPI is 192.168.0.10.

Run ~/rpi-menu/normal_mode.sh to disable the access point and allow normal internet access from RPI. The RPI will attempt to connect to MakerBay_2.4GHz wifi. The IP is 192.168.1.144.