-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
/sbin/route deprecated - infinite attemps to connect to wifi on newer linux distributions #10087
Comments
Possibly re: #8739 |
@NiLuJe Not quite, this is only the emulator should be doing this. |
(Sidebar: care should be taken to check that any implementation behaves with busybox's implementation of said tools). |
@NiLuJe indeed this MR removed the iproute2 support and switched to net-tools without taking into consideration that net-tools package is not installed on current distributions as it is deprecated. Still, I agree that having net-tools support for ancient devices is good. |
Understood. @NiLuJe no the MR you showed is about the opposite: a code section that relies on iproute2 and that will require support for net-tools too (in frontend/device/generic/device.lua). My issue is about net-tools only code that do not support iproute2 (in frontend/ui/network/manager.lua). |
being addressed in #10062 |
@yparitcher indeed your MR will also fix my issue. Though you might want to merge mine first if yours is not merged in the current release (as yours does extensive changes and might require more time for review and approval). |
cervantes kindle kobo remarkable: use sysfs carrier file to determine connection state cleanup hasWifiManager checks gateway check: use ip if available Fixes: koreader#10087 Closes: koreader#10092
cervantes kindle kobo remarkable: use sysfs carrier file to determine connection state cleanup hasWifiManager checks gateway check: use ip if available Fixes: koreader#10087 Closes: koreader#10092
I'm also having the same issue using WSL2 on Windows, with koreader installed from the .deb release |
The same issue as what exactly? /sbin/route no longer occurs in the code since February. |
I mean the same behavior of infinite attempts to connect to wifi when using the OPDS page, not the /sbin/route issue specifically. Maybe I should make a new issue since the cause is probably different? |
Yes, that would be best since it's completely unrelated. Please include the output from |
Issue
I cannot connect to OPDS or Calibre wifi. I get the popup "Turn on Wifi". The PC is connected via ethernet but that should be fine.
But I do not have net-tools /sbin/route which is deprecated for quite a while. The call is from
koreader/frontend/ui/network/manager.lua
Line 233 in 6492583
So for now the koreader deb should depend on net-tools.
Then a fix should be sorted out to get the default gateway without net-tools /sbin/route (maybe as a fallback for newer devices).
Steps to reproduce
crash.log
(if applicable)crash.log
is a file that is automatically created when KOReader crashes. It can normally be found in the KOReader directory:koreader verbose output without net-tools and selecting an OPDS catalog
koreader verbose output with net-tools installed (same setup)
The text was updated successfully, but these errors were encountered: