On 2012/01/14 10:58, Daniele Pilenga wrote: > This patch adds the support:
thanks. > For completeness of the report I have not been able use it to connect > to the Internet, yet, but it must be something missing on my part. the ppp implementation on most phones and 3g cards is pretty basic, you often need to disable a few things. (note that the ppp session terminates on the card, not on the mobile phone network, so if you're looking for examples on the net, prefer examples for a similar card, rather than from somebody else on the same network). they don't usually require username etc but you may possibly need dummy entries. you could try something like this: # cat /etc/ppp/peers/ppp debug /dev/cuaU0 921600 0.0.0.0:10.99.1.2 defaultroute noipdefault user x crtscts # or try nocrtscts persist deflate 0 refuse-pap refuse-chap noauth noipdefault noccp novj novjccomp nopcomp connect '/usr/sbin/chat -v -f /etc/ppp/peers/ppp.chat' # cat /etc/ppp/chap-secrets # client server secret IP addresses x * blah * Following example uses the default phonebook entry and assumes that this is already setup for the correct APN: # cat /etc/ppp/peers/ppp.chat TIMEOUT 120 ABORT "BUSY" ABORT "ERROR" ABORT "NO CARRIER" ABORT "VOICE" ABORT "NO DIALTONE" "" ATZ OK ATD*99# CONNECT \c Or you can use something like this which sets a phonebook entry as well: (obviously switch APN as needed). OK AT+CGDCONT=3,"IP","orangeinternet" OK ATD*99***3#
