To change the default factory Ethernet IP settings you need to first ssh to the SmartLynq+ Module. You can use the USB 3.0 interface to make the Ethernet changes. When prompted for a user name and password, enter in the default user name xilinx with the password xilinx.
After logging into the SmartLynq+ Module, run the following command to
edit the usb network
settings:
sudoedit /etc/systemd/network/20-eth0.network
This command brings up a Linux nano editor where you can adjust the settings as
needed. The following are the default
settings:
[Match]
Name=eth0
[Network]
DHCP=ipv4
#Address=10.101.0.101/24
#Gateway=10.101.0.1
To set a static address, remove the # on Address and Gateway lines and set them as needed while adding a # at the beginning of the DHCP line. After the edits are complete, save the file.
To update the Ethernet interface, reset the SmartLynq+ Module or run the
following
command:
sudo systemctl restart systemd-networkd