1 of 1 people found this helpful
make sure you are on latest build, mine is on 68
root@fablab:~# cat /etc/version
WiFi connects automatically after reboot! I have configured it with configure_edison --setup this option is available since build 68
I have put most important step into a single doc: Easy start: Intel Edison as gateway for IoT and more … or on www.fab-lab.eu/edison
I ran into the same issue that started this thread - I got into a situation where I would loose my WiFi IP address every time I rebooted. I'm sure it was my own doing, but I could never resolve the issue. Finally, I just reflashed my image since a new image was released a few days ago. Now all is OK and back to normal.
In any case, I was wondering what else I might have checked in case this happens again. WiFi was up. It just didn't have an IP address. I could give it one with 'ifconfig wlan0 192.168.1.99' and it would work OK until I rebooted. I could also do a 'udhcpc -i wlan0' and it would be OK until I rebooted. I could also do a 'configure_edison --setup' and it would be OK until a reboot.
Needless to say, then I would have to connect a serial console cable to get WiFi again working every time I rebooted.
'/etc/wpa_supplicant/wpa_cli-actions.sh' and '/etc/wpa_supplicant/wpa_supplicant.conf' looked OK.
I tried everything in fablab's post but nothing worked for me. I must have somehow changed something somewhere. Any suggestions what I can look for next time?
Actually, /etc/network/interfaces was one of the first things I tried to find. But, I didn't have a /etc/network folder. Of course, at this point, I have reflashed it with the latest image and all is working OK. However, I did just now check and I still don't have a /etc/network folder. I also just ran 'find' and couldn't find an interfaces file anywhere. If I create that folder and an interfaces file, will the Yocto kernel check it on boot?