|
|
Debian lenny,今天升级内核到了2.6.26,貌似机器的无线网卡被驱动了,因为在网络管理里面能看到我的无线网卡,但是当我用命令ifup wlan0时,却报了如下的错误:
IOCSIFFLAGS: No such file or directory
以下下是我的/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
# The primary network interface
allow-hotplug wlan0
iface eth0 inet static
address 10.168.137.15
netmask 255.255.255.128
network 10.168.137.0
#broadcast 192.168.1.255
gateway 10.168.137.1
# dns-* options are implemented by the resolvconf package, if installed
#dns-nameservers 10.168.10.101
#dns-search FredDom
#wireless adapter
iface wlan0 inet static
wireless_mode managed
address 192.168.1.100
netmask 255.255.255.0
#getway 192.168.1.1
gateway 192.168.1.1
wireless-key s:zouli
wireless-essid TP-LINK_8DA9F0
auto wlan0
这是什么问题呢?奇怪了,BTW:在启动无线网卡之前,我是用ifdown eth0停掉了有线网卡的. |
|