pppoe+mysql+Framed-IP-Address

2006-03-17 Thread Norbert Grochal
I have just run pppoe server with freeradius pppeo user radius.so and radattr.so modules It works ok, but clients gets 'random' IP addreses... I need static IP (like that in /etc/ppp/chap-secrets last column). I try to add 1 record to my mysql, so I have: mysql SELECT id, UserName,

Re: pppoe+mysql+Framed-IP-Address

2006-03-17 Thread Alan DeKok
Norbert Grochal [EMAIL PROTECTED] wrote: | 77 | norbert | User-Password | | == | ... CHAP-Challenge = 0x4aaccdf7f520730e84f58bc4018c04217b97 CHAP-Password = 0xb6fe48120b0aed82ffdb4d782f3b51cd6a There is no User-Password in the packet, so using '==' for

Re: pppoe+mysql+Framed-IP-Address

2006-03-17 Thread Norbert Grochal
| 77 | norbert | User-Password | | == | ... CHAP-Challenge = 0x4aaccdf7f520730e84f58bc4018c04217b97 CHAP-Password = 0xb6fe48120b0aed82ffdb4d782f3b51cd6a There is no User-Password in the packet, so using '==' for comarison will never result in a

Re: pppoe+mysql+Framed-IP-Address

2006-03-17 Thread Alan DeKok
Norbert Grochal [EMAIL PROTECTED] wrote: There is no User-Password in the packet, so using '==' for comarison will never result in a match. but it still works with '==', why? You didn't post debug logs showing it working. I suspect it doesn't. As for your original question about IP

Re: pppoe+mysql+Framed-IP-Address

2006-03-17 Thread Norbert Grochal
but it still works with '==', why? You didn't post debug logs showing it working. I suspect it doesn't. OK. Logs are here. User typed 'Jan Nowak' in Identity field, but in my database there is UserName='jnovak'. This log was generated when I have '==' in radcheck table. There are 9