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#115 - WWAN-connections using 3g with HUAWEI ME909u-521 unstable #5154

Open
openwrt-bot opened this issue Aug 24, 2016 · 1 comment
Open

FS#115 - WWAN-connections using 3g with HUAWEI ME909u-521 unstable #5154

openwrt-bot opened this issue Aug 24, 2016 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

@openwrt-bot openwrt-bot commented Aug 24, 2016

reinerotto:

Actually, I am trying to stabilize wwan (3g actually; LTE later on) using pppd with my HUAWEI ME909u-521,
because either my MT7620-based router locks up during boot already; or after short period of real usage.
During night, when router is almost idle, just some watchdog date sent via wwan, no problem.

First trace of a possible problem was this msg in logread:
daemon.notice netifd: wwan (1676): Error setting WWAN mode!

Wich is expected, as in /lib/netifd/proto/3g.sh:

...
elif echo "$cardinfo" | grep -qi huawei; then
case "$service" in
umts_only) CODE="14,2";;
gprs_only) CODE="13,1";;
*) CODE="2,2";;
esac
export MODE="AT^SYSCFG=${CODE},3FFFFFFF,2,4" #####Will not work !!!!! Switching USB-Stick to 3g-preferred ?
...
...
[ -n "$MODE" ] && gcom -d "$device" -s /etc/gcom/setmode.gcom

Will not work, because the ME909u-521 rejects AT^SYSCFG . However, AT^SYSCFGEX will work, but having different syntax.
MODE="AT^SYSCFG=${CODE},3FFFFFFF,2,4" will be effective for simpler modems.

/etc/gcom/setmode.gcom returns exit 1; but this error is not checked in 3g.sh

Not shure, whether this is the reason for my problems; however, reason of concern, as high speed modems
are more and more common.
Willing to participate in testing/debugging.

For details regarding my modem, consult
HUAWEI ME909u-521 LTE LGA Module AT Command Interface Specification
http://www.paoli.cz/out/media/HUAWEI_ME909u-521_LTE_LGA_Module_AT_Command_Interface_Specification-V100R001_02.pdf

@openwrt-bot
Copy link
Author

@openwrt-bot openwrt-bot commented Nov 24, 2016

camel:

this is not correct as you are doing to switch .....

for this modem .. you can do it with that cmd's .....

of course you need to write that into gcom script files ....

if you need more info contact me on my email or send PM ...
then i can provide you the full package, as I'm scripts, which you can use:
eg:
setmodem 4g3g2g_all (= order 4g,3g,2g and all frequences ...)

###########################################################

here, as i used them on other modem .... only that you see the cmd for the modem..and these are working as i played a lot of time with that ...
cu camel
###############################################################

##"AUTO - us whatever is possible":
#gsmctl -A "AT^SYSCFGEX="00",3FFFFFFF,1,2,7FFFFFFFFFFFFFFF,,"

##"prefer LTE, UMTS, GSM":
#gsmctl -A "AT^SYSCFGEX="030201",3FFFFFFF,1,2,7FFFFFFFFFFFFFFF,,"

##"prefer UMTS, GSM":
gsmctl -A "AT^SYSCFGEX="0201",3FFFFFFF,1,2,7FFFFFFFFFFFFFFF,,"

#"GSM only":
#gsmctl -A "AT^SYSCFGEX="01",3FFFFFFF,1,2,7FFFFFFFFFFFFFFF,,"

##"UMTS only":
#gsmctl -A "AT^SYSCFGEX="02",3FFFFFFF,1,2,7FFFFFFFFFFFFFFF,,"

#"prefer UMTS, GSM": with specific frequency

UMTS/GSM band: all

#gsmctl -A "AT^SYSCFGEX="0201",3FFFFFFF,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 00680380 Automatic

#gsmctl -A "AT^SYSCFGEX="0201",00680380,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 40000000 (CM_BAND_PREF_NO_CHANGE) Band not changed

#gsmctl -A "AT^SYSCFGEX="0201",40000000,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 00080000 (CM_BAND_PREF_GSM_850) GSM 850 => GSM - 850 MHz - AT/- // CR/?

#gsmctl -A "AT^SYSCFGEX="0201",00080000,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 00000080 (CM_BAND_PREF_GSM_DCS_1800) GSM DCS systems => GSM - 1800 MHz - AT/3/A1 // CR/?

