
[学习]ubuntu 网卡指定 eth0及其它
-
- 帖子: 8
- 注册时间: 2009-03-24 10:45
Re: [学习]ubuntu 8.10 网卡指定 eth0及其它
我被这个network-manager搞死了,一会能通,一会不通,自己写的配置有时生效,有时不生效。按楼主的方法过一遍,正常了!
谢谢了!

-
- 帖子: 181
- 注册时间: 2008-08-07 18:47
Re: [学习]ubuntu 8.10 网卡指定 eth0及其它
network-manager
用的很方便啊,有线,无线,VPN,TV宽带
已经不用pppoeconf了

用的很方便啊,有线,无线,VPN,TV宽带
已经不用pppoeconf了

-
- 帖子: 10
- 注册时间: 2008-04-18 19:02
Re: [学习]ubuntu 8.10 网卡指定 eth0及其它
谢谢,此文甚好
-
- 帖子: 8
- 注册时间: 2009-04-21 12:27
Re: [学习]ubuntu 8.10 网卡指定 eth0及其它
我也有同样疑问,删除了NetworkManager之后用什么来代替呢?如果经常变更上网地点更换上网配置还有什么工具能代替?虽说对NetworkManager没啥好感,至少看上去能起到切换上网配置的作用呢。百草谷居士 写了:为啥要把network-manager删掉?
给自己找麻烦吗?
-
- 帖子: 58
- 注册时间: 2008-11-25 17:20
Re: [学习]ubuntu 8.10 网卡指定 eth0及其它
NetworkManager很麻烦,出现网络设备未托管的情况,并且不能上网,删掉它后才能上网。
-
- 帖子: 8
- 注册时间: 2008-01-14 10:40
Re: [学习]ubuntu 网卡指定 eth0及其它
mark,学习
-
- 帖子: 36
- 注册时间: 2008-06-29 0:58
Re: [学习]ubuntu 网卡指定 eth0及其它
请问那个广播地址broadcast是什么呢?又要怎么获得呢?
- 天要下雨
- 帖子: 36
- 注册时间: 2009-06-22 14:09
Re: [学习]ubuntu 网卡指定 eth0及其它
顶起来!!!!
太强了!!我就是一不小心吧NETWORK MANAGER给删了,上不去了!!
又看到希望了!

太强了!!我就是一不小心吧NETWORK MANAGER给删了,上不去了!!
又看到希望了!

-
- 帖子: 79
- 注册时间: 2009-07-15 14:56
Re: [学习]ubuntu 网卡指定 eth0及其它
从哪添加网络监视器啊,我的面板里,添加,没找到啊?
-
- 帖子: 15
- 注册时间: 2008-02-27 12:52
Re: [学习]ubuntu 网卡指定 eth0及其它
LZ 你好,我这里也出现你标题说的相关的问题,能帮我看看怎么处理么?
我的机子主机在XP下装了VMware,虚拟机里装上了ubuntu,
按着网上的一些资料自己搞过几次网路设置都是能成功共享上网的,
但是后来由于文件出错的原因就把VM卸载了再装上,打开原先配置好的ubunt虚拟机
网络老是会默认到eth1上,导致网络上不了了,有什么办法可以解决吗。
我试过
但是发现重启网络会这么说:
有什么办法可以解决吗?其它地方如下,都做好设置了
我的机子主机在XP下装了VMware,虚拟机里装上了ubuntu,
按着网上的一些资料自己搞过几次网路设置都是能成功共享上网的,
但是后来由于文件出错的原因就把VM卸载了再装上,打开原先配置好的ubunt虚拟机
网络老是会默认到eth1上,导致网络上不了了,有什么办法可以解决吗。
我试过
代码: 全选
yudian973@prince:~$ gksu gedit /etc/udev/rules.d/70-persistent-net.rules
删除下面eth1段
# This file maintains persistent names for network interfaces.
# See udev(7) for syntax.
#
# Entries are automatically added by the 75-persistent-net-generator.rules
# file; however you are also free to add your own entries.
# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:dc:8f:df", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:22:e1:dd", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
代码: 全选
yudian973@prince:~$ sudo /etc/init.d/networking restart
* Reconfiguring network interfaces... Ignoring unknown interface eth1=eth1.
SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
eth0: ERROR while getting interface flags: No such device
Failed to bring up eth0.
代码: 全选
1、配置IP等相关网络设置
sudo gedit /etc/network/interfaces
auto lo
iface lo inet loopback
#上面2行是系统loopback设备,必须有
auto eth0
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
gateway 192.168.0.1
2、设置DNS
sudo gedit /etc/resolv.conf
nameserver 192.168.0.1
-
- 帖子: 88
- 注册时间: 2005-10-29 19:22
Re: [学习]ubuntu 网卡指定 eth0及其它
查查 ATTR{address}=="00:0c:29:22:e1:dd", 是不是你现在虚拟机的网卡地址,VM重装或新建会生成新的MAC,所以应该是注释eth0,把eth1改成eth0.
yudian973 写了:LZ 你好,我这里也出现你标题说的相关的问题,能帮我看看怎么处理么?
我的机子主机在XP下装了VMware,虚拟机里装上了ubuntu,
按着网上的一些资料自己搞过几次网路设置都是能成功共享上网的,
但是后来由于文件出错的原因就把VM卸载了再装上,打开原先配置好的ubunt虚拟机
网络老是会默认到eth1上,导致网络上不了了,有什么办法可以解决吗。
我试过但是发现重启网络会这么说:代码: 全选
yudian973@prince:~$ gksu gedit /etc/udev/rules.d/70-persistent-net.rules 删除下面eth1段 # This file maintains persistent names for network interfaces. # See udev(7) for syntax. # # Entries are automatically added by the 75-persistent-net-generator.rules # file; however you are also free to add your own entries. # PCI device 0x1022:0x2000 (pcnet32) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:dc:8f:df", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" # PCI device 0x1022:0x2000 (pcnet32) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:22:e1:dd", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
有什么办法可以解决吗?其它地方如下,都做好设置了代码: 全选
yudian973@prince:~$ sudo /etc/init.d/networking restart * Reconfiguring network interfaces... Ignoring unknown interface eth1=eth1. SIOCSIFADDR: No such device eth0: ERROR while getting interface flags: No such device SIOCSIFNETMASK: No such device eth0: ERROR while getting interface flags: No such device Failed to bring up eth0.
代码: 全选
1、配置IP等相关网络设置 sudo gedit /etc/network/interfaces auto lo iface lo inet loopback #上面2行是系统loopback设备,必须有 auto eth0 iface eth0 inet static address 192.168.0.2 netmask 255.255.255.0 gateway 192.168.0.1 2、设置DNS sudo gedit /etc/resolv.conf nameserver 192.168.0.1
-
- 帖子: 5
- 注册时间: 2009-09-17 17:08
Re: [学习]ubuntu 网卡指定 eth0及其它
楼主啊,我看你很牛x啊,帮帮我好吗?vm虚拟ubuntu,该如何设置上网啊啊,帮帮忙吧我在学校上网,步骤越简单越好啊……谢谢了……
-
- 帖子: 9
- 注册时间: 2008-02-22 20:12
- 来自: 广东深圳
- 联系:
Re: [学习]ubuntu 网卡指定 eth0及其它
谢了,我的问题还没解决,先谢了,明天继续学习…… 

- photor
- 论坛版主
- 帖子: 11004
- 注册时间: 2008-04-26 12:41
-
- 帖子: 73
- 注册时间: 2008-07-28 18:49
Re: [学习]ubuntu 网卡指定 eth0及其它
同问!shendapeng 写了:从哪添加网络监视器啊,我的面板里,添加,没找到啊?