LinuxSir.cn,穿越时空的Linuxsir!

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

如何在KANOPPIX和KANOTIX系统加载USB的无线网卡ORINOCO USB Client

[复制链接]
发表于 2006-11-22 00:20:07 | 显示全部楼层 |阅读模式
我现在有朗讯产的老USB无线网卡是ORINOCO USB Client 现在想加载到以上系统上应该怎么加载,我把它的驱动已经下载到了U盘上了,如可以加载的时候应该怎么加请高手赐教
发表于 2006-11-22 04:25:55 | 显示全部楼层
没有用过这款网卡,见网上资料,它只支持 802.11b,貌似是很老的产品了

较新的内核都已集成了很多无线网卡的驱动,你插上後系统有没有自动识别它?iwconfig 的输出是什麽?若系统能自动识别它,那就用 netcardconfig 来配置便行
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-22 18:41:22 | 显示全部楼层
d00m3师傅我是刚接触LINUX系统的,我用#LSUSB显示如下:
bus 005 device 002: id 6253:0100
bus 005 device 003: id 047e:0300 agere systems, Inc. (lucent)
bus 005 device 001: id 0000:0000
bus 004 device 001: id 0000:0000
bus 003 device 001: id 0000:0000
bus 002 device 001: id 0000:0000
bus 001 device 001: id 0000:0000

执行#iwconfig显示
lo no wireless extensions
eth0 no wireless extensions                                


#netcardconfig
xlib: connection to ":0.0" refused by server
xlib: no protocol specified

xdialog: error initializing the GUI...
Do you run under x11 with GTK+ V1.2.0+installed?
回复 支持 反对

使用道具 举报

发表于 2006-11-23 20:45:34 | 显示全部楼层
iwconfig 的结果告诉你无线网卡还未被识别,也许是驱动还未加载

netcardconfig 是在 konsole 下执行的吗?若然是,那麽从 knoppix 用户用 su - 来切换 root 才行
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-24 00:29:53 | 显示全部楼层
d00m3师傅我就是用su 转到root l里看的,我是个刚接触linux系统的菜鸟,这个netcardconfig 是在 konsole 下执行的吗>我不明白,请告诉我,我把他的说明给您看,请告诉我怎么加载和指令执行,我用的是kanotix 200601-rc4
ORiNOCO USB for Linux
---------------------

Thanks for testing this.

The code is not very pretty, but it has been reported to work with:

        Agere/Lucent ORiNOCO USB Client (0x047e/0x0300)
        Agere Wireless USB Card Model 0801 (0x0d4e/0x1000)
        HP/Compaq WL215 (0x049f/0x001f)
        HP/Compaq W200 (0x049f/0x0076)
        HP Wireless USB WL215 (0x049f/0x0082)
        IBM Internal High Rate Wireless LAN PC Card 26P8030 (0x0d4e/0x047a)
        Melco, Inc. BUFFALO WLI-USB-L11G-WR (0x0411/0x000b)
        Thomson SpeedTouch 120 Wireless Lan USB Adaptor (0x0d4e/0x1000)


Software needed for firmware download:
-------------------------------------
       
        * wget  (http://www.gnu.org/software/wget/wget.html)
        * curl  (http://curl.haxx.se/)
        * unzip (http://www.info-zip.org/pub/infozip/UnZip.html)
        * hotplug (http://linux-hotplug.sourceforge.net/)
        * bc      (ftp://src.doc.ic.ac.uk:/pub/gnu/)

        cURL is used to make firmware's download faster, getting
        only the bits the driver needs.


Making it work:
--------------

As usual when building external kernel modules, you need a Linux
kernel source tree configured properly.

         $ make KERNEL_SRC=/path/to/my/kernel/source
         $ su
         # make install
         # make load

        You should now have an wlan0 network device ready for use.

        NOTE: Keep in mind that you will have to copy the kernel modules
        manually to the appropriate place for them to get loaded automatically
        when you reboot.

Interesting module parameters:
-----------------------------

- orinoco_usb.o:
        - force_unsupported:
                If set to '1', it has two effects: it will try to handle a
                device that has not been reported to work, and it will treat
                as unknown any device that is actually supposed to be
                supported.
        - watchdog_secs:
                The card some times gets a little stuck under heavy load, and
                setting this to a nonzero value can help. Read the source for
                a better explanation.
        - debug:
                Set to '1' to get lot's of debugging messages.

- orinoco.o:
        - orinoco_debug:
                Enables and disables debugging in orinoco.o code.

Note on fxload:
--------------

  Orinoco devices don't change identity upon firmware load, which means that
  fxload and the kernel driver would end up stepping on each other's toes. And
  even then, a byte has to be changed in the firmware depending on the device.

  If you know a clean way to overcome this situation, I really want to know,
  in the meanwhile, just forget about fxload.

Support for PCI/CS Orinoco variants:
-----------------------------------

  My intention is making a driver that works with all PCI/CS/USB devices, and
  I believe that it does work with all of them, but since this is pretty alpha
  code it may crash your kernel and kill your dog :-).

Contents:
--------
        driver/:
                The driver code.
        util/extractfw:
                Extracts the firmware from the Windows .sys file. It can be
                used to replace orinoco_usb_fw.h in the driver or to provide
                the firmware in binary form via fwfs.
        util/unzip-url.sh
                Extracts a file from a zip archive stored in a remote server
                without downloading the whole archive.
        hotplug/:
                hotplug support.
        firmware/:
                Support for easily downloading of the firmware from some ftp
                site, like HermesAP does.
       
orinoco-usb for Debian
----------------------

Please see ./README for a description of the orinoco-usb software.

The Debian orinoco-usb source package provides two packages,

1) orinoco-usb, which provides kernel independed pieces and downloads required
    firmare from the web.
2) orinoco-usb-source, which provides the source for the kernel modules

The orinoco-usb-source package can be used in several ways,

- Using the make-kpkg(1) command provided by the kernel-package Debian
   package. This will produce a corresponding orinoco-usb-modules package for
   the Debian kernel-image package that you are using. This is "the Debian
   way". See the "modules_image" section of the make-kpkg(1) man page.

- Changing to the /usr/src/modules/orinoco-usb/ directory and building as
   the README file instructs using "make; make install". This will build
   and install a module specific to the system you are building on and is
   not under control of the packaging system.

For more information, please see:

  Linux driver effort for Lucent/Agere Orinoco USB devices
  http://orinoco-usb.alioth.debian.org

Please send bug reports at:

  mailtorinoco-usb-devel@ranty.pantax.net

-- Manuel Estrada Sainz <ranty@debian.org>, Mon, 14 Apr 2003 18:44:28 +0200
回复 支持 反对

使用道具 举报

发表于 2006-11-26 07:47:05 | 显示全部楼层
Post by d00m3d
iwconfig 的结果告诉你无线网卡还未被识别,也许是驱动还未加载

netcardconfig 是在 konsole 下执行的吗?若然是,那麽从 knoppix 用户用[color="Red"] su - 来切换 root 才行

没注意到吗?不是 su,是 "[color="Red"]su -" 才对啊。
回复 支持 反对

使用道具 举报

发表于 2006-11-28 00:15:58 | 显示全部楼层
目前内核里的驱动不支持ORINOCO USB Client。
请查阅 http://sourceforge.net/projects/orinoco
该项目的 svn 仓库有 usb branch 是 USB Client 的驱动。

楼主找到的驱动已经很老的,无法在现在的内核上编译了。
回复 支持 反对

使用道具 举报

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

本版积分规则

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