Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to configure static ip in SAIL-IMX6 linux

Shulou Source: shulou.com Published: 2022-06-02 09:52:49 10月02日 Update

In the previous article, we learned how to modify boot animation in sail-imx6 linux4.1.15, so how to configure static ip in sail-imx6 linux? The detailed steps are below.

Modify the root/etc/network/interfaces file as follows:

Wired or wireless interfaces

Auto eth0

Iface eth0 inet static

Address 192.168.2.100

Netmask 255.255.255.0

Gateway 192.168.2.1

Broadcast 192.168.2.255

Set static IP to 192.168.2.100

Add / etc/init.d/networkingrestart to the / etc/rc.local file

The modified content is as follows:

Echo 30000 > / proc/sys/vm/min_free_kbytes

/ etc/init.d/networking restart

Exit 0

After reboot, the static IP setup is complete.

Tags: Static content file configuration animation articles methods steps Riga learning Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux Redmi Microsoft macOS OPPO Reno