Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell Edge Gateway 3003 Installation and Operation Manual

Ubuntu Network Manager

Network-Manager is a native Ubuntu Server connection manager. The application can be used to configure the Edge Gateway so that it is automatically-detected and connected to the network. The application can be used to configure multiple network devices.
A command-line utility nmcli is included with Network-Manager to support non-graphical user interface configurations.
NOTE: For more information about Network-Manager, see wiki.archlinux.org/index.php/NetworkManager.

Connecting through WWAN

NOTE: For more information on configuring and connecting through WWAN, see docs.ubuntu.com/core/en/stacks/network/network-manager/docs/configure-cellular-connections.
  1. Check if a modem is present and identify the modem index number.
    # sudo mmcli –L
  2. Check the modem status and identify the primary port.
    # sudo mmcli -m<0>
    NOTE: <0> refers to the modem index number. Replace <0> with the modem index number after running the command at step 1.
  3. Create a profile with the given primary port, for example, MBIM.
    # sudo nmcli c add con-name test type gsm ifname cdc-wdm0 apn internet
  4. Check the WWAN status.
    # nmcli r wwan
  5. Turn on WWAN.
    # sudo nmcli r wwan on
  6. Find wwan0 in the interface list.
    # ifconfig -a
  7. Enable the connection profile.
    # sudo nmcli c up test
  8. Check the Network Manager status.
    $ nmcli d
  9. Disable the connection profile.
    # sudo nmcli c down test
  10. Check the Network Manager status.
    $ nmcli d

Enable debug mode for verbose logging

  1. Adjust the systemd service.
    # vi lib/systemd/system/ModemManager.service
  2. Replace the line with the following:
    ExecStart=/usr/sbin/ModemManager --debug --log-level=DEBUG
  3. Re-initiate the service.
    # systemctl daemon-reload

Connecting through WLAN

  1. Show a list of network interfaces like eth0, eth1, wlan0, mlan0, and so on.
    # nmcli d
  2. Show a list of available wireless access points.
    # nmcli d wifi
  3. Wireless connection with nmcli: Run the following commands and replace $SSID, $PSK, and $WIFI_INTERFACE with the variables for your environment.
    • Connect:
      # sudo network-manager.nmcli dev wifi connect $SSID password $PSK ifname $WIFI_INTERFACE
    • Disconnect:
      # sudo network-manager.nmcli dev disconnect $WIFI_INTERFACE

Connecting through SoftAP (wifi-ap.snap)

Enabling the Software-enabled Access Point (SoftAP) can improve connectivity to wireless-access points by increasing available entropy and reducing the number of connection retries to clients.
NOTE: For more information on SoftAP, see docs.ubuntu.com/core/en/stacks/network/wifi-ap/docs/index.
  1. Install haveged.
    # sudo apt install haveged
  2. Disable wpa_supplicant.
    # sudo systemctl stop wpa_supplicant.service
    # sudo systemctl mask wpa_supplicant.service
  3. Detach from network manager.
    # sudo nmcli d set wlan0 managed no
  4. Install wifi-ap snap.
    # snap install wifi-ap
  5. Configure settings.
    # sudo wifi-ap.setup-wizard
  6. Check the status.
    # sudo wifi-ap.status
    ap.active: true

Connecting through SoftAP (hostapd)

Enabling the Software-enabled Access Point (SoftAP) can improve connectivity to wireless-access points by increasing available entropy and reducing the number of connection retries to clients.
NOTE: For more information on SoftAP, see docs.ubuntu.com/core/en/stacks/network/wifi-ap/docs/index.
  1. Install haveged.
    # sudo apt install haveged
  2. Create your own /etc/hostapd/hostapd.conf. For example:
    auth_algs=1
    beacon_int=50
    channel=3
    country_code=ES
    disassoc_low_ack=1
    driver=nl80211
    hw_mode=g
    ht_capab=
    ieee80211d=1
    ieee80211n=1
    interface=wlan0
    require_ht=0
    rsn_pairwise=CCMP
    ssid=TEST
    wmm_enabled=1
    wpa=2
    wpa_key_mgmt=WPA-PSK
    wpa_passphrase=00000000
  3. Disable wpa_supplicant.
    # sudo systemctl stop wpa_supplicant.service
    # sudo systemctl mask wpa_supplicant.service
  4. Detach from network manager.
    # sudo nmcli d set wlan0 managed no
  5. Use hostapd to create an access point.
    # hostapd /etc/hostapd/hostapd.conf

