Radius Client not recieving requests
Posted: Wed Oct 25, 2006 10:03 pm
Hi,
I have just setup freeradius on FreeBSD. The radius server is listening See Below:
radius# /usr/local/sbin/radiusd -x
Starting - reading configuration files ...
Module: Loaded PAP
Module: Instantiated pap (pap)
Module: Loaded CHAP
Module: Instantiated chap (chap)
Module: Loaded MS-CHAP
Module: Instantiated mschap (mschap)
Module: Loaded SQL
rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked
rlm_sql (sql): Attempting to connect to root@localhost:/radius
rlm_sql (sql): starting 0
rlm_sql (sql): Attempting to connect rlm_sql_mysql #0
rlm_sql_mysql: Starting connect to MySQL server for #0
rlm_sql (sql): Connected new DB handle, #0
rlm_sql (sql): starting 1
rlm_sql (sql): Attempting to connect rlm_sql_mysql #1
rlm_sql_mysql: Starting connect to MySQL server for #1
rlm_sql (sql): Connected new DB handle, #1
rlm_sql (sql): starting 2
rlm_sql (sql): Attempting to connect rlm_sql_mysql #2
rlm_sql_mysql: Starting connect to MySQL server for #2
rlm_sql (sql): Connected new DB handle, #2
rlm_sql (sql): starting 3
rlm_sql (sql): Attempting to connect rlm_sql_mysql #3
rlm_sql_mysql: Starting connect to MySQL server for #3
rlm_sql (sql): Connected new DB handle, #3
rlm_sql (sql): starting 4
rlm_sql (sql): Attempting to connect rlm_sql_mysql #4
rlm_sql_mysql: Starting connect to MySQL server for #4
rlm_sql (sql): Connected new DB handle, #4
Module: Instantiated sql (sql)
Module: Loaded Acct-Unique-Session-Id
Module: Instantiated acct_unique (acct_unique)
Initializing the thread pool...
Listening on authentication *:1812
Listening on accounting *:1813
Ready to process requests.
But I am not seeing any requests from the radius client on the Mikrotik router.
Router config:
add service=wireless called-id="" domain="" address=192.168.2.3 \
secret="*******" authentication-port=1812 accounting-port=1813 \
timeout=2s accounting-backup=no realm="" comment="" disabled=no
/ radius incoming
set accept=yes port=1700
/ snmp
Questions:
Do I need to run a hotspot for this to work. Currently users client mac's are trusted in the access list and recieve an ipaddress from a LAN based dhcp server.
If I need to use a hotspot how do I force all traffic through my proxy server that will sit on a 192.168.2.0 network. Current the proxy is the default gateway.
Thanks Mark
I have just setup freeradius on FreeBSD. The radius server is listening See Below:
radius# /usr/local/sbin/radiusd -x
Starting - reading configuration files ...
Module: Loaded PAP
Module: Instantiated pap (pap)
Module: Loaded CHAP
Module: Instantiated chap (chap)
Module: Loaded MS-CHAP
Module: Instantiated mschap (mschap)
Module: Loaded SQL
rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked
rlm_sql (sql): Attempting to connect to root@localhost:/radius
rlm_sql (sql): starting 0
rlm_sql (sql): Attempting to connect rlm_sql_mysql #0
rlm_sql_mysql: Starting connect to MySQL server for #0
rlm_sql (sql): Connected new DB handle, #0
rlm_sql (sql): starting 1
rlm_sql (sql): Attempting to connect rlm_sql_mysql #1
rlm_sql_mysql: Starting connect to MySQL server for #1
rlm_sql (sql): Connected new DB handle, #1
rlm_sql (sql): starting 2
rlm_sql (sql): Attempting to connect rlm_sql_mysql #2
rlm_sql_mysql: Starting connect to MySQL server for #2
rlm_sql (sql): Connected new DB handle, #2
rlm_sql (sql): starting 3
rlm_sql (sql): Attempting to connect rlm_sql_mysql #3
rlm_sql_mysql: Starting connect to MySQL server for #3
rlm_sql (sql): Connected new DB handle, #3
rlm_sql (sql): starting 4
rlm_sql (sql): Attempting to connect rlm_sql_mysql #4
rlm_sql_mysql: Starting connect to MySQL server for #4
rlm_sql (sql): Connected new DB handle, #4
Module: Instantiated sql (sql)
Module: Loaded Acct-Unique-Session-Id
Module: Instantiated acct_unique (acct_unique)
Initializing the thread pool...
Listening on authentication *:1812
Listening on accounting *:1813
Ready to process requests.
But I am not seeing any requests from the radius client on the Mikrotik router.
Router config:
add service=wireless called-id="" domain="" address=192.168.2.3 \
secret="*******" authentication-port=1812 accounting-port=1813 \
timeout=2s accounting-backup=no realm="" comment="" disabled=no
/ radius incoming
set accept=yes port=1700
/ snmp
Questions:
Do I need to run a hotspot for this to work. Currently users client mac's are trusted in the access list and recieve an ipaddress from a LAN based dhcp server.
If I need to use a hotspot how do I force all traffic through my proxy server that will sit on a 192.168.2.0 network. Current the proxy is the default gateway.
Thanks Mark