On 2012/07/16 20:22, Andreas Bartelt wrote: > Thanks a lot -- it basically works!
Good :) > OK 'AT+CPIN="1234"' note that this will probably fail if the pin was already sent. > From /var/log/messages: > Jul 16 19:52:36 obsd pppd[19227]: Connect: ppp0 <--> /dev/cuaU0 > Jul 16 19:52:36 obsd pppd[19227]: Received bad configure-ack: > Jul 16 19:52:40 obsd pppd[19227]: Received bad configure-ack: > Jul 16 19:52:42 obsd pppd[19227]: local IP address 109.43.234.229 > Jul 16 19:52:42 obsd pppd[19227]: remote IP address 10.99.1.2 > > Any ideas what's causing the "bad configure-acks"? Nope, you might get some clues if you rebuild pppd with debugging enabled (add "#define DEBUGALL 1" to pppd.h should do). You might get it to connect a few seconds faster if you can tweak something to avoid this, but I don't think it will be causing any other problems. > Is there a way to automatically receive a DNS resolver config for > /etc/resolv.conf from the mobile ISP? (currently I use the DNS > resolver at my local network...) Personally I'm happier to use 127.0.0.1, 8.8.8.8 or 208.67.222.222 than a typical consumer ISP/telco's DNS server so I haven't spent much time looking. AIUI our elderly version of pppd(8) only supports this for *sending* name server addresses, not receiving them. I have some recollection that ppp(8) ("user ppp") may allow receiving but I recall having problems getting it to connect last time I tried it with a 3g card.