Connecting through Bluetooth

This feature allows the system to connect to Bluetooth devices such as a Bluetooth keyboard.
  1. Run the command to start bluetoothctl console.
    #bluetoothctl

    The bluetoothctl console opens.

  2. Run the following command to power on the Bluetooth device.
    # power on
  3. Register the agent for the keyboard:
    # agent KeyboardOnly
    # default-agent
  4. Run the following command to put the Bluetooth controller in pairable mode.
    # pairable on
  5. Run the following command to scan for nearby Bluetooth devices.
    # scan on
  6. Run the following command to stop scanning after the Bluetooth keyboard is found.
    # scan off
  7. Run the following command to pair the Bluetooth keyboard.
    # pair <MAC address of Bluetooth keyboard>
  8. Enter the PIN code on the Bluetooth keyboard, if needed.
  9. Run the following command to trust the Bluetooth keyboard.
    # trust <MAC address of Bluetooth keyboard>
  10. Run the following command to connect to the Bluetooth keyboard.
    # connect <MAC address of Bluetooth keyboard>
  11. Run the following command to quit the bluetoothctl console.
    # quit

Switching between WLAN and Bluetooth modes

  1. Adjust the mode from default 13 to 14 in /etc/modprobe.d/rs9113.conf.
    # options rsi_sdio dev_oper_mode=14
  2. Verify the operation mode.
    # cat /sys/module/rsi_sdio/parameters/dev_oper_mode
Table 1. Operating-mode values for WLAN and BluetoothProvides the operating-mode values for WLAN and Bluetooth.
Operating mode value STAAP BT EDR BLE Clients supported
1 X
1 X 32
4 X
5 X X
6 X X 32
8 X
9XX
13XXX
14XXX4

Bluetooth Serial Port Profile (SPP)

Assumptions for MAC addresses of each BT adapter:
  • BT MAC(MYCLIENT): XX:XX:XX:XX:XX:XX
  • BT MAC(MYSERVER): YY:YY:YY:YY:YY:YY
  1. Pre-requirements.
    # sudo apt-get install bluez bluez-tools
  2. Prepare to pair MYSERVER and MYCLIENT.
    # sudo bluetoothctl
    [bluetoothctl]# power on 
    [bluetooth]# discoverable on 
    [bluetooth]# scan on 
    [NEW] Device XX:XX:XX:XX:XX:XX MYCLIENT 
    [bluetooth]# scan off
  3. Pair with each other.
    [bluetooth]# agent on 
    [bluetooth]# default-agent 
    [bluetooth]# pairable on 
    [bluetooth]# pair XX:XX:XX:XX:XX:XX <MAC Address of Device to Pair> 
    [bluetooth]# connect XX:XX:XX:XX:XX:XX [CHG] Device XX:XX:XX:XX:XX:XX Connected: yes 
    [bluetooth]# exit
    As of Bluetooth v2.1, SPP offers three methods of pairing devices, which are applicable on the Edge Gateway:
    • Just Works
    • Numeric Comparison
    • Passkey Entry
    NOTE: For more information about Bluetooth pairing, see blog.bluetooth.com/bluetooth-pairing-part-4.
  4. Configure SPP.

    Server Device

    # bluez.sdptool add --channel=22 SP 
    # ./rfcomm -r listen /dev/rfcomm0 22 
    Waiting for connection on channel 22 
    Connection from XX:XX:XX:XX:XX:XX to /dev/rfcomm0 <These lines will be seen when client comes> 
    Press CTRL-C for hangup
    Then, create a new instance of terminal to screen the data over bluetooth serial.
    $ cat /dev/rfcomm0
    Client Device
    # bluez.sdptool add --channel=22 SP 
    # ./rfcomm -r connect /dev/rfcomm0 YY:YY:YY:YY:YY:YY 22
    Then, create a new instance of terminal to send data, for example, a new instance of ssh.
    # echo "test" > /dev/rfcomm0
    NOTE: rfcomm is not available in this command. If required, you can copy the binary to the Edge Gateway from an AMD64-based system running Ubuntu 16.04 or above.


Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\