To Sean: Yes, I use ip-up script, and the setting is correct.

To Wang Xiaoguang: Thanks a lot! It's driver issue, and ppp0 works
after apply ur patch!

Thank you all! :)

On 1月20日, 下午9時05分, "Wang Xiaoguang" <[email protected]> wrote:
> drivers/net/ppp_generic.c
>
> in static int ppp_ioctl
>   in case PPPIOCSNPMODE:
>       if (cmd == PPPIOCGNPMODE) { ...
>       } else {
>           // force a PASS mode
>          ppp->npmode[i] = NPMODE_PASS;
>           netif_wake_queue(ppp->dev);
>       }
>
> then your ppp0 will work
>
> On Tue, Jan 20, 2009 at 7:03 PM, Sean McNeil <[email protected]> wrote:
>
> > Herb wrote:
> >> Hi All:
>
> >> I meet a similar issue inppphandshaking~
> >> I got correct IP/DNS settings and ppp0 interface is up.
> >> But data didn't go through ppp0 interface (no matter using ping or
> >> launch browser)...
> >> I tried "-fno-short-enums" inpppmake file, but result is the same.
> >> Any suggestion?
>
> > Have you checked your default route? Are you using an ip-up script to
> > set the properties required for dns?
>
> >> On Jan 9, 3:00 pm, "David Turner" <[email protected]> wrote:
>
> >>> in the meantime, you could simply use -fshort-enums when building your
> >>> kernel to force short enum sizes :-)
>
>
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to