Skip to main content

Hyperwifi User Guide

Hyperwifi allows you to remotely connect to any available lab rig, using a USB Wifi adapter as an Access Point. The connection is a similar experience of connecting to the lab rig Wifi Access Point.

Requirement#

Install Hyperwifi#

Before we can use the Hyperwifi remote service, we need to install few things. Please refer to the Hyperwifi Install Guide.

Getting Wifi Adapter Info#

Vendor/Product IDs#

In order to use the Wifi USB adapter, we will need to get its vendor and product IDs. the hyperdrive magic cli has a tool to make this easier lsusb.

Plug the Wifi USB adpater to any USB port on your computer and run the following command:

magic lsusb
info

Most computers now days have a faster USB port, we would get faster Wifi connection if we plug the Wifi USB adapter to such port. Usually higher speed ports are colored blue.

The output on macOS might be too long, so we will need to scroll through the output and find the adapter info. It will looks something like this:

F5D8053 N Wireless USB Adapter:
Product ID: 0x012k
Vendor ID: 0x345a (Belkin Corporation)
Version: 1.01
Speed: Up to 480 Mb/s
Manufacturer: Belkin
Location ID: 0x14400000 / 1
Current Available (mA): 500
Current Required (mA): 450
Extra Operating Current (mA): 0

Specifically this:

Product ID: 0x012k
Vendor ID: 0x345a (Belkin Corporation)
  • Let us make note of these two ID values, as we will need them later.

Look for the word Wireless or the adapter brand, in this case it was made by Belkin. :::

Requesting magic key#

If you have not done so yet, Please refer to the service request guide.

Establishing a remote session#

  • Use your key to establish a remote session to the requested rig.
  • Remember the adapter Vendor/Product IDs, we made a not of, will make use of it now.
  • Open a new terminal window and type:
magic wifi --key <magic key> --usb <vendorId:productId>

For example:

Hyperwifi Example

note

Sub-commands order do not matter.

  • First time using Hyperwifi we will have to wait for it to download the Hyperwifi image from the internet.

Example of expected output after running the command:

starting hyperwifi using usb:
vendor id: 0x012k
product id: 0x345a
initializing hyperwifi server...
hyperclient requesting: magic key
magic key delivered
hyperclient requesting: system type
system -> wifi
hyperclient requesting: ssid name
ssid -> hyperwifi
standby for network status...
tunnal interface status: up
pax interface status: up
wifi adapter status: up
initialize sequence complete

For More Hyperwifi CLI Details#

Refer to the Hyperwifi CLI Docs