Sponsored

Strange Issue with Huawei B535 Router on Three Network

tartanGuru

Regular Member
The MTU you need to change is under Network Settings>Mobile Internet>Internet Connection
I thought that is where the setting should be, however on my unit (B535-235 firmware version 10.0.2.1(H195SP2C983)) I simply do not have that as an option that I can set!

2B784191-4574-4258-96BD-3091E63C5B36.jpeg
 

tartanGuru

Regular Member
After a dig around in the HTML and CSS it doesn’t appear that there is a hidden MTU option either (although I was able find some other hidden modem settings such as auto dial). I would have assumed that the generic 235 version would have had this option by standard and it would have been disabled on the Three 232 version.
 

Pwablo

Top Member
The MTU option is visible on B535-232 10.0.1.1 as standard from Three.
 

tartanGuru

Regular Member
Looks like it not an option then for the 235 version and 10.0.2.1, so I will have to rely on a client rather than router fix. Cloudflare WARP is working for my mobile devices, I will see if I can enable DNS over HTPPS on my macbook.
 

Buggerlugz

ULTIMATE Member
After a dig around in the HTML and CSS it doesn’t appear that there is a hidden MTU option either (although I was able find some other hidden modem settings such as auto dial). I would have assumed that the generic 235 version would have had this option by standard and it would have been disabled on the Three 232 version.

Can't you just add the correct lines to the html in console?

This bit?

<div id="network_mtu" class="clearboth" style="padding-top:30px;"><div class="control-label" style="margin-top: 8px;"><span lang-id="IDS_advanced_settings_mtu_internet_port">MTU size</span></div><div class="controls enable_eth_save_btn input_normal"><input onfocus="showInputBorder(this)" onblur="hideInputBorder(this)" id="input_network_mtu" lang-id="IDS_ethernet_default_ipoe_mtu" placeholder="Default: 1500" lang-id-set="placeholder" type="text" maxlength="4" value="1500"></div><p id="eths_ondemand_mtuinfo" class="eths-info" lang-id="IDS_ethernet_mtu_size_clew_msg">Please do not edit unless absolutely necessary</p></div><div id="apn_data_save" class="clearboth" style="padding-top:50px;"><div class="control-label" style="margin-top: 8px;">&nbsp;</div><div class="controls"><button class="btn_normal_long" id="mtuSelectpost" lang-id="btn.save">Save</button></div>
 

tartanGuru

Regular Member
Can't you just add the correct lines to the html in console?

Good suggestion and I was able to add the option onto the page, however the save button is non functional and it it couldn’t read the existing value as presumably the associated Javascript to save the value isn’t present. I had a quick look through the JS but could spot anything obvious. This makes me wonder if this is something that Three have specifically asked to be added to the firmware?
 

tartanGuru

Regular Member
Turns out it's really easy to find out what MTU Setting the modem is using. Just enter the following into the chrome console once logged in :-

JavaScript:
getAjaxData('api/dialup/connection',
  function ( ret ) {
  console.log(JSON.stringify(ret))
})

This returns an JSON object which has various parameters for the modem including the MTU (which is defaulted to 1500 on my unit)

JSON:
{"type":"response",
  "response":{
    "RoamAutoConnectEnable":"0",
    "MaxIdelTime":"0",
    "ConnectMode":"0",
    "MTU":"1500",
    "auto_dial_switch":"1",
    "pdp_always_on":"0"
  }
}

I can't however spot an easy way of setting the value via the API as there doesn't seem to be an obvious function made available
 

tartanGuru

Regular Member
I've *finally* been able to change the MTU setting on the B535-235 by using this package and writing a node.js script to manually change the setting :-https://github.com/siphomateke/huawei-router-api
Dropping my MTU down to 1440 has solved all of my page loading problems and my Sonos system seems much more snappy changing tracks.

As the MTU setting seems to have been specifically added to the Three version of this unit, I wonder whether this is something that they were expecting to cause problems!
 

m4tthall

Member
I wish I had seen this post before signing up for Three, although I have only gone for a one month contract at the moment. I have experienced exactly the same. Download and upload speeds are great and consistent, wifi signal good, 4G signal excellent.

However, everyone in the house has experienced intermittent hanging of websites or apps and they are all pretty frustrated. I have spent (wasted) the last couple of days messing around with all sorts of settings and haven't managed to get over this yet and have been searching online for answers. I have recently tried changing the MTU settings to see if this will help but am beginning to think I need to revert to my BT broadband, which never experienced any issues just the speed due to my copper line being about 1/4 of what Three can offer.
 

