Network Environment:
HOST: Win7
VirtualBox 4.1.4 + Ubuntu 11.10 server 64bit
When the host uses a network cable, the client uses the Atheros AR8131 PCI-E Gigabit Ethernet Controller in Bridged Adapter mode to access the Internet.
When the host uses wireless connection, the client uses the only WIFI option in the Bridged Adapter mode, and the Microsoft Virtual Wifi Miniport Adapter cannot access the Internet.
During installation, the server uses dhcp to dynamically obtain the IP address.
Server environment:
Copy codeThe Code is as follows:
Sudo apt-get install tasksel
Sudo tasksel install openssh-server
Set a fixed IP Address:
Copy codeThe Code is as follows:
Sudo vi/etc/network/interfaces
Iface eth0 inet dhcp
Bytes
Iface eth0 inet static
Address 192.168.1.78
Netmask 255.255.255.0
Gateway 192.168.1.1
Sudo vi/etc/resolv. conf
Nameserver 192.168.1.1
Sudo/etc/init. d/networking restart