Categories
Linux

Installing VirtualBox Guest Additions in Linux Mint Debian

I am tired of the more and more resource hungry nature of Ubuntu’s latest versions. I have tried other Linux distros like Fedora and OpenSUSE but I have a soft corner for debian based distros. So tonight, I have installed Linux Mint Debian in a virtualbox VM. Linux Mint Debian, as the name suggests, is a linux distro based on the popular Debian Linux. They just added some extra tools and toys to make the plain old Debian look and feel “wow!”.

If you have ever used VirtualBox, then you’re probably aware of the “Guest Additions” which makes the VBox guests more accessible and more usable. After the additions are installed, mouse capturing, copy-pasting between host and guest, better hardware and video support, full screen and seamless modes etc features are available.

On Ubuntu, installing the Guest Additions in a guest machine is pretty straightforward. You mount the Guest Additions cd image and accept the auto run prompt. The rest is done automatically. But in case of Debian, things are a bit geekier. You need to have the kernel modules and source codes so that the guest additions can be compiled and loaded into the kernel of your system. So, before we try to run the guest additions installer, we need to run these following commands to prepare our system:

Running these commands shall update your package list, download and install the required packages for compilation and then prepare the environment for the actual operation.

Now navigate terminal to the VirtualBox Guest Additions directory and use the following command to run it:

After the installation is over, shut down the VM, allocate enough video memory (at least 32MB, I did 128MB) and enable 3D Acceleration from the Settings > Display tab of the VM.

Start the virtual machine and enjoy! 🙂

Categories
Bangla Python Series

āĻŦāĻžāĻ‚āϞāĻžā§Ÿ āĻĒāĻžāχāĻĨāύ – āĻĢāĻžāĻ‚āĻļāύ

āφāĻŽāĻžāĻĻ⧇āϰ āĻĒā§āϰ⧋āĻ—ā§āϰāĻžāĻŽā§‡āϰ āϝ⧇ āĻ…āĻ‚āĻļāϗ⧁āϞ⧋ āĻŦāĻžāϰ āĻŦāĻžāϰ āφāϏ⧇ āϏ⧇āϗ⧁āϞ⧋āϕ⧇ āφāĻŽāϰāĻž āĻĒ⧁āύāϰāĻžā§Ÿ āĻŦā§āϝāĻŦāĻšāĻžāϰāϝ⧋āĻ—ā§āϝ āĻāĻ•āĻ• (reusable unit) āĻšāĻŋāϏ⧇āĻŦ⧇ āĻŦā§āϝāĻŦāĻšāĻžāϰ āĻ•āϰāϤ⧇ āĻĒāĻžāϰāĻŋ āĻĢāĻžāĻ‚āĻļāύ⧇āϰ āϏāĻžāĻšāĻžāĻ¯ā§āϝ⧇ āĨ¤ āĻ—āύāĻŋāϤ⧇ āϝ⧇āĻŽāύ āĻĻ⧇āϖ⧇āĻ›āĻŋ āϕ⧋āύ āĻĢāĻžāĻ‚āĻļāύ āĻāĻ•āϟāĻŋ āχāύāĻĒ⧁āϟ āύāĻŋā§Ÿā§‡ āϏ⧇āϟāĻžāϰ āωāĻĒāϰ āĻŦāĻŋāĻ­āĻŋāĻ¨ā§āύ āϧāϰāύ⧇āϰ āĻŽā§āϝāĻžāĻĨ āĻ•āϰ⧇ āφāωāϟāĻĒ⧁āϟ āĻĻā§‡ā§Ÿ, āĻĒā§āϰ⧋āĻ—ā§āϰāĻžāĻŽāĻŋāĻ‚āĻāĻ“ āϏ⧇āχ āĻāĻ•āχ āĻŦā§āϝāĻžāĻĒāĻžāϰ āϘāĻŸā§‡ āĨ¤ āφāĻĒāύāĻŋ āĻāĻ• āĻŦāĻž āĻāĻ•āĻžāϧāĻŋāĻ• āĻĒā§āϝāĻžāϰāĻžāĻŽāĻŋāϟāĻžāϰ āĻĒāĻžāϏ āĻ•āϰāĻŦ⧇āύ āĻāĻ•āϟāĻŋ āĻĢāĻžāĻ‚āĻļāύ⧇, āĻĢāĻžāĻ‚āĻļāύāϟāĻŋ āĻĒā§āϰāϏ⧇āϏ āĻ•āϰ⧇ āφāĻĒāύāĻžāϕ⧇ āφāωāϟāĻĒ⧁āϟ “āϰāĻŋāϟāĻžāĻ°ā§āύ āĻ•āϰāĻŦ⧇” āĨ¤ āϤāĻŦ⧇ āĻĒā§āϰ⧋āĻ—ā§āϰāĻžāĻŽāĻŋāĻ‚ āĻāϰ āĻ•ā§āώ⧇āĻ¤ā§āϰ⧇ āϏāĻŦāϏāĻŽā§Ÿ āϝ⧇ āχāύāĻĒ⧁āϟ āĻĨāĻžāĻ•āϤ⧇ āĻšāĻŦ⧇ āĻŦāĻž āφāωāϟāĻĒ⧁āϟ āĻĻāĻŋāϤ⧇ āĻšāĻŦ⧇ āĻāĻŽāύ āϕ⧋āύ āĻ•āĻĨāĻž āύ⧇āχ āĨ¤

