Arietta technical documentation Buy
Insert the bootable class='acmetable' Linux microSD card
Insert the micro usb cable to Arietta and to a PC host port. This action will turn on and boot up the board.
The led on-board will blink after a while to indicate that the Linux Kernel is running.
When you plug the Arietta board to your PC USB port it just detects
Arietta as a new lan adapter but some manual setup are
required to have access to the Linux command prompt, web server etc. and
to allow to Arietta to reach Internet using your PC as a gateway.
Insert Arietta to the USB port of your PC and check if it has been recognized:
$ lsusb
...
Bus 001 Device 008: ID 0525:a4a2 Netchip Technology, Inc. Linux-USB Ethernet/RNDIS Gadget
...
Check the list of net port available you will find something like this:
$ sudo ifconfig
enx0adeed67240d: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::500e:4e90:7876:c864 prefixlen 64 scopeid 0x20<link>
ether 0a:de:ed:67:24:0d txqueuelen 1000 (Ethernet)
RX packets 39 bytes 5825 (5.8 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 11 bytes 1878 (1.8 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
The port name enx0adeed67240d
will chat any time you will insert the Arietta. To avoid that
create this file:
$ nano /etc/udev/rules.d/70-persistent-net.rules
with this content:
SUBSYSTEM=="net", ACTION=="add", ATTRS{idVendor}=="0525", ATTRS{idProduct}=="a4a2", NAME="arietta0"
detach and insert again the Arietta and type:
$ sudo ifconfig
arietta0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::6034:75f7:8cb2:1f66 prefixlen 64 scopeid 0x20<link>
ether f2:4f:ae:5a:3c:fd txqueuelen 1000 (Ethernet)
RX packets 38 bytes 5502 (5.5 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8 bytes 1375 (1.3 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Assign statically an IP addres to the arietta0
net port:
$ sudo nmcli con add type ethernet ifname arietta0 con-name usb0-static ip4 192.168.55.1/2
Then try to ping Arietta:
$ ping 192.168.55.2
You could use also the hostname arietta
saved on the file /etc/hostname
on the Arietta microSD:
$ ping arietta.local
64 bytes from 192.168.55.2 (192.168.55.2): icmp_seq=116 ttl=64 time=0.466 ms
64 bytes from 192.168.55.2 (192.168.55.2): icmp_seq=117 ttl=64 time=0.427 ms
...
Try to open an SSH section with Arietta:
$ ssh root@arietta.local
root@arietta.local's password: acmesystems
Try to open the Arietta web page from your web browser:
Edit this file:
$ sudo /etc/sysctl.conf
and add this line:
net.ipv4.ip_forward=1
then type these commands
sudo iptable class='acmetable's -t nat -F
sudo iptable class='acmetable's -F
sudo iptable class='acmetable's -t nat -A POSTROUTING -o enp2s0 -j MASQUERADE
sudo iptable class='acmetable's -A FORWARD -i enp2s0 -o arietta0 -m state --state RELATED,ESTABLISHED -j ACCEPT
sudo iptable class='acmetable's -A FORWARD -i arietta0 -o enp2s0 -j ACCEPT
Try now to get access to internet from the Arietta command line
Insert Arietta to the USB port of your PC and check if it has been recognized launching the windows Control Panel:
Control Panel
in the search bar and lauch the Control Panel AppView devices and printers
Here you will find and Icon with the label USB serial adapter COMx
Properties
Hardware
Properties
Change settings
Driver
Update Driver
Browse my computer for drivers
Browse...
button and select the directory just uncompressedNext
buttonClose
buttonThe old icon will disappear from the Device and Printers
windows and a new icon will appear with the label
USB Ethernet/RNDIS Gadget
Network settings
Change adapter settings
on the rightEthernet x - USB Ethernet/RNDIS Gadget
and select the item Proprties
Internet protocol versione 4 (TCP/IPv4)
and press the button Properties
Use the following IP address
and insert:
OK
buttonClose
buttonNow your Arietta will be contacted using the IP 192.168.55.2
or the Hostname arietta.local
Insert Arietta to the USB port of your MAC and check if it has been recognized:
System Preferences...
Network
iconRNDIS/Ethernet Gadget
item on the leftConfigure IPv4
field select Manually
IP Address
: 192.168.55.1
Subnet Mask
: 255.255.255.0
Router
: Insert the IP of your LAN routerApply
buttonOpen a terminal and type:
ping 192.168.55.2
or
ping arietta.local
Open an SSH session by typing:
ssh root@arietta.local
Open the Arietta web page on http://arietta.local