OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Critical
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Mr. Yang - 27.05.2020

FS#3129 - UQMI won’t connect with Private APN

UQMI won’t connect with Private APN
Hey Folks,

I have a Problem with the QMI protocol.

I bought a private ip from my ISP and can’t connect with the private APN, only the dynamic IP APN works.

With ModemManager the connection to my Private APN works as expected, so no fault on ISP side.
With crosscompile Quectel-cm to OpenWRT, the connection with qmi protocol to my Private APN works as expected, so no fault on ISP side.


Jo-Philipp Wich commented on 27.05.2020 08:54

I doubt any developer has access to a private APN to test things so in order to make that ticket progress anywhwere it would be good for you to figure out the difference between modemmanager and uqmi.

chris commented on 16.09.2021 22:04

This Problem is connected to this:

Uqmi has a problems using the correct apn when the option "–autoconnect" is set.

I modfied the file /lib/netifd/proto/ and removed the option "–autoconnect" in every line with the "–start-network" command. There are only 2 Lines.

before these code lines I added the following code
For the First occurence: (Ipv4)

if [ "$autoconnect" == "1" ]
  uqmi -s -d "$device" --set-client-id wds,"$cid_4" --set-autoconnect enabled
  uqmi -s -d "$device" --set-client-id wds,"$cid_4" --set-autoconnect disabled

For the Second (IpV6)

if [ "$autoconnect" == "1" ]
  uqmi -s -d "$device" --set-client-id wds,"$cid_6" --set-autoconnect enabled
  uqmi -s -d "$device" --set-client-id wds,"$cid_6" --set-autoconnect disabled

Now the correct apn is used and also reconnects automaticly.



Available keyboard shortcuts


Task Details

Task Editing