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

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.

Troubleshooting a Constantly Freezing Windows 10 PC

On my Windows 10 Home, I was being bugged by constant freezes which forced me to hard reboot now and then. Since I use Ubuntu as my primary OS, I chose to adjust with this for long. However, this became more of a trouble in the recent times with Windows starting up at 98% CPU usage and every process actually showing 0% CPU usage. That's when I decided to get into the root of the problem and resolve it. I was confident that the hardware was fine since Ubuntu worked perfectly all the time.
It turned out that many Windows 10 users, especially those who upgraded from previous versions of Windows 7 or 8 / 8.1 faced similar freezing issues. The answers at Windows Forums by Microsoft staffers generally suggested using the command sfc /scannow to verify that system files were intact. However, most users found it unhelpful and that didn't help me either.