Skip to contentSkip to conversation

pppd and radius client

DISCUSSION Yang Ke 1 participant 1 message Apr 23, 2004 PPP protocol drivers and compressors

lore
Share & tools
lore

Yang Ke

author
#0 lore raw

Hello ,

I just met a problem that when dialup user disconnects
his/her line(modem for example). the remote pppd detected this and make a account request to Radius server, some information such as calling number and called number are included in this request message. calling number, for example, is retrieved by calling ioctl() on /dev/ttyxxxx. if disconnect the line directly, ioctl() return nothing; if logoff from application, ioctl() return the calling number correctly.
can anybody give some explanation on this and is there any
way to solve ?

Thanks,
YK