Richard's Diary

Sunday, November 16, 2008

Linux wireless
  1. find out what chipset you have (
    1. on linux lspci -vvnnm (lsusb shows usb devices)
    2. on windows device manager shows pci information and inf file
  2. Decide on strategy
    1. Old laptop - Madwifi seemed really complicated with the 2 pieces that fused together to form the API to HAL
    2. New laptop - 4315 was not yet supported by the firmware cutter
    3. ndiswrapper was the only process which worked for both and seemed easy enough since this time I didn't need to recompile ndiswrapper. But since both laptops had Vista I was unable to leverage the native windows driver
  3. get driver
    1. get same 32 or 64 bit XP (Vista drivers do not work with ndiswrapper) driver (inf and sys file)
    2. su and place in /tmp/driver and cd to that directory
    3. ndiswrapper -i driver.inf (it must be a directory that root can read/write to; ie it won't work with a path to windows partition)
      1. CHECK ls -al /etc/ndiswrapper/* should show something
      2. ndiswrapper -l (ndiswrapper will display something like this:
        <driver-name>: driver installed
        device (xxxx:xxxx) present (alternate driver: <native-driver-name>)
  4. With the driver installed, you must tell your system about it so it can load it
    1. modprobe ndiswrapper to load the driver
    2. ndiswrapper -m
    3. CHECK iwconfig
      1. tail -f /var/log/messages or checking the message logs (with dmesg).
new computer
class 0200 ethernet controller
14E4:4315 REV_01
Broadcom Corporation BCM4310 USB Controller 802.11b/g
Foxconn International, Inc. Device

old computer
class 0200 ethernet controller
atheros ar2413 802.11bg NIC (aka 5005g)
compex wireless 802.11 b/g minipc adapter, rev a1 WLM54G

didn't get to use
hwinfo is helpful

12/20/08 UPDATE
For some reason, the ndiswrapper stopped working so I decided to give madwifi a try and it works now. This seems much easier in retrospect.
  1. install madwifi and madwifi kernel module
  2. add ath_pci to /etc/sysconfig/kernel in MODULES_LOADED_ON_BOOT section

© 2010 Picky Ricky, Inc. originalblog