[FS#1363] QMI does not use correct APN

LEDE Bugs lede-bugs at lists.infradead.org
Tue Mar 27 17:17:27 PDT 2018


The following task has a new comment added:

FS#1363 - QMI does not use correct APN
User who did this - Evren Yurtesen (yurtesen)

----------
Koen, the reason is that everytime I connect, I get different IP. So everytime I disconnect and try a different parameter set, I get new IP.

My provider give public IP address if APN `opengate` is used, give private IP address if `internet` (or perhaps any string) used.

So you quoted 3 lines.
1- I use `opengate` and `--autoconnect` and I still get private IP. (fail)
2- I use `opengate` but NO `--autoconnect` then I get public IP (pass)
3- I use `opengate` but NO `--autoconnect` instead `--set-autoconnect enabled` and I get public IP (pass)

The reason for 3 different IP addresses is that my provider give addresses from a pool and everytime I connect, I get different IP. My public IP service is not with static IP.

If I use `internet` (or perhaps any string) as APN, I get private IP, this is the default situation so I am not sure what it may prove to make tests with anything else than `opengate`. Because as long as I do not use `opengate` I get a private IP, so I won't see any changes whether the APN I set is used or not.

The only workaround I found was to leave `--autoconnect` out and later use `--set-autoconnect enabled` Perhaps it is a bug with uqmi.

----------

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=1363#comment4531



More information about the lede-bugs mailing list