[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] options of pap and chap??
From: |
applehuu |
Subject: |
[lwip-users] options of pap and chap?? |
Date: |
Wed, 20 Dec 2006 13:23:31 +0800 |
User-agent: |
Thunderbird 1.5.0.8 (Windows/20061025) |
In windows XP,i use pap or chap(the XP's dial program),it can dialing
successful.
But in lwip,use pap or chap can't auth.
In lwip,how to select pap or chap?
i do it like this:
void pppInit(void)
{
...
pppSetAuth(PPPAUTHTYPE_ANY, USER, PASSWORD); //can't working successful
//pppSetAuth(PPPAUTHTYPE_PAP, USER, PASSWORD);//can't working successful
//pppSetAuth(PPPAUTHTYPE_CHAP, USER, PASSWORD);//can't working successful
...
}
#ifndef PAP_SUPPORT
#define PAP_SUPPORT 1 /*Set for PAP*/
#endif
#ifndef CHAP_SUPPORT
#define CHAP_SUPPORT 0 /* Set for CHAP. */
#endif
Do i need to modify other code for auth?
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-users] options of pap and chap??,
applehuu <=