Hey everybody .... I don't seem to get a calling-station-id packet when a username is trying to connect. I'm running gentoo and have the following package versions: net-dialup/ppp-2.4.5-r1 USE="activefilter atm dhcp eap-tls pam radius -gtk -ipv6" 0 kB net-dialup/rp-pppoe-3.10-r1 USE="-X" 0 kB net-dialup/freeradius-2.1.7 USE="mysql pam ssl threads udpfromto -bindist -debug -edirectory (-firebird) -frascend -frxp -kerberos -ldap -postgres -snmp" 0 kB Another problem I seem to have is people using the same pool_key in my radippool table :/ Where should I start digging ? Thanks in advance.
I'm receiving the calling station id now .. I somehow fscked up the sqlippool :| everybody seems to receive 10.67 ips :/ On Fri, Dec 3, 2010 at 5:50 PM, S Adrian <dexter@d3xt3r01.tk> wrote:
I don't seem to get a calling-station-id packet when a username is trying to connect. Fix the client software so that it sends a Calling-Station-Id.
clientsoftware being the pppd or rp-pppoe ? Would this also fix the second problem ?
you run pppoe-server right? 1. you can run pppoe-server in kernel mode to send calling-station-id to radius
yup .. this was it .. Thanks :) There's a problem in gentoo's ippool.conf # ## If you prefer to allocate a random IP address every time, i # ## use this query instead allocate-find = "SELECT framedipaddress FROM ${ippool_table} \ WHERE pool_name = '%{control:Pool-Name}' \ AND expiry_time IS NULL \ ( failed to alocate before because expiry_time = NULL isn't valid .. had to replace with IS NULL ) .. ORDER BY RAND() \ LIMIT 1 \ FOR UPDATE" everything seems to work now ! :D
Hi, I recently installed Freeradius 2.1.7 and use mysql as db. The PPPoE server+Freeradius+mysql is working well, while I want to add MAC as one of the authorize method. The problem I meet is that I see ppp is not sending MAC to radius. Can you let me know how to write unlang to get calling-station-id send to sql? Many thanks -- View this message in context: http://freeradius.1045715.n5.nabble.com/no-calling-station-id-received-tp329... Sent from the FreeRadius - User mailing list archive at Nabble.com.
asgzl wrote:
Hi, I recently installed Freeradius 2.1.7 and use mysql as db. The PPPoE server+Freeradius+mysql is working well, while I want to add MAC as one of the authorize method. The problem I meet is that I see ppp is not sending MAC to radius. Can you let me know how to write unlang to get calling-station-id send to sql? Many thanks
It's impossible. Read what you wrote. The PPP system is NOT sending the MAC to RADIUS. So... RADIUS doesn't have the MAC. There is no amount of unlang you can write which will cause it to magically discover the MAC. Fix the PPP system so that it sends the MAC. Alan DeKok.
Alan, Thank very much for the quick reply! I'll try the "run pppoe-server in kernel" solution then. -- View this message in context: http://freeradius.1045715.n5.nabble.com/no-calling-station-id-received-tp329... Sent from the FreeRadius - User mailing list archive at Nabble.com.
participants (4)
-
Alan DeKok -
asgzl -
EasyHorpak.com -
S Adrian