#gsmctl -A "AT^SYSCFGEX="0201",00000080,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 00000100 (CM_BAND_PREF_GSM_EGSM_900) Extended GSM 900 => GSM - 900 MHz - AT/3/A1 // CR/?

#gsmctl -A "AT^SYSCFGEX="0201",00000100,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 00000200 (CM_BAND_PREF_GSM_PGSM_900) Primary GSM 900 => GSM - 900 MHz - AT/- // CR/?

#gsmctl -A "AT^SYSCFGEX="0201",00000200,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 00100000 (CM_BAND_PREF_GSM_RGSM_900) Railway GSM 900 => GSM - 900 MHz - AT/Error // CR/?

#gsmctl -A "AT^SYSCFGEX="0201",00100000,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 00200000 (CM_BAND_PREF_GSM_PCS_1900) GSM PCS => GSM - 1900 MHz - AT/- // CR/?

#gsmctl -A "AT^SYSCFGEX="0201",00200000,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 00400000 (CM_BAND_PREF_WCDMA_I_IMT_2000) WCDMA IMT 2000 => WCDMA - 2000 MHz - AT/3/A1/TMO // CR/?

#gsmctl -A "AT^SYSCFGEX="0201",00400000,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 00800000 (CM_BAND_PREF_WCDMA_II_PCS_1900) WCDMA_II_PCS_1900 => WCDMA - 1900 MHz - AT/Error // CR/?

#gsmctl -A "AT^SYSCFGEX="0201",00800000,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 04000000 (CM_BAND_PREF_WCDMA_V_850) WCDMA_V_850 => WCDMA - 850 MHz - AT/- // CR/?

#gsmctl -A "AT^SYSCFGEX="0201",04000000,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 08000000(CM_BAND_PREF_WCDMA_VI_800) WCDMA_VI_800 => WCDMA - 800 MHz - AT/Error // CR/?

#gsmctl -A "AT^SYSCFGEX="0201",08000000,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 0004000000000000 (CM_BAND_PREF_WCDMA_IX_1700) WCDMA_IX_1700 => WCDMA - 1700 MHz - AT/Error // CR/?

#gsmctl -A "AT^SYSCFGEX="0201",0004000000000000,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 0000000000400000 (CM_BAND_PREF_WCDMA_IMT) WCDMA_IMT(2100) => WCDMA - 2100 MHz - AT/3/A1/TMO // CR/?

#gsmctl -A "AT^SYSCFGEX="0201",0000000000400000,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 0002000000000000 (CM_BAND_PREF_WCDMA_VIII_900) WCDMA_VIII_900 => WCDMA - 900 MHz - AT/Error // CR/?

#gsmctl -A "AT^SYSCFGEX="0201",0002000000000000,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 2000000 (CM_BAND_PREF_WCDMA_IX_1700) AWS => AWS - 1700 MHz - AT/Error // CR/?

#gsmctl -A "AT^SYSCFGEX="0201",2000000,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 00000001(CM_BAND_PREF_BC0_A) Band 0 A System => CDMA - ? MHz - AT/Error // CR/?

#gsmctl -A "AT^SYSCFGEX="0201",00000001,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 00000002(CM_BAND_PREF_BC0_B) Band 0 B System => CDMA - ? MHz - AT/Error // CR/?

#gsmctl -A "AT^SYSCFGEX="0201",00000002,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 00000004(CM_BAND_PREF_BC1) Band 1 1900 => CDMA - ? MHz - AT/Error // CR/?

#gsmctl -A "AT^SYSCFGEX="0201",00000004,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 00000008(CM_BAND_PREF_BC2) Band 2 => CDMA - 1900 MHz - AT/Error // CR/?

#gsmctl -A "AT^SYSCFGEX="0201",00000008,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 00000010(CM_BAND_PREF_BC3) Band 3 => CDMA - 1800 MHz - AT/Error // CR/?

#gsmctl -A "AT^SYSCFGEX="0201",00000010,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 00000020(CM_BAND_PREF_BC4) Band 4 => CDMA - 1700 MHz - AT/Error // CR/?

#gsmctl -A "AT^SYSCFGEX="0201",00000020,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 00000040(CM_BAND_PREF_BC5) Band 5 => CDMA - 850 MHz - AT/Error // CR/? X

