Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Dec 2019 10:50:13 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        Adrian Gschwend <ml-ktk@netlabs.org>, freebsd-questions@freebsd.org
Subject:   Re: u3g Sierra Wireless LTE device disconnects ppp after 2-3MB of outgoing traffic
Message-ID:  <6e6176d5-c9c5-b38a-0fe6-8b21c9c33824@sentex.net>
In-Reply-To: <972e8912-0ed7-63c8-d079-c11b12f8c9ad@netlabs.org>
References:  <972e8912-0ed7-63c8-d079-c11b12f8c9ad@netlabs.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6e6176d5-c9c5-b38a-0fe6-8b21c9c33824>