Skip to main content

How I fixed my BSNL Broadband on Ubuntu - right MTU value, right DNS Servers!

At my home town we have a BSNL Broadband connection powering a dual boot PC. As someone who likes to be on Ubuntu all the time, several websites (Yahoo, Wordpress.com blogs etc.) opening up slowly or not opening at all was a major problem for me. Surprisingly the same sites used work fine on Windows with same Internet connection. While I always knew that MTU (Maximum Transmission Unit) was the culprit, I never got an opportunity to fix it. This time I decided to fix it as we had recently migrated to a 512 Kbps connection and this is incomparable to my Beam Fiber connection at Hyderabad, all thanks to end of a golden era!

Finding the right MTU

Finding the right MTU can be a daunting task as
it involves trial and error using the ubiquitous ping command. I tried my luck at this for quite sometime but felt there must be better way. I thought it would be a wise idea to check out the MTU value in Windows and apply the same in Ubuntu. On the Windows side I ran this command to find the MTU value (Source):
netsh interface ipv4 show subinterfaces 
The MTU value turned out to be 1460.

Right DNS

When the bandwidth is limited one must optimize everything! I normally use ISP DNS and it works reasonably well. This time I could see slower speeds and therefore I decided to switch to Google DNS.

Above two measures have made the 512 Kbps connection very usable on Ubuntu. So if you are stuck with poor internet browsing experience like me on BSNL Broadband and Ubuntu try this out.

Comments

Popular posts from this blog

Turning off a Dell Laptop Monitor: Keyboard shortcut(s)

I am someone who is particular about power savings and I don't leave appliances powered on when not in use. The same applies to computing devices - be it a smartphone or a PC/Laptop. I power off the desktop monitor when I step out for a tea break or hit Fn+F2 on my Lenovo laptop that turns off the display. Recently, I got a Dell Laptop and I was surprised to discover that Dell does not provide any shortcut to turn off the display. This led to some exploration and I found two ways to achieve that which are outlined below - 

Resolving INS-20802: Oracle Net Configuration Assistant failed error on Windows 10

I was all excited about the migration to Windows 10 until I had to install Oracle client 12.1.0.2 on it. The Oracle client installation used to fail miserably at the last stage with this error named INS-20802.

Nginx - Solution for 10060: A connection attempt failed because the connected party did not properly respond

I was in the process of setting up Nginx to serve as the reverse proxy for Nexus Repository Manager OSS. However, the Nexus repository started loading really slowly post this and used to repeatedly display disconnected and reconnected messages. The Nginx log file used to log the below error - <timestamp> [error] 3240#3632: *1 upstream timed out (10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond) while connecting to upstream, client: <ip address="">, server: <fqdn>, request: "GET /nexus HTTP/1.1", upstream: "http://[::1]:8081/nexus", host: "<fqdn>"