Setup and Connections
From Ubicom Developer
Connections
Numericals in the picture are explained below
- 1 - Ubicom RGW reference board
- 2 - Ubicom dongle, used for loading firmware, debugging and console.
- 3 - UART connection from board to PC, used for console.
- 4 - Connection from board to hub/switch. LAN interface IP address of default RGW image is 192.168.0.1
- 5 - Connection from dongle to hub/switch. Dongle IP address of interface can be found using the Ubicom Device Manager.
- 6 - Connection PC Ethernet interface. Please make sure IP address of the interface is in same subnet (For eg, 192.168.0.20).
- 7 - Hub/switch
Ubicom Device Manager
Ubicom Device Manger (udm) tool helps in Locating Ubicom devices on the local network. You could use this tool to retrieve the IP addresses of dongle. The program udm4linux can be found in sdk/tools/bin/linux directory. Later in this guide the setup scripts will add the path ultra/tools/bin/linux to your PATH environment variable. As soon as this is done you should be able to execute udm4linux directly from the command line without having to specify its path. Below is an example of the the output of udm4linux:
-bash-3.2$ udm4linux No argument passed, setting Scanning mode Ubicom Device Scanning . . . Type : Ubicom Ubipod dongle. Name : Dingle Dongle HWAddr : 00:03:64:00:22:02 UseDHCP : 1 IP : 10.1.10.132 Type : Ubicom Ubipod dongle. Name : Progamming Dongle HWAddr : 00:03:64:00:05:00 UseDHCP : 1 IP : 10.1.10.122 Type : Ubicom Ubipod dongle. Name : Wang Dang Dongle HWAddr : 00:03:64:ff:05:04 UseDHCP : 1 IP : 10.1.10.123 Type : Ubicom Gateway Name : HW WiFi HWAddr : 00:1c:f0:f2:01:f4 UseDHCP : 0 IP : 10.1.10.28 Netmask : 255.255.255.0 Gateway : 0.0.0.0
For available command such as changing the ip address of a udm enabled device the command line options --help can be used.
Ubicom Dongle
The Ubicom dongle is the equivalent to a JTEC dongle with regards to programming. Scripts in the Ubicom Linux SDK use an environment variable UBICOM_DONGLE to communicate with the donlgle. It is very important to set this environment variable. Below is how to set the UBICOM_DONGLE environment variable.
export UBICOM_DONGLE=<your.dongle.ip.addr>:5010For example, this could be:
export UBICOM_DONGLE=192.168.0.222:5010
Some Linux distributions use a different way than export to set environment variables. Please refer to your distributions documentation on how to set environment variables.


