Per user bandwidth limit
-
I found this statement in /etc/inc/radius.inc
if ($vendor == 14122) { /* RADIUS_VENDOR_WISPr Wi-Fi Alliance */I think pfsense support those bandwidth attributes, right?? but it's not working at all.?? why??
-
Check your radius server maybe it is not a supported vendor.
Add a log_error("Trying to work with " . $vendor);
in radius.inc and see what is the value. -
@ermal:
Check your radius server maybe it is not a supported vendor.
Add a log_error("Trying to work with " . $vendor);
in radius.inc and see what is the value.i use echo log_error("Trying to work with " . $vendor);
When i log in to captive portal, I got the result: Trying to work with 14122Below it is my radius debug when i log in:
Sending Access-Accept of id 68 to 127.0.0.1 port 20474
Session-Timeout == 300
Idle-Timeout := 300
WISPr-Bandwidth-Max-Down := 262144
WISPr-Bandwidth-Max-Up := 131072
Finished request 0
Going to the next request
–- Walking the entire request list ---
Waking up in 6 seconds...
rad_recv: Accounting-Request packet from host 127.0.0.1:38744, id=165, length=122
NAS-IP-Address = 192.168.11.22
NAS-Identifier = "pfSense.local"
User-Name = "test"
Acct-Status-Type = Start
Acct-Authentic = RADIUS
Service-Type = Login-User
NAS-Port-Type = Ethernet
NAS-Port = 0
Acct-Session-Id = "cc9ef9fca9c06875"
Framed-IP-Address = 192.168.169.105
Called-Station-Id = ""
Calling-Station-Id = "00:0c:29:40:c3:f1"
Processing the preacct section of radiusd.confBut the bandwidth is still not working.
Anything wrong??? -
The option is only active on 2.0 iirc.
For activating it on 1.2.3 search the 2.0 section of the forum. -
I can't find it. Can u guys show me how to make it work then?
I need it so muchThanks
-
Hi,
I have installed Pfsense 1.2.3 rc3 with captive portal and Per user bandwidth limit, it works fine.
I wondered if is possible to assign more bandwith to determinate user.
Thanks in advance
-
Hi,
I have installed Pfsense 1.2.3 rc3 with captive portal and Per user bandwidth limit, it works fine.
I wondered if is possible to assign more bandwith to determinate user.
Thanks in advance
Yes, Per user bandwidth in pfsense is ok for me too. I think if we want to use multiple bandwidth, we have to use radius.
But I'm testing now, it's not working yet.
I asked anyone here to help me with 1.2.3 or alpha version, plz????Thanks
-
On 1.2.3RC3, you just run the wizard to configure some simple load balancing, then go to the CP and check the box.
-
hi guys
"Per-user bandwidth restriction" in 1.2.3 RC3 is ok, but i see some notes below this option:
If this option is set, the captive portal will restrict each user who logs in to the specified default bandwidth. RADIUS can override the default settings. Leave empty or set to 0 for no limit. You will need to enable the traffic shaper for this to be effective.
But i've again and again to restrict bandwidth per user with radius attribute, it's not worked at all.
help please?
-
yes i have the same problem.
I can use "per user bandwidth" in both pf 1.2.3 or alpha version.
I've tried to use with radius bandwidth attributes but it didn't work with those attribute.
Why? anyone have any experience about this? -
yes i have the same problem.
I can use "per user bandwidth" in both pf 1.2.3 or alpha version.
I've tried to use with radius bandwidth attributes but it didn't work with those attribute.
Why? anyone have any experience about this?bump anyone?
-
Hi,
I have installed Pfsense 1.2.3 rc3 with captive portal and Per user bandwidth limit, it works fine.
I wondered if is possible to assign more bandwith to determinate user.
Thanks in advance
tutorials please ? i'am very need it