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
uhttpd ucode error #4
Comments
Hi, can you provide the output of the following commands:
|
Hi, Here is the output of mentioned commands:
opkg list-installed | grep uspot:
|
uspot looks correct but you have multiple conflicting ucode module versions installed (2023-06-06 vs 2023-11-07) and two versions of libucode. Everything should be on 2023-11-07. Can you try to opkg update / opkg upgrade? I suspect this is the cause of your problem. This is what it should look like on e.g. 23.05.2:
|
and also here are the other configurations for uspot:
/etc/config/network:
/etc/config/firewall:
/etc/config/dhcp:
|
Hi, The reported error solved by upgrading Openwrt to 23.05.2 while the previous version was 23.05.0. But I'm wondering does the uspot captive portal redirect any unauthenticated client traffic to the login page or does the client have to go to the login page itself? |
Unauthenticated HTTP traffic will be redirected. HTTPS however will not (it can't be), but most client devices perform so-called "Captive Portal Detection" (CPD) on HTTP for that very reason. Enabling the Captive Portal API provides a smoother user experience. |
Fixes: #4 Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
Many thanks for your help. Could you please tell me how to configure uspot to connect to the freeradius server. I also have another question, does uspot implement accounting for freeradius? I mean daily (or weekly, etc.) usage and rate limit. |
For RADIUS configuration see this section: Lines 21 to 36 in 53b8cb8
you will need at least uspot currently only implements session time accounting. Traffic accounting is on the TODO list (see end of README), it's coming hopefully soon. |
Thanks. I have problem with Radius authentication mode. The freeradius server is located in the wan side with ip address 192.168.205.161. When clients try to connect with username and password, the following error is shown in the logread. Thu Feb 15 14:35:22 2024 user.err : radcli: rc_read_dictionary: rc_read_dictionary couldn't open dictionary /etc/radcli/dictionary: No such file or directory The configuration for uspot, firewall and uhttpd is as below:
firewall:
uhttpd:
The information of nas in the database of freeradius is as below:
|
Please don't use this closed issue to ask unrelated support questions.
You need to provide your RADIUS dictionary files to libradcli ( |
56eebdad085e uspot: wrap spotfilter device under tip_mode 1a96d57e5fe0 uspot: client_enable() wrap spotfilter data in tip_mode fe12f9a7abde uspot: clear ratelimit state on startup/shutdown 976badc4d0b6 update README 53b8cb88a94a Makefile: require minimum ucode version ff6163190d5a uspot/portal: report client_enable() failure 8601d9199233 include sample radcli dictionaries c670f6c4b48f update README 094f0df88150 uspot: work around ucode#191 missing in 23.05 Update the package Makefile to reflect the changes from the following above-listed commit: 53b8cb88a94a Makefile: require minimum ucode version Fixes: f00b4r0/uspot#4 Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
56eebdad085e uspot: wrap spotfilter device under tip_mode 1a96d57e5fe0 uspot: client_enable() wrap spotfilter data in tip_mode fe12f9a7abde uspot: clear ratelimit state on startup/shutdown 976badc4d0b6 update README 53b8cb88a94a Makefile: require minimum ucode version ff6163190d5a uspot/portal: report client_enable() failure 8601d9199233 include sample radcli dictionaries c670f6c4b48f update README 094f0df88150 uspot: work around ucode#191 missing in 23.05 Update the package Makefile to reflect the changes from the following above-listed commit: 53b8cb88a94a Makefile: require minimum ucode version Fixes: f00b4r0/uspot#4 Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
56eebdad085e uspot: wrap spotfilter device under tip_mode 1a96d57e5fe0 uspot: client_enable() wrap spotfilter data in tip_mode fe12f9a7abde uspot: clear ratelimit state on startup/shutdown 976badc4d0b6 update README 53b8cb88a94a Makefile: require minimum ucode version ff6163190d5a uspot/portal: report client_enable() failure 8601d9199233 include sample radcli dictionaries c670f6c4b48f update README 094f0df88150 uspot: work around ucode#191 missing in 23.05 Update the package Makefile to reflect the changes from the following above-listed commit: 53b8cb88a94a Makefile: require minimum ucode version Fixes: f00b4r0/uspot#4 Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
56eebdad085e uspot: wrap spotfilter device under tip_mode 1a96d57e5fe0 uspot: client_enable() wrap spotfilter data in tip_mode fe12f9a7abde uspot: clear ratelimit state on startup/shutdown 976badc4d0b6 update README 53b8cb88a94a Makefile: require minimum ucode version ff6163190d5a uspot/portal: report client_enable() failure 8601d9199233 include sample radcli dictionaries c670f6c4b48f update README 094f0df88150 uspot: work around ucode#191 missing in 23.05 Update the package Makefile to reflect the changes from the following above-listed commit: 53b8cb88a94a Makefile: require minimum ucode version Fixes: f00b4r0/uspot#4 Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org> (cherry picked from commit bc33522)
56eebdad085e uspot: wrap spotfilter device under tip_mode 1a96d57e5fe0 uspot: client_enable() wrap spotfilter data in tip_mode fe12f9a7abde uspot: clear ratelimit state on startup/shutdown 976badc4d0b6 update README 53b8cb88a94a Makefile: require minimum ucode version ff6163190d5a uspot/portal: report client_enable() failure 8601d9199233 include sample radcli dictionaries c670f6c4b48f update README 094f0df88150 uspot: work around ucode#191 missing in 23.05 Update the package Makefile to reflect the changes from the following above-listed commit: 53b8cb88a94a Makefile: require minimum ucode version Fixes: f00b4r0/uspot#4 Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
Hello. My configuration for uhttpd is as below :
when I start uhttpd service, it returns "daemon.err uhttpd[6084]: Error: Unable to open ucode handler: No such file or directory".
The text was updated successfully, but these errors were encountered: