c0r Posted October 12, 2009 Share Posted October 12, 2009 Hello, i've created a hacklab in virtualbox on my ubuntu machine. I also got lot's of guest running (xp,win2000,win2003,vista,windows7,redhat and other linux distro's) Now i want to setup a virtual acces point on the xp or win2000 guest machine so i can try out the security of wep and wpa. So far no luck,the usb adapter works fine on my host machine (ubuntu) but as soon as startup a virtual machine the fun stops. I've installed the drivers for the adapter on the guest machines perfectly,they also get detected but still no go. Has anybody tried this before? Any help would be great. thx Quote Link to comment Share on other sites More sharing options...
lopez1364 Posted October 13, 2009 Share Posted October 13, 2009 try booting up a linux distro with aircrack-ng and then start up an AP that way using airbase-ng. This should get you started and after you have the AP up set up some securtiy. #modprobe tun airbase-ng -C 9 -e "wifi" -v ath0 <creates a tap interface> ifconfig at0 up 10.0.0.1 netmask 255.255.255.0 echo > /var/state/dhcp/dhcp.leases dhcpd -cf /etc/dhcpd.conf echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE Quote Link to comment Share on other sites More sharing options...
digip Posted October 13, 2009 Share Posted October 13, 2009 I use usb adapters in vmware all the time with no problems. Don't plug in the usb adapter until after the vm is running AND has the focus. Once running and fully logged in, plug it in and then start the device normally. If you plug it in first, the host system grabs it and keeps its focus, then the vm cant see it. Quote Link to comment Share on other sites More sharing options...
Netshroud Posted October 13, 2009 Share Posted October 13, 2009 Or you can have it plugged in first, but attach it to the VM later. Quote Link to comment Share on other sites More sharing options...
moonlit Posted October 13, 2009 Share Posted October 13, 2009 I use usb adapters in vmware all the time with no problems. Don't plug in the usb adapter until after the vm is running AND has the focus. Once running and fully logged in, plug it in and then start the device normally. If you plug it in first, the host system grabs it and keeps its focus, then the vm cant see it. What he said. VirtualBox's USB has never seemed very stable to me, you have to allow it to keep the focus for the entire time the USB wifi device is installing, from a short while before you plug the stick in until the guest OS recognises it. If you don't, it may hang, crash or just plain not work. Shame really, I love everything else about VirtualBox. Quote Link to comment Share on other sites More sharing options...
c0r Posted October 13, 2009 Author Share Posted October 13, 2009 @lopez1364: already tried airbase-ng worked very well.thx! @digip : that could be the prob,i plug the usb device in before i start the guest. @Psychosis : also a good idea,will try! @moonlit :that's my prob, or it hangs or it crashes. I'll let you know how it turned out. thx! c Quote Link to comment Share on other sites More sharing options...
c0r Posted October 13, 2009 Author Share Posted October 13, 2009 Hmm none worked,maybe i'll go and buy a wireless router and set things up. c Quote Link to comment Share on other sites More sharing options...
moonlit Posted October 14, 2009 Share Posted October 14, 2009 VMWare Server and Microsoft's Virtual PC are both free and have much, much better USB support, you might want to check those out. Quote Link to comment Share on other sites More sharing options...
c0r Posted October 14, 2009 Author Share Posted October 14, 2009 thx..will try c Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.