在Linux上使用CF无线网卡的说明

类别:软件工程 点击:0 评论:0 推荐:

1、要在Linux上使用CF无线网卡,必须在编译内核时选择network device support->Wirless Lan(non-hamradio)选项。

2、编译orinoco驱动程序,在编译的时候,注意修改Makefile中的Kernel_SRC到内核源代码目录

3、将编译好的驱动程序hermes.o、orinoco.o和orinoco_cs.o拷贝到目标板上的/lib/module/$(内核版本)/pcmcia目录下

4、修改/etc/pcmcia/config文件如下:

# Device driver definitions

 

device "memory_cs" needs_mtd

  class "memory" module "memory_cs"

 

device "serial_cs"

  class "serial" module "serial_cs"

 

device "ide_cs"

  class "ide" module "ide_cs"

 

device "dummy_cs"

  class "dummy" module "dummy_cs"

 

device "orinoco_cs"

   class "network" module "hermes","orinoco","orinoco_cs"

 #对应鹰泰的CF无线网卡

card "D-Link DWL-650 11 Mbps WLAN Card" 

   version "Wireless", "LAN Adapter", "Version 01.02",""

   bind "orinoco_cs"

#对应神脑的CF无线网卡 

card "Senao Wireless CompactFlash Card"

   version "WLAN","11Mbps_PC-Card_3.0","ISL37100P","ISL37100P"

   manfid 0x000b,0x7100

   bind "orinoco_cs"

 

card "ATA/IDE Fixed Disk"

  function fixed_disk

  bind "ide_cs"

 

# Include local configuration settings

source ./config.opts

5、修改/etc/network.opts文件中IP地址为所需要的IP

6、重新启动目标板或者重新启动pcmcia,无线网卡就可以工作了。

本文地址:http://com.8s8s.com/it/it33085.htm