wifi credential persistance

368 views
Skip to first unread message

Nathanial Hendler

unread,
Jul 2, 2017, 12:52:45 AM7/2/17
to KivyPie
I can configure wifi (by editing /etc/networking/interfaces) to work properly, but as soon as I reboot my raspberry pi (running a version of KivyPie as of a few days ago) the default PipaOS credentials are found to be in the /etc/networking/interfaces file.  I have also tried editing the file in /boot/interfaces, but my changes to that file also do not persist beyond a reboot.

Does anyone know what file I need to edit in order to have my wifi credentials be persistent?

Thanks.

Albert Casals

unread,
Jul 2, 2017, 8:34:01 AM7/2/17
to KivyPie
Try editing /boot/interfaces.txt instead. This allows to change network settings offline, it then gets populated on boot into /etc/network/interfaces.

Albert

Cristóbal Contreras Rubio

unread,
Jul 2, 2017, 4:01:52 PM7/2/17
to KivyPie
Hi,

I've got the same problem but that solution works for me (modify the /boot/interfaces). I've tested in a RPi 2 and RPi Zero W

I don't know if this link could be interesting to learn. It talks about /etc/network/interfaces it less important than dhcpd in Debian Jessie (KivyPie 1) -> dhcpcd vs /etc/network/interfaces

Cristóbal Contreras Rubio

unread,
Jul 2, 2017, 4:51:22 PM7/2/17
to KivyPie
I've found a problem with that:

Before upgrade the kernel, I don't have /boot/interfaces.txt file, I've got /boot/interfaces
After upgrade the kernel with sudo rpi-update the /boot/interfaces file dissapear and now I've got /boot/interfaces.txt and I've needed to do again the overwritten.

That could be a bit annoying if you don't have a screen. In my case for example it was in the RPi Zero W

Nathanial Hendler

unread,
Jul 6, 2017, 10:47:55 AM7/6/17
to KivyPie
Cristóbal,

Yeah, that's exactly what got me.  Thanks for your reply, because it helped me fix the problem.

Nathan

Cristóbal Contreras Rubio

unread,
Jul 6, 2017, 3:03:12 PM7/6/17
to KivyPie
I feel happy to hear that ;-)

Cristóbal Contreras Rubio

unread,
Jul 6, 2017, 3:04:00 PM7/6/17
to KivyPie
I forgot "you're welcome", sorry ;-)

Cristóbal Contreras Rubio

unread,
Jul 6, 2017, 3:24:22 PM7/6/17
to KivyPie
I want to mention that the change of /boot/interfaces to /boot/interfaces.txt occurs when the system is upgraded (apt upgrade) not the kernel

skin...@gmail.com

unread,
Dec 11, 2017, 8:48:24 PM12/11/17
to KivyPie
Hi, I'm trying to connect KivyPi 1.0 to the wifi network on my RasPi 3 from the command line (without editing the interfaces file).
The instruction from the FAQ (connect to your access point with sudo pipaos-setwifi essid passphrase, reboot) does nothing. Does anyone else have this trouble? Are there any other simple options? I'm trying to setup a network from within a Python program.
Many thanks...
Love KivyPie

Albert Casals

unread,
Dec 12, 2017, 4:43:31 AM12/12/17
to KivyPie
Should be fixed a while ago...


apt-get update
apt-get install pipaos-tools

Albert

skin...@gmail.com

unread,
Dec 12, 2017, 10:28:52 AM12/12/17
to KivyPie
Thanks, running the update fixed it.

reir...@gmail.com

unread,
Feb 7, 2019, 1:04:37 PM2/7/19
to KivyPie
Hello Nathanial,
I have trying for several days to connect my Raspberry Pi 3B to Wifi. I have it running KivyPie and I have not been able to do so. Reading (a lot) on internet I saw this thread and apparently you go the problem solved. I cannot still figure it. Could you tell me how you configured the dhcpcd.conf file? Thank you for your help.
Reply all
Reply to author
Forward
0 new messages