This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
technical:ppp-rd-troubleshoot [2023/11/07 23:03] admin [Startup] |
technical:ppp-rd-troubleshoot [2023/11/07 23:32] (current) admin [report_to_server.lua] |
||
---|---|---|---|
Line 12: | Line 12: | ||
cd / | cd / | ||
sudo ./u.la | sudo ./u.la | ||
- | sudo ./ | ||
E4-5F-01-41-59-70 | E4-5F-01-41-59-70 | ||
% Total % Received % Xferd Average Speed | % Total % Received % Xferd Average Speed | ||
Line 18: | Line 17: | ||
100 2382 0 2382 0 | 100 2382 0 2382 0 | ||
Restarting accel-ppp (via systemctl): accel-ppp.service. | Restarting accel-ppp (via systemctl): accel-ppp.service. | ||
+ | </ | ||
+ | * You can confirm that the config was proper formulated and everything is in order with /// | ||
+ | <code bash> | ||
+ | sudo cat / | ||
+ | </ | ||
+ | * You can also do the Ajax call which u.lua does from a browser to evaluate the JSON data that RADIUSdesk returns. | ||
+ | * https:// | ||
+ | * Use the above URL as reference and replace the FQDN with your server' | ||
+ | * The second part that might need troubleshooting is the reporting side. | ||
+ | ===== report_to_server.lua ===== | ||
+ | * You can run the reporting script manually: | ||
+ | <code bash> | ||
+ | cd / | ||
+ | sudo ./ | ||
</ | </ | ||
+ | * You should should see something like the following in the output: | ||
+ | <code bash> | ||
+ | % Total % Received % Xferd Average Speed | ||
+ | | ||
+ | 100 1939 0 39 100 1900 226 11024 --:--:-- --:--:-- --:--:-- 11273 | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | Doing the *light* report | ||
+ | |||
+ | </ | ||
+ | ===== Using accel-cmd ===== | ||
+ | * For security reasons we implement a password when using **accel-cmd**. | ||
+ | * This password is specified on the Profile of a server. | ||
+ | * You can find the password by looking at the profile on RADIUSdesk' | ||
+ | <code bash> | ||
+ | [cli] | ||
+ | password=testing123 | ||
+ | telnet=127.0.0.1: | ||
+ | verbose=1 | ||
+ | tcp=127.0.0.1: | ||
+ | </ | ||
+ | * A command will then look like this with the password above. | ||
+ | <code bash> | ||
+ | accel-cmd -P testing123 show stat | ||
+ | accel-cmd -P testing123 show sessions | ||
+ | </ | ||
+ | |||
+ | |||