āĻāĻ•āϟāĻŋ āĻĢāĻžāĻ‚āĻļāύ āφāϏāϞ⧇ āĻ•āĻŋāϛ⧁ āĻ¸ā§āĻŸā§‡āϟāĻŽā§‡āĻ¨ā§āĻŸā§‡āϰ āϏāĻ‚āĻ•āϞāύ āĨ¤ āϝāĻ–āύāχ āϕ⧋āύ āĻĢāĻžāĻ‚āĻļāύ āĻ•āϞ āĻ•āϰāĻž āĻšā§Ÿ āϤāĻ–āύ āĻāχ āĻĢāĻžāĻ‚āĻļāύ⧇āϰ āĻ­āĻŋāϤāϰ⧇ āĻĨāĻžāĻ•āĻž āĻ¸ā§āĻŸā§‡āϟāĻŽā§‡āĻ¨ā§āϟāϗ⧁āϞ⧋ āĻāĻ•ā§āϏāĻŋāĻ•āĻŋāωāϟ āĻ•āϰāĻž āĻšā§Ÿ āĨ¤ āĻĒāĻžāχāĻĨāύ⧇ āφāĻŽāϰāĻž āĻĢāĻžāĻ‚āĻļāύ āĻĄāĻŋāĻ•ā§āĻ˛ā§‡ā§ŸāĻžāϰ āĻ•āϰāĻžāϰ āϜāĻ¨ā§āϝ def āĻ•āĻŋ-āĻ“ā§ŸāĻžāĻ°ā§āĻĄāϟāĻŋ āĻŦā§āϝāĻŦāĻšāĻžāϰ āĻ•āϰāĻŋ āĨ¤ āφāϏ⧁āύ āĻĻ⧇āϖ⧇ āύ⧇āχ āĻāĻ•āϟāĻŋ āĻĢāĻžāĻ‚āĻļāύ:

āĻĒā§āϰāĻĨāĻŽā§‡ āφāĻŽāϰāĻž def āĻ•āĻŋ-āĻ“ā§ŸāĻžāĻ°ā§āĻĄāϟāĻŋ āϞāĻŋāϖ⧇āĻ›āĻŋ āĨ¤ āϤāĻžāϰāĻĒāĻžāϰ āĻĢāĻžāĻ‚āĻļāύ⧇āϰ āύāĻžāĻŽ – “hello”, āĻāĻŦāĻ‚ āϤāĻžāϰāĻĒāϰ (). āϝāĻĻāĻŋ āφāĻŽāϰāĻž āĻĢāĻžāĻ‚āĻļāύāϟāĻŋāϤ⧇ āϕ⧋āύ āχāύāĻĒ⧁āϟ āĻĻāĻŋāϤ⧇ āϚāĻžāχ āϏ⧇āĻ•ā§āώ⧇āĻ¤ā§āϰ⧇ āĻĒā§āϝāĻžāϰāĻžāĻŽāĻŋāϟāĻžāϰāϗ⧁āϞ⧋ āĻāχ () āĻāϰ āĻŽāĻ§ā§āϝ⧇ āĻ•āĻŽāĻž āĻĻāĻŋā§Ÿā§‡ āφāϞāĻžāĻĻāĻž āĻ•āϰ⧇ āϞāĻŋāĻ–āϤ⧇ āĻšāĻŦ⧇ āĨ¤ āφāĻŽāϰāĻž āĻĻ⧇āĻ–āϤ⧇ āĻĒāĻžāĻšā§āĻ›āĻŋ, āĻāχ āĻĢāĻžāĻ‚āĻļāύ⧇ āφāĻŽāϰāĻž āϕ⧋āύ āχāύāĻĒ⧁āϟ āĻĻāĻŋāĻšā§āĻ›āĻŋ āύāĻž āĨ¤ āĻĢāĻžāĻ‚āĻļāύāϟāĻŋ “Hello world!” āĻĒā§āϰāĻŋāĻ¨ā§āϟ āĻ•āϰāĻŦ⧇ āĨ¤ āϏāĻŋ-āĻĒā§āϰ⧋āĻ—ā§āϰāĻžāĻŽāĻŋāĻ‚ āĻāϰ āϏāĻžāĻĨ⧇ āĻŽāĻŋāϞ āϰ⧇āϖ⧇ (āĻāĻŦāĻ‚ āϰāĻŋāϟāĻžāĻ°ā§āύ āĻ¸ā§āĻŸā§‡āϟāĻŽā§‡āĻ¨ā§āĻŸā§‡āϰ āĻŦā§āϝāĻŦāĻšāĻžāϰ āĻĻ⧇āĻ–āĻžāύ⧋āϰ āϜāĻ¨ā§āϝ) āφāĻŽāϰāĻž 0 āϰāĻŋāϟāĻžāĻ°ā§āύ āĻ•āϰāĻ›āĻŋ āĨ¤ āφāϏāϞ⧇ āĻāχ āĻ¸ā§āĻŸā§‡āϟāĻŽā§‡āĻ¨ā§āĻŸā§‡āϰ āϕ⧋āύ āĻĻāϰāĻ•āĻžāϰ āĻ›āĻŋāϞ āύāĻž āĨ¤

āĻāĻŦāĻžāϰ āφāϏ⧁āύ āĻĻ⧇āĻ–āĻž āϝāĻžāĻ• āĻĒāĻžāχāĻĨāύ⧇ āĻ•āĻŋāĻ­āĻžāĻŦ⧇ āφāĻŽāϰāĻž āĻĢāĻžāĻ‚āĻļāύ āĻĒā§āϝāĻžāϰāĻžāĻŽāĻŋāϟāĻžāϰ āĻĒāĻžāϏ āĻ•āϰāĻŦ āĨ¤

āĻāχ āĻĢāĻžāĻ‚āĻļāύāϟāĻŋāϕ⧇ āĻ•āϞ āĻ•āϰ⧁āύ āĻāĻ­āĻžāĻŦ⧇: sayHello(“maSnun”)

āĻāĻŦāĻžāϰ http://learnpythonthehardway.org/book/ex19.html āĻāχ āĻĒ⧇āχāϜ āĻĨ⧇āϕ⧇ āĻĢāĻžāĻ‚āĻļāύ āύāĻŋā§Ÿā§‡ āĻ•āĻŋāϛ⧁ āϘāĻžāϟāĻžāϘāĻžāϟāĻŋ āĻ•āϰ⧁āύ āĨ¤ āχāύāĻļāĻž āφāĻ˛ā§āϞāĻžāĻš, āύ⧇āĻ•ā§āϏāϟ āĻĒā§‹āĻ¸ā§āĻŸā§‡ āĻĒāĻžāχāĻĨāύ⧇ āĻĢāĻžāĻ‚āĻļāύ⧇āϰ āφāϰ⧋ āĻ•āĻŋāϛ⧁ āĻĻāĻŋāĻ• āύāĻŋā§Ÿā§‡ āφāϞ⧋āϚāύāĻž āĻ•āϰāĻžāϰ āĻšā§‡āĻˇā§āϟāĻž āĻ•āϰāĻŦ āĨ¤

Categories
Linux

Sharing WiMax Through a Second Wireless Router and WiFi Issue on Ubuntu

PS: This post shall tend to be more of a self documentation than an informative technical article.

I own a Belkin N Series Wireless Modem and Router which I bought from https://router200.com/ after comparing between various models which the site showcased (which I used to use for BTCL ADSL connection). I recently (couple of months ago) took a Banglalion WiMax connection. I purchased their indoor unit which doesn’t have WiFi built in. They have another indoor device which has WiFi but my bad luck, it was out of market then, if that’s the option you are looking for than I’d suggest asking for their wi-fi for sale options.

Since I use my Notebook PC, creating a wireless home network is very important. After spending a considerable amount of time behind the Belkin device, I came to find that it can be used to route the WiMax connection. The configuration was a bit tricky (at least for me – may be because I never did this before). Now, through the Belkin device, I would directly be connected to the WiMax device. When a connection was established, it would seem that the Belkin device never existed and I am directly connected to the WiMax device via WiFi. It was cool (though I had to restart the Belkin device after the Wimax device had a stable connection after reboot). Things were good with the system and Windows 7.

However, I installed Ubuntu (completely removing Windows 7) and the WiFi connects. But it fails to reach to the WiMax device. I can reach the Belkin device but no further than that. No Internet connection, nothing! I was very disappointed. But an idea came to my mind, if Windows can handle the routing, why not try it inside VirtualBox? VirtualBox supports bridging host adapters directly with the guest os. So, If I run Windows inside virtual box, I would be able to access my WiFi hardware from Windows. I had a plan that if it worked, if I could browse the internet from inside VBox, I would create a host only network and bridge the two connections.

But life sometimes is much comfortable than you can anticipate. After I installed Windows XP inside Virtual Box and bridged my “wlan0”, Ubuntu started getting Internet connection. This is so interesting, I don’t even need to create network bridge or anything! As long as Windows XP is running inside VirtualBox, Ubuntu can reach the WiMax device like Windows used to do. I don’t know why this happens. May be Ubuntu requires some complex network configuration to connect to such multiple device scenario on the other hand Windows automatically configures the device so during that period, the connection works. Or may be the guest and host OS has some other bridges I am not aware of, so the Windows XP is sharing the connection even without my knowing it.

Whatever the fact is, I am happy. I have tested it several times. If I shut down Windows XP inside the VBox, my connection drops (though the WiFi remains connected to Belkin, it can’t reach the end). But if keep the virtual machine running, connection is perfectly okay. For more information on the wifi router and how you can fix various network issues, visit and learn about Advanced Telecom Systems.