Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to configure static ip in SAIL-IMX6 linux

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report