Assign a static IP address to a Zynq board with Koheron OS
With Koheron OS for Zynq, you can assign a static IP address to a Zynq board.
Edit the file
/etc/network/interfaces on the image as follows:
Comment the line related to DHCP configuration:
# iface eth0 inet dhcp
Uncomment the Static IP configuration lines with your network information:
iface eth0 inet static address 10.42.0.100 # Board IP address gateway 10.42.0.1 netmask 255.255.255.0 network 10.42.0.0 broadcast 10.42.0.255
Tip: To edit the file you can mount your image on your computer and edit the file with a text editor.