π»Wi-Fi Console Mode
Step 1 - Switch to Wi-Fi Console
Connect USB to serial cable to WLAN Pi. We will console into a Catalyst 9136 AP or Catalyst switch.
From front panel menu select Modes > Wi-Fi Console > Confirm
.
Step 2 - Join to the WLAN Pi wirelessly from your laptop
Select the WLAN Pi xxx
SSID, where xxx
represents the last 3 digits of the MAC address of the WLAN Pi's eth0 interface. You can find both the SSID and WPA2 passphrase under Utils > SSID/Passphrase
.
Alternatively, press the joystick center button to display the QR code, scan it with your phone and it will automatically connect.
Step 3 - Connect a USB serial/console cable
Plug the USB to serial console cable to the Console port of the AP or switch.
Step 4 - Navigate to Cockpit terminal
Navigate to the IP address or name of your WLAN Pi in your web browser. When the web UI loads, click TERMINAL
.
Verify that the USB to serial adapter has been correctly initialised by ls /dev/tty*
.
To troubleshoot, use dmesg
and look at bottom or use dmesg | grep tty*
.
Step 5 - Open a serial connection using screen
Let's connect to an AP Console: sudo screen /dev/ttyUSB0
To stop screen session, press CTRL+A
followed by K
key and Y
.
CTRL+D
to detach.
screen -x
to reattach.
Step 7 - Switch back to Classic Mode
From front panel menu select Modes > Classic > Confirm
.
Last updated