Mr Choo

Regular Member
I only started seeing these issues recently but contacted Smarty straight away and complained. They replied saying they knew about it and were working on it. Reply today says they have sorted it, not so. Awaiting next response.
Please complain to 3 or Smarty if you are seeing this problem.

Edit - I should have added I'm using a B525 here. The 535 is elsewhere and was working fine before lock down.
 

Mr Choo

Regular Member
Update - Response was to reboot my device. I must admit I had not restarted the router for a day or so.
Anyway the web sites that are slow to respond did load quicker but I'm not convinced as sometimes it is perfect anyway. About the same time as I started to notice the issue other folk were complaining about I realised that LTEInspecteur would not load (not responding), dug out an old Laptop and it was the same and a different version of LTEinspecteur too. Tried uninstalling on the main machine and starting anew but same. Dropped the router to 3G and it worked fine, once running changed to 4G and back in operation. This is still the case now after whatever the network say they have done so maybe a red herring and unique to me and my two laptops or this B525.
 

Mr Choo

Regular Member
As I said I'm not convinced that anything is sorted, been out doing some stuff around the house, came in and looked at stuff online, an aviation forum I look at did load eventually, previously had to close the page and open a new tab to load. This forum was quick (had been very slow or failed to load at times).
For most sites I do not see the problem, only some. This issue started for me only recently.
This is what I got earlier today - Our team have confirmed the problem has been rectified. Please monitor it over the next 48 hours and if the problem persists, let me know.

My background is electronics, radio, networks, systems and the like. Well used to being fobbed off by suppliers/carriers.
I appreciate this thread is about the 535 but I'm seeing the issue with a 525. My 535 is at another property and had not seen anything amiss last time I used it which was before lock down.
 

MrDave

Top Member
As I said I'm not convinced that anything is sorted, been out doing some stuff around the house, came in and looked at stuff online, an aviation forum I look at did load eventually, previously had to close the page and open a new tab to load. This forum was quick (had been very slow or failed to load at times).
For most sites I do not see the problem, only some. This issue started for me only recently.
This is what I got earlier today - Our team have confirmed the problem has been rectified. Please monitor it over the next 48 hours and if the problem persists, let me know.

My background is electronics, radio, networks, systems and the like. Well used to being fobbed off by suppliers/carriers.
I appreciate this thread is about the 535 but I'm seeing the issue with a 525. My 535 is at another property and had not seen anything amiss last time I used it which was before lock down.
I am convinced these routers have a firmware issue where it just kills the internet side of the connection if there is any change in the signal quality. I am on Vodafone experiencing the same issues or similar issues at least. Its mostly fixed, but there are still occasions where the internet will just die for a little while then come back to life.
 

adaml

Member
I've *finally* been able to change the MTU setting on the B535-235 by using this package and writing a node.js script to manually change the setting :-https://github.com/siphomateke/huawei-router-api
Dropping my MTU down to 1440 has solved all of my page loading problems and my Sonos system seems much more snappy changing tracks.

As the MTU setting seems to have been specifically added to the Three version of this unit, I wonder whether this is something that they were expecting to cause problems!

I wonder if you'd be so kind as to share the setup/script for doing this please?
 

MrDave

Top Member
Ok, I bit the bullet as I was sick of the drop in connection and upgraded the firmware to B535-232 10.0.1.1(H191SP63C983).

Will report if there is any changes/improvements. Cannot see any difference in the admin panel apart from the firmware version increase.
 

Buggerlugz

ULTIMATE Member
I wonder if its a problem with 4g when accessing a mast on only one band. Its nowhere near as noticeable when using more than 1 channel with 4g+

Anyone with 4g+ noticing websites hanging?
 

MrDave

Top Member
I wonder if its a problem with 4g when accessing a mast on only one band. Its nowhere near as noticeable when using more than 1 channel with 4g+

Anyone with 4g+ noticing websites hanging?
Well that makes sense as I only get 4G on B20 as that is all that is offered on the nearest Vodafone masts. Would be interesting to know.
 

tartanGuru

Regular Member
I wonder if you'd be so kind as to share the setup/script for doing this please?

Make sure you have node.js installed from here:- https://nodejs.org/en/download/

Got to this page https://github.com/siphomateke/huawei-router-api and click on the green "Clone or Download" button > Download Zip. Unzip the file

