LinuxSir.cn,穿越时空的Linuxsir!

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

安装madwifi的内核选项问题

[复制链接]
发表于 2010-7-12 19:46:24 | 显示全部楼层 |阅读模式
昨天刚刚装好的GENTOO,正在学习中,今天想安装无线网卡,需要madwifi驱动,可是不论我直接emerge还是从官网下载madwifi源码包编译都无法通过,错误是内核选项错误,please enable wireless extensions 可是我找遍了内核配置界面都没有发现wireless extensions这个选项,貌似网上都说要打开这个选项,可是我的内核就是没有。。内核版本是2.6.34-r1。。。帮帮我解答下吧。。谢谢!!
 楼主| 发表于 2010-7-12 20:38:05 | 显示全部楼层
来人帮我解答下啊。。。在线等。。
回复 支持 反对

使用道具 举报

发表于 2010-7-12 20:40:06 | 显示全部楼层
Atheros 卡内核里有
madwifi 有几年不用了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-7-12 20:46:35 | 显示全部楼层
哦,我也看见ATHEROS卡的内核选项了,可是具体该怎么配置呢?
回复 支持 反对

使用道具 举报

发表于 2010-7-12 20:56:42 | 显示全部楼层
这个,文字如何表述?
Location:                                                               
    -> Device Drivers  -> Network device support    -> Wireless LAN   -> Atheros Wireless Cards (ATH_COMMON [=m]                                              │   
里面么,不是ath5k 就是 ath9k 选 m
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-7-12 21:09:21 | 显示全部楼层
我试过了,内核编译好后ifconfig依然没有无线网卡的信息。。。是不是还要进行什么配置?我是新手。刚刚玩LINUX 。谢谢啦
回复 支持 反对

使用道具 举报

发表于 2010-7-12 21:21:20 | 显示全部楼层
贴 lspci
ifconfig -a
ifconfig
iwconfig
lsmod
cat /etc/udev/rules.d/70-persistent-net.rules
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-7-12 21:47:20 | 显示全部楼层
Lei ~ # lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 0c)
00:19.0 Ethernet controller: Intel Corporation 82566MM Gigabit Network Connection (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HBM (ICH8M-E) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation Quadro NVS 140M (rev a1)
03:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)
15:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)
15:00.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 04)
15:00.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 21)
15:00.3 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 11)
15:00.4 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 11)
15:00.5 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 11)


**********************************************************************************
Lei ~ # /sbin/ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:21:86:94:26:15  
          inet addr:192.168.0.12  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::221:86ff:fe94:2615/64 Scopeink
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1154 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1034 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:561862 (548.6 KiB)  TX bytes:112094 (109.4 KiB)
          Memory:fe200000-fe220000

lo        Link encapocal Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

sit0      Link encap:IPv6-in-IPv4  
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr 00:22:69:95:23:36  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


***********************************************************************************
Lei ~ # /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:21:86:94:26:15  
          inet addr:192.168.0.12  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::221:86ff:fe94:2615/64 Scopeink
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1160 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1034 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:562222 (549.0 KiB)  TX bytes:112094 (109.4 KiB)
          Memory:fe200000-fe220000

lo        Link encapocal Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


***********************************************************************************
Lei ~ # iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

sit0      no wireless extensions.

wlan0     IEEE 802.11bg  Mode:Managed  Access Point: Not-Associated   
          Tx-Power=0 dBm   
          Retry  long limit:7   RTS thrff   Fragment thrff
          Encryption keyff
          Power Managementff


*********************************************************************************
Lei ~ # lsmod
Module                  Size  Used by
nvidia               9948147  31
ath5k                 105884  0
ath                     6994  1 ath5k


**********************************************************************************
Lei ~ # cat /etc/udev/rules.d/70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# PCI device 0x8086:0x1049 (e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:21:86:94:26:15", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x168c:0x001c (ath5k)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:22:69:95:23:36", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
回复 支持 反对

使用道具 举报

发表于 2010-7-12 21:59:13 | 显示全部楼层
ifconfig wlan0 up
emerge -av wicd
rc-update add wicd default
回复 支持 反对

使用道具 举报

发表于 2010-7-12 22:01:01 | 显示全部楼层
ifconfig wlan0 up
emerge -av wicd
rc-update add wicd default
gentoo wiki wicd wireless
回复 支持 反对

使用道具 举报

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

本版积分规则

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