Could anyone help me in solvin this problem?
I've tried to install and configure radius server on freebsd 7.2 using chillispot, freeradius. I followed this link address http://www.geeklan.co.uk/files/freebsd_chillispot_installguide.txt.
After following that step, I run radius debug using /usr/local/sbin/radiusd -X, the end line result :
After finishing following step by step in that link address, I tried to run step number 10 and the command is
radtest steve testing localhost 1812 s3cr3t
when I run that command the result is
XFaliled to get value,
before running step number 10, I tried to run the daemon of freeradius first. Radius daemon is located in the directory /usr/local/etc/rc.d/radiusd. I run the command like this
then I checked the radius daemon status using command
Ok radiusd can run and I can see the PID. But when I run chillispot daemon, using command
then I run command for change the own of chillispot daemon using command :
then I run chillispot daemon to start
I'm still confused what the meaning of tun.c, redir.c, chilli.c. Could anyone help me please in solving this problem?
best regards,
harry
I've tried to install and configure radius server on freebsd 7.2 using chillispot, freeradius. I followed this link address http://www.geeklan.co.uk/files/freebsd_chillispot_installguide.txt.
After following that step, I run radius debug using /usr/local/sbin/radiusd -X, the end line result :
Code:
Module: Instantiated radutmp (radutmp)
Listening on authentication *:1812
Listening on accounting *:1813
Ready to process requests.
After finishing following step by step in that link address, I tried to run step number 10 and the command is
radtest steve testing localhost 1812 s3cr3t
when I run that command the result is
XFaliled to get value,
before running step number 10, I tried to run the daemon of freeradius first. Radius daemon is located in the directory /usr/local/etc/rc.d/radiusd. I run the command like this
/usr/local/etc/rc.d/radiusd start
then I checked the radius daemon status using command
/usr/local/etc/rc.d/radiusd status
. The status result is radius is not running. When I knew radius daemon was not running, I tried to run chown command like this chown -R radiusd : radiusd /usr/local/etc/rc.d/radiusd
. Then I run the radius daemon again using command /usr/local/etc/rc.d/radiusd start
. It's been solved. Radius daemon can run.Ok radiusd can run and I can see the PID. But when I run chillispot daemon, using command
/usr/local/etc/rc.d/chillispot start
, the result is the shame. Chillispot is not running. In solving this problem I made a user for chillispot daemon like this :
Code:
Username: chilli
Full name: chillispot
Uid (Leave empty for default):
Login group [chilli]:
Login group is radiusd. Invite chilli into other groups? []:
Login class [default]:
Shell (sh csh tcsh nologin) [sh]: nologin
Home directory [/home/chilli]: /nonexistent
Use password-based authentication? [yes]:
Use an empty password? (yes/no) [no]:
Use a random password? (yes/no) [no]: y
Lock out the account after creation? [no]: y
Username : chilli
Password : <random>
Full Name : chillispot
Uid : 1003
Class :
Groups : chilli
Home : /nonexistent
Shell : /usr/sbin/nologin
Locked : yes
OK? (yes/no): y
adduser: INFO: Successfully added (chilli) to the user database.
adduser: INFO: Password for (chilli) is: blablabla123
adduser: INFO: Account (chilli) is locked.
then I run command for change the own of chillispot daemon using command :
chown -R chilli:chilli /usr/local/etc/rc.d/chillispot
then I run chillispot daemon to start
/usr/local/etc/rc.d/chillispot start
/usr/local/etc/rc.d/chillispot status
. The result : chillispot is not running. I also check the log using : tail -f /var/log/messages
and the log message :
Code:
Apr 7 23:28:04 chillispot[1127]: tun.c: 603: 17 (File exists) write() failed
Apr 7 23:28:04 chillispot[1127]: redir.c: 532: 49 (Can't assign requested address) bind() failed
Apr 7 23:28:04 chillispot[1127]: chilli.c: 3559: Failed to create redir
I'm still confused what the meaning of tun.c, redir.c, chilli.c. Could anyone help me please in solving this problem?

best regards,
harry