Ah... I haven't tried it yet, but I'm about certain you're correct. Thanks, Oleg! I'll keep you posted anyway...
UPDATE: OK.. I think I was wrong if I said WPA-PSK was related to nas. I mean, it seems it is but I killed it wirelessly and.. I'm still here... Oh, wait. Hmm. Odd. It connects and authenticates but no communication. Guess I was wrong about that. Anyway, I was able to get it started again with WPA-PSK without /opt mounted.
And here's the results everyone's been waiting for...
It works. Excellent. Finally my mind can rest in peace knowing everything is set up and working how I've wanted it to work from day 1... and with a built-in RADIUS server, too! Well, not built-in.. but on the router. Client certificates work, I have a client that actually reconnects should it ever become disconnected... Great.
Thanks again, Oleg.
start-nas:
Code:
#!/bin/sh
export LD_LIBRARY_PATH=/usr/lib
umount /usr/sbin/nas
usleep 10000
nas /tmp/nas.lan.conf /tmp/nas.lan.pid lan &
The usleep probably isn't necessary but I put it in in the process of troubleshooting and there's no need to take it out and fix what isn't broken.
Eventually... I may write a guide for setting up freeradius. A complete one. Including stuff about getting things to work with Windows XP (SP2). Then again, maybe I won't find the time. It should be done, anyhow. It won't hurt me if anybody else does it.