#16724: qmi: Unable to connect, check APN and authentication
-------------------------+-------------------------------------
  Reporter:  dantonov@…  |      Owner:  developers
      Type:  defect      |     Status:  new
  Priority:  normal      |  Milestone:  Barrier Breaker (trunk)
 Component:  packages    |    Version:  Trunk
Resolution:              |   Keywords:  proto, qmi
-------------------------+-------------------------------------

Comment (by dantonov@…):

 If I add 2 lines:


 {{{
 lasterr=$?
 logger -p daemon.err -t "qmi[$$]" "DEBUG: pdh=\""$pdh"\"
 \$\?=\""$lasterr"\""
 }}}


 on 80th line of /lib/netifd/proto/qmi.sh I can get connection to internet
 with some more info and unknown dhcpc's errors in log:


 {{{
 Sat Jun  7 13:03:10 2014 daemon.info qmi[1377]: Starting network
 internet.beeline.ru
 Sat Jun  7 13:03:10 2014 daemon.err qmi[1377]: DEBUG: pdh=""No effect""
 $\?="255"
 Sat Jun  7 13:03:10 2014 daemon.info qmi[1377]: Connected, starting DHCP
 Sat Jun  7 13:03:10 2014 daemon.notice netifd: Interface 'wan' is now up
 Sat Jun  7 13:03:10 2014 daemon.notice netifd: Network alias 'wwan0' link
 is up
 Sat Jun  7 13:03:10 2014 daemon.notice netifd: Interface 'wan_dhcp' is
 enabled
 Sat Jun  7 13:03:10 2014 daemon.notice netifd: Interface 'wan_dhcp' has
 link connectivity
 Sat Jun  7 13:03:10 2014 daemon.notice netifd: Interface 'wan_dhcp' is
 setting up now
 Sat Jun  7 13:03:10 2014 daemon.notice netifd: wan (1377): Command failed:
 Unknown error
 Sat Jun  7 13:03:10 2014 daemon.notice netifd: Interface 'wan_dhcpv6' is
 enabled
 Sat Jun  7 13:03:10 2014 daemon.notice netifd: Interface 'wan_dhcpv6' has
 link connectivity
 Sat Jun  7 13:03:10 2014 daemon.notice netifd: Interface 'wan_dhcpv6' is
 setting up now
 Sat Jun  7 13:03:10 2014 daemon.notice netifd: wan (1377): Command failed:
 Unknown error
 Sat Jun  7 13:03:11 2014 daemon.notice netifd: wan_dhcp (1428): udhcpc
 (v1.22.1) started
 Sat Jun  7 13:03:11 2014 daemon.notice odhcp6c[1435]: (re)starting
 transaction on wwan0
 Sat Jun  7 13:03:11 2014 daemon.notice odhcp6c[1435]: Starting SOLICIT
 transaction (timeout 4294967295s, max rc 0)
 Sat Jun  7 13:03:11 2014 user.notice firewall: Reloading firewall due to
 ifup of wan (wwan0)
 Sat Jun  7 13:03:11 2014 daemon.notice netifd: wan_dhcp (1428): Sending
 discover...
 Sat Jun  7 13:03:11 2014 daemon.notice netifd: wan_dhcp (1428): Sending
 select for 10.221.130.45...
 Sat Jun  7 13:03:11 2014 daemon.notice netifd: wan_dhcp (1428): Lease of
 10.221.130.45 obtained, lease time 7200
 Sat Jun  7 13:03:11 2014 daemon.notice netifd: Interface 'wan_dhcp' is now
 up
 Sat Jun  7 13:03:41 2014 daemon.info dnsmasq[1031]: reading
 /tmp/resolv.conf.auto
 Sat Jun  7 13:03:41 2014 daemon.info dnsmasq[1031]: using local addresses
 only for domain lan
 Sat Jun  7 13:03:41 2014 daemon.info dnsmasq[1031]: using nameserver
 217.118.66.243#53
 Sat Jun  7 13:03:41 2014 daemon.info dnsmasq[1031]: using nameserver
 217.118.66.244#53
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/16724#comment:1>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to