Skip to main content

Posts

VMware in Linux : The virtual machine's operating system has attempted to enable promiscuous mode on adapter Ethernet0

I was just happy when I transported my dev virtual box to my Linux system. But immediately after starting up the system I was greeted with this error The virtual machine's operating system has attempted to enable promiscuous mode on adapter Ethernet0. This is not allowed for security reasons. Apparently the solution is this . Which states that "VMware software does not allow the virtual Ethernet adapter to go into promiscuous mode unless the user running the VMware software has permission to make that setting. This follows the standard Linux practice that only root can put a network interface into promiscuous mode." And the solution it seems is adding a new user group and deligating permission to them. However for CentOS this didn't turn out to be the case. Apparently device nodes are created in boottime in this case and you need ownership permissions for udev to make it work. You can read a detailed description in that link. But in short the commands w...

Git on Windows: The unknown Perils

Today when I was finally setting up a few things in my work laptop and tried to work with a few codes I pushed to my git repository I faced a new error again. What I wanted to do. Just a simple git cli call to add a repository to my local phonegap build. And I ended up with Interesting. Very interesting. As it turns out it is a platform specific bug in Windows with Git. Never noticed it before because I never used windows very much for my dirty development works. Apparently { [Error: Command failed: fatal: could not create work tree dir 'C:\Users\RXK132 ~1\AppData\Local\Temp\plugman\git\1404826931375'.: No such file or directory ] killed: false, code: 128, signal: null }    [error] Command failed: fatal: could not create work tree dir 'C:\Users\RXK13 2~1\AppData\Local\Temp\plugman\git\1404826931375'.: No such file or directory Is produced as windows is unable to create the directory structure. If you manually create the...

Increasing Virtualbox disk size (Increasing VHD size without cloning)

Lets just face it, I like VirtualBox. I have used it in numerous occasions, back from the days when it was offered by Innotek, to Sun and now Oracle. Yeah it always was a less powerful than Vmware in some areas, but when i don't need them this was as good (or maybe sometimes better) than Vmware for my basic sandboxing needs! But sometimes I find myself in a problem which the GUI isn't always helpful for me. One of them is when in an active Virtual Machine I run out of diskspace. There are a number of ways to increase harddisk size without destroying your data, but most of them involve cloning or copying your data to a new vdi. Though they are also relatively painless I found a much more easier solution. Or rather a one liner The following command will operate on the VirtualBox virtual disk located at “C:\Users\rk\VirtualBox VMs\Windows 7\Windows 7.vdi”. It will resize the virtual disk to 21920 MB (20 GB). VBoxManage modifyhd “C:\Users\rk\VirtualBox VMs\Windows 7\Wi...

The Unholy War 'In the Name of Development'

This documentary is prohibited to be displayed in most parts of Country (in India). Even JNU has kept mum on this one. Had to be shared somewhere. Then why not here. What happens in Gujarat and the Gujarat Model of Development...

MAN: Our relationship with nature (the cruelty of man represented in a cartoon)

Sachin's Last Speech : "Life Between 22 yards for 24 years"

Today I saw Sachin play for the last time. though an emotional blog post is due. For now I'll just be content with his words. And a few videos. “Friends please settle down, I’ll get more emotional. It’s hard to believe my wonderful journey is coming to an end, my life between 22 yards for 24 years has come to an end. I’ve a list of names to thank. The first is my father, who passed away in 1999. Without his guidance I wouldn’t be standing in front of you. He said ‘chase your dreams, don’t give up, the path will be difficult.’ I miss him today.  My mom, I don’t know how she managed a naughty child like me. She just prayed and prayed from the day I started playing the game. For four years I stayed with my uncle and aunt when in school, they treated me like their own son. My eldest brother Nitin doesn’t like to talk much but he said, whatever you do, I know you will give 100%. My first cricket bat was presented to me by my sister Savita. She still continues to fast while I ba...

Workshop on "Advanced Python Programming" at UTDallas

I will be conducting a workshop on Advanced Python Programming on University Of Texas at Dallas on November 17th. Everyone is invited to participate. Registrations are taken at  UTD Marketplace . You can directly register for the event at here . This workshop will assume your familiarity with Python and Model View Controller architecture. I will be covering high level introductions and some basic concepts with a very popular python framework named Django. The session will be mostly a hands on where we will be building a dynamic scalable web app using python and Django. At the end of the session participants should have with them their first app. Recommended Pre-Requisites: It is recommended for the participants to have the following skillset to take full advantage of the session Familiarity with python (Participants are encouraged to attend the basic level session first) Knowledge about MVC  architecture Knowledge about basic HTML,Javas...