Pika Spark is a matchbox-sized high-performance micro robot control system combining an unprecedented amount of computing power and interfaces within an extremely small form factor. The Pika Spark has one (1) galvanically isolated Gigabit-Ethernet (1000BASE-T) interfaces which can be used for communication with external devices. Galvanic isolation prevents ground-loops and increases overall system resilience and is an important feature in industrial-grade control systems.
nmcli
Configure Gigabit-Ethernet (1000BASE-T) for static IP using nmcli
:
sudo ifconfig eth0 192.168.1.2 netmask 255.255.255.0
ip addr show eth0
(default configuration is to use DHCP):3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether ee:89:d5:98:e7:01 brd ff:ff:ff:ff:ff:ff
nmcli
configuration for DHCP (on X8):nmcli con del 'Wired connection 1'
nmcli con add type ethernet con-name 'static' ifname eth0
nmcli con mod 'static' ipv4.addresses 192.168.1.8/24
nmcli con mod 'static' ipv4.gateway 192.168.2.1
nmcli con mod 'static' ipv4.dns 8.8.8.8
nmcli con mod 'static' ipv4.method manual
nmcli con up 'static'
ip addr show eth0
ip addr show eth0
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether ee:89:d5:98:e7:01 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.8/24 brd 192.168.1.255 scope global noprefixroute eth0
valid_lft forever preferred_lft forever
inet6 fe80::9361:a0f:f192:6199/64 scope link noprefixroute
valid_lft forever preferred_lft forever