![]() |
Set MTU for N900
Hi,
I am from India and am using N900 for sometime. My broadband service provider BSNL has some issues in rendering some sites. Only few sites used to open from my computer. Later after some research I set the MTU to 1400, where as by default it was 1500. Once I did this, the problem got resolved and am able to view all sites. Now I face the same problem in my N900. I am unable to open many sites via wifi. I can open the same from my cellular network. Can anyone guide me how to find whats the default MTU for a N900 and how to change it? Will there be any issues if I change the MTU value? Or is there a different solution altogether? Please help. |
Re: Set MTU for N900
Last time I check the MTU of gprs0 is 1400:
Code:
root |
Re: Set MTU for N900
He said that his problem is when connecting to wireless, so not gprs0 is the interface to check...
|
Re: Set MTU for N900
wlan's MTU is 1500 by default:
Nokia-N900:~# ifconfig wlan0| grep MTU UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 but i've no idea how to change it, hope someone will help. |
Re: Set MTU for N900
Oops my bad, try the following in xterminal in this case:
Code:
echo ifconfig wlan0 mtu 1400 | root |
Re: Set MTU for N900
Quote:
|
Re: Set MTU for N900
Quote:
|
Re: Set MTU for N900
Quote:
I did cd .. twice and reached #. tried the same there. No error. Tried this "ifconfig wlan0 | grep MTU" to figure if it was changed. Its still at 1500. Any idea whats going on? |
Re: Set MTU for N900
Quote:
Code:
echo ifconfig wlan0 mtu 1400 | root Code:
echo ifconfig wlan0 mtu 1400 | sudo gainroot |
Re: Set MTU for N900
Hi,
For a wifi connection that I frequently use, this "MTU" trick greatly helps. However, I would like to avoid typing ifconfig wlan0 mtu 1400 as root, after each reboot. So I've tried to write an upstart script : - created a file /etc/event.d/fix-mtu - added the following content to that file : Code:
start on startup |
Re: Set MTU for N900
Quote:
Example: Code:
start on started hildon-desktop Code:
start on started wlancond |
Re: Set MTU for N900
Necc, many thanks for your quick and accurate answer ! :)
It worked like a charm. |
All times are GMT. The time now is 13:17. |
vBulletin® Version 3.8.8