Skip to main content

wifi

-h, --help#

To show help and all available options run:

magic wifi --help

Output example:

~ ❯ magic wifi --help
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.
Usage examples:
magic wifi --key <magic key> --usb <vendorId:productId>
magic wifi --key <magic key> --usb <vendorId:productId> --ssid <name>
Usage:
magic wifi [flags]
Flags:
-h, --help help for wifi
-k, --key string Magic key (Required)
-s, --ssid string SSID name (default "hyperwifi")
-u, --usb string USB device vendorid:productid (Required)
-v, --vlan string Wifi network (default "11")
Global Flags:
--config string config file (default is $HOME/.magic.yaml)

-k, --key#

This is your magic key, to request a key refer to the service request guide

Usage example:

magic wifi --usb <vendor:product> --key <magic key>
info

key is a required input.

-s, --ssid#

With this option you can change the name of the broadcasted Wifi SSID.

Example:

magic wifi --ssid <my-cool-ssid> --usb <vendor:product> --key <magic key>
note

If you do not set your own SSID, the default is hyperwifi

-u, --usb#

Your USB Wifi adapter vendor and product IDs.

Example:

magic wifi --usb <vendor:product> --key <magic key>
info

usb is a required input.

Important

The order of vendor and product including the : must always be like this vendor:product.

-v, --vlan#

This option allows you to select which SSID network to broadcast.

Example:

magic wifi --usb <vendor:product> --key <magic key> --vlan <vlan ID>
note

The default network SSID is the public passengers network.

--config#

Point to a config file other than the default one. For more info refer to Config file User Guide

Example:

magic wifi --config <file name> --key <magic key>