Hi everybody,
It works!
Finally i've modified /etc/inc.captiveportal.inc with the following values :
function getNasIP()
{
$nasIp = "194.78.xxx.xxx";
if(!$nasIp)
$nasIp = "0.0.0.0";
return $nasIp;
}
and rebooted my device… (this is what I did not do first time)
After this, my radius messages were looking better
NAS-IP-Address = 194.78.xxx.xxx
NAS-Identifier = "456.yyyyy.be"
User-Name = "testuser"
Acct-Status-Type = Start
Acct-Authentic = RADIUS
Service-Type = Login-User
NAS-Port-Type = Ethernet
NAS-Port = 7
Acct-Session-Id = "221de044d5aee762"
Framed-IP-Address = 10.1.0.10
Called-Station-Id = "5c:d9:98:aa:bb:cc"
Calling-Station-Id = "00:21:5d:aa:bb:cc"
Mister developers, is it not a way to add a field on captive portal configuration page to permit to manually change the WAN IP address? I think it should be grandly appreciated...
Thierry