How to set static IP for DE10-Standard console image

From Terasic Wiki

Jump to: navigation, search

1.Connect to the ethernet.

2.Update connman. Please use the following commands:

opkg update

opkg install connman connman-angstrom-settings connman-client connman-tests connman-tools

3.Edit the settings file. Please use the following commands to create the settings file:

mkdir /var/lib/connman/ethernet_000000000000_cable

vim /var/lib/connman/ethernet_000000000000_cable/settings

Then edit the file:

[ethernet_000000000000_cable]

Name=Wired

AutoConnect=true

IPv4.method=manual

IPv4.local_address=192.168.21.2

IPv4.netmask_prefixlen=24

IPv4.gateway=192.168.21.1

IPv6.method=auto

IPv6.privacy=disabled


4.Re-power on the board


Noteļ¼šCustomer can set the static IP for DE10-Nano console imgae by using the same way.


Back

Personal tools