14 lines
445 B
Bash
Executable file
14 lines
445 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Teste le inner-tunnel en se connectant directement au serveur
|
|
|
|
MAC=apprentis-wifi
|
|
PASSWORD=p74dj3ipwd
|
|
SECRET=`PYTHONPATH=/etc/crans/secrets/ python -c \
|
|
"import secrets; print secrets.radius_eap_key"`
|
|
NAS_NAME=atree.wifi.crans.org
|
|
#SERVER=127.0.0.1
|
|
SERVER=pea.v6.wifi.crans.org
|
|
SERVER=138.231.136.35
|
|
SERVER=[2a01:240:fe3d:c04:0:70ff:fe65:6103]
|
|
radtest -t mschap -x -6 $MAC $PASSWORD $SERVER 18 $SECRET $SECRET $NAS_NAME
|