Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] KODI 19 on Raspberry Pi 4 does not remember WiFi password #6251

Closed
jbrepogmailcom opened this issue Feb 18, 2022 · 11 comments
Closed

[BUG] KODI 19 on Raspberry Pi 4 does not remember WiFi password #6251

jbrepogmailcom opened this issue Feb 18, 2022 · 11 comments

Comments

@jbrepogmailcom
Copy link

Describe the bug

After upgrade to Matrix I have this problem. When KODI disconnects from WiFi sometimes, it usually does not connect back and when I go to Connection settings, the WiFi password is not remembered for my SSID and I have to input it again. This never happened with KODI 18. Any solution please? More people have this problem: https://forum.libreelec.tv/thread/25244-kodi-19-on-raspberry-pi-4-does-not-remember-wifi-password/

To Reproduce

Steps to reproduce the behavior:

  1. Connect to wifi with password
  2. Turn off the wifi and then turn it off
  3. KODI does not connect to WiFi and when Connection is launched manually, then KODI asks for password it should remember

Informations

  • LE Version: 10.0.1
  • Hardware Platform: RPi 4

Log file

nothing relevant in kodi.log except for few messages like this:
2022-02-18 14:16:17.846 T:31716 INFO : JSONRPC Server: Disconnection detected
2022-02-18 14:16:22.972 T:31716 INFO : JSONRPC Server: New connection added
2022-02-18 14:21:18.141 T:31716 INFO : WebSocket: connection closed by client

Additional context

@TheNamelessWonderer
Copy link

Same issue here on a Pi 4 running Librelec 10.0.1. It constantly disconnects and asks for the password again making it nearly unusable on Wi-Fi

@jbrepogmailcom
Copy link
Author

Still exists in 10.0.2, It is very annoying that it worked well in version 9. Beside migration to python3, which is totally transparent to the user, the upgrade broke funcional feature.

@beck-llr
Copy link

I confirm the issue is still the same on 10.0.2.

@TheNamelessWonderer
Copy link

Any plans to fix this issue? LibreELEC has been unusable for me for months. Is there a workaround or are we stuck on LibreELEC 9 for the foreseeable future?

@volkanpaksoy
Copy link

I may have accidentally bumped into a workaround:

I set up 2 Raspberry Pi 4 instances the same way. The only difference was for one of them, during the setup, I used a wired connection. After the LibreELEC setup finished, I switched to WiFi and that setting was remembered after reboots.

In the second installation, I entered my WiFi passphrase during the setup, but it was not remembered even after a few tries.

What I noticed is that in the first installation, "Connect Automatically" was off by default. In the second one, however, it was on. I turned it off, rebooted, entered the passphrase again and turned on Connect Automatically, and it seemed to work.

Both of these are just anecdotal. I hope someone else can give it a go and verify whether they work or not.

Hope it helps someone.

@jbrepogmailcom
Copy link
Author

I also had other problem with v10 on RasPi 4, when browsing through list of movies it was freezing very often. So I decided to downgrade to v9 Leila and I had to find all add-ons that were done in Python 2. It was still worth the effort, KODI now keeps WiFi connection and does not freeze - it just works as expected. Sorry, for me v10 is not good (said politely).

@Sebazzz
Copy link

Sebazzz commented Mar 23, 2023

Related: #7166

@heitbaum
Copy link
Contributor

heitbaum commented Sep 4, 2023

Related: #7166

Le10 and le11 use different WiFi software. Not related.

closing as LE10 no longer being updated.

Note: disabling FT on your wireless network with LE11 seems to fix the reconnect issues. Please refer to the discussion in #7166

@heitbaum heitbaum closed this as completed Sep 4, 2023
@LibreELEC LibreELEC deleted a comment from 6a6ak Jul 5, 2024
@heitbaum
Copy link
Contributor

heitbaum commented Jul 5, 2024

solution was wpa_supplicant which is not used by LE.

@6a6ak
Copy link

6a6ak commented Jul 6, 2024

It is surprising that @LibreELEC deleted my message, especially when many messages here do not help solve the problem. If you thought I wrote this message to advertise my repository, I am truly sorry. In the open-source world, such issues are not important at all. The problem for most people facing these because can't change /etc/wpa_supplicant/wpa_supplicant.conf
the issue is that their memory is write-protected, and they are unaware of it. Not only does this prevent file editing, but it also makes the entire system unchangeable. If my message had a technical issue, it would have been better to inform me so I could improve it rather than deleting it without my knowledge, leaving many people in confusion as before.

@chewitt
Copy link
Member

chewitt commented Jul 7, 2024

@6a6ak The "technical issue" is; your script depends on files that do not exist in our distro, and files that exist but cannot be changed due to intentional (and well-known) packaging of the distro. The comment thus proves your script has not been tested on our distro (as it could not be) and does not solve the problem and is not relevant to the problem described. If you want to improve your GitHub profile stats and standing in the open-source community, test contributions first, and don't add to user confusion by posting irrelevant comments with incorrect technical advice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants