[FS#3129] UQMI won’t connect with Private APN
OpenWrt Bugs
openwrt-bugs at lists.openwrt.org
Thu Sep 16 15:04:50 PDT 2021
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#3129 - UQMI won’t connect with Private APN
User who did this - chris (cwerner)
----------
This Problem is connected to this:
* https://bugs.openwrt.org/index.php?do=details&task_id=1363
* https://bugs.openwrt.org/index.php?do=details&task_id=1252
* https://forum.archive.openwrt.org/viewtopic.php?id=62994&p=1#p372211
* https://bugs.openwrt.org/index.php?do=details&task_id=1252
Uqmi has a problems using the correct apn when the option "--autoconnect" is set.
I modfied the file /lib/netifd/proto/qmi.sh 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" ]
then
uqmi -s -d "$device" --set-client-id wds,"$cid_4" --set-autoconnect enabled
else
uqmi -s -d "$device" --set-client-id wds,"$cid_4" --set-autoconnect disabled
fi
For the Second (IpV6)
if [ "$autoconnect" == "1" ]
then
uqmi -s -d "$device" --set-client-id wds,"$cid_6" --set-autoconnect enabled
else
uqmi -s -d "$device" --set-client-id wds,"$cid_6" --set-autoconnect disabled
fi
Now the correct apn is used and also reconnects automaticly.
Greetings
Chris
----------
More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3129#comment10100
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the openwrt-bugs
mailing list