为什么每次开机都不能自动激活网卡

声卡/显卡/打印机/USB设备等硬件问题(网卡问题请发上面的网卡板块)
回复
whitefish
帖子: 12
注册时间: 2005-10-18 11:42
送出感谢: 0
接收感谢: 0

为什么每次开机都不能自动激活网卡

#1

帖子 whitefish » 2005-10-20 22:26

为什么每次开机都不能自动激活网卡,即使关机点保存设置都没用,网卡设置为DHCP
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙
送出感谢: 4 次
接收感谢: 256 次

#2

帖子 eexpress » 2005-10-20 22:27

● 鸣学
whitefish
帖子: 12
注册时间: 2005-10-18 11:42
送出感谢: 0
接收感谢: 0

#3

帖子 whitefish » 2005-10-23 22:43

没用,我现在关机她就显示:
Deconfig network config... [failed]
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙
送出感谢: 4 次
接收感谢: 256 次

#4

帖子 eexpress » 2005-10-23 22:45

/etc/network/interfaces的内容和权限信息
● 鸣学
whitefish
帖子: 12
注册时间: 2005-10-18 11:42
送出感谢: 0
接收感谢: 0

#5

帖子 whitefish » 2006-01-02 12:16

# 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
address 192.168.0.101
netmask 255.255.255.0
gateway 192.168.0.1

# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
script grep

# The primary network interface
address 192.168.0.101
netmask 255.255.255.0
gateway 192.168.0.1


iface eth1 inet dhcp

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

pre-up /sbin/ifconfig eth1 up # line maintained by pppoeconf

auto eth1
头像
firehare
论坛版主
帖子: 2625
注册时间: 2005-04-10 16:54
来自: 温州大学
送出感谢: 0
接收感谢: 2 次
联系:

#6

帖子 firehare » 2006-01-02 14:34

whitefish 写了:# 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
address 192.168.0.101
netmask 255.255.255.0
gateway 192.168.0.1

# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
script grep

# The primary network interface
address 192.168.0.101
netmask 255.255.255.0
gateway 192.168.0.1


iface eth1 inet dhcp

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

pre-up /sbin/ifconfig eth1 up # line maintained by pppoeconf

auto eth1


好乱呀!
请参照下面的修改:

代码: 全选

firehare@firehare:~$ more /etc/network/interfaces
# 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

# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
        script grep
        map eth0

# The primary network interface
iface eth0 inet static
        address 10.39.6.59
        netmask 255.255.255.0
        network 10.39.6.0
        broadcast 10.39.6.255
        gateway 10.39.6.254
        # dns-* options are implemented by the resolvconf package, if installed
        #dns-nameservers 10.39.6.254 192.168.0.1 192.168.1.1

auto eth0

如果你的是DHCP的话
那么将 iface eth0 inet static....改成 iface eth0 inet dhcp
我心无畏,源自于我心无知。
图片
回复

回到 “常用硬件支持”