Community discussions

MikroTik App
 
risipetillo
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 63
Joined: Tue Feb 03, 2009 7:08 pm

Unknown Hotspot Error

Fri Apr 09, 2010 9:05 pm

Has anyone seen this type of hotspot error before, and figured out how to fix it:

hotspot,error,info,debug username (W.X.Y.Z): configuration error: login failed: address pool <xxxxx> not found
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Unknown Hotspot Error

Fri Apr 09, 2010 9:25 pm

I'm guessing you're referencing an address pool either in the hotspot server instance or hotspot user profile that no longer exists.
 
risipetillo
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 63
Joined: Tue Feb 03, 2009 7:08 pm

Re: Unknown Hotspot Error

Fri Apr 09, 2010 9:40 pm

This is what I have. No reference of the pool in question:


[admin@AP1] > ip hotspot user profile print detail
Flags: * - default
0 * name="default" idle-timeout=5m keepalive-timeout=2m status-autorefresh=1m shared-users=1
transparent-proxy=yes open-status-page=always advertise=no

[admin@AP1] > ip hotspot profile print detail
Flags: * - default
0 * name="default" hotspot-address=0.0.0.0 dns-name="" html-directory=hotspot rate-limit=""
http-proxy=0.0.0.0:0 smtp-server=0.0.0.0 login-by=cookie,http-chap http-cookie-lifetime=3d
split-user-domain=no use-radius=yes radius-accounting=yes radius-interim-update=received
nas-port-type=wireless-802.11 radius-default-domain="" radius-location-id=""
radius-location-name="" radius-mac-format=XX:XX:XX:XX:XX:XX

1 name="hsprof1" hotspot-address=10.5.5.1 dns-name="dynbz.org" html-directory=hotspot
rate-limit="" http-proxy=0.0.0.0:0 smtp-server=0.0.0.0 login-by=http-chap,https,http-pap
ssl-certificate=none split-user-domain=no use-radius=yes radius-accounting=yes
radius-interim-update=received nas-port-type=wireless-802.11 radius-default-domain=""
radius-location-id="" radius-location-name="" radius-mac-format=XX:XX:XX:XX:XX:XX

[admin@AP1] > ip hotspot print detail
Flags: X - disabled, I - invalid, S - HTTPS
0 name="hotspot1" interface=wlan1 address-pool=dhcp_pool1 profile=hsprof1 idle-timeout=5m
keepalive-timeout=none addresses-per-mac=2 ip-of-dns-name=10.5.5.1 proxy-status="running"

[admin@AP1] > ip pool print
# NAME RANGES
0 dhcp_pool1 10.5.5.2-10.5.5.254
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Unknown Hotspot Error

Fri Apr 09, 2010 9:44 pm

You're using RADIUS, is it possible that the RADIUS server is passing back an attribute for Framed-PooL, which could refer to an unavailable IP pool?
 
risipetillo
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 63
Joined: Tue Feb 03, 2009 7:08 pm

Re: Unknown Hotspot Error

Fri Apr 09, 2010 11:51 pm

I'm using Usermanager running on the same box, don't think Usermanager is capable of issuing Framed-Pool packets:

[admin@AP1] > radius print detail
Flags: X - disabled
0 service=hotspot called-id="" domain="" address=127.0.0.1 secret="testing123"
authentication-port=1812 accounting-port=1813 timeout=300ms accounting-backup=no realm=""
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Unknown Hotspot Error

Sat Apr 10, 2010 12:24 am

Yes it does. This is from
http://wiki.mikrotik.com/wiki/User_Manager/Users

User data contains:
(snip)
* Pool name. If not blank, user will get IP address from this IP pool on successful authorization;
(snip)

Is that entry blank? Or does it have xxxxx in it?
 
risipetillo
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 63
Joined: Tue Feb 03, 2009 7:08 pm

Re: Unknown Hotspot Error

Sat Apr 10, 2010 5:50 am

You're right, for some reason I had put an unknown pool in the pool name for the accounts in the usermanager interface. My bad ...

Thanks buddy, you WIN !!

8)

Who is online

Users browsing this forum: almdandi, Google [Bot], Seko777 and 96 guests