LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1724|回复: 2

VMware 7中Fedora 13,NAT模式上网的问题

[复制链接]
发表于 2010-6-27 20:16:28 | 显示全部楼层 |阅读模式
配置VMware 7,Fedora 13

     刚刚装了Fedora 13,想让虚拟机上网,家里是电信的ADSL,以前是通过路由用bridge上网的,家里没有路由,于是虚拟机想通过NAT模式上网
     按照网上的介绍设置eth0(就一块网卡)为DHCP,自动获取DNS,查看网络连接发现,eth0为从不活动状态,使用命令ifup eth0想启动网卡,出现错误
Error: Connection activation failed: Device not managed by NetworkManager

请问这是什么情况呢,上网查了半天也没发现为什么

************************************分割线***************************************************************
上一个问题已经解决,解决方法如下:
Open SSH With root permissions and try this!

1. Remove Network Manager from startup Services.
chkconfig NetworkManager off

2. Add Default Net Manager
chkconfig network on

Stop NetworkManager first
service NetworkManager stop

and then start Default Manager
service network start



or you can change it easy:

system-config-network
uncheck the box that sets the eth0 as managed by NetworkManager and set IP info from there.

system-config-services
stop and disable NetworkManager , start and enable network

you have problem because both of NetworkManager and Network using same Network driver and default network blocking access for NetworkManager. if you disable NetworkManager your problem will disappeared after restart.

***************************************************分割线***************************************************************************
但是,又产生了新的问题
在service network Start的时候
*出环回接口:                                             [确定]
*出界面 eth0:
正在决定 eth0 的 IP 信息...失败了。
                                                           [失败]
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists

这是为什么呢,感觉像是DHCP自动分配IP失败,但是是什么导致的呢?怎么解决,各位大哥帮帮忙
发表于 2010-6-27 23:52:47 | 显示全部楼层
t's easy, just do this:

Open SSH With root permissions and try this!

1. Remove Network Manager from startup Services.
chkconfig NetworkManager off

2. Add Default Net Manager
chkconfig network on

Stop NetworkManager first
service NetworkManager stop

and then start Default Manager
service network start



or you can change it easy:

system-config-network
uncheck the box that sets the eth0 as managed by NetworkManager and set IP info from there.

system-config-services
stop and disable NetworkManager , start and enable network

you have problem because both of NetworkManager and Network using same Network driver and default network blocking access for NetworkManager. if you disable NetworkManager your problem will disappeared after restart.

tnx.
Reply With Quote
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-6-28 12:28:17 | 显示全部楼层
那个问题已经解决了,用上面的方法,发现,还是不行,关闭networkManager后,还是不能上网
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表