pipaos-setwifi "failed :-("

297 views
Skip to first unread message

skin...@gmail.com

unread,
Jan 24, 2018, 7:53:58 AM1/24/18
to KivyPie
Hi,

Fresh KivyPie 1.0 and updates as of today.

sudo pipaos-setwifi <mynet> <mypass> command just comes back with 'failed :-('

Initial setup (editing the interfaces file on the SD card before putting into the Pi) works fine - just can't change it using this tool.
Is this just me?

Many thanks,
Ed

skin...@gmail.com

unread,
Jan 24, 2018, 8:05:01 AM1/24/18
to KivyPie
Not sure if this helps diagnosis, but I've just reloaded the SD into my windows machine (after setting up on the Pi) and noticed that at root level the 'interfaces' file has gone.
Which was my plan B for changing the wifi settings :-)

skin...@gmail.com

unread,
Jan 24, 2018, 10:04:23 AM1/24/18
to KivyPie
To summarise:

After writing Kivy 1.0 img to SD card
then:

sudo apt-get -y update
sudo apt-get -y install fluxbox xinit x11-apps xclip xsel lxterminal xterm xserver-xorg-video-fbturbo

This is what I get from the console, when inastalling pipaos-tools:

sysop@kivypie:~$ sudo apt-get -y install pipaos-tools
[sudo] password for sysop:
Sorry, try again.
[sudo] password for sysop:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  raspidmx
The following NEW packages will be installed:
  raspidmx
The following packages will be upgraded:
  pipaos-tools
1 upgraded, 1 newly installed, 0 to remove and 145 not upgraded.
Need to get 689 kB of archives.
After this operation, 1,136 kB of additional disk space will be used.
Get:1 http://archive.mitako.eu/ jessie/main raspidmx all 1.0-4 [505 kB]
Get:2 http://archive.mitako.eu/ jessie/main pipaos-tools all 1.2-1 [185 kB]
Fetched 689 kB in 1s (509 kB/s)
Selecting previously unselected package raspidmx.
(Reading database ... 55620 files and directories currently installed.)
Preparing to unpack .../raspidmx_1.0-4_all.deb ...
Unpacking raspidmx (1.0-4) ...
Preparing to unpack .../pipaos-tools_1.2-1_all.deb ...
Unpacking pipaos-tools (1.2-1) over (1.0-3) ...
removed ‘/boot/interfaces’
Setting up raspidmx (1.0-4) ...
Setting up pipaos-tools (1.2-1) ...
Created symlink from /etc/systemd/system/multi-user.target.wants/pipaos-bootlogo.service to /usr/lib/systemd/system/pipaos-bootlogo.service.
sysop@kivypie:~$ sudo pipaos-setwifi ****** ********
Changing wireless credentials...
failed :(
Message has been deleted

skin...@gmail.com

unread,
Feb 5, 2018, 10:57:29 AM2/5/18
to KivyPie
Hi guys, I'm still having trouble with this. Anyone else?

Albert Casals

unread,
Feb 6, 2018, 4:43:21 AM2/6/18
to KivyPie
Think I slipped in a silly apt bug here, if you recreate the interfaces file the tool should run okay again,

skin...@gmail.com

unread,
Feb 6, 2018, 7:13:18 AM2/6/18
to KivyPie
Thanks Albert, I'll try this today...

skin...@gmail.com

unread,
Feb 6, 2018, 7:52:56 AM2/6/18
to KivyPie
Half way there ;-)
I recreated '/boot/interfaces.txt'
The tool now replies 'done!' - and I checked, the interfaces.txt file changes correctly.
But... on reboot, the OS (kivypie 1.0, so jessie) is still using the previous credentials, and not using those set in the interfaces.txt file.

skin...@gmail.com

unread,
Feb 6, 2018, 7:56:28 AM2/6/18
to KivyPie
PS. This is the interfaces file I used to recreate

skin...@gmail.com

unread,
Mar 5, 2018, 7:12:28 PM3/5/18
to KivyPie
Hi Albert - don't suppose you could give me any clues could you? I'm new, so I'm not really sure where to go next, or what else to try - this is a bit of a showstopper for me... :-(

Albert Casals

unread,
Mar 6, 2018, 4:50:08 AM3/6/18
to KivyPie
Reply all
Reply to author
Forward
0 new messages