Connecting an Edge Node uplink interface through Wi-Fi

The following sections explain how to connect an Edge Node (formerly Edge iNode) through Wi-Fi and switch back to Ethernet. For instructions on using SSH to connect to an Edge Node, see Access an Edge Node console.

This capability is supported only on Dell Edge Gateway 5000.

Check whether your device supports Wi-Fi

To check whether your node supports Wi-Fi, use the show interface command:

> show interface

If Wi-Fi is supported, you should see an interface with type wlan:

To connect to an Edge Node uplink interface through Wi-Fi:

  1. Use SSH to connect to the node.
  2. If you already know the Wi-Fi network you want to connect to, you can skip this step. Otherwise, to scan for available Wi-Fi networks in range, use the show interface wlan --verbose command:
    Shell
    > show interface wlan --verbose
  3. Use the set wlan command to enter the set wlancommand prompt:
    Shell
    > set wlan
    (set wlan) >
  4. Use the network-add command to add a Wi-Fi network with SSID, key management protocol (currently only WPA-PSK and NONE are supported), and the pre-shared key, as follows:
    Shell
    network-add --ssid <SSID> --keymgmt <KEY-PROTO> --psk <PASS-PHRASE>
    For example:
    Shell
    (set wlan) > network-add --ssid IOTIUM --keymgmt WPA-PSK --psk foobar123
  5. Use the save command to save the configuration:
    Shell
    (set wlan) > save
  6. Use the show command to confirm that the added network is displayed in the preconfigured networks list:
    Shell
    (set wlan) > show
    Following is an example:
  7. To connect to one of the networks in the preconfigured list, use the network-connect command followed by the save command:
    Shell
    (set wlan) network-connect --ssid IOTIUM
    (set wlan) > save
  8. You can use the show command to verify that the Wi-Fi network is connected
    Shell
    (set wlan) show
    Following is an example:
  9. Exit the set wlan prompt using exit command and use show interface wlan --verbose command to confirm that uplink is connected through Wi-Fi:
The selection of the Ethernet or Wi-Fi uplink interface happens only during boot-up. If both Ethernet and Wi-Fi are connected, then whichever interface comes up first during boot-up is selected automatically as the uplink interface. If you need Wi-Fi to be the uplink interface, make sure that the Ethernet cable is disconnected before boot-up.

To switch the Edge Node's uplink interface from Wi-Fi to Ethernet:

  1. Use SSH to connect to the node.
  2. Use the unset wlan command to enter the unset wlan command prompt:
    Shell
    > unset wlan
    (unset wlan) >
  3. Use the show command to see the Wi-Fi network to which the node is connected:
    Shell
    (unset wlan) > show
    Following is an example:
  4. To disconnect Wi-Fi, use the network-disconnect command followed by the save command:
    Shell
    (set wlan) network-disconnect
    (set wlan) > save
  5. Use the show command to confirm that the Wi-Fi network is disconnected:
    Shell
    (unset wlan) > show
    Following is an example:

Remove a preconfigured Wi-Fi network

  1. Use SSH to connect to the node.
  2. Use the unset wlan command to enter the unset wlancommand prompt:
    Shell
    > unset wlan
    (unset wlan) >
  3. Use the show command to see the list of pre-configured Wi-Fi networks:
    Shell
    (unset wlan) > show
    Following is an example:

  4. To remove Wi-Fi network configuration, use the network-remove -ssid  command followed by the save command:
    Shell
    (set wlan) network-remove --ssid IOTIUM
    (set wlan) > save
  5. Use the show command to confirm that the Wi-Fi network configuration is removed:
    Shell
    (unset wlan) > show
    Following is an example: