Networking¶
Related Topics
Static - How to configure a static IP¶
Warning
The Static IP must be accompanied by the Network Type and have the format IPv4/CIDR. For example,
10.18.100.5/24
Not sure how to configure this? Talk to your system administrator or use “24”
The gateway IP must also be provided. The network mask and broadcast mask are calculated automatically by ipcalc.
DCHP - How to discover the IP¶
OPTION A
- Connect the Sixaola to the network with an Ethernet cable.
- Connect power to the Sixaola.
- Give the Sixaola a few minutes to boot up.
- Connect to the Sixaola with Blue Term and use the ifconfig command.
- You can now copy the IP returned by ifconfig for eth0 to your browser and connect to your Sixaola.
OPTION B
- Connect the Sixaola to the network with an Ethernet cable.
- Connect power to the Sixaola.
- Give the Sixaola a few minutes to boot up.
- Connect your workstation or laptop to the Internet. To confirm you have Internet, ping 8.8.8.8 or open http://google.com in a browser.
Warning
Your workstation or laptop must be in the same network as the Sixaola. It is common that the wifi network (wlan0) is not the same as the Ethernet network (eth0).
Install network scanning software. E.g., arp-scan in Ubuntu with
$ sudo apt-get install arp-scan
Run arp-scan or a similar network-scanning program to see if the Sixaola was assigned an IP by the DHCP server. E.g., Ubuntu
$ sudo arp-scan --interface=eth0 --localnet | grep 1c:ba $ sudo arp-scan --interface=eth0 --localnet | grep d0:ff
Scanning the network can take several minutes.
- You can now copy the IP returned by arp-scan to your browser and connect to your Sixaola.
How to tell the IP from the command-line¶
Connect to your Sixaola with Blue Term and then enter this command:
$ ifconfig
Discovery IP¶
No matter the mode, Static or DHCP, every Sixaola ships with a “Discovery IP” or an IP that you can use to always connect with the Sixaola, even if you have lost the Static IP or configured the network incorrectly.
The Discover IP is 192.168.0.50.
To connect via the Discovery IP (E.g., Ubuntu):
Configure your laptop or desktop computer with an IP in the same range as the discovery IP, e.g., 192.168.0.52
$sudo ifconfig eth0 192.168.0.52 netmask 255.255.255.0 up
You should now be able to ping the Sixaola on IP 192.168.0.50.
- Now navigate to the Sixaola with your browser: http://192.168.0.50 and reconfigure the networking OR use blueconf to configure the Sixaola from the command line.