On 2012/07/15 19:00, Paul Irofti wrote: > On Sun, Jul 15, 2012 at 05:40:03PM +0200, David Coppa wrote: > > Il giorno 15/lug/2012 16:56, "Paul Irofti" <p...@irofti.net> ha scritto: > > > > > > > Unfortunately, I have no clue where to go from there. I'd like to > > > > connect to vodafone in Germany via UMTS, but I didn't find a > > > > /etc/ppp/peers/ and a corresponding chat script configuration in the > > > > archives which works for me. > > > > > > > > Is anybody else using a similar setup? > > > > > > I tried the same with Vodafone RO for quite a few months two years ago. > > > Bottom line is it doesn't work. > > > > > > I had the same problems two years ago. Tried to make the config work > > > with Vodafone RO and failed miserably. I can firmly say that those were > > > two months that I lost in vain. > > > > > > What I would recommand is to stop wasting time now and only use that > > > modem on Windows with the applications provided by Vodafone. > > > > > > > Why? > > > > I've used the setup described below with Vodafone Italia without problems > > for years: > > > > http://marc.info/?l=openbsd-misc&m=128816834527997&w=2 > > That script didn't work for me. Couldn't authentificate. > > Maybe it will work for Germany. >
The PPP session is with the adapter, not the provider. You usually want to disable anything "clever" as they rarely cope with this correctly. It shouldn't make a difference which country if it's the same adapter and firmware. For a different huawei card I'm using this in /etc/ppp/peers/3g debug /dev/cuaU0 921600 0.0.0.0:10.99.1.2 defaultroute noipdefault user x crtscts persist deflate 0 refuse-pap refuse-chap noauth noipdefault noccp novj novjccomp nopcomp connect '/usr/sbin/chat -v -f /etc/ppp/peers/3g.chat' and this in /etc/ppp/peers/3g.chat TIMEOUT 120 ABORT "BUSY" ABORT "ERROR" ABORT "NO CARRIER" ABORT "VOICE" ABORT "NO DIALTONE" "" ATZ OK ATD*99# CONNECT \c and in /etc/ppp/chap-secrets (possibly unused) # client server secret IP addresses x * blah * I already have the phone provider's APN programmed into context 1 so I can just use ATD*99# and skip the AT+CGDCONT line, or you can set it yourself like in dcoppa's post. If the APN isn't already setup and you aren't certain about which one to use, then it's probably useful to connect with the provider's normal software on a Windows/MacOS machine and close the connection, then open a terminal to the serial port of the device (putty can do serial if you're on a newer version of Windows with no built-in terminal software) and type "AT+CGDCONT?" to see how the contexts are setup.