Hi everyone,<div><br></div><div>Firstly, I'm new to this list, but I've searched for an answer to my problems for quite a while, and haven't been able to find a solution. Please excuse me if this has already been asked.</div>
<div><br></div><div><b>USAGE</b></div><div><br></div><div>I'm using Freeradius to log call statistics from my Cisco AS5400 call gateway to a MySQL database. We use this for accounting ( to keep track of how many minutes callers use ).</div>
<div><br></div><div><b>VERSION</b></div><div><br></div><div>I'm using</div><div><br></div><div>FreeRADIUS Version 2.1.0, for host x86_64-pc-linux-gnu, built on Sep 17 2009 at 17:46:37</div><div><br></div><div>on ubuntu-server.</div>
<div><br></div><div><b>PROBLEM</b></div><div><br></div><div>The problem I'm having is that when I run Freeradius (in production or debug mode), my Cisco AS5400 is unable to connect to the freeradius server. When I do a netstat -a on my freeradius server, I see no connections listening on ports 1812 and 1813 (which freeradius should be listening on).</div>
<div><br></div><div>I believe that once this problem has been resolved, my setup will work correctly:</div><div><br></div><div>1. Call comes into my Cisco AS5400.</div><div>2. Cisco AS5400 sends accounting requests to my freeradius server.</div>
<div>3. Freeradius server performs a MySQL query to my MySQL database.</div><div>4. Caller hangs up.</div><div>5. Cisco AS5400 sends an accounting request to my freeradius server.</div><div>6. Freeradius server performs a MySQL update to my MySQL database, thus ending the transaction.</div>
<div><br></div><div><b>FREERADIUS DEBUG</b></div><div><br></div><div>Here is the output of: freeradius -X</div><div><br></div><div><div>root@RAD01:~# freeradius -X                                                                 </div>
<div>FreeRADIUS Version 2.1.0, for host x86_64-pc-linux-gnu, built on Sep 17 2009 at 17:46:37    </div><div>Copyright (C) 1999-2008 The FreeRADIUS server project and contributors.                     </div><div>There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A                         </div>
<div>PARTICULAR PURPOSE.                                                                         </div><div>You may redistribute copies of FreeRADIUS under the terms of the                            </div><div>GNU General Public License v2.                                                              </div>
<div>Starting - reading configuration files ...                                                  </div><div>including configuration file /etc/freeradius/radiusd.conf                                   </div><div>including configuration file /etc/freeradius/clients.conf                                   </div>
<div>including files in directory /etc/freeradius/modules/                                       </div><div>including configuration file /etc/freeradius/modules/krb5                                   </div><div>including configuration file /etc/freeradius/modules/pap                                    </div>
<div>including configuration file /etc/freeradius/modules/unix                                   </div><div>including configuration file /etc/freeradius/modules/linelog                                </div><div>including configuration file /etc/freeradius/modules/<a href="http://detail.example.com">detail.example.com</a>                     </div>
<div>including configuration file /etc/freeradius/modules/wimax                                  </div><div>including configuration file /etc/freeradius/modules/realm                                  </div><div>including configuration file /etc/freeradius/modules/sql_log                                </div>
<div>including configuration file /etc/freeradius/modules/exec                                   </div><div>including configuration file /etc/freeradius/modules/mac2ip                                 </div><div>including configuration file /etc/freeradius/modules/detail.log                             </div>
<div>including configuration file /etc/freeradius/modules/passwd                                 </div><div>including configuration file /etc/freeradius/modules/attr_rewrite                           </div><div>including configuration file /etc/freeradius/modules/acct_unique                            </div>
<div>including configuration file /etc/freeradius/modules/always                                 </div><div>including configuration file /etc/freeradius/modules/digest                                 </div><div>including configuration file /etc/freeradius/modules/radutmp                                </div>
<div>including configuration file /etc/freeradius/modules/attr_filter                            </div><div>including configuration file /etc/freeradius/modules/smbpasswd                              </div><div>including configuration file /etc/freeradius/modules/checkval                               </div>
<div>including configuration file /etc/freeradius/modules/files                                  </div><div>including configuration file /etc/freeradius/modules/counter                                </div><div>including configuration file /etc/freeradius/modules/expiration                             </div>
<div>including configuration file /etc/freeradius/modules/chap                                   </div><div>including configuration file /etc/freeradius/modules/inner-eap                              </div><div>including configuration file /etc/freeradius/modules/pam                                    </div>
<div>including configuration file /etc/freeradius/modules/policy                                 </div><div>including configuration file /etc/freeradius/modules/sradutmp                               </div><div>including configuration file /etc/freeradius/modules/detail                                 </div>
<div>including configuration file /etc/freeradius/modules/expr                                   </div><div>including configuration file /etc/freeradius/modules/ippool                                 </div><div>including configuration file /etc/freeradius/modules/logintime                              </div>
<div>including configuration file /etc/freeradius/modules/mschap                                 </div><div>including configuration file /etc/freeradius/modules/ldap                                   </div><div>including configuration file /etc/freeradius/modules/mac2vlan                               </div>
<div>including configuration file /etc/freeradius/modules/preprocess                             </div><div>including configuration file /etc/freeradius/modules/etc_group                              </div><div>including configuration file /etc/freeradius/modules/echo                                   </div>
<div>including configuration file /etc/freeradius/sql.conf                                       </div><div>including configuration file /etc/freeradius/sql/mysql/dialup.conf                          </div><div>including files in directory /etc/freeradius/sites-enabled/                                 </div>
<div>including configuration file /etc/freeradius/sites-enabled/inner-tunnel                     </div><div>including configuration file /etc/freeradius/sites-enabled/default                          </div><div>including dictionary file /etc/freeradius/dictionary                                        </div>
<div>main {                                                                                      </div><div>        prefix = "/usr"                                                                     </div><div>
        localstatedir = "/var"                                                              </div><div>        logdir = "/var/log/freeradius"                                                      </div>
<div>        libdir = "/usr/lib/freeradius"                                                      </div><div>        radacctdir = "/var/log/freeradius/radacct"                                          </div>
<div>        hostname_lookups = no                                                               </div><div>        max_request_time = 30                                                               </div><div>        cleanup_delay = 5                                                                   </div>
<div>        max_requests = 9600                                                                 </div><div>        allow_core_dumps = no                                                               </div><div>        pidfile = "/var/run/freeradius/freeradius.pid"                                      </div>
<div>        checkrad = "/usr/sbin/checkrad"                                                     </div><div>        debug_level = 0                                                                     </div><div>
        proxy_requests = no                                                                 </div><div> log {                                                                                      </div><div>        stripped_names = no                                                                 </div>
<div>        auth = yes                                                                          </div><div>        auth_badpass = yes                                                                  </div><div>        auth_goodpass = yes                                                                 </div>
<div> }                                                                                          </div><div> security {                                                                                 </div><div>        max_attributes = 200                                                                </div>
<div>        reject_delay = 1                                                                    </div><div>        status_server = yes                                                                 </div><div> }                                                                                          </div>
<div>}                                                                                           </div><div> client xx.xx.xx.xx {                                                                   </div><div>        ipaddr = xx.xx.xx.xx                                                            </div>
<div>        require_message_authenticator = no                                                  </div><div>        secret = "password"                                                                  </div><div>
        shortname = "AA"                                                                    </div><div>        nastype = "cisco"                                                                   </div>
<div> }                                                                   </div><div>radiusd: #### Loading Realms and Home Servers ####                                          </div><div>radiusd: #### Instantiating modules ####                                                    </div>
<div> instantiate {                                                                              </div><div> }                                                                                          </div><div>radiusd: #### Loading Virtual Servers ####                                                  </div>
<div>server inner-tunnel {                                                                       </div><div> modules {                                                                                  </div><div> Module: Checking session {...} for more modules to load                                    </div>
<div> Module: Linked to module rlm_sql                                                           </div><div> Module: Instantiating sql                                                                  </div><div>  sql {                                                                                     </div>
<div>        driver = "rlm_sql_mysql"                                                            </div><div>        server = "xx.xx.xx.xx"                                                          </div>
<div>        port = ""                                                                           </div><div>        login = "radius"                                                                    </div>
<div>        password = "password"                                                               </div><div>        radius_db = "accounting"                                                            </div>
<div>        read_groups = yes                                                                   </div><div>        sqltrace = yes                                                                      </div><div>        sqltracefile = "/var/log/freeradius/sqltrace.sql"                                   </div>
<div>        readclients = no                                                                    </div><div>        deletestalesessions = yes                                                           </div><div>        num_sql_socks = 25                                                                  </div>
<div>        sql_user_name = "%{User-Name}"                                                      </div><div>        default_user_profile = ""                                                           </div>
<div>        nas_query = "SELECT id,nasname,shortname,type,secret FROM nas"                      </div><div>        authorize_check_query = ""                                                          </div>
<div>        authorize_group_check_query = ""                                                    </div><div>        authorize_group_reply_query = ""                                                    </div>
<div>        accounting_onoff_query = ""                                                         </div><div>        accounting_update_query = ""                                                        </div>
<div>        accounting_update_query_alt = ""                                                    </div><div>        accounting_start_query = "INSERT INTO dids (sessionid, did, caller, start) VALUES ('%{NAS-Identifier}%{Acct-Session-Id}', '%{Called-Station-Id}', '%{Calling-Station-Id}', NOW())"                                                                                          </div>
<div>        accounting_start_query_alt = ""                                                     </div><div>        accounting_stop_query = "UPDATE dids SET stop=NOW(), duration=%{Acct-Session-Time}, termination_cause='%{Acct-Terminate-Cause}' WHERE sessionid='%{NAS-Identifier}%{Acct-Session-Id}' LIMIT 1"                                                                              </div>
<div>        accounting_stop_query_alt = ""                                                      </div><div>        connect_failure_retry_delay = 60                                                    </div><div>
        simul_count_query = ""                                                              </div><div>        simul_verify_query = ""                                                             </div>
<div>        postauth_query = ""                                                                 </div><div>        safe-characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"                                                                                       </div>
<div>  }                                                                                         </div><div>rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked                </div><div>rlm_sql (sql): Attempting to connect to radius@xx.xx.xx.xx:/accounting                  </div>
<div>rlm_sql (sql): starting 0                                                                   </div><div>rlm_sql (sql): Attempting to connect rlm_sql_mysql #0                                       </div><div>rlm_sql_mysql: Starting connect to MySQL server for #0                                      </div>
<div>rlm_sql (sql): Connected new DB handle, #0                                                  </div><div>rlm_sql (sql): starting 1                                                                   </div><div>rlm_sql (sql): Attempting to connect rlm_sql_mysql #1                                       </div>
<div>rlm_sql_mysql: Starting connect to MySQL server for #1                                      </div><div>rlm_sql (sql): Connected new DB handle, #1                                                  </div><div>rlm_sql (sql): starting 2                                                                   </div>
<div>rlm_sql (sql): Attempting to connect rlm_sql_mysql #2                                       </div><div>rlm_sql_mysql: Starting connect to MySQL server for #2                                      </div><div>rlm_sql (sql): Connected new DB handle, #2                                                  </div>
<div>rlm_sql (sql): starting 3                                                                   </div><div>rlm_sql (sql): Attempting to connect rlm_sql_mysql #3                                       </div><div>rlm_sql_mysql: Starting connect to MySQL server for #3                                      </div>
<div>rlm_sql (sql): Connected new DB handle, #3                                                  </div><div>rlm_sql (sql): starting 4                                                                   </div><div>rlm_sql (sql): Attempting to connect rlm_sql_mysql #4                                       </div>
<div>rlm_sql_mysql: Starting connect to MySQL server for #4                                      </div><div>rlm_sql (sql): Connected new DB handle, #4                                                  </div><div>rlm_sql (sql): starting 5                                                                   </div>
<div>rlm_sql (sql): Attempting to connect rlm_sql_mysql #5                                       </div><div>rlm_sql_mysql: Starting connect to MySQL server for #5                                      </div><div>rlm_sql (sql): Connected new DB handle, #5                                                  </div>
<div>rlm_sql (sql): starting 6                                                                   </div><div>rlm_sql (sql): Attempting to connect rlm_sql_mysql #6                                       </div><div>rlm_sql_mysql: Starting connect to MySQL server for #6                                      </div>
<div>rlm_sql (sql): Connected new DB handle, #6                                                  </div><div>rlm_sql (sql): starting 7                                                                   </div><div>rlm_sql (sql): Attempting to connect rlm_sql_mysql #7                                       </div>
<div>rlm_sql_mysql: Starting connect to MySQL server for #7                                      </div><div>rlm_sql (sql): Connected new DB handle, #7                                                  </div><div>rlm_sql (sql): starting 8                                                                   </div>
<div>rlm_sql (sql): Attempting to connect rlm_sql_mysql #8                                       </div><div>rlm_sql_mysql: Starting connect to MySQL server for #8                                      </div><div>rlm_sql (sql): Connected new DB handle, #8                                                  </div>
<div>rlm_sql (sql): starting 9                                                                   </div><div>rlm_sql (sql): Attempting to connect rlm_sql_mysql #9                                       </div><div>rlm_sql_mysql: Starting connect to MySQL server for #9                                      </div>
<div>rlm_sql (sql): Connected new DB handle, #9                                                  </div><div>rlm_sql (sql): starting 10                                                                  </div><div>rlm_sql (sql): Attempting to connect rlm_sql_mysql #10                                      </div>
<div>rlm_sql_mysql: Starting connect to MySQL server for #10                                     </div><div>rlm_sql (sql): Connected new DB handle, #10                                                 </div><div>rlm_sql (sql): starting 11                                                                  </div>
<div>rlm_sql (sql): Attempting to connect rlm_sql_mysql #11                                      </div><div>rlm_sql_mysql: Starting connect to MySQL server for #11                                     </div><div>rlm_sql (sql): Connected new DB handle, #11                                                 </div>
<div>rlm_sql (sql): starting 12                                                                  </div><div>rlm_sql (sql): Attempting to connect rlm_sql_mysql #12                                      </div><div>rlm_sql_mysql: Starting connect to MySQL server for #12                                     </div>
<div>rlm_sql (sql): Connected new DB handle, #12                                                 </div><div>rlm_sql (sql): starting 13                                                                  </div><div>rlm_sql (sql): Attempting to connect rlm_sql_mysql #13                                      </div>
<div>rlm_sql_mysql: Starting connect to MySQL server for #13                                     </div><div>rlm_sql (sql): Connected new DB handle, #13                                                 </div><div>rlm_sql (sql): starting 14                                                                  </div>
<div>rlm_sql (sql): Attempting to connect rlm_sql_mysql #14                                      </div><div>rlm_sql_mysql: Starting connect to MySQL server for #14                                     </div><div>rlm_sql (sql): Connected new DB handle, #14                                                 </div>
<div>rlm_sql (sql): starting 15                                                                  </div><div>rlm_sql (sql): Attempting to connect rlm_sql_mysql #15                                      </div><div>rlm_sql_mysql: Starting connect to MySQL server for #15                                     </div>
<div>rlm_sql (sql): Connected new DB handle, #15                                                 </div><div>rlm_sql (sql): starting 16                                                                  </div><div>rlm_sql (sql): Attempting to connect rlm_sql_mysql #16                                      </div>
<div>rlm_sql_mysql: Starting connect to MySQL server for #16                                     </div><div>rlm_sql (sql): Connected new DB handle, #16                                                 </div><div>rlm_sql (sql): starting 17                                                                  </div>
<div>rlm_sql (sql): Attempting to connect rlm_sql_mysql #17                                      </div><div>rlm_sql_mysql: Starting connect to MySQL server for #17                                     </div><div>rlm_sql (sql): Connected new DB handle, #17                                                 </div>
<div>rlm_sql (sql): starting 18                                                                  </div><div>rlm_sql (sql): Attempting to connect rlm_sql_mysql #18                                      </div><div>rlm_sql_mysql: Starting connect to MySQL server for #18                                     </div>
<div>rlm_sql (sql): Connected new DB handle, #18                                                 </div><div>rlm_sql (sql): starting 19                                                                  </div><div>rlm_sql (sql): Attempting to connect rlm_sql_mysql #19                                      </div>
<div>rlm_sql_mysql: Starting connect to MySQL server for #19                                     </div><div>rlm_sql (sql): Connected new DB handle, #19                                                 </div><div>rlm_sql (sql): starting 20                                                                  </div>
<div>rlm_sql (sql): Attempting to connect rlm_sql_mysql #20                                      </div><div>rlm_sql_mysql: Starting connect to MySQL server for #20                                     </div><div>rlm_sql (sql): Connected new DB handle, #20                                                 </div>
<div>rlm_sql (sql): starting 21                                                                  </div><div>rlm_sql (sql): Attempting to connect rlm_sql_mysql #21                                      </div><div>rlm_sql_mysql: Starting connect to MySQL server for #21                                     </div>
<div>rlm_sql (sql): Connected new DB handle, #21                                                 </div><div>rlm_sql (sql): starting 22                                                                  </div><div>rlm_sql (sql): Attempting to connect rlm_sql_mysql #22                                      </div>
<div>rlm_sql_mysql: Starting connect to MySQL server for #22                                     </div><div>rlm_sql (sql): Connected new DB handle, #22                                                 </div><div>rlm_sql (sql): starting 23</div>
<div>rlm_sql (sql): Attempting to connect rlm_sql_mysql #23</div><div>rlm_sql_mysql: Starting connect to MySQL server for #23</div><div>rlm_sql (sql): Connected new DB handle, #23</div><div>rlm_sql (sql): starting 24</div>
<div>rlm_sql (sql): Attempting to connect rlm_sql_mysql #24</div><div>rlm_sql_mysql: Starting connect to MySQL server for #24</div><div>rlm_sql (sql): Connected new DB handle, #24</div><div> }</div><div>}</div><div> modules {</div>
<div> Module: Checking accounting {...} for more modules to load</div><div> Module: Linked to module rlm_detail</div><div> Module: Instantiating detail</div><div>  detail {</div><div>        detailfile = "/var/log/freeradius/radacct/%{Client-IP-Address}/detail-%Y%m%d"</div>
<div>        header = "%t"</div><div>        detailperm = 384</div><div>        dirperm = 493</div><div>        locking = no</div><div>        log_packet_header = no</div><div>  }</div><div> Module: Checking session {...} for more modules to load</div>
<div> }</div><div>radiusd: #### Opening IP addresses and Ports ####</div><div>listen {</div><div>        type = "auth"</div><div>        ipaddr = *</div><div>        port = 0</div><div>}</div><div>listen {</div>
<div>        type = "acct"</div><div>        ipaddr = *</div><div>        port = 0</div><div>}</div><div>Listening on authentication address * port 1812</div><div>Listening on accounting address * port 1813</div>
<div>Ready to process requests.</div></div><div><br></div><div><b>DEBUG LISTENING PORTS</b></div><div><br></div><div>As you can see in the previous section, my freeradius debug seems to execute perfectly. Note how it says it is listening on 1812 and 1813. When I do a netstat -a command, I get:</div>
<div><br></div><div><div>root@RAD01:~# netstat -a</div><div>Active Internet connections (servers and established)</div><div>Proto Recv-Q Send-Q Local Address           Foreign Address         State      </div><div>tcp        0      0 *:ssh                   *:*                     LISTEN     </div>
<div>tcp        0      0 RAD01:37518             xx.xx.xx.xx.s:mysql ESTABLISHED</div><div>tcp        0      0 RAD01:37534             xx.xx.xx.xx.s:mysql ESTABLISHED</div><div>tcp        0      0 RAD01:37528             xx.xx.xx.xx.s:mysql ESTABLISHED</div>
<div>tcp        0      0 RAD01:37513             xx.xx.xx.xx.s:mysql ESTABLISHED</div><div>tcp        0      0 RAD01:37523             xx.xx.xx.xx.s:mysql ESTABLISHED</div><div>tcp        0      0 RAD01:37533             xx.xx.xx.xx.s:mysql ESTABLISHED</div>
<div>tcp        0      0 RAD01:37517             xx.xx.xx.xx.s:mysql ESTABLISHED</div><div>tcp        0      0 RAD01:37531             xx.xx.xx.xx.s:mysql ESTABLISHED</div><div>tcp        0      0 RAD01:37512             xx.xx.xx.xx.s:mysql ESTABLISHED</div>
<div>tcp        0      0 RAD01:37529             xx.xx.xx.xx.s:mysql ESTABLISHED</div><div>tcp        0      0 RAD01:ssh               cpe-xx.xx.xx.xx.:42502 ESTABLISHED</div><div>tcp        0      0 RAD01:37519             xx.xx.xx.xx.s:mysql ESTABLISHED</div>
<div>tcp        0      0 RAD01:37530             xx.xx.xx.xx.s:mysql ESTABLISHED</div><div>tcp        0      0 RAD01:ssh               xx.xx.xx.xx.s:45758 ESTABLISHED</div><div>tcp        0      0 RAD01:37516             xx.xx.xx.xx.s:mysql ESTABLISHED</div>
<div>tcp        0      0 RAD01:37515             xx.xx.xx.xx.s:mysql ESTABLISHED</div><div>tcp        0      0 RAD01:37514             xx.xx.xx.xx.s:mysql ESTABLISHED</div><div>tcp        0      0 RAD01:37511             xx.xx.xx.xx.s:mysql ESTABLISHED</div>
<div>tcp        0      0 RAD01:37510             xx.xx.xx.xx.s:mysql ESTABLISHED</div><div>tcp        0      0 RAD01:37522             xx.xx.xx.xx.s:mysql ESTABLISHED</div><div>tcp        0      0 RAD01:37526             xx.xx.xx.xx.s:mysql ESTABLISHED</div>
<div>tcp        0      0 RAD01:37521             xx.xx.xx.xx.s:mysql ESTABLISHED</div><div>tcp        0      0 RAD01:37525             xx.xx.xx.xx.s:mysql ESTABLISHED</div><div>tcp        0      0 RAD01:37524             xx.xx.xx.xx.s:mysql ESTABLISHED</div>
<div>tcp        0      0 RAD01:37520             xx.xx.xx.xx.s:mysql ESTABLISHED</div><div>tcp        0      0 RAD01:37527             xx.xx.xx.xx.s:mysql ESTABLISHED</div><div>tcp        0      0 RAD01:37532             xx.xx.xx.xx.s:mysql ESTABLISHED</div>
<div>tcp6       0      0 [::]:ssh                [::]:*                  LISTEN</div><div>udp        0      0 *:radius                *:*</div><div>udp        0      0 *:radius-acct           *:*</div><div>Active UNIX domain sockets (servers and established)</div>
<div>Proto RefCnt Flags       Type       State         I-Node   Path</div><div>unix  4      [ ]         DGRAM                    3587     /dev/log</div><div>unix  2      [ ACC ]     STREAM     LISTENING     2363     @/com/ubuntu/upstart</div>
<div>unix  2      [ ]         DGRAM                    2429     @/org/kernel/udev/udevd</div><div>unix  2      [ ]         DGRAM                    3868</div><div>unix  2      [ ]         DGRAM                    3813</div>
<div>unix  3      [ ]         DGRAM                    2432</div><div>unix  3      [ ]         DGRAM                    2431</div><div>unix  3      [ ]         STREAM     CONNECTED     2415     @/com/ubuntu/upstart</div><div>
unix  3      [ ]         STREAM     CONNECTED     2414</div></div><div><br></div><div>Note how it appears that ports 1812 and 1813 do not have anything listening...</div><div><br></div><div><b>DEBUG NETWORK</b></div><div>
<br></div><div>Now, after seeing this, I thought maybe I have a firewall active or something. But upon further investigation, I found that iptables has no rules:</div><div><br></div><div><div>root@RAD01:~# iptables -L</div>
<div>Chain INPUT (policy ACCEPT)</div><div>target     prot opt source               destination</div><div><br></div><div>Chain FORWARD (policy ACCEPT)</div><div>target     prot opt source               destination</div><div>
<br></div><div>Chain OUTPUT (policy ACCEPT)</div><div>target     prot opt source               destination</div></div><div><br></div><div>And that my server is on a public IP (our radius server is hosted in the rackspace cloud, no firewall or anything as far as I know).</div>
<div><br></div><div><b>CONFIG FILES</b></div><div><br></div><div>Here are my freeradius configuration files. I've put them on a pastebin because I didn't want to make this email immensely long. Please have a look at them if you have any questions.</div>
<div><br></div><div><a href="http://pastie.org/893100">http://pastie.org/893100</a></div><div><br></div><div><b>CISCO SETUP</b></div><div><br></div><div>As I mentioned earlier, my freeradius *client* in this setup is my Cisco AS5400. When I have radius debugging turned on, on my cisco, here is some debugging output from a call. As you can see, it says that the server is not online. When I make calls, I see no activity in my freeradius debug window. So it seems that the packets aren't getting to freeradius from my cisco.</div>
<div><br></div><div><div>*Jan  2 08:47:02.895: AAA/BIND(00000190): Bind i/f Serial7/0:15:23 </div><div>*Jan  2 08:47:02.899: AAA/BIND(00000191): Bind i/f                 </div><div>*Jan  2 08:47:02.903: RADIUS/ENCODE(00000191):Orig. component type = VOICE</div>
<div>*Jan  2 08:47:02.903: RADIUS(00000191): Config NAS IP: 0.0.0.0            </div><div>*Jan  2 08:47:02.903: RADIUS(00000191): sending                           </div><div>*Jan  2 08:47:02.903: RADIUS/ENCODE: Best Local IP-Address 10.0.2.1 for Radius-Server xx.xx.xx.xx                                                                                   </div>
<div>*Jan  2 08:47:02.907: RADIUS(00000191): Send Accounting-Request to xx.xx.xx.xx:1813 id 1646/154, len 128                                                                            </div><div>*Jan  2 08:47:02.907: RADIUS:  authenticator 5A 66 34 6D 47 00 B7 9E - BD 76 22 42 14 B6 A1 59                                                                                          </div>
<div>*Jan  2 08:47:02.907: RADIUS:  Acct-Session-Id     [44]  18  "0200000000000253"             </div><div>*Jan  2 08:47:02.907: RADIUS:  Calling-Station-Id  [31]  12  "8182179228"                   </div>
<div>*Jan  2 08:47:02.907: RADIUS:  Called-Station-Id   [30]  12  "2172386245"                   </div><div>*Jan  2 08:47:02.907: RADIUS:  User-Name           [1]   12  "8182179228"                   </div>
<div>*Jan  2 08:47:02.907: RADIUS:  Acct-Status-Type    [40]  6   Start                     [1]  </div><div>*Jan  2 08:47:02.907: RADIUS:  NAS-Port-Type       [61]  6   Async                     [0]  </div><div>*Jan  2 08:47:02.907: RADIUS:  NAS-Port            [5]   6   0                              </div>
<div>*Jan  2 08:47:02.907: RADIUS:  NAS-Port-Id         [87]  18  "ISDN 7/7:15:D:24"             </div><div>*Jan  2 08:47:02.907: RADIUS:  Service-Type        [6]   6   Login                     [1]  </div><div>
*Jan  2 08:47:02.907: RADIUS:  NAS-IP-Address      [4]   6   10.0.2.1                       </div><div>*Jan  2 08:47:02.907: RADIUS:  Acct-Delay-Time     [41]  6   0                              </div><div>*Jan  2 08:47:07.655: RADIUS: acct-timeout for 4012ECE4 now 5, acct-jitter 4294967295, acct-delay-time (at 4012ED5E) now 4                                                              </div>
<div>*Jan  2 08:47:07.655: RADIUS: no sg in radius-timers: ctx 0x66F7FB78 sg 0x0000              </div><div>*Jan  2 08:47:07.655: RADIUS: Retransmit to (xx.xx.xx.xx:1812,1813) for id 1646/155     </div><div>*Jan  2 08:47:12.687: RADIUS: acct-timeout for 4012ECE4 now 9, acct-jitter 0, acct-delay-time (at 4012ED5E) now 9                                                                       </div>
<div>*Jan  2 08:47:12.687: RADIUS: no sg in radius-timers: ctx 0x66F7FB78 sg 0x0000              </div><div>*Jan  2 08:47:12.687: RADIUS: Retransmit to (xx.xx.xx.xx:1812,1813) for id 1646/156     </div><div>*Jan  2 08:47:14.947: RADIUS/ENCODE(00000191):Orig. component type = VOICE                  </div>
<div>*Jan  2 08:47:14.947: RADIUS(00000191): Config NAS IP: 0.0.0.0                              </div><div>*Jan  2 08:47:14.947: RADIUS(00000191): sending                                             </div><div>*Jan  2 08:47:14.951: RADIUS/ENCODE: Best Local IP-Address xx.xx.xx.xx for Radius-Server xx.xx.xx.xx                                                                                   </div>
<div>*Jan  2 08:47:14.951: RADIUS(00000191): Send Accounting-Request to xx.xx.xx.xx:1813 id 1646/157, len 158                                                                            </div><div>*Jan  2 08:47:14.951: RADIUS:  authenticator 6F 5D 1E 4E CC 63 E0 A1 - 64 3B 75 46 FF 42 65 55                                                                                          </div>
<div>*Jan  2 08:47:14.951: RADIUS:  Acct-Session-Id     [44]  18  "0200000000000253"             </div><div>*Jan  2 08:47:14.951: RADIUS:  Calling-Station-Id  [31]  12  "8182179228"                   </div>
<div>*Jan  2 08:47:14.951: RADIUS:  Called-Station-Id   [30]  12  "2172386245"                   </div><div>*Jan  2 08:47:14.951: RADIUS:  Acct-Input-Octets   [42]  6   94880                          </div><div>
*Jan  2 08:47:14.951: RADIUS:  Acct-Output-Octets  [43]  6   95520                          </div><div>*Jan  2 08:47:14.951: RADIUS:  Acct-Input-Packets  [47]  6   593                            </div><div>*Jan  2 08:47:14.951: RADIUS:  Acct-Output-Packets [48]  6   597                            </div>
<div>*Jan  2 08:47:14.951: RADIUS:  Acct-Session-Time   [46]  6   12                             </div><div>*Jan  2 08:47:14.951: RADIUS:  User-Name           [1]   12  "8182179228"</div><div>*Jan  2 08:47:14.951: RADIUS:  Acct-Status-Type    [40]  6   Stop                      [2]</div>
<div>*Jan  2 08:47:14.951: RADIUS:  NAS-Port-Type       [61]  6   Async                     [0]</div><div>*Jan  2 08:47:14.951: RADIUS:  NAS-Port            [5]   6   0</div><div>*Jan  2 08:47:14.951: RADIUS:  NAS-Port-Id         [87]  18  "ISDN 7/7:15:D:24"</div>
<div>*Jan  2 08:47:14.951: RADIUS:  Service-Type        [6]   6   Login                     [1]</div><div>*Jan  2 08:47:14.951: RADIUS:  NAS-IP-Address      [4]   6   10.0.2.1</div><div>*Jan  2 08:47:14.951: RADIUS:  Acct-Delay-Time     [41]  6   0</div>
<div>*Jan  2 08:47:17.559: RADIUS: acct-timeout for 4012ECE4 now 14, acct-jitter 0, acct-delay-time (at 4012ED5E) now 14</div><div>*Jan  2 08:47:17.559: RADIUS: no sg in radius-timers: ctx 0x66F7FB78 sg 0x0000</div><div>*Jan  2 08:47:17.559: RADIUS: Retransmit to (xx.xx.xx.xx:1812,1813) for id 1646/158</div>
<div>*Jan  2 08:47:19.871: RADIUS: acct-timeout for 4013486C now 5, acct-jitter 4294967295, acct-delay-time (at 40134904) now 4</div><div>*Jan  2 08:47:19.871: RADIUS: no sg in radius-timers: ctx 0x67045494 sg 0x0000</div>
<div>*Jan  2 08:47:19.871: %RADIUS-4-RADIUS_DEAD: RADIUS server xx.xx.xx.xx:1812,1813 is not responding.</div><div>*Jan  2 08:47:19.871: %RADIUS-4-RADIUS_ALIVE: RADIUS server xx.xx.xx.xx:1812,1813 has returned.</div><div>
*Jan  2 08:47:19.871: RADIUS: Retransmit to (xx.xx.xx.xx:1812,1813) for id 1646/159</div><div>*Jan  2 08:47:22.527: RADIUS: acct-timeout for 4012ECE4 now 19, acct-jitter 0, acct-delay-time (at 4012ED5E) now 19</div><div>*Jan  2 08:47:22.527: RADIUS: no sg in radius-timers: ctx 0x66F7FB78 sg 0x0000</div>
<div>*Jan  2 08:47:22.527: RADIUS: No response from (xx.xx.xx.xx:1812,1813) for id 1646/158</div><div>*Jan  2 08:47:22.527: RADIUS/DECODE: No response from radius-server; parse response; FAIL</div><div>*Jan  2 08:47:22.527: RADIUS/DECODE: Case error(no response/ bad packet/ op decode);parse response; FAIL</div>
<div>*Jan  2 08:47:24.903: RADIUS: acct-timeout for 4013486C now 9, acct-jitter 0, acct-delay-time (at 40134904) now 9</div><div>*Jan  2 08:47:24.903: RADIUS: no sg in radius-timers: ctx 0x67045494 sg 0x0000</div><div>*Jan  2 08:47:24.903: RADIUS: Retransmit to (<a href="http://173.203.117.112:1812">173.203.117.112:1812</a>,1813) for id 1646/161</div>
<div>*Jan  2 08:47:29.415: RADIUS: acct-timeout for 4013486C now 14, acct-jitter 0, acct-delay-time (at 40134904) now 14</div><div>*Jan  2 08:47:29.415: RADIUS: no sg in radius-timers: ctx 0x67045494 sg 0x0000</div><div>*Jan  2 08:47:29.415: RADIUS: Retransmit to (xx.xx.xx.xx:1812,1813) for id 1646/162</div>
<div>*Jan  2 08:47:34.415: RADIUS: acct-timeout for 4013486C now 19, acct-jitter 0, acct-delay-time (at 40134904) now 19</div><div>*Jan  2 08:47:34.415: RADIUS: no sg in radius-timers: ctx 0x67045494 sg 0x0000</div><div>*Jan  2 08:47:34.415: RADIUS: No response from (xx.xx.xx.xx:1812,1813) for id 1646/162</div>
<div>*Jan  2 08:47:34.415: RADIUS/DECODE: No response from radius-server; parse response; FAIL</div><div>*Jan  2 08:47:34.415: RADIUS/DECODE: Case error(no response/ bad packet/ op decode);parse response; FAIL</div></div>
<div><br></div><div><b>HELP!</b></div><div><br></div><div>OK, so sorry for this terribly long email, but I hope that this has provided enough information for you guys to help me debug what the heck is going wrong here. I've spent tons of hours trying to resolve this to no avail. I'm out of ideas.</div>
<div><br></div><div>Thanks so much for all of your help, this has been a really irritating and frustrating experience. I'm hoping that if anyone else has the same problem, this thread may help them later on.</div><div>
<br></div><div>Thanks!</div><div><br></div><div>-Randall</div>