run :: handle_wifi :: 1 :: error :: "wpa_cli" unexpectedly returned exit value 255 at /usr/bin/occi line 298. #6

Closed
fsamir opened this Issue Feb 1, 2017 · 6 comments

Projects

None yet

3 participants

@fsamir
fsamir commented Feb 1, 2017 edited

Hi there,

I am running HypriotOS 1.1.3 on a RPI 3 and I am having the following error, when I run sudo occi. :

root@black-pearl:/home/pirate# sudo occi
Adafruit Occidentalis configuration helper, v0.6.0
file :: /boot/occidentalis.txt
run :: handle_selftest :: Checking configuration for basic sanity.
run :: handle_selftest :: valid :: hostname :: black-pearl
run :: handle_selftest :: valid :: wifi_password :: xxxxxxxxx
run :: handle_selftest :: valid :: wifi_ssid :: brazil
run :: handle_selftest :: have package :: occi
run :: handle_selftest :: have package :: occidentalis
run :: handle_selftest :: debian version :: 8.0
run :: handle_wifi :: Configuring network :: brazil
run :: handle_wifi :: Writing /etc/wpa_supplicant/wpa_supplicant.conf
Failed to connect to non-global ctrl_ifname: (null)  error: No such file or directory
run :: handle_wifi :: 1 :: error :: "wpa_cli" unexpectedly returned exit value 255 at /usr/bin/occi line 298.
root@black-pearl:/home/pirate# cat /boot/occidentalis.txt
hostname=black-pearl

# basic wireless networking options:
wifi_ssid=brazil
wifi_password=xxxxxxx
@brennen
Contributor
brennen commented Feb 2, 2017

I'm afraid this is the first I've heard of HypriotOS. It sounds like it's Debian-based, but I'm not sure what its point of departure is. occi is fairly tightly coupled to a stock Raspbian Jessie install; I would not be surprised if this breaks on a newer upstream. Probably need to test it against a Stretch-derived version.

@fsamir
fsamir commented Feb 2, 2017

HypriotOS was Raspbian based and I read something about them moving to Debian. That must be the cause of this issue.

@StefanScherer
Contributor

@fsamir HypriotOS is still Raspbian based. But since 1.0.0 we have switch from occi to device-init.

@brennen
Contributor
brennen commented Feb 3, 2017

Interesting. @fsamir, just out of curiosity, can I confirm that you were using occi as a baseline config tool for a while there? First I've really heard of your project.

Sounds like this specific issue can likely be closed, but we might want to look at a refresh on this stuff soon.

@fsamir
fsamir commented Feb 3, 2017

@StefanScherer thanks for the heads up. I will have a look at device-init.

@brennen it is the opposite. It was the first time I tried occi on hypriotOS and it didn't work from the beginning. I assumed it would work because there is a blog post on Hypriot's web-site, which is clear now that is outdated.

Feel free to close this issue. Thanks!

@brennen
Contributor
brennen commented Feb 4, 2017

Sure thing. Best of luck. :)

@brennen brennen closed this Feb 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment