Hi, edwardlee lee wrote: > Hi Michael, > > Thanks for your code! > > I have tried it and get the same result as gsm0710muxd. I commented > some at command such as at+cfun because of our modem not allow such > command after power on. > > Now I can run pppd but it failed with "unrecognized option > '/dev/pts/1'" and "Couldn't attach to PPP unit 1: m". > > > Would you please tell me what is wrong with pppd? > > > I have found there are device nodes /dev/pts/0 and /dev/pts1 created. > > > I have tried the following methods: > 1. /system/bin/pppd $* > > > 2. /system/xbin/pppd /dev/pts/1 115200 mru 1280 mtu 1280 nodetach > debug dump defaultroute usepeerdns novj noauth novjccomp noipdefault > ipcp-accept-local ipcp-accept-remote connect-delay 5000 > I think that you can use all my code with the freerunner-ril.so too. It creates a pppd.conf file and I start pppd with
service pppd_gprs /system/xbin/pppd debug file /data/ppp/options.gprs disabled oneshot Michael > > Many thanks in advance! > > > Best Regards, > > > Edward > > > Attached pppd log: > > > E/pppd ( 1034): unrecognized option '/dev/pts/1' > D/pppd ( 1042): using channel 5 > I/pppd ( 1042): Using interface ppp0 > I/pppd ( 1042): Connect: ppp0 <--> /dev/pts/1 > D/pppd ( 1042): sent P > D/pppd ( 1042): rcvd P > D/pppd ( 1042): sent P > D/pppd ( 1042): rcvd P > D/pppd ( 1042): sent P > D/pppd ( 1042): rcvd P > D/pppd ( 1042): sent P > D/pppd ( 1042): rcvd P > D/pppd ( 1042): sent P > D/pppd ( 1042): rcvd P > D/pppd ( 1042): sent P > D/pppd ( 1042): rcvd P > D/pppd ( 1042): sent P > D/pppd ( 1042): rcvd P > D/pppd ( 1042): sent P > D/pppd ( 1042): rcvd P > D/pppd ( 1042): sent P > D/pppd ( 1042): rcvd P > D/pppd ( 1042): sent P > D/pppd ( 1042): rcvd P > D/pppd ( 1042): sent P > D/pppd ( 1042): rcvd P > D/pppd ( 1042): sent P > D/pppd ( 1042): rcvd P > D/pppd ( 1042): sent P > D/pppd ( 1042): rcvd P > D/pppd ( 1042): sent P > D/pppd ( 1042): rcvd P > D/pppd ( 1042): sent P > D/pppd ( 1042): rcvd P > D/pppd ( 1042): sent P > D/pppd ( 1050): using channel 5 > E/pppd ( 1050): Couldn't attach to PPP unit 1: m > I/pppd ( 1042): Modem hangup > I/pppd ( 1042): Connection terminated. > > > > On Wed, Aug 19, 2009 at 10:52 PM, Michael > Trimarchi<trimar...@gandalf.sssup.it> wrote: > >> Hi, >> >> do you try it? Do you have some patches for your device? >> >> Michael >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---