networking:freeradius-yubikey
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| networking:freeradius-yubikey [2025/10/05 04:24] – srohr_admin | networking:freeradius-yubikey [2025/10/17 04:45] (current) – [Testing using radtest] srohr_admin | ||
|---|---|---|---|
| Line 39: | Line 39: | ||
| In **/// | In **/// | ||
| + | \\ | ||
| + | |||
| + | cat clients.conf | sed -r '/ | ||
| < | < | ||
| Line 194: | Line 197: | ||
| } | } | ||
| } | } | ||
| + | </ | ||
| + | |||
| + | ===== Testing using radtest ===== | ||
| + | |||
| + | Successful: | ||
| + | |||
| + | < | ||
| + | radtest -x srohr Cisco123ccccccurvdnlbhdrtkjrihhbikhvklkkgvgftldgkjfd localhost 1812 testing123 | ||
| + | Sent Access-Request Id 248 from 0.0.0.0: | ||
| + | User-Name = " | ||
| + | User-Password = " | ||
| + | NAS-IP-Address = 127.0.1.1 | ||
| + | NAS-Port = 1812 | ||
| + | Message-Authenticator = 0x00 | ||
| + | Cleartext-Password = " | ||
| + | Received Access-Accept Id 248 from 127.0.0.1: | ||
| + | Message-Authenticator = 0x53728eccda8d30a6f9a9451136b7c4e6 | ||
| + | </ | ||
| + | |||
| + | Unsuccessful: | ||
| + | |||
| + | < | ||
| + | radtest -x srohr2 Cisco123ccccccurvdnlvetenvrhgjlcbvrcldegrbdgggfnjtnj localhost 1812 testing123 | ||
| + | Sent Access-Request Id 164 from 0.0.0.0: | ||
| + | User-Name = " | ||
| + | User-Password = " | ||
| + | NAS-IP-Address = 127.0.1.1 | ||
| + | NAS-Port = 1812 | ||
| + | Message-Authenticator = 0x00 | ||
| + | Cleartext-Password = " | ||
| + | Received Access-Reject Id 164 from 127.0.0.1: | ||
| + | Message-Authenticator = 0x078a3a6275d18b0f41277f9509c96312 | ||
| + | (0) -: Expected Access-Accept got Access-Reject | ||
| + | </ | ||
| + | |||
| + | shows config without empty lines and removes lines starting with '#' | ||
| + | |||
| + | < | ||
| + | cat sites-enabled/ | ||
| </ | </ | ||
networking/freeradius-yubikey.1759634666.txt.gz · Last modified: 2025/10/05 04:24 by srohr_admin
