Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
openwrt-bot opened this issue May 27, 2020 · 2 comments
Open

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

openwrt-bot opened this issue May 27, 2020 · 2 comments
Labels

Comments

@openwrt-bot
Copy link

@openwrt-bot openwrt-bot commented May 27, 2020

yangb9:

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.

@openwrt-bot
Copy link
Author

@openwrt-bot openwrt-bot commented May 27, 2020

jow-:

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.

@openwrt-bot
Copy link
Author

@openwrt-bot openwrt-bot commented Sep 16, 2021

cwerner:

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/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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant