'Logout for NAS CP port 76, but no Login record' && 'Login entry for NAS CP port 76 wrong order' Error

Fajar A. Nugraha list at fajar.net
Fri Jan 20 09:07:32 CET 2012


On Fri, Jan 20, 2012 at 2:54 PM, Zlyzwy <zlyzwy at zlyzwy.cn> wrote:
> I am newbie to FreeRadius. Now I am trying to set up a Hotspot with PFsense
> (FreeRadius + MySQL + Captive Portal).

Is this a wireless hotspot or wired?

> Basically the Hotspot is working properly, FreeRadius is doing the auth and
> writing the log to MySQL.

>
> There is one client running VMware Workstaion inside wiondow2003. And a
> virtual Debian is running in VM. Debian's network is bridged on host.I am
> receiving the error log:

It shouldn't matter whether it's a VM or not. What matters is the
network setup (e.g. bridged vs NAT vs routed)

>
> ==================================
> Jan 20 11:15:07 radiusd[55144]:rlm_radutmp: Logout for NAS CP port 76, but
> no Login record

If you don't use radutmp, simply mark-out all references to it on
sites-avaialbe/default (and perhaps also on
sites-available/inner-tunnel)

> And the situation is, for VM_Debian and win2003, ONLY ONE can access the
> Internet.
>
> Does anyone have any idea why it will happen? or you have the same
> experience using VM like this?

You'd have to ask pfsense guys about that.

Basically:
- you can't bridge wireless interface (which is why I asked the first question)
- for wired interface, bridging will work fine IF there's no MAC
masquarade/rewrite. That is, the captive portal can recognize both the
VM and the host using their own MAC address.

-- 
Fajar



More information about the Freeradius-Users mailing list