Skip to content
New issue

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

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

Already on GitHub? # to your account

ALL.sh and LTE_ALL.sh don't work, but UMTS_ALL.sh #3

Open
Boscop opened this issue Mar 10, 2019 · 2 comments
Open

ALL.sh and LTE_ALL.sh don't work, but UMTS_ALL.sh #3

Boscop opened this issue Mar 10, 2019 · 2 comments

Comments

@Boscop
Copy link

Boscop commented Mar 10, 2019

ALL.sh and LTE_ALL.sh don't work, but UMTS_ALL.sh.
I set it to UMTS_ALL, but because ALL.sh doesn't work, I can't reset it back to ALL now :(
My guess is that it's becaues my router (E5577Cs-321) doesn't support all LTE bands, e.g. it doesn't seem to support LTE_900, but LTE_800, as you can see below.
So if the tool also tries to set LTE_900 when setting ALL or LTE_ALL, maybe that's why those fail?
Here is the output:

> ./ALL_PREFER_LTE.sh 
[1213] error: File: web.cpp  Line: 421  Function:  rapidxml::xml_node<>* web::{anonymous}::xmlHttpRequest(const char*, const char*, web::{anonymous}::HttpResult&, web::{anonymous}::HttpOpts&): Setting network mode: Setting net mode failed
[1213] info: See http://192.168.8.1/api/net/net-mode-list for a list of supported bands. Log in first.
[1213] info: Check debug.log to see what's going on
> ./LTE_ALL.sh        
[1203] error: File: web.cpp  Line: 421  Function:  rapidxml::xml_node<>* web::{anonymous}::xmlHttpRequest(const char*, const char*, web::{anonymous}::HttpResult&, web::{anonymous}::HttpOpts&): Setting network mode: Setting net mode failed
[1203] info: See http://192.168.8.1/api/net/net-mode-list for a list of supported bands. Log in first.
[1203] info: Check debug.log to see what's going on
> ./LTE_800.sh 
Current Network Mode: 03
Current Network Band: 3FFFFFFF
Current LTE Band: 524288 (900)

SUCCESS
> ./LTE_900.sh 
[247] error: File: web.cpp  Line: 421  Function:  rapidxml::xml_node<>* web::{anonymous}::xmlHttpRequest(const char*, const char*, web::{anonymous}::HttpResult&, web::{anonymous}::HttpOpts&): Setting network mode: Setting net mode failed
[247] info: See http://192.168.8.1/api/net/net-mode-list for a list of supported bands. Log in first.
[247] info: Check debug.log to see what's going on
> ./ALL.sh 
[230] error: File: web.cpp  Line: 421  Function:  rapidxml::xml_node<>* web::{anonymous}::xmlHttpRequest(const char*, const char*, web::{anonymous}::HttpResult&, web::{anonymous}::HttpOpts&): Setting network mode: Setting net mode failed
[230] info: See http://192.168.8.1/api/net/net-mode-list for a list of supported bands. Log in first.
[230] info: Check debug.log to see what's going on
> ./UMTS_ALL.sh 
Current Network Mode: 02
Current Network Band: 7FFFFFFFFFFFFFFF
Current LTE Band: 524288 (900)

SUCCESS
@Boscop
Copy link
Author

Boscop commented Mar 22, 2019

Btw, when I call /api/net/net-mode-list, I get this:

<?xml version="1.0" encoding="UTF-8"?>
<response>
	<AccessList>
		<Access>00</Access>
		<Access>01</Access>
		<Access>02</Access>
		<Access>03</Access>
	</AccessList>
	<BandList>
		<Band>
			<Name>GSM900&#x2F;GSM1800&#x2F;WCDMA BCVIII&#x2F;WCDMA BCI</Name>
			<Value>2000000400380</Value>
		</Band>
	</BandList>
	<LTEBandList>
		<LTEBand>
			<Name>LTE BC1&#x2F;LTE BC3&#x2F;LTE BC5&#x2F;LTE BC7&#x2F;LTE BC8&#x2F;LTE BC20</Name>
			<Value>800d5</Value>
		</LTEBand>
		<LTEBand>
			<Name>All bands</Name>
			<Value>7ffffffffffffff</Value>
		</LTEBand>
	</LTEBandList>
</response>

@0xAA
Copy link
Collaborator

0xAA commented Mar 23, 2019

I do not own a single Huawei device anymore. So I cannot change or test anything. Sorry.

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

No branches or pull requests

2 participants