Host system: Windowns XP
Virtual machine: vmware8.0
Linux system: ubuntu11.04
This paper mainly solves the problem of Internet wireless network card of Ubuntu through host. In reality, most people use virtual machines to install Linux systems, but how to make two systems through the wireless network interface together.
1. For the host can obtain the IP address information by clicking the Wireless Internet icon in the lower right corner: as shown in the figure:
The above is my host's Internet information, in Linux to be configured according to these configurations.
2. In the virtual machine, the following configuration is to be made:
Start by selecting Edit---The >virtual Network Editor in the Virtual machine's toolbar: Set the settings as shown in the diagram, select Bridge, and be the wireless card.
B In select Vm--àsetting in the virtual machine, make the following settings:
3. Enter Ubuntu to configure the IP address parameters such as: (This is I set the parameters according to the wireless network, specifically according to their own circumstances)
First step: sudo gedit/etc/network/interfaces
Auto Lo
Iface Lo inet Loopback
Auto Eth0
Iface eth0 inet Static
Address 192.168.0.222 (to be in the same network segment as the wireless network)
Netmask 255.255.255.0 (same as wireless network of the above host)
Gateway 192.168.0.1 (same as wireless network of the above host)
Part II: vi/etc/resolv.conf
# Generated by NetworkManager
NameServer 114.114.114.114 (same as wireless network of the above host)
NameServer 114.114.114.114 (same as wireless network of the above host)
Part III: VI/ETC/NETWORKMANAGER/NETWORKMANAGER.CONF
Change the managed in the Ifupdown segment to True
Part fourth: sudo/etc/init.d/networking restart
Finally, Ubuntu will be able to surf the internet wirelessly.