passing Calling-Station-ID
Hello All, We would like to get your input on an issue we are facing: We are using two NASs and one FreeRadius 1.1.5, the first NAS authenticate the user someuser through Radius and assign an IP address with no problem. we can see the accounting start record with the calling-station-ID and other attributes. The issue is that we want the second NAS to get the calling-station-ID from the someuser session on Radius is there a way we can have this to work and pass this attribute from one session to another? Thank you -- |-Adil Azmi Bikarbass |-IT Manager |-MTDS S.A. |-tel +212.3.767.4861 |-fax +212.3.767.4863 |-gsm +212.6.139. 4541 |-14, rue 16 novembre |-Rabat, Kingdom of Morocco - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: passing Calling-Station-ID
Alan DeKok a écrit : Adil Azmi Bikarbass wrote: The issue is that we want the second NAS to get the calling-station-ID from the someuser session on Radius To do... what? This is will be used for a mobile 3G application : the first NAS will authenticate the user and assign the IP and the second nas should get the assigned IP and the calling-Station-ID (cell phone number) for billing purposes is there a way we can have this to work and pass this attribute from one session to another? Sure. Store the Calling-Station-Id in a database when you receive it from the first NAS, then pull it out of the DB, and send it to the second NAS. The solution should be fast enough to handle thounsads of request simultaniously, you thing going through a DB is fast enough? can we pass this info into the RAM between the two NAS sessions? AB Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog -- |-Adil Bikarbass |-IT Manager, MTDS |-tel +212.3.767.4861 |-fax +212.3.767.4863 |-gsm +212.6.139. 4541 |-14, rue 16 novembre |-Rabat, Kingdom of Morocco - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: passing Calling-Station-ID
Hello All, Do i need to create a whole DB for only one filed that i will pass from one NAS to another? Knowing that my Freeradius is running on Solaris 10 which DB you suggest to use? Thank you Alan DeKok a écrit : Adil Azmi Bikarbass wrote: The issue is that we want the second NAS to get the calling-station-ID from the someuser session on Radius To do... what? is there a way we can have this to work and pass this attribute from one session to another? Sure. Store the Calling-Station-Id in a database when you receive it from the first NAS, then pull it out of the DB, and send it to the second NAS. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog -- |-Adil Bikarbass |-IT Manager, MTDS |-tel +212.3.767.4861 |-fax +212.3.767.4863 |-gsm +212.6.139. 4541 |-14, rue 16 novembre |-Rabat, Kingdom of Morocco - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Auth: Login incorrect: [user/CHAP-Password]
Dear FreeRadius list members, I'm really stuck with an authentication problem here: I'm getting the following error meesage anytime a user try to connect through my Freeradius server : Auth: Login incorrect: [user/CHAP-Password] (from client MT2_ADSL port 1476461184) Auth: rlm_unix: Attribute User-Password is required for authentication. Cannot use CHAP-Password. Here is the radius entry for that user: user Password = somepass, Simultaneous-Use = 2, Huntgroup-Name = adsl-dialup Framed-Protocol = PPP, Framed-IP-Address = 255.255.255.254, NAS-Port-Type = Async, Service-Type = Framed-User, The Huntgroup-name : adsl-dialup is to specify the IP addresses of all the remote access servers we use Once i add the following line at the bottom of my users file the user get connected with no problem: DEFAULT Auth-Type := Accept Please advise what could be the problem Thanks in advance Adil -- |-Adil Azmi Bikarbass |-IT Manager, MTDS |-tel +212.3.767.4861 |-fax +212.3.767.4863 |-gsm +212.6.139. 4541 |-14, rue 16 novembre |-Rabat, Kingdom of Morocco - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Auth: Login incorrect: [user/CHAP-Password]
Well i've tried the Auth-Type := Local and my radiusd.conf allows chap with the following syntax : authenticate { Auth-Type PAP { pap } Auth-Type CHAP { chap } Auth-Type MS-CHAP { mschap } unix } But with no success Adil On Fri, 17 Jun 2005, Jandre Olivier wrote: You are using chap authentication, what i recommend u can try is, Auth-Type := Local and also make sure your radiusd.conf allows chap authentication Hope it helps Adil Azmi Bikarbass wrote: Dear FreeRadius list members, I'm really stuck with an authentication problem here: I'm getting the following error meesage anytime a user try to connect through my Freeradius server : Auth: Login incorrect: [user/CHAP-Password] (from client MT2_ADSL port 1476461184) Auth: rlm_unix: Attribute User-Password is required for authentication. Cannot use CHAP-Password. Here is the radius entry for that user: user Password = somepass, Simultaneous-Use = 2, Huntgroup-Name = adsl-dialup Framed-Protocol = PPP, Framed-IP-Address = 255.255.255.254, NAS-Port-Type = Async, Service-Type = Framed-User, The Huntgroup-name : adsl-dialup is to specify the IP addresses of all the remote access servers we use Once i add the following line at the bottom of my users file the user get connected with no problem: DEFAULT Auth-Type := Accept Please advise what could be the problem Thanks in advance Adil -- |-Adil Azmi Bikarbass |-IT Manager, MTDS |-tel +212.3.767.4861 |-fax +212.3.767.4863 |-gsm +212.6.139. 4541 |-14, rue 16 novembre |-Rabat, Kingdom of Morocco - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html