SMART Wireless Computing - Forums

A discussion forum dedicated to SMART Wireless Computing community to discuss various topics about features and issues.

Static IP Address

Questions and discussions related to Inforce 6601™ development kit

by doleszki » Fri Sep 06, 2019 4:21 pm

The hard wired Ethernet device which is presented as eth0 in Android is configured for DHCP by default. I do not see any settings options in Network Settings that allow me to change the configuration for eth0 to a static IP address.

If I use ifconfig on the android shell I can get it a static ip address configured but it's not persistent across reboots. Additionally, if the network that the device is plugged into has a DHCP server, the DHCP client on Android will take over the IP address in short order.

I tried adding in my ifconfig commands in /persist/ but they do not work. I confirmed my script is written correctly by running it after boot. I think that after the script runs the network manager wipes the settings during the boot process.
Posts: 1
Joined: Wed Sep 04, 2019 1:31 pm

by ashwin » Wed Sep 11, 2019 3:30 am

You can try adding the commands to the init script.

Best Regards,
Posts: 66
Joined: Wed Jul 01, 2015 10:07 pm



Contact Us.