Installing Intrepid once again broke the USB support in Virtualbox. If your getting the following error, the next few lines are for you.

The previous fix for Hardy should no longer be used as the mountdevsubfs.sh looks different in Intrepid. The following solution was proposed in a ubuntu forum and looks as if it does the job. Simply add the following line at the end of your /etc/fstab file:


none /proc/bus/usb usbfs devgid=46,devmode=664 0 0

Make sure that your user is member or the group with gid 46 or adjust the above line. Once added to fstab mount the file system using:


sudo mount /proc/bus/usb

Share

Posted by patrik in Ubuntu | No Comments

Nov. 18, 2008

I upgraded from Hardy to Intrepid on my work laptop, a few weeks ago. Apart from ssh-keys not working through the keymanager (again) and Firefox starting up with the window title outside of the screen I’d say it all went pretty smooth. I had some problems with our backup solution, but it turned out that it had nothing to do with the upgrade.

I solved the keyring problem by deleting the .gnome2 folder in my home directory. This could most likely be solved a lot easier but I didn’t have the time to dig deeper at the time. Changes have been made to the Networkmanager which now supports mobile internet connections. So far I have not successfully been able to connect to my provider using this new functionality so I’m sticking with the wvdial method.

A really annoying new thing with the network manager is that it shows all my interfaces with static ip-addresses from /etc/network/interfaces. So what? Well if you’re running a lot of systems with dedicated “Host interfaces” in Virtualbox, I guess you see what I mean. As a bonus, each time I attach the network cable it tries to bring up one of those virtual interface with a static ip instead of the eth0 interface… Luckily I’m using 3g and wi-fi a lot, otherwise I would have to face facts and fix the problem :)

Hopefully something that can be configured better. I haven’t bothered to look at any documentation, things should just work :) . Perhaps an alternateive strategy by dynamically creating interfaces when starting Virtual boxes, leaving the interfaces file and ifconfig output cleaner.

Share

Posted by patrik in Ubuntu | No Comments

Having put this project aside for a while I picked it up again after receiving a comment on a previous post. With a little help from the developer Hirte at aircrack my wifi-hacking setup is finally complete. It now works exactly the way I was hoping to get it running even when my MAC address is changed. The last parts were resolved by changing back to the r8187 driver which is available from the aircrack-ng web page here. In order to get rid of the annoying “SKB BUG: Invalid truesize (304) len=226, sizeof(sk_buff)=176″ I made some adjustments to my syslog-ng configuration as suggested on their web page.

When running with a different MAC address, the address should be changed both using ifconfig and then set as parameter when starting airbase-ng with the -a switch.  Thanks again Hirte!

Share

Posted by patrik in Security | No Comments

Thanks to SavvyAdmin.com I finally got bridging to work with my wireless device in VirtualBox. I have not yet given it as extensive testing that I would like but my first impression is that it actually works. In order to get it running you need two programs bcrelay and parprouted. I just this minute finnished typing the last lines of my script that starts bridging between a given interface and the wlan. The script is somewhat long as it enables ip forwarding, makes apropriate changes in my firewall configuration, starts the daemons and finally tries to reset it all when it ends. I have posted the script here for anyone who would like to try it out. Feel free to drop me a line with suggestions or changes.

Share

Posted by patrik in Virtualization | No Comments

Sun released the 2.0.2 maintenance release yesterday. Judging by the changelog it fixes a number of kernel related crashes of the guest os and a number of GUI crashes. Might be good to upgrade in other words.

Share

Posted by patrik in Virtualization | No Comments

Get Adobe Flash playerPlugin by wpburn.com wordpress themes