FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
265 views 1 comments
by anonymous
Hello,

I have downloaded the hotspot package for my RUT 955. From the popup page, I ask my users to go to their PWA on their phones.

From here I want my web app to be able to query information on the router. I have tried setting up a uhttpd server but getter a cors error when I try querying it.

Any help will be appreciated.
by anonymous
here are my uhttpd setting

config uhttpd 'hotspot'                  

        option enablehttp '1'           

        option home '/hotspotlogin'     

        option rfc1918_filter '1'        

        option max_requests '3'          

        option max_connections '100'     

        option cert '/etc/uhttpd.crt'    

        option key '/etc/uhttpd.key'     

        option cgi_prefix '/cgi-bin'     

        option script_timeout '600'      

        option network_timeout '30'      

        option http_keepalive '20'       

        option tcp_keepalive '1'         

        option no_dirlists '1'           

        option listen_http '81'      

        option listen_https '444'    

        option disabled '0'          

        option ubus_cors '1'

1 Answer

0 votes
by anonymous
Hello,

Could you provide a more detailed description of your use case?

What are the steps you did to configure the router, Hotspot feature?

Screenshots with the error?

Best regards,