In your terminal/command line, navigate to the Huawei_router_api_master folder in your download folder.

run this command:-
npm install

once this is complete (might take a few minutes) run the following:-

npm run build:node

One that is complete, using a text editor, create a file in the same folder called index.js and paste in the following code:-

JavaScript:
const router = require('./dist/index.cjs.js')

router.config.setUrl('http://YOUR ROUTER IP');  // replace with your IP
router.config.setUsername('admin');
router.config.setPassword('YOUR WEB PASSWORD'); // replace with your web password

var mtu = process.argv.slice(2)[0]

console.log(mtu)

if (!mtu) mtu = 1500

async function checkConnection() {
  // Check if we are logged into the router already
  const loggedIn = await router.admin.isLoggedIn();
  if (!loggedIn) {
    // If we aren't, login
    await router.admin.login();
  }
  const stats = await router.dialup.getConnection();
console.log('Current settings')
  console.log(stats);
  return stats
}

async function setOptions(options) {
  // Check if we are logged into the router already
  const loggedIn = await router.admin.isLoggedIn();
  if (!loggedIn) {
    // If we aren't, login
    await router.admin.login();
  }

  var APIoptions = {
    roamAutoConnectEnable: Number(options.RoamAutoConnectEnable),
    maxIdleTime: Number(options.MaxIdelTime),
    connectMode: Number(options.ConnectMode),
    mtu: Number(options.MTU),
    autoDialSwitch: Number(options.auto_dial_switch),
    pdpAlwaysOn: Number(options.pdp_always_on)
  }

  //console.log(APIoptions)
  const stats = await router.dialup.setConnection(APIoptions);
  console.log(stats);
}

main()

async function main() {

  var config = await checkConnection();
  config.MTU = mtu
  await setOptions(config)
  await checkConnection();

}

You will need to replace the IP address with that of your router and put your web UI password in.

You can now run the script to set the MTU with the following terminal command:-

node index.js 1500

Replace 1500 with whatever MTU setting you want - values below 1400 and above 1500 will throw an error.

The script will report the settings twice, once before setting the value and again once the MTU setting has been set so that you confirm it has worked.

You might need to restart the unit for the setting to take effect
 
Last edited:
Top
Promotion
Cheapest Superfast ISPs
  • NOW £22.00 (*32.00)
    Speed 36Mbps, Unlimited
    Gift: None
  • TalkTalk £22.00 (*29.95)
    Speed 38Mbps, Unlimited
    Gift: None
  • Vodafone £22.00 (*25.00)
    Speed 35Mbps, Unlimited
    Gift: None
  • Hyperoptic £22.00
    Speed 50Mbps, Unlimited
    Gift: Promo Code: EASTERSALE
  • xln telecom £22.74 (*47.94)
    Speed 66Mbps, Unlimited
    Gift: None
Large Availability | View All
Cheapest Ultrafast ISPs
  • Gigaclear £24.00 (*44.00)
    Speed: 100Mbps, Unlimited
    Gift: Offer Code: SPRUCE20
  • Vodafone £26.00 (*29.00)
    Speed: 100Mbps, Unlimited
    Gift: None
  • Virgin Media £28.00 (*44.00)
    Speed: 108Mbps, Unlimited
    Gift: None
  • Hyperoptic £29.00 (*35.00)
    Speed: 150Mbps, Unlimited
    Gift: Promo Code: EASTERSALE
  • TalkTalk £29.95 (*39.95)
    Speed: 145Mbps, Unlimited
    Gift: None
Large Availability | View All
Helpful ISP Guides and Tips
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
Promotion
The Top 20 Category Tags
  1. FTTP (3161)
  2. BT (2909)
  3. Building Digital UK (1844)
  4. FTTC (1844)
  5. Politics (1822)
  6. Openreach (1736)
  7. Business (1577)
  8. Mobile Broadband (1367)
  9. FTTH (1355)
  10. Statistics (1336)
  11. 4G (1176)
  12. Fibre Optic (1123)
  13. Wireless Internet (1097)
  14. Virgin Media (1091)
  15. Ofcom Regulation (1087)
  16. EE (776)
  17. Vodafone (769)
  18. TalkTalk (730)
  19. Sky Broadband (711)
  20. 5G (657)
Sponsored

Copyright © 1999 to Present - ISPreview.co.uk - All Rights Reserved - Terms  ,  Privacy and Cookie Policy  ,  Links  ,  Website Rules