 Jason Cohen
join:2004-11-06 Waltham, MA
| reply to Jason Cohen Re: Questions about WPA2 and WPA
I've installed Freeradius on my Debian Sarge server and set it up using a combination of jbibe's instructions and instructions found here: »www.linuxjournal.com/node/8151/print. I made changes where necessary- as configuration files were stored in different locations and all EAP related settings are now in eap.conf rather than radiusd.conf. Anyways, I believe I have everything setup properly but when I attempt to start freeradius I get this error:
"jasonsdesktop:/etc/freeradius# /usr/sbin/freeradius -x Starting - reading configuration files ... /etc/freeradius/eap.conf[336]: Unexpected end of file Errors reading radiusd.conf"
I thought the problem might be due to a corrupt file so I downloaded another version off Freeradius's site but I still get the same error. Any idea what would cause this error? |
|
 Jason Cohen
join:2004-11-06 Waltham, MA
| Also, when I use the standard radiusd.conf file I receive the error:
jasonsdesktop:/etc/freeradius# freeradius -x Starting - reading configuration files ... /etc/freeradius/radiusd.conf[413]: Unable to open file "@raddbdir@/proxy.conf": No such file or directory Errors reading radiusd.conf
I fixed this issue by manually specifying the location of the configuration directory.
confdir = ${raddbdir}
to
confdir = /etc/freeradius
Once I did that, I began receiving the "Unexpected End of File" error. |
|
  No_Strings Premium,Mod join:2001-11-22 The OC | Sounds like you have a typo in the config file - a missing curly bracket (or an extra one).
Double-check the changes you made to the config files for a syntax error. |
|
 Jason Cohen
join:2004-11-06 Waltham, MA
1 edit | I figured out that the problem was that I forgot to uncomment an "}" after the TLS section. Anyways, after that occurred I ran into tons of errors about missing libraries. I was about to give up until I decided to just compile freeradius from source (as I should have done the first time). The weird problems that I was getting before went away and I was greeted with this message:
Initializing the thread pool... Listening on authentication *:1812 Listening on accounting *:1813 Ready to process requests.
This time I didn't have to make any configuration changes to radiusd.conf.
I just purchased a Buffalo WHR-G54S Wireless Router which I will be using to replace my crap Netgear WGR614 wireless router (drops connections, must be restarted every few days, overheats etc.) I'm planning to load DD-WRT v23sp2 on the router so I can use it with the RADIUS server I just created in EAP-TLS mode with WPA2. I guess I'll find out if it works tomorrow. |
|