Info: No Pool-Name defined. Trying to add new APN

Alan DeKok aland at deployingradius.com
Tue Sep 15 17:46:43 CEST 2015


On Sep 15, 2015, at 4:02 AM, Sophie Loewenthal <sophie.loewenthal at trimbletl.com> wrote:
>       I have been trying to work out why our new APN cannot have any IP addresses allocated.  The IP addresses should come from an existing pool already in use by other APNs.  I've inherited this from since departed colleagues. I did post this a earlier but thought I should start a fresh thread with debug infomation.
> 
> The user name is 0TESTUSER1
> The new APN is m2m.vod.trim.com

  What is the IP?

> In the users file I added ,
> DEFAULT NAS-IP-Address == 195.123.123.0, Pool-Name := vodafone
> DEFAULT NAS-IP-Address == 195.123.123.50, Pool-Name := vodafone
> DEFAULT NAS-IP-Address == 195.123.123.51, Pool-Name := vodafone
> DEFAULT NAS-IP-Address == 195.123.123.52, Pool-Name := vodafone
> DEFAULT NAS-IP-Address == 195.123.123.53, Pool-Name := vodafone
> DEFAULT NAS-IP-Address == 195.123.123.54, Pool-Name := vodafone

  Is the IP for that APN listed there?

> The first line already worked with another APN with IP addresses assigned.
> 
> When I tried to authenticate with our new SIM and APN log in worked but no pool was defined.
> 
> Tue Sep 15 09:42:25 2015 : Auth: Login OK: [0TESTUSER1] (from client vodafone-nas-m2m-51 port 511026 cli 882393728079768)
> Tue Sep 15 09:42:25 2015 : Info: No Pool-Name defined   (did m2m.vod.trim.com cli 882393728079768 port 511026 user 0TESTUSER1)
> 
> Debug: I ran in debug to see if I could get any more info and you'll find thus below.
> 
> I'd be grateful if somebody would let me know how I mend this, or point me the right direction?
> 
> Thanks and kind regards,
> Sophie
> 
> [sql] expand:            UPDATE radacct SET acctstoptime       = '%S',              acctsessiontime    = '%{Acct-Session-Time}',              acctinputoctets    = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}',              acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}',              acctterminatecause = '%{Acct-Terminate-Cause}',              acctstopdelay      = '%{%{Acct-Delay-Time}:-0}',              connectinfo_stop   = '%{Connect-Info}'           WHERE acctsessionid   = '%{Acct-Session-Id}'           AND username          = '%{SQL-User-Name}'           AND nasipaddress      = '%{NAS-IP-Address}' ->            UPDATE radacct SET              acctstoptime       = '2015-09-15 09:46:13',              acctsessiontime    = '510',              acctinputoctets    = '0' << 32 |                                   '2643', acctoutputoctets   = '0' << 32 |

  It would help to show the debug output from when the server receives a packet.  And not some random piece from the middle of processing a packet.
> 
> [files] users: Matched entry DEFAULT at line 228

  So... what's on line 228?

  Alan DeKok.




More information about the Freeradius-Users mailing list