多谢大家的帮助。我可以使用无线网络拉。 现在总结一些经验,一回报大家: 1.首先我下载了firmware-iwlwifi,它会在/lib/firmware安装几个iwlwifi-*.ucode的文件。 2.然后,这个文件,对于Intel Corporation PRO/Wireless 5100 AGN无线网卡,支持2.26以后的内核,在大家的提示下我安装了unstable的2.30版本。 3.重启后使用debian:/home/lihb# lsmod |grep -i iw可以看到iwlagn模块已经加载。 4.虽然我在笔记本的按键上已经打开了无线网卡的开关,但是需要执行ifconfig wlan0 up,不能使用ifup wlan0,应该是因为我还没在/etc/network/interfaces中加入对wlan0的配置,所以使用ifup会导致提示找不到wlan0. 5.再使用iwlist scanning可以搜索到相应AP,获得要接入AP的相关信息。 6.使用ifconfig wlan0 对IP NETMASK等进行配置。 7. iwconfig wlan0 essid "AP‘Name" 8. iwconfig wlan0 key "password" 9. ping 网关,同时可能需要使用route配置路由。
感谢大家的帮助:-) 2009/6/21 Darren Hoo <[email protected]> > 2009/6/21 李湖滨 <[email protected]‘name com <[email protected]>>: > > 同时我想试图开启这个命名为wlan0的网卡, > > debian:/lib/firmware# ifup wlan0 > > Ignoring unknown interface wlan0=wlan0. > > 但是失败了,不知道是不是需要在哪里进行配置或者安装什么别的软件呢。 > > > > 2009/6/21 李湖滨 <[email protected]> > >> > >> 大家好: > >> 我现在使用了2.30内核了,可以加载iwlagn。但是仍然不能使用。 > >> debian:/lib/firmware# uname -a > >> Linux debian 2.6.30-1-686 #1 SMP Sun Jun 14 16:11:32 UTC 2009 i686 > >> GNU/Linux > >> debian:/lib/firmware# ls > >> iwlwifi-3945-1.ucode iwlwifi-3945-2.ucode iwlwifi-4965-1.ucode > >> iwlwifi-4965-2.ucode iwlwifi-5000-1.ucode iwlwifi-5000-2.ucode > >> debian:/lib/firmware# modprobe iwlagn > >> debian:/lib/firmware# lsmod |grep -i iw > >> iwlagn 72236 0 > >> iwlcore 92248 1 iwlagn > >> mac80211 142728 2 iwlagn,iwlcore > >> cfg80211 55548 3 iwlagn,iwlcore,mac80211 > >> rfkill 9668 4 iwlcore,thinkpad_acpi > >> led_class 3852 2 iwlcore,thinkpad_acpi > >> 我已经使用2.30的内核了。也安装了wireless-tool工具了。 > >> debian:/lib/firmware# iwlist scanning > >> lo Interface doesn't support scanning. > >> eth0 Interface doesn't support scanning. > >> wmaster0 Interface doesn't support scanning. > >> wlan0 Interface doesn't support scanning : Network is down > >> 在使用2.30内核前,没有显示wmaster0和wlan0两行。我也将笔记本上的无线网络开关打开了,但无线指示灯还是不亮。 > >> 恳请大家继续赐教:-) > ifup wlan0提示错误是因为没有在interfaces文件里配置好 > 去/etc/network/interfaces 配置好wlan0 > 或者你如果用桌面的话可以用wicd network-manager等gui工具 > > 如果你想先用wireless-tool命令行工具做配置,发现灯不亮 > 可以先 试试 > ifconfig wlan0 up > > 然后再使用iwlist 和 iwconfig 配置 > > >> > >> 2009/6/21 Darren Hoo <[email protected]> > >>> > >>> 2009/6/21 李湖滨 <[email protected]>: > >>> > 实际上,> l...@debian:~$ ls /lib/firmware/ > >>> >> iwlwifi-3945-1.ucode iwlwifi-3945-2.ucode iwlwifi-4965-1.ucode > >>> >> iwlwifi-4965-2.ucode iwlwifi-5000-1.ucode iwlwifi-5000-2.ucode > >>> > 这里面的文件后来都是sudo apt-get install firmware-iwlwifi 安装进去了。 > >>> > 不知道这个安装后,是不是有什么别的操作步骤呢? > >>> > > >>> > 2009/6/21 Dongsheng Song <[email protected]> > >>> >> > >>> >> ]% sudo apt-get install firmware-iwlwifi > [09-06-21 > >>> >> 12:10:43] > >>> >> 正在读取软件包列表... 完成 > >>> >> 正在分析软件包的依赖关系树 > >>> >> 正在读取状态信息... 完成 > >>> >> 下列【新】软件包将被安装: > >>> >> firmware-iwlwifi > >>> >> 共升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 36 个软件未被升级。 > >>> >> 需要下载 465kB 的软件包。 > >>> >> 解压缩后会消耗掉 1090kB 的额外空间。 > >>> >> 获取:1 http://ftp.debian.org testing/non-free firmware-iwlwifi 0.16 > >>> >> [465kB] > >>> >> 下载 465kB,耗时 9s (50.4kB/s) > >>> >> 选中了曾被取消选择的软件包 firmware-iwlwifi。 > >>> >> (正在读取数据库 ... 系统当前总共安装有 83347 个文件和目录。) > >>> >> 正在解压缩 firmware-iwlwifi (从 .../firmware-iwlwifi_0.16_all.deb) ... > >>> >> 正在设置 firmware-iwlwifi (0.16) ... > >>> >> > >>> >> > >>> >> 2009/6/21 李湖滨 <[email protected]>: > >>> >> > 大家好: > >>> >> > 我在笔记本是T400,已经安装好Debian了。 > >>> >> > 可是这两天折腾了好久的无线网卡,希望大家能提供点帮助哦:-) > >>> >> > l...@debian:~$ lspci|grep -i net > >>> >> > 00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit > >>> >> > Network > >>> >> > Connection (rev 03) > >>> >> > 03:00.0 Network controller: Intel Corporation PRO/Wireless 5100 > AGN > >>> >> > [Shiloh] > >>> >> > Network Connection > >>> >> > l...@debian:~$ uname -a > >>> >> > Linux debian 2.6.26-2-686 #1 SMP Thu May 28 15:39:35 UTC 2009 i686 > >>> >> > GNU/Linux > >>> >> > l...@debian:~$ ls /lib/firmware/ > >>> >> > iwlwifi-3945-1.ucode iwlwifi-3945-2.ucode iwlwifi-4965-1.ucode > >>> >> > iwlwifi-4965-2.ucode iwlwifi-5000-1.ucode iwlwifi-5000-2.ucode > >>> >> > > >>> >> > > >>> >> > > 目前上网查了很多别人的做法,都是下载iwlwifi-5000-ucode-8.24.2.12.tgz然后解压到/lib/firmware,然后重启,再使用modprobe > >>> >> > iwlagn。 > >>> >> > 但是debian:/home/lihb# modprobe iwlagn > >>> >> > FATAL: Module iwlagn not found. > >>> >> > > >>> >> > 请求赐教:-) > >>> > >>> http://wiki.debian.org/iwlagn > >>> > >>> iwlagn is a module for Intel 4965, 5100BG/ABG/ABN, 5300AGN and 5350AGN > >>> wireless LAN chipsets. This driver is included in the mainline Linux > >>> kernel since 2.6.27. It is present in Debian kernel images since > >>> 2.6.28.1 > >>> > >>> Non-free firmware is required, which can be provided by the > >>> firmware-iwlwifi package since version 0.15.2 Firmware must be > >>> installed prior to device operation. > >>> > >>> 你用的内核版本太低了,要用iwlabg模块,升级内核吧。 > >>> > >>> >> > > >>> >> > -- > >>> >> > Best Regards, > >>> >> > > >>> >> > Hubin Li > >>> >> > > >>> > > >>> > > >>> > > >>> > -- > >>> > Best Regards, > >>> > > >>> > Hubin Li > >>> > Master in Communication and Information System, Beijing University of > >>> > Posts > >>> > and Telecommunications(BUPT) > >>> > China Mobile (Shenzhen) Company > >>> > Tel: +86 15013858848 > >>> > E-mail/MSN/Gtalk/QQ: [email protected] > >>> > > >> > >> > >> > >> -- > >> Best Regards, > >> > >> Hubin Li > >> Master in Communication and Information System, Beijing University of > >> Posts and Telecommunications(BUPT) > >> China Mobile (Shenzhen) Company > >> Tel: +86 15013858848 > >> E-mail/MSN/Gtalk/QQ: [email protected] > > > > > > > > -- > > Best Regards, > > > > Hubin Li > > Master in Communication and Information System, Beijing University of > Posts > > and Telecommunications(BUPT) > > China Mobile (Shenzhen) Company > > Tel: +86 15013858848 > > E-mail/MSN/Gtalk/QQ: [email protected] > > > -- Best Regards, Hubin Li

