4IceG / ZTE-MF286D

My compilation: OpenWrt SNAPSHOT / LuCI Main | r26815-b4069fad02 [Build: 30.06.2024]
GNU General Public License v3.0
24 stars 0 forks source link

Unable to save custom Apn #9

Open saltanar opened 1 year ago

saltanar commented 1 year ago

I can’t save a custom apn , i need everytime time i shutdown the router to send custom apn with at commands, there is way to save them? The settings are already correctly saved on WAN settings.

4IceG commented 1 year ago

Hi @saltanar

I do it like this:

  1. I set apn in LuCI
  2. If the modem does not connect to the Internet, I set the APN with the at command
  3. Reboot the modem with the at command.

After these operations, my modem has no problems with the connection and remembers the set apn.

saltanar commented 1 year ago

The problem is that my modem don’t save apn

Il giorno sab 8 lug 2023 alle 21:45 Rafał Wabik @.***> ha scritto:

Hi @saltanar https://github.com/saltanar

I do it like this:

  1. I set apn in LuCI
  2. If the modem does not connect to the Internet, I set the APN with the at command
  3. Reboot the modem with the at command. After these operations, my modem has no problems with the connection and remembers the set apn.

— Reply to this email directly, view it on GitHub https://github.com/4IceG/ZTE-MF286D/issues/9#issuecomment-1627475998, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBEMWIHCZ6ZHCZIRIYLEV2LXPG2D3ANCNFSM6AAAAAA2C3EOHI . You are receiving this because you were mentioned.Message ID: @.***>

4IceG commented 1 year ago

How do you set the apn? tell me step by step what you do. Have you also checked other SIM cards and other APNs?

saltanar commented 1 year ago

I followed your guide, i set the apn on qmi connection, after i send the at command with the apn, after tha i reboot the modem. If i shutdown the router i had to do again the procedure.

Il giorno sab 8 lug 2023 alle 21:50 Rafał Wabik @.***> ha scritto:

How do you set the apn? tell me step by step what you do.

— Reply to this email directly, view it on GitHub https://github.com/4IceG/ZTE-MF286D/issues/9#issuecomment-1627476962, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBEMWIDMIMTMBAJ6YC6YUK3XPG22BANCNFSM6AAAAAA2C3EOHI . You are receiving this because you were mentioned.Message ID: @.***>

4IceG commented 1 year ago

Check if apn is correct (same for QMI and at command). Try another SIM card (and APN).

It's hard for me to predict what could be wrong, I've never had such a case.

The procedure has always worked, now I don't even have to force the apn with the at command, the modem immediately connects to the Internet after changing the apn in LuCI.

saltanar commented 1 year ago

After some tries the router has saved the settings

another question, after some times the internet is disconnected and I have to manually restart the router. There is a a setting to auto check the internet connection and auto restart modem and or router ?

Il giorno sab 8 lug 2023 alle 22:08 Rafał Wabik @.***> ha scritto:

Check if apn is correct (same for QMI and at command). Try another SIM card (and APN).

It's hard for me to predict what could be wrong, I've never had such a case.

The procedure has always worked, now I don't even have to force the apn with the at command, the modem immediately connects to the Internet after changing the apn in LuCI.

— Reply to this email directly, view it on GitHub https://github.com/4IceG/ZTE-MF286D/issues/9#issuecomment-1627480167, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBEMWIECIG7EONQQZHQSJPTXPG45NANCNFSM6AAAAAA2C3EOHI . You are receiving this because you were mentioned.Message ID: @.***>

4IceG commented 1 year ago

There is a package https://github.com/4IceG/luci-app-lite-watchdog, just need to do an update to the latest version.

The package allows you to resume the connection or do a restart of the router / modem.

saltanar commented 1 year ago

In your zte firmware there is already this option. I enabled check every 10 minutes and restart router

Il giorno dom 23 lug 2023 alle 14:31 Rafał Wabik @.***> ha scritto:

There is a package https://github.com/4IceG/luci-app-lite-watchdog, just need to do an update to the latest version.

The package allows you to resume the connection or do a restart of the router / modem.

— Reply to this email directly, view it on GitHub https://github.com/4IceG/ZTE-MF286D/issues/9#issuecomment-1646828686, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBEMWIB4IQ454QKD3WERNQDXRUKQJANCNFSM6AAAAAA2C3EOHI . You are receiving this because you were mentioned.Message ID: @.***>

4IceG commented 1 year ago

That's right, this package is already in my build only in an older version, so I recommend updating package to the last released version.