We login with
root
where no password is needed.
Once in Buildroot, we can check the kernel version using the
uname -a
command:
# uname -a
Linux buildroot 4.4.8-devel-17.01.1-01388-ge401441-dirty #55 SMP PREEMPT Tue Feb 28
13:44:53 IST 2017 aarch64 GNU/Linux
Initial network setup
Note
The initial network setup described below works on both the Single Shot and Double Shot
MACCHIATObin boards.
First thing we want for now is to configure MACCHIATObin to have network access, that is,
acquire an IP address through the Ethernet interface . Connect one end of an Ethernet
cable to the
RJ45 1GbE
port on MACCHIATObin and the other end to your router or IP
switch. In the Buildroot shell insert the following commands to configure eth2 interface to
use DHCP for obtaining an IP address:
# dhclient eth2
[ 16.745901] mvpp2 f4000000.ppv22 eth2: link up
using
ifconfig
command we can verify that the IP address has been obtained, e.g.:
# ifconfig
eth2 Link encap:Ethernet HWaddr 00:00:00:00:00:05
inet addr:10.82.40.222 Bcast:10.82.43.255 Mask:255.255.252.0
inet6 addr: fe80::200:ff:fe00:5%739579584/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:167 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:2048
RX bytes:24424 (23.8 KiB) TX bytes:1332 (1.3 KiB)
Interrupt:136 Memory:f4000000-f408ffff
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1%739580736/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:140 (140.0 B) TX bytes:140 (140.0 B)
we can also
ping
any IP address on the web to check our Internet connection, e.g.
5/7