Ubuntu via the host wireless network card Internet problem

Source: Internet
Author: User
Tags nameserver

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.