LinuxSir.cn,穿越时空的Linuxsir!

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

无线网卡无法开机自动启动

[复制链接]
发表于 2008-2-18 12:52:40 | 显示全部楼层 |阅读模式
我的无线网卡已经可以正常使用了,但开机总是要用root手工运行一下iwconfig eth1 essid xxx才行。如果不运行这个命令,iwconfig可以看到无线网卡设置都正确,但信号全为0。这是怎么回事?
发表于 2008-2-18 13:21:47 | 显示全部楼层
我的/etc/network/interfaces:

#wireless
auto eth2
iface eth2 inet static
#iface eth2 inet dhcp
wireless-essid dlink
address 192.168.0.150
netmask 255.255.255.0
gateway 192.168.0.1

自己根据硬件和网络的情况做相应修改。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-2-18 14:59:42 | 显示全部楼层
我就是这样设置的。

allow-hotplug eth1
iface eth1 inet static
        address 192.168.1.111
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255
        gateway 192.168.1.1
        wireless-essid xxx
#        wireless-mode managed
#        wireless-channel 6
        wireless-key ****
回复 支持 反对

使用道具 举报

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

本版积分规则

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