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.

SSL VPN: Configuring and Using Forticlient on Ubuntu, creating a Launcher

Is your primary OS at home Linux and do you use Windows only to connect to your work PC over VPN or to attend meetings?  Do you often wish to connect to your work VPN from a Linux PC?  If your answer is 'Yes' to the above questions, I have an answer if your workplace uses Fortinet SSL VPN. Note that it's possible to connect to Fortinet and other VPNs like Cisco VPN from Linux through the inbuilt network manager by installing additional tools but this post would focus on using the standard Forticlient for accessing the resources on your work network. Obtaining Forticlient The most important thing to note w.r.t. using Forticlient for Ubuntu (or any Linux distro) is to note that the client is not publicly available for download from the official website. You will have to ask your IT department to download the client for you, in case they haven't provided it.