分页: 3 / 5

Re: [学习]ubuntu 8.10 网卡指定 eth0及其它

发表于 : 2009-03-31 9:59
shown
我被这个network-manager搞死了,一会能通,一会不通,自己写的配置有时生效,有时不生效。按楼主的方法过一遍,正常了! :em05 谢谢了!

Re: [学习]ubuntu 8.10 网卡指定 eth0及其它

发表于 : 2009-03-31 10:30
udlc
network-manager

用的很方便啊,有线,无线,VPN,TV宽带

已经不用pppoeconf了

:em01

Re: [学习]ubuntu 8.10 网卡指定 eth0及其它

发表于 : 2009-04-03 13:24
shumi_2008
谢谢,此文甚好

Re: [学习]ubuntu 8.10 网卡指定 eth0及其它

发表于 : 2009-04-22 22:59
大弓1728
百草谷居士 写了:为啥要把network-manager删掉?
给自己找麻烦吗? :em20
我也有同样疑问,删除了NetworkManager之后用什么来代替呢?如果经常变更上网地点更换上网配置还有什么工具能代替?虽说对NetworkManager没啥好感,至少看上去能起到切换上网配置的作用呢。

Re: [学习]ubuntu 8.10 网卡指定 eth0及其它

发表于 : 2009-04-27 21:45
hellfire_fc
NetworkManager很麻烦,出现网络设备未托管的情况,并且不能上网,删掉它后才能上网。

Re: [学习]ubuntu 网卡指定 eth0及其它

发表于 : 2009-05-23 22:29
bob33
mark,学习

Re: [学习]ubuntu 网卡指定 eth0及其它

发表于 : 2009-05-25 12:32
KennyW
请问那个广播地址broadcast是什么呢?又要怎么获得呢?

Re: [学习]ubuntu 网卡指定 eth0及其它

发表于 : 2009-06-30 15:17
天要下雨
顶起来!!!! :em50
太强了!!我就是一不小心吧NETWORK MANAGER给删了,上不去了!!
又看到希望了! :ema5

Re: [学习]ubuntu 网卡指定 eth0及其它

发表于 : 2009-08-06 16:47
shendapeng
从哪添加网络监视器啊,我的面板里,添加,没找到啊?

Re: [学习]ubuntu 网卡指定 eth0及其它

发表于 : 2009-09-10 23:11
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

Re: [学习]ubuntu 网卡指定 eth0及其它

发表于 : 2009-09-13 21:31
味精
查查 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

Re: [学习]ubuntu 网卡指定 eth0及其它

发表于 : 2009-09-17 21:18
joyking1987
楼主啊,我看你很牛x啊,帮帮我好吗?vm虚拟ubuntu,该如何设置上网啊啊,帮帮忙吧我在学校上网,步骤越简单越好啊……谢谢了……

Re: [学习]ubuntu 网卡指定 eth0及其它

发表于 : 2009-09-18 23:49
fuowen20
谢了,我的问题还没解决,先谢了,明天继续学习…… :em02

Re: [学习]ubuntu 网卡指定 eth0及其它

发表于 : 2009-10-20 18:37
photor
:em11

Re: [学习]ubuntu 网卡指定 eth0及其它

发表于 : 2009-10-30 17:29
isping
shendapeng 写了:从哪添加网络监视器啊,我的面板里,添加,没找到啊?
同问!