16 lines
480 B
Bash
Executable file
16 lines
480 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Teste le inner-tunnel en se connectant directement au serveur
|
|
|
|
MAC=moo-torola
|
|
PASSWORD=7syxqbbkdb
|
|
#SECRET=`PYTHONPATH=/etc/crans/secrets/ python -c \
|
|
# "import secrets; print secrets.radius_eap_key"`
|
|
SECRET=e4hmraqw6Yps
|
|
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]
|
|
SERVER=localhost
|
|
radtest -t mschap -x -4 $MAC $PASSWORD $SERVER 18 $SECRET $SECRET $NAS_NAME
|