LinuxSir.cn,穿越时空的Linuxsir!

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

无线网卡的问题

[复制链接]
发表于 2008-12-13 00:25:39 | 显示全部楼层 |阅读模式
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停掉了有线网卡的.
发表于 2008-12-13 10:01:29 | 显示全部楼层
试 ifconfig wlan0 up
回复 支持 反对

使用道具 举报

发表于 2008-12-15 12:10:51 | 显示全部楼层
先ifconfig -a

看看到底有什么可以让你up的
回复 支持 反对

使用道具 举报

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

本版积分规则

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