Hi all -
I know this question / topic has been successfully treated in the past. I apologize in advance if this is simply redundent, BUT I wonder if those treatments are still relevant given changes to the Edison image. Every explanation I have found seems obsolete for my image. (I'm using Edison-Image-ww18-15.)
How can I configure my Edison to use a static IP address (and maintain it after reboot)?
I used to do this on a regular basis on BusyBox Linux at work. Apparently, the Yocto Linux image on Edison is sufficiently different that
I have searched for answers to this question here on the Intel forums and abroad on the Internet ... even branching out to search for how to do it on Yocto and double-checking BusyBox isntructions.
Every explanation, tutorial, document, forum post, etc. seems to have instructions that are obsolete for my ww18-15 image. (Either the contents of a file described are COMPLETELY different from the instructions or a command simply doesn't work in any construction similar to the instructions.)
Thanks much for your help.
- Dave F.
Yes, I've read that post and/or posts with nearly identical instructions and the suggested commands do not work for me.
My command: connmanctl config wlan0 --ipv4 192.168.1.20 255.255.255.0 192.168.1.1
My Result: "The name net.connman was not provided by any .service files".
(It's hard to interpret since it appears that some value is missing from the error message (in 2 locations).
If course I've tried all sorts of permutations of this command line and also the method described in the device user manual, which is to edit the wpa supplicant config file. But my supplicant config file appears VERY DIFFERENT from the example in that document -- so different that the suggested edits do not apply.
ALSO, the help from the connmanctl does not cover this level of detail.
As I mentioned in my post, it seems as if all the existing posts on this topic may be stale ... they were created PRIOR to the build I'm using and yet they don't work. I am inclined to believe something has changed since these solutions were posted.
- Dave F.
Try with the steps below:
systemctl start connman
systemctl enable connman
For gateway information:
For netmask and broadcast information:
connmanctl config --ipv4 manual
iface wlan0 inet static
If the steps are done properly, the Edison should maintain the static IP address set even after reboot.