<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[3g over PPP fails on v0.3.3 b250]]></title><description><![CDATA[<p dir="auto">Previously, I configured the Onion OS to use <strong>3g over PPP</strong> according to <a href="https://openwrt.org/docs/guide-user/network/wan/wan_interface_protocols" rel="nofollow">OpenWRT WAN interface protocol</a> on <strong>v0.3.2 b232</strong> and was successfully able to access the internet and even share this access. However, following the same process after upgrading to <strong>v0.3.3 b250</strong>, there is no internet access even though DNS resolution is successful using a <code>PING</code> test. Using <code>ifconfig</code>, I see several bytes are transmitted but 0 bytes are received. I also see a 100% packet loss with <code>PING</code>. I have left this running previously to allow for 3000 packets to be sent yet had no positive results: 100% loss still.  Here is a photo of the ping result. <img src="/assets/uploads/files/1628807758298-ts.png" alt="ts.png" class="img-responsive img-markdown" /></p>
<p dir="auto">The <strong>ONLY difference</strong> between the configuration before and after the upgrade is that the former connects to the modem via serial (<code>/dev/ttyS0</code>) and the latter via USB (<code>/dev/ttyUSB2</code>). Files in <code>/etc/config/network</code> and <code>/etc/ppp/options</code> were adjusted accordingly to reflect the changed serial ports.</p>
<p dir="auto">Content of <code>/etc/ppp/options</code></p>
<pre><code>debug
/dev/ttyS0
115200
noipdefault
noaccomp
nopcomp
nocrtscts
defaultroute
noipv6
receive-all
noccp
noendpoint
usepeerdns
lock
ktune
noauth
passive
persist
connect '/usr/sbin/chat -v -t 10 -f /etc/chatscripts/3g.chat'
disconnect '/usr/sbin/chat -v -t 10 -f /etc/chatscripts/3g-disconnect.chat'
maxfail 0
lcp-echo-failure 10
lcp-echo-interval 15
</code></pre>
<p dir="auto">Content of <code>/etc/config/network</code></p>
<pre><code>config interface 'cellulara'       
        option defaultroute '1'                
        option device '/dev/ttyS0'  # /dev/ttyUSB2
        option apn 'tsiot'         
        option service 'umts'         
        option proto '3g'         
        option peerdns '1'         
        option auto '0'               
        option ipv6 '0'
</code></pre>
<p dir="auto">Although logs seen using <code>logread</code> show that the modem began a data session succesfully, on probing the command line arguments of <code>pppd</code>, I discovered that they were slightly different between v0.3.2-b232 (that works) and v0.3.3-b250 (that doesn't work).</p>
<p dir="auto">Pppd command line from v0.3.2-b232</p>
<pre><code>/usr/sbin/pppd nodetach ipparam cellulara ifname 3g-cellulara lcp-echo-interval 1 lcp-echo-failure 5 lcp-echo-adaptive set PEERDNS=1 nodefaultroute usepeerdns maxfail 1 connect USE_APN=tsiot DIALNUMBER=*99***1# /usr/sbin/chat -t5 -v -E -f /etc/chatscripts/3g.chat ip-up-script /lib/netifd/ppp-up ipv6-up-script /lib/netifd/ppp6-up ip-down-script /lib/netifd/ppp-down ipv6-down-script /lib/netifd/ppp-down noaccomp nopcomp novj nobsdcomp noauth set EXTENDPREFIX=1 lock crtscts 115200 /dev/ttyS0
</code></pre>
<p dir="auto">Pppd command line from v0.3.3-b250</p>
<pre><code>/usr/sbin/pppd nodetach ipparam cellulara ifname 3g-cellulara set PEERDNS=1 nodefaultroute usepeerdns maxfail 1 connect USE_APN=tsiot DIALNUMBER=*99***1# /usr/sbin/chat -t5 -v -E -f /etc/chatscripts/3g.chat ip-up-script /lib/netifd/ppp-up ipv6-up-script /lib/netifd/ppp6-up ip-down-script /lib/netifd/ppp-down ipv6-down-script /lib/netifd/ppp-down noaccomp nopcomp novj nobsdcomp noauth set EXTENDPREFIX=1 lock crtscts 115200 /dev/ttyUSB2
</code></pre>
<p dir="auto">Actually, the difference is just that <strong>lcp-echo-interval 1 lcp-echo-failure 5 lcp-echo-adaptive</strong> is present in the first but absent in the second.</p>
<p dir="auto">What I wish to now understand is <strong>why I do not have internet access.</strong> What do I need to do to ensure internet access via <code>pppd</code> on the v0.3.3 b250?</p>
]]></description><link>http://community.onion.io/topic/4551/3g-over-ppp-fails-on-v0-3-3-b250</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Jul 2026 20:29:22 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/4551.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 12 Aug 2021 22:46:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 3g over PPP fails on v0.3.3 b250 on Thu, 12 Aug 2021 23:01:18 GMT]]></title><description><![CDATA[<p dir="auto">Previously, I configured the Onion OS to use <strong>3g over PPP</strong> according to <a href="https://openwrt.org/docs/guide-user/network/wan/wan_interface_protocols" rel="nofollow">OpenWRT WAN interface protocol</a> on <strong>v0.3.2 b232</strong> and was successfully able to access the internet and even share this access. However, following the same process after upgrading to <strong>v0.3.3 b250</strong>, there is no internet access even though DNS resolution is successful using a <code>PING</code> test. Using <code>ifconfig</code>, I see several bytes are transmitted but 0 bytes are received. I also see a 100% packet loss with <code>PING</code>. I have left this running previously to allow for 3000 packets to be sent yet had no positive results: 100% loss still.  Here is a photo of the ping result. <img src="/assets/uploads/files/1628807758298-ts.png" alt="ts.png" class="img-responsive img-markdown" /></p>
<p dir="auto">The <strong>ONLY difference</strong> between the configuration before and after the upgrade is that the former connects to the modem via serial (<code>/dev/ttyS0</code>) and the latter via USB (<code>/dev/ttyUSB2</code>). Files in <code>/etc/config/network</code> and <code>/etc/ppp/options</code> were adjusted accordingly to reflect the changed serial ports.</p>
<p dir="auto">Content of <code>/etc/ppp/options</code></p>
<pre><code>debug
/dev/ttyS0
115200
noipdefault
noaccomp
nopcomp
nocrtscts
defaultroute
noipv6
receive-all
noccp
noendpoint
usepeerdns
lock
ktune
noauth
passive
persist
connect '/usr/sbin/chat -v -t 10 -f /etc/chatscripts/3g.chat'
disconnect '/usr/sbin/chat -v -t 10 -f /etc/chatscripts/3g-disconnect.chat'
maxfail 0
lcp-echo-failure 10
lcp-echo-interval 15
</code></pre>
<p dir="auto">Content of <code>/etc/config/network</code></p>
<pre><code>config interface 'cellulara'       
        option defaultroute '1'                
        option device '/dev/ttyS0'  # /dev/ttyUSB2
        option apn 'tsiot'         
        option service 'umts'         
        option proto '3g'         
        option peerdns '1'         
        option auto '0'               
        option ipv6 '0'
</code></pre>
<p dir="auto">Although logs seen using <code>logread</code> show that the modem began a data session succesfully, on probing the command line arguments of <code>pppd</code>, I discovered that they were slightly different between v0.3.2-b232 (that works) and v0.3.3-b250 (that doesn't work).</p>
<p dir="auto">Pppd command line from v0.3.2-b232</p>
<pre><code>/usr/sbin/pppd nodetach ipparam cellulara ifname 3g-cellulara lcp-echo-interval 1 lcp-echo-failure 5 lcp-echo-adaptive set PEERDNS=1 nodefaultroute usepeerdns maxfail 1 connect USE_APN=tsiot DIALNUMBER=*99***1# /usr/sbin/chat -t5 -v -E -f /etc/chatscripts/3g.chat ip-up-script /lib/netifd/ppp-up ipv6-up-script /lib/netifd/ppp6-up ip-down-script /lib/netifd/ppp-down ipv6-down-script /lib/netifd/ppp-down noaccomp nopcomp novj nobsdcomp noauth set EXTENDPREFIX=1 lock crtscts 115200 /dev/ttyS0
</code></pre>
<p dir="auto">Pppd command line from v0.3.3-b250</p>
<pre><code>/usr/sbin/pppd nodetach ipparam cellulara ifname 3g-cellulara set PEERDNS=1 nodefaultroute usepeerdns maxfail 1 connect USE_APN=tsiot DIALNUMBER=*99***1# /usr/sbin/chat -t5 -v -E -f /etc/chatscripts/3g.chat ip-up-script /lib/netifd/ppp-up ipv6-up-script /lib/netifd/ppp6-up ip-down-script /lib/netifd/ppp-down ipv6-down-script /lib/netifd/ppp-down noaccomp nopcomp novj nobsdcomp noauth set EXTENDPREFIX=1 lock crtscts 115200 /dev/ttyUSB2
</code></pre>
<p dir="auto">Actually, the difference is just that <strong>lcp-echo-interval 1 lcp-echo-failure 5 lcp-echo-adaptive</strong> is present in the first but absent in the second.</p>
<p dir="auto">What I wish to now understand is <strong>why I do not have internet access.</strong> What do I need to do to ensure internet access via <code>pppd</code> on the v0.3.3 b250?</p>
]]></description><link>http://community.onion.io/post/23924</link><guid isPermaLink="true">http://community.onion.io/post/23924</guid><dc:creator><![CDATA[TypeSeven]]></dc:creator><pubDate>Thu, 12 Aug 2021 23:01:18 GMT</pubDate></item></channel></rss>