[GH-ISSUE #14] Unable to dispaly login Form #10

Closed
opened 2026-03-04 14:52:21 +03:00 by kerem · 12 comments
Owner

Originally created by @BDZK on GitHub (Jun 22, 2024).
Original GitHub issue: https://github.com/f00b4r0/uspot/issues/14

Hi
I have installed your software on openwrt.
i have this error on login page Error, An error occured. Please retry.

in the log i have :
daemon.err uhttpd[4138]: uspot: 10.1.8.178 - config not found for "null"

Can you help me please?

Originally created by @BDZK on GitHub (Jun 22, 2024). Original GitHub issue: https://github.com/f00b4r0/uspot/issues/14 Hi I have installed your software on openwrt. i have this error on login page Error, An error occured. Please retry. in the log i have : daemon.err uhttpd[4138]: uspot: 10.1.8.178 - config not found for "null" Can you help me please?
kerem 2026-03-04 14:52:21 +03:00
  • closed this issue
  • added the
    invalid
    label
Author
Owner

@BDZK commented on GitHub (Jun 23, 2024):

It seems that the login script cannot get the mac address, IP etc. of the client. I wonder why. Maybe i nee to install manually a dependency?

<!-- gh-comment-id:2185350475 --> @BDZK commented on GitHub (Jun 23, 2024): It seems that the login script cannot get the mac address, IP etc. of the client. I wonder why. Maybe i nee to install manually a dependency?
Author
Owner

@f00b4r0 commented on GitHub (Jun 24, 2024):

Please provide:

  • OpenWrt version
  • output of opkg list-installed | grep uspot
  • contents of /etc/config/uspot, /etc/config/firewall, /etc/config/dhcp, /etc/config/uhttpd - mask private information such as passwords
  • output of logread -e uspot when the problem occurs
<!-- gh-comment-id:2185863729 --> @f00b4r0 commented on GitHub (Jun 24, 2024): Please provide: - OpenWrt version - output of `opkg list-installed | grep uspot` - contents of `/etc/config/uspot`, `/etc/config/firewall`, `/etc/config/dhcp`, `/etc/config/uhttpd` - mask private information such as passwords - output of `logread -e uspot` when the problem occurs
Author
Owner

@BDZK commented on GitHub (Jun 24, 2024):

Hello,
Thanks for your replay. Meanwhile I was able to display the login form.
I just renamed 'example' by 'captive' (the name of the hotspot interface) in /etc/config/uspot.
And also i have commented the uam section in /etc/config/uhttpd.

But not i try to login i have this error in the log (logread -f):
user.err : radcli: rc_read_dictionary: rc_read_dictionary couldn't open dictionary /etc/radcli/dictionary: No such file or directory
I have checked in System/Software and libradcli is installed...

Can i get a dictionnary on line and paste in the /etc/radcli folder?

<!-- gh-comment-id:2186468594 --> @BDZK commented on GitHub (Jun 24, 2024): Hello, Thanks for your replay. Meanwhile I was able to display the login form. I just renamed 'example' by 'captive' (the name of the hotspot interface) in /etc/config/uspot. And also i have commented the uam section in /etc/config/uhttpd. But not i try to login i have this error in the log (logread -f): user.err : radcli: rc_read_dictionary: rc_read_dictionary couldn't open dictionary /etc/radcli/dictionary: No such file or directory I have checked in System/Software and libradcli is installed... Can i get a dictionnary on line and paste in the /etc/radcli folder?
Author
Owner

@f00b4r0 commented on GitHub (Jun 24, 2024):

Please follow the instructions https://github.com/f00b4r0/uspot?tab=readme-ov-file#radcli

<!-- gh-comment-id:2186531879 --> @f00b4r0 commented on GitHub (Jun 24, 2024): Please follow the instructions https://github.com/f00b4r0/uspot?tab=readme-ov-file#radcli
Author
Owner

@BDZK commented on GitHub (Jun 25, 2024):

Now if i submit the form i have 'invalid credentials'.

logread -e uspot is giving me this:
Tue Jun 25 02:59:09 2024 daemon.err uhttpd[2558]: uspot: 10.1.8.44 - start radius flow
Tue Jun 25 02:59:26 2024 daemon.err uhttpd[2558]: uspot: 10.1.8.234 - invalid credentials
Tue Jun 25 02:59:26 2024 daemon.err uhttpd[2558]: uspot: 10.1.8.234 - start radius flow
Tue Jun 25 02:59:26 2024 daemon.err uhttpd[2558]: uspot: 10.1.8.234 - start radius flow

It seems that the form is not even submitting.

Because i check on the radius server and no auth request is present from the client...

<!-- gh-comment-id:2187867283 --> @BDZK commented on GitHub (Jun 25, 2024): Now if i submit the form i have 'invalid credentials'. logread -e uspot is giving me this: Tue Jun 25 02:59:09 2024 daemon.err uhttpd[2558]: uspot: 10.1.8.44 - start radius flow Tue Jun 25 02:59:26 2024 daemon.err uhttpd[2558]: uspot: 10.1.8.234 - invalid credentials Tue Jun 25 02:59:26 2024 daemon.err uhttpd[2558]: uspot: 10.1.8.234 - start radius flow Tue Jun 25 02:59:26 2024 daemon.err uhttpd[2558]: uspot: 10.1.8.234 - start radius flow It seems that the form is not even submitting. Because i check on the radius server and no auth request is present from the client...
Author
Owner

@f00b4r0 commented on GitHub (Jun 25, 2024):

Please provide all the requested data.

<!-- gh-comment-id:2188043519 --> @f00b4r0 commented on GitHub (Jun 25, 2024): Please provide **all** the requested data.
Author
Owner

@BDZK commented on GitHub (Jun 25, 2024):

Here are the requested data :

  • Openwrt 23.05.3
  • logread -e uspot
    Tue Jun 25 09:14:20 2024 daemon.debug uspot: captive acct-on call
    Tue Jun 25 09:14:37 2024 daemon.err uhttpd[2590]: uspot: 10.1.8.44 - start credentials flow
    Tue Jun 25 09:14:37 2024 daemon.err uhttpd[2590]: uspot: 10.1.8.44 - start credentials flow
    Tue Jun 25 09:14:44 2024 daemon.err uhttpd[2590]: uspot: 10.1.8.44 - invalid credentials
    Tue Jun 25 09:14:44 2024 daemon.err uhttpd[2590]: uspot: 10.1.8.44 - start credentials flow
    Tue Jun 25 09:14:44 2024 daemon.err uhttpd[2590]: uspot: 10.1.8.44 - start credentials flow

Other files attached.

Thanks.
dhcp.txt
firewall.txt
httpd.txt
uspot.txt

<!-- gh-comment-id:2188395561 --> @BDZK commented on GitHub (Jun 25, 2024): Here are the requested data : - Openwrt 23.05.3 - logread -e uspot Tue Jun 25 09:14:20 2024 daemon.debug uspot: captive acct-on call Tue Jun 25 09:14:37 2024 daemon.err uhttpd[2590]: uspot: 10.1.8.44 - start credentials flow Tue Jun 25 09:14:37 2024 daemon.err uhttpd[2590]: uspot: 10.1.8.44 - start credentials flow Tue Jun 25 09:14:44 2024 daemon.err uhttpd[2590]: uspot: 10.1.8.44 - invalid credentials Tue Jun 25 09:14:44 2024 daemon.err uhttpd[2590]: uspot: 10.1.8.44 - start credentials flow Tue Jun 25 09:14:44 2024 daemon.err uhttpd[2590]: uspot: 10.1.8.44 - start credentials flow Other files attached. Thanks. [dhcp.txt](https://github.com/user-attachments/files/15968330/dhcp.txt) [firewall.txt](https://github.com/user-attachments/files/15968331/firewall.txt) [httpd.txt](https://github.com/user-attachments/files/15968333/httpd.txt) [uspot.txt](https://github.com/user-attachments/files/15968335/uspot.txt)
Author
Owner

@f00b4r0 commented on GitHub (Jun 25, 2024):

Option nasmac is unset, I think that's the problem.

<!-- gh-comment-id:2188582733 --> @f00b4r0 commented on GitHub (Jun 25, 2024): Option `nasmac` is unset, I think that's the problem.
Author
Owner

@BDZK commented on GitHub (Jun 25, 2024):

Still not working... I have set it with the mac of the captive interface but still not working

<!-- gh-comment-id:2189239400 --> @BDZK commented on GitHub (Jun 25, 2024): Still not working... I have set it with the mac of the captive interface but still not working
Author
Owner

@f00b4r0 commented on GitHub (Jun 25, 2024):

You either have a configuration error in uspot or a configuration error in your RADIUS server. With no further information there is very little I can do. You can try setting option debug '1' in the uspot interface configuration to expand further error messages from uspot

<!-- gh-comment-id:2189291464 --> @f00b4r0 commented on GitHub (Jun 25, 2024): You either have a configuration error in uspot or a configuration error in your RADIUS server. With no further information there is very little I can do. You can try setting `option debug '1'` in the uspot interface configuration to expand further error messages from uspot
Author
Owner

@f00b4r0 commented on GitHub (Sep 17, 2024):

Do you have further input to provide or has this issue been resolved for you?

<!-- gh-comment-id:2355738970 --> @f00b4r0 commented on GitHub (Sep 17, 2024): Do you have further input to provide or has this issue been resolved for you?
Author
Owner

@f00b4r0 commented on GitHub (Jan 20, 2025):

no news after 6 months, closing.

<!-- gh-comment-id:2602957354 --> @f00b4r0 commented on GitHub (Jan 20, 2025): no news after 6 months, closing.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/uspot#10
No description provided.