[求助]每次启动都要手动激活网卡,如何让它自动激活?

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
kingmax119
帖子: 8
注册时间: 2006-07-18 8:55

[求助]每次启动都要手动激活网卡,如何让它自动激活?

#1

帖子 kingmax119 » 2006-09-13 13:08

RT谢谢!
kingmax119
帖子: 8
注册时间: 2006-07-18 8:55

#2

帖子 kingmax119 » 2006-09-13 13:34

还有一个问题,装上mplayer了,codecs也装上了,但起动mplayer时出现错误,“[ws]Sorry, your system does not support the XShape extension”。
请高手帮忙。
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#3

帖子 eexpress » 2006-09-13 15:01

kingmax119 写了:还有一个问题,装上mplayer了,codecs也装上了,但起动mplayer时出现错误,“[ws]Sorry, your system does not support the XShape extension”。
请高手帮忙。
显卡驱动安装了?glxinfo|grep render是yes就是安装了。mplayer -vo xv xxxx.rmvb试试。系统是显示设置那里,选择视频的不同输出试试。

第一个问题的情况很多,不能确定你的情况。看/etc/networks/interface里面的内容是什么。有没有auot eth0这样的行。
● 鸣学
xjzzx
帖子: 34
注册时间: 2006-07-14 12:06

#4

帖子 xjzzx » 2006-09-13 16:39

/etc/network/interface
里,网卡前改成auto。
kingmax119
帖子: 8
注册时间: 2006-07-18 8:55

#5

帖子 kingmax119 » 2006-09-13 20:27

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0

auto dsl-provider
iface dsl-provider inet ppp
provider dsl-provider

# added by pppoeconf
auto eth0

pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
-----------------------------------------------------------------------
上边是interfaces但内容,要改什么地方吗?
现在还是不能自动激活网卡/自动拨号。谢谢!
kingmax119
帖子: 8
注册时间: 2006-07-18 8:55

#6

帖子 kingmax119 » 2006-09-14 13:53

mplayer装是装上了,但是还是起动出错,播放电影也和在win下差别很大不适应,只好删掉了。
算了,之能在ubuntu上浏览一下网页了。
请高手帮我解决一下网卡的问题,谢谢!
头像
cheaper
帖子: 198
注册时间: 2006-01-06 17:26

#7

帖子 cheaper » 2006-09-21 18:49

在/etc/rc.local里添加一句"ifconfig eth0 up"
我是学习linux,不是学习如何装linux。

Myblog
头像
eagle5678
帖子: 1865
注册时间: 2006-07-08 14:07

#8

帖子 eagle5678 » 2006-10-30 22:09

我的是:网卡已激活,但上不了网,需先关闭再激活才可上网?什么原因
头像
Stupid kid
帖子: 416
注册时间: 2006-10-18 12:57

#9

帖子 Stupid kid » 2006-10-31 11:56

奇怪,我为什么没有interface呢,只有/etc/network/interfaces
而且里面的东西也很怪,
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet dhcp

auto eth2
iface eth2 inet dhcp

auto ath0
iface ath0 inet dhcp

auto wlan0
iface wlan0 inet dhcp
不知道怎么做好,每次都要
sudo ifconfig eth0 1.2.3.4
sudo xrgsu -d
.......
.
.....
挺烦的![/u]
回复