-
Notifications
You must be signed in to change notification settings - Fork 0
Connect to wifi
- News Operations
- Configuration
- Connecting to wifi
The CBNR has only a simple 4x3 keypad and a 2x16 LCD display. With this it's virtually impossible to connect to a new Access Point (AP) at a coffee bar, friend's wifi, or corporate wifi. Hence we need to "cheat", and we use an external virtual screen/keyboard on a mobile device to bring up the Raspberry Pi display, and then use the Network icon to connect us to the local AP.
The following shows the applications and operations used from an Android(*) platform.
- JuiceSSH
- VNC Viewer (from RealVNC)
-
Connect the Android box to the CBNR with a USB cable.
-
On the Android:
-
Set Tethering mode.
(Example: Settings > (Connections) Mobile hotspot and tethering > USB tethering: On) -
You only need this step after a reboot, or if you know vncserver is not running.
Start the android app: JuiceSSH.- Connect to the CBNR.
- Login.
- Start vncserver
- Look for:
New 'X' desktop is raspberrypi3:1
(Look for the ":1"; if other, substitute ":2" (etc.) for the vnc link). - Disconnect (Ctrl D). [Optional]
-
Start the android app: VNC Viewer.
-
Connect to: 192.168.42.42:1 (previously set up).
-
login with VNC password (previously set up)
-
Using the VNC screen (on the Android), use the Network icon (usually top right corner) to select the AP.
-
Use the VNC Viewer keyboard to enter the wifi AP password (if required).
-
Disconnect VNC Viewer (from the VNC Viewer panel).
-
Disconect the Android to CBNR USB cable.
(*) Instructions equally good on an iOS device (probably...)