<div dir="ltr"><div><div><div>>> Date: Sun, 20 Sep 2015 23:52:32 +0300 </div><div>>> Subject: Re: [OpenWrt-Devel] [PATCH] comgt-ncm: Add possibility to  </div><div>>> choose PDP context type </div><div>>> From: sami at <a href="http://olmari.fi">olmari.fi</a> </div><div>>> To: malaakso at <a href="http://elisanet.fi">elisanet.fi</a> </div><div>>> CC: openwrt-devel at <a href="http://lists.openwrt.org">lists.openwrt.org</a> </div><div>>>  </div><div>>> This is not working with Huawei E3276, only "option pdptype 'IP' works,  </div><div>>> IPV6 and IPV4V6... I do not have IPv6 offered from ISP currently,  </div><div>>> should it matter. At attachment there is clips from the log using each  </div><div>>> option type, most important clip here, same for IPV4V6 (aka no option  </div><div>>> set): </div><div>>>  </div><div>>> Sun Sep 20 20:32:10 2015 daemon.notice netifd: wan (2935): sending ->  </div><div>>> AT+CGDCONT=1,"IPV6","opengate" </div><div>>> Sun Sep 20 20:32:11 2015 daemon.notice netifd: wan (2935): Error  </div><div>>> running AT-command </div><div>>> Sun Sep 20 20:32:11 2015 daemon.notice netifd: wan (2935): Failed to  </div><div>>> initialize modem </div><div>>>  </div><div>>> There is also some random other errors seen on log on _working_  </div><div>>> connection, I don't know do they bear any importance, as system works.  </div><div>>> Anything I could do to make it work so that it wouldn't at least fail? </div><div>>>  </div><div>>>   Sami Olmari </div><div>>>  </div><div>>> P.S. I've updated wiki with this new option information :) </div><div>>>  </div><div>></div><div>> Hi,</div><div>></div><div>> If you don't have IPv6 from your ISP, then that is expected. That doesn't change</div><div>> the fact that my patch does introduce a regression for those without IPv6, them</div><div>> having to manually disable it (setting ipv6 to 0 selects "IP" by default). I'll have to</div><div>> think the defaults through again, most likely changing PDP type "IP" to be the</div><div>> default unless IPv6 is explicitely _enabled_.</div><div>> </div><div>> Thanks for reporting!</div><div>> </div><div>> Matti</div></div></div><div><br></div><div>Hi there!</div><div><br></div><div>I noticed this regression today after upgrading to trunk. I don't think this is the complete answer though.</div><div><br></div><div>I have the same E3276 dongle and I *do* have IPv6 from my ISP (Tele2, Sweden). The same SIM-card in a B593s-22 router gets me a native IPv6 connection.</div><div><br></div><div>I see the exact same error in the logs and I've verified that E3276 doesn't accept IPV6 (or IPV4V6, or ... ) as the second parameter by manually echo -e 'AT+CGDCONT=1,"IPV6","<a href="http://internet.tele2.se">internet.tele2.se</a>",""\r' > /dev/cdc-wdm0. Only "IP" works.</div><div><br></div><div>Is the AT+CGDCONT command the correct way to select the PDP type on Huawei NCM dongles? What info is that based on?</div><div><br></div><div>If there's something you want me to try, just shout.</div><div><br></div><div>/Andreas</div></div>