Jump to content

Virtual access point


c0r
 Share

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

@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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...