All Posts By

Will Martindale

Warp | Yocto Linux – Accessing the serial console

By | Tutorial | No Comments

We’ve put together various HOWTO videos that should help you get to the serial console on different OSes with different configurations, (Warp standalone or via the Interposer board). We’ve covered Linux, Mac and Windows.

You can find the bundle of videos over on our YouTube channel.  Otherwise, here are direct links for each:

Serial Console, standalone Warp on Linux

Serial Console, standalone Warp on MacOS

Serial Console on Warp via Interposer on MacOS

Serial Console on Warp via Interposer on Linux

Serial Console on Warp via Interposer on Windows

Warp | Yocto Linux – Connect to WiFi Network

By | Tutorial | No Comments

To get warp connected to the Internet quickly, the Yocto Linux release for warp conveniently has a shell script: /home/root/wifi_connect, which enables you to get connected to a nearby WiFi network.

You may have to set the execute bit on this file to be able to run it as some earlier releases of Yocto Linux for Warp did not have execute permissions on the file. You can run:

chmod 750 /home/root/wifi_connect

to ensure that this is set correctly.

The wifi_connect script takes two arguments as input.
Argument #1: WIFI-NET
Argument #2: PASSWORD

For example:

/home/root/wifi_connect Starbucks pass1234

If you’d like to watch a YouTube video on this topic, see here: Warp – Yocto Linux – Connect to a WiFi Network

If you do not see the wifi_connect script under /home/root of your Warp, you can make the wifi_connect script using vi and the command line to include the following contents:


#!/bin/sh
ip link set wlan0 up
iw dev wlan0 scan
mkdir -p /etc/wpa_supplicant/
wpa_passphrase $1 $2 >/etc/wpa_supplicant/file.conf
wpa_supplicant -B -iwlan0 -Dnl80211 -c/etc/wpa_supplicant/file.conf
iw dev wlan0 link
udhcpc -i wlan0