Xsupplicant help please
HI there this is my first time using freeradius and Xsupplicant. I have been able to set up the radius side the correct way but I cannot seem to get the the Xsupplicant part to work. Here is my .conf for the xupplicant :
network_list = all
default_netname = default
startup_command = <BEGIN_COMMAND>/usr/local/etc/1x/startup.sh<END_COMMAND>
first_auth_command = <BEGIN_COMMAND>/usr/local/etc/1x/startup2.sh<END_COMMAND>
logfile = /var/log/xsupplicant.log
allow_interfaces = eth0
deny_interfaces = eth1
### NETWORK SECTION
default
{
allow_types = eap_peap
identity = <BEGIN_ID>anonymous<END_ID>
eap-peap {
root_cert = /usr/local/etc/1x/certs/root.pem
chunk_size = 1398
random_file = /dev/urandom
session_resume = yes
allow_types = eap_mschapv2
eap-mschapv2 {
username = <BEGIN_UNAME>********<END_UNAME>
password = <BEGIN_PASS>**********<END_PASS>
}
}
#}
Then I run this command:- xsupplicant -c /usr/local/etc/1x/1x.conf -i eth0 -d 6
and this is the result that I then get :
Error (null), 158: Unkown token '*********'
There was a problem with the config file. We cannot continue.
Can someone please tell me why this is happening ?
|