"Weili Yao" <[EMAIL PROTECTED]> writes: > Hello, there: > My device is running as ECOS PPP Server and the Windows XP is running > as PPP Client. The problem is that the ECOS PPP Server does not properly > do authentication, i.e. the ECOS PPP Server will take whatever > user/password being set by the client (Windows XP). Any idea how to > set/configure the ECOS PPP Server to do the authetication?
The original FreeBSD PPPD code worked by looking in /etc/ppp/pap-secrets and /etc/passwd. Since eCos runs in systems that don't have filesystems, all of the code that did this was removed. The main interface to this code still exists: the function check_passwd() in auth.c. At present it just returns OK for everything. So if you want to add your own authentication mechanism then the best approach is to ifdef this function out here and add your own implementation in your own code. -- Nick Garnett eCos Kernel Architect http://www.ecoscentric.com The eCos and RedBoot experts http://www.ecoscentric.com/legal Legal info, address and number -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
