Kodi Community Forum

Full Version: OpenELEC Wireless Connection Password Won't Store
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello,

I've newly setup OpenELEC/Kodi on an Asus Chromebox without issue.
I'm using dual boot and going by default to Kodi after a 30sec delay.
No issues.

When I get into Kodi, I have to enter my SSID password via the OpenElec Add-on:
-> System -> OpenELEC (submenu)
-> Connections

I enter it and everything works great. Until I shut it down, and start again, and it doesn't remember the password, so I have to go through it all over again every time I boot.

Any idea why it won't store the password?
note: I've installed one program (Sonos) already, so to me that says there is no issue writing to the oem ssd.
The details are stored in .cache/connman/wifi_[some long string]/settings like this:

Code:
x26:~ # cat .cache/connman/wifi_7cdd9044506f_726f7574686f757365_managed_psk/settings
[wifi_7cdd9044506f_726f7574686f757365_managed_psk]
Name=omitted
SSID=omitted
Frequency=2412
Favorite=true
AutoConnect=true
Modified=2015-01-02T00:01:36.479839Z
Passphrase=omitted
IPv4.method=dhcp
IPv4.DHCP.LastAddress=192.168.1.100
IPv6.method=off
IPv6.privacy=disabled
nickr: are you saying that I need to modify this file in order to have it save? And if so, how do I modify the file from boot? I assume CTRL+ALT+F2 and user chronos? Then how do I open and modify the file?
I was simply advising that that is the location where the password and other connection info is stored. To access that you need to ssh into the machine. User root, password openelec.

The directory name seems to depend on the SSID of the AP, but I'd be curious to know whether the settings file is being properly created.

If you want to post the file don't forget to omit the actual password which is saved in plain text in the file - you'll see I replaced my details with 'omitted'.
nickr: I'm sorry, I'm new to Linux. I do not know how to ssh into the machine. Can you please explain how I would go about doing this?
Ahh OK, simple steps.

http://wiki.openelec.tv/index.php?title=Ssh_commands

When connected you can use the ls command along with the tab key to find the settings file, and the cat [1] command to see what is in the file.
took me a while to find the file, it wouldn't show up with ls command....
Chromebox:~ # cat ~/.cache/connman/wifi_54271ed46a9e_706e6a77_managed_psk/settings.GD51RX
[wifi_54271ed46a9e_706e6a77_managed_psk]
Name=*omitted*
SSID=*omitted*
Frequency=5785
Favorite=true
AutoConnect=true
Modified=2015-01-01T16:52:40.283146Z
Passphrase=*omitted*
IPv4.method=dhcp
IPv4.DHCP.LastAddress=192.168.1.239
IPv6.method=off
IPv6.privacy=disabled
I am not sure why it is named settings.GD51RX on your system. mine is just named settings. Are there any other files in ~/.cache/connman/wifi_54271ed46a9e_706e6a77_managed_psk or any other directories in ~/.cache/connman ??
ls -all

-rw------- 1 root root 4096 Jan 2 13:46 data
-rw------- 1 root root 271 Jan 1 19:33 settings.GD51RX
nickr: should I rename or delete the file or directory?
(2015-01-03, 08:30)dangahboi Wrote: [ -> ]nickr: should I rename or delete the file or directory?
Try deleting the settings.whatever file.
deleted.
rebooted and put the passphrase back in.
rebooted again..... still won't remember.
And what has the settings file named itself to this time?
the filename is settings
Pages: 1 2