阅读:2317次   评论:2条   更新时间:2011-05-26    
1 虚拟机下设置分辨率
在cdrom下面执行vbox增强包即可,完成后reboot

2 网络配置
引用
sudo vim /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address IP 地址
netmask 子网掩码
gateway 网关
保存退出

设置DNS:
sudo vim /etc/resolv.conf

输入:
nameserver DNS地址

保存,退出
sudo /etc/init.d/networking restart

评论 共 2 条 请登录后发表评论
2 楼 chenhongwei0924 2010-11-09 22:18


请指教下! 我的是什么问题
http://ubuntu.group.javaeye.com/group/topic/23359
1 楼 chenhongwei0924 2010-11-09 10:59
restart提示eth0不存在
netease@mysql1:~$ sudo /etc/init.d/networking restart
 * Reconfiguring network interfaces...                                          eth0: ERROR while getting interface flags: No such device
There is already a pid file /var/run/dhclient.eth0.pid with pid 134519072
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth0.


请lz指教.!!!

发表评论

您还没有登录,请您登录后再发表评论

文章信息

Global site tag (gtag.js) - Google Analytics