Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
f11:technik:raspberrypi:hotspotdm3kb:raspbradius [2014/12/05 17:23] dm3kb |
f11:technik:raspberrypi:hotspotdm3kb:raspbradius [2019/09/29 12:03] (aktuell) |
||
---|---|---|---|
Zeile 67: | Zeile 67: | ||
# Optional: | # Optional: | ||
- | mysql> GRANT USAGE ON * . * TO ' | + | mysql> GRANT USAGE ON * . * TO ' |
Query OK, 0 rows affected (0.01 sec) | Query OK, 0 rows affected (0.01 sec) | ||
Zeile 81: | Zeile 81: | ||
#port = 3306 | #port = 3306 | ||
login = " | login = " | ||
- | password = "Radpass12345 | + | password = "Radpass |
| | ||
# Database table configuration for everything except Oracle | # Database table configuration for everything except Oracle | ||
Zeile 97: | Zeile 97: | ||
# | # | ||
- | secret | + | secret |
</ | </ | ||
Zeile 106: | Zeile 106: | ||
[ ok ] Stopping FreeRADIUS daemon: freeradius. | [ ok ] Stopping FreeRADIUS daemon: freeradius. | ||
- | </code | + | </code> |
+ | == Test Radius Server == | ||
+ | The test of the radius funktionality is delayed until it was possible to create a user in the DB via EASY-Hotspot admin GUI. | ||
- | ===Start in debug mode:=== | + | [[f11:technik: |
- | < | + | |
- | freeradius -X | + | |
- | </ | + | |
- | Dont panic, tons of output will run over the screen, but important is that after some time \\ | + | |
- | a line named: **Ready to process requests.** is displayed\\ | + | |
- | Now login on another terminal and test radius communication with MySQL by requesting login-Infor for user1 with pw passwd123 on localhost 1812 and secret RaspiRadi1234: | + | |
- | < | + | |
- | root@raspberrypi: | + | |
- | Sending Access-Request of id 35 to 127.0.0.1 port 1812 | + | |
- | User-Name = " | + | |
- | User-Password = " | + | |
- | NAS-IP-Address = 127.0.1.1 | + | |
- | NAS-Port = 0 | + | |
- | Message-Authenticator = 0x00000000000000000000000000000000 | + | |
- | rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=35, length=20 | + | |
- | root@raspberrypi:~# | + | |
- | + | ||
- | </ | + | |
- | Done\\ | ||
[[f11: | [[f11: |