Posts: 9
Joined: Jan 2015
Reputation:
0
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.
Posts: 9
Joined: Jan 2015
Reputation:
0
2015-01-02, 06:32
(This post was last modified: 2015-01-02, 07:01 by dangahboi.)
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?
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
2015-01-02, 07:32
(This post was last modified: 2015-01-02, 07:33 by nickr.)
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'.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 9
Joined: Jan 2015
Reputation:
0
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?
Posts: 9
Joined: Jan 2015
Reputation:
0
2015-01-02, 08:07
(This post was last modified: 2015-01-02, 08:20 by dangahboi.)
took me a while to find the file, it wouldn't show up with ls command....
Posts: 9
Joined: Jan 2015
Reputation:
0
2015-01-02, 08:17
(This post was last modified: 2015-01-02, 08:23 by dangahboi.)
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
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
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 ??
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 9
Joined: Jan 2015
Reputation:
0
ls -all
-rw------- 1 root root 4096 Jan 2 13:46 data
-rw------- 1 root root 271 Jan 1 19:33 settings.GD51RX
Posts: 9
Joined: Jan 2015
Reputation:
0
nickr: should I rename or delete the file or directory?
Posts: 9
Joined: Jan 2015
Reputation:
0
deleted.
rebooted and put the passphrase back in.
rebooted again..... still won't remember.
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
And what has the settings file named itself to this time?
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)