umodem/ppp/3g stopped working after update from 9.0-RELEASE to
9-STABLE
vermaden
vermaden at interia.pl
Fri Jun 29 09:07:54 UTC 2012
Thanks You, now I understand how badly it was
broken (the config of course), I confirm that using
the config You send everything works like a charm
now, for the record, here is mine complete config:
| default:
| set log Phase Chat LCP IPCP CCP tun command
|
| 3g:
| set device /dev/cuaU0
| set speed 921600
|
| set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
| \"\" AT OK-AT-OK \
| AT+CFUN=1 OK \
| AT+COPS=0 OK \
| AT+CGDCONT=1,\\\"IP\\\",\\\"www.plusgsm.pl\\\" OK \
| \dATDT\\T TIMEOUT 40 CONNECT"
|
| set logout "ABORT BUSY ABORT ERROR TIMEOUT 30 \"\" +++ATH O ATH OK"
|
| set phone *99\#
| set timeout 300
| set ifaddr 10.64.64.64/0 10.64.64.64/0 255.255.255.255 0.0.0.0
| add default HISADDR
| enable dns
| disable ipv6cp
I am going to send update to the PR to close it ;)
Thanks again,
vermaden
"Matthias Apitz" <guru at unixarea.de> pisze:
> El día Friday, June 29, 2012 a las 08:02:17AM +0200, vermaden escribió:
>
> > > I said this already: the /etc/ppp/ppp.conf file you are
> > > using is completely broken and the log matches this;
> > >
> > > what should these AT cmds do in the section of 3g:
> > >
> > > 3g:
> > > set device /dev/cuaU0
> > > set speed 38400
> > > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 0.0.0.0
> > > add default HISADDR
> > > term
> > > AT+CFUN=1
> > > AT+CGDCONT=1,"IP","www.plusgsm.pl"
> > > ATD*99#
> > >
> > > matthias
> >
> > I did not knew that its broken, I used the '3g'
> > profile to connect, like that: # ppp -ddial 3g
> >
> > It worked very well without errors on 9.0-RELEASE
> > and it stopped working after the update to the
> > 9-STABLE, what is broken there?
>
> I can't imagine that 9-STABLE delivers such a broken file (already
> because the "www.plusgsm.pl" entry in your file); I do not know how you
> did the update and if maybe this is the result of some kind of broken
> merging; I'm attaching the original file out of SVM (CURRENT) and mine
> which have a working entry 'umts'; try to rebuild from both a workin one
> by hand;
>
> matthias
>
> --
> Matthias Apitz
> e - w http://www.unixarea.de/
> UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
> UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
>
--
...
More information about the freebsd-questions
mailing list