#gsmctl -A "AT^SYSCFGEX="0201",00000040,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 00000400(CM_BAND_PREF_BC6) BAND 6 => CDMA - 800 MHz - AT/Error // CR/?

#gsmctl -A "AT^SYSCFGEX="0201",00000400,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 00000800(CM_BAND_PREF_BC7) BAND 7 => CDMA - 2600 MHz - AT/Error // CR/?

#gsmctl -A "AT^SYSCFGEX="0201",00000800,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 00001000(CM_BAND_PREF_BC8) BAND 8 => CDMA - 900 MHz - AT/Error // CR/?

#gsmctl -A "AT^SYSCFGEX="0201",00001000,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 00002000(CM_BAND_PREF_BC9) BAND 9 => CDMA - 1700 MHz - AT/Error // CR/?

#gsmctl -A "AT^SYSCFGEX="0201",00002000,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 00004000(CM_BAND_PREF_BC10) BAND 10 => CDMA - 1700 MHz - AT/Error // CR/?

#gsmctl -A "AT^SYSCFGEX="0201",00004000,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 00008000(CM_BAND_PREF_BC11) BAND 11 => CDMA - 1500 MHz - AT/Error // CR/?

#gsmctl -A "AT^SYSCFGEX="0201",00008000,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 10000000(CM_BAND_PREF_BC12) Band 12 => CDMA - 700 MHz - AT/Error // CR/?

#gsmctl -A "AT^SYSCFGEX="0201",10000000,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 20000000(CM_BAND_PREF_BC14) Band 14 => CDMA - 700 MHz - AT/Error // CR/?

#gsmctl -A "AT^SYSCFGEX="0201",20000000,1,2,7FFFFFFFFFFFFFFF,,"

UMTS/GSM band: 80000000(CM_BAND_PREF_BC15) Band 15 => CDMA - ? MHz - AT/Error // CR/?

#gsmctl -A "AT^SYSCFGEX="0201",80000000,1,2,7FFFFFFFFFFFFFFF,,"

#"only LTE": with specific frequency
#LTE band: all
#gsmctl -A "AT^SYSCFGEX="03",3FFFFFFF,1,2,7FFFFFFFFFFFFFFF,,"

LTE band: 1(CM_BAND_PREF_LTE_EUTRAN_BAND1) => LTE BC1 - 2100 MHz - AT/- // CR/-

#gsmctl -A "AT^SYSCFGEX="03",3FFFFFFF,1,2,1,,"

LTE band: 2(CM_BAND_PREF_LTE_EUTRAN_BAND2) => LTE BC2 - 1900 MHz - AT/- // CR/-

#gsmctl -A "AT^SYSCFGEX="03",3FFFFFFF,1,2,2,,"

LTE band: 4(CM_BAND_PREF_LTE_EUTRAN_BAND3) => LTE BC3 - 1800 MHz - AT/3 // CR/Claro + Movistar

#gsmctl -A "AT^SYSCFGEX="03",3FFFFFFF,1,2,4,,"

LTE band: 10(CM_BAND_PREF_LTE_EUTRAN_BAND5) => LTE BC5 - 850 MHz - AT/- // CR/-

#gsmctl -A "AT^SYSCFGEX="03",3FFFFFFF,1,2,10,,"

LTE band: 40(CM_BAND_PREF_LTE_EUTRAN_BAND7) => LTE BC7 - 2600 MHz - AT/A1 // CR/Kölbi

#gsmctl -A "AT^SYSCFGEX="03",3FFFFFFF,1,2,40,,"

LTE band: 80(CM_BAND_PREF_LTE_EUTRAN_BAND8) => LTE BC8 - 900 MHz - AT/- // CR/-

#gsmctl -A "AT^SYSCFGEX="03",3FFFFFFF,1,2,80,,"

LTE band: 80000(CM_BAND_PREF_LTE_EUTRAN_BAND20) => LTE BC20 - 800 MHz - AT/A1 // CR/-

#gsmctl -A "AT^SYSCFGEX="03",3FFFFFFF,1,2,80000,,"

LTE band: 40000000(CM_BAND_PREF_NO_CHANGE) No band change

#gsmctl -A "AT^SYSCFGEX="03",3FFFFFFF,1,2,40000000,,"

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