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.