u3g Sierra Wireless LTE device disconnects ppp after 2-3MB of outgoing traffic
Mike Tancsa
mike at sentex.net
Tue Dec 3 15:50:19 UTC 2019
On 12/3/2019 4:12 AM, Adrian Gschwend wrote:
> I'm a bit lost on how to debug that, any hints are welcome. Is this a
> PPP problem or more likely an issue with the u3g driver?
I dont use mpd, only the built in ppp. Can you try it with the built in
ppp ? Looking at your log snippets
LCP: no reply to 1 echo request
Does it ever respond to LCP Echo or LQR ? If not, try disabling that.
You wont have link detection, but it might be some incompatibility with
mpd. I use an older Sierra Wireless LTE modem on an APU and it works
great with the built in tun/ppp combo.
*pppgprs:
set device /dev/cuaU0.3
set server /var/run/gprs-internet "" 0177
set speed 921600
set timeout 0
set authname wapuser1
set authkey wap
set dial "ABORT BUSY TIMEOUT 2 \
\"\" \
AT OK-AT-OK \
AT+CFUN=1 OK-AT-OK \
AT+CMEE=2 OK-AT-OK \
AT+CSQ OK \
AT+CGDCONT=2,\\\"IP\\\",\\\"ltemobile.apn\\\" OK \
AT+CGACT? OK-AT-OK \
AT+CGATT? OK \
AT+CGCLASS? OK \
AT+COPS? OK \
AT!GSTATUS? OK \
AT&v OK \
ATD*99# CONNECT"
set crtscts on
#set mtu maximum 296
#set mru maximum 296
disable vjcomp
disable acfcomp
disable deflate
disable deflate24
disable pred1
disable protocomp
disable mppe
disable ipv6cp
set lqrperiod 10
enable lqr
enable echo
nat enable no
disable dns
#resolv writable
#set dns 199.212.134.1
set ifaddr 10.1.0.2/0 10.1.0.1/0 255.255.255.255 0.0.0.0
add default HISADDR # See ppp.link* *
--
-------------------
Mike Tancsa, tel +1 519 651 3400 x203
Sentex Communications, mike at sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada
More information about the freebsd-questions
mailing list