lab-y

 

>> Skip to the content.

Lab-Y Menu

  • Blog Entry Cal

< November, 2003 >
Su Mo Tu We Th Fr Sa
  1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30  

Lab-Y Content

Debian GNU/Linux and Harris Semiconductor Prism 2.5 Wavelan Support

Posted: Nov 11, 2003, 8:51pm CST
Modified: January 7, 2004, 7:18:00 pm CST

I was wrong when I mentioned before that the integrated wireless on my Thinkpad G40 wasn't supported under Linux. Turns out it is. I'm still struggling to get it working but I do believe it is supported.

Trying to get it working, I first tried the wlan-ng driver which claims to support this built-in, PCI wireless device. Debian comes with the wlan-ng driver and utilities prepackaged. You must get the linux-wlan-ng package, along with the appropriate linux-wlan-ng-modules-* package for your kernel. If you use a custom kernel, you must apt-get source linux-wlan-ng in your /usr/src/modules directory and make sure to build it when you build your kernel. See my page on building a custom kernel under debian with make-kpkg for instructions on how to build modules (like pcmcia-cs-modules and linux-wlan-ng-modules).

This almost worked except that the prism2_pci driver segfaulted on me when I tried to use it. Disabling PCI Bus Control under Power Management in the BIOS of this G40 helped a bit, but it never got it working.

Still not knowing what to do, I tried good old Knoppix. Knoppix autodetected my wireless automagically, using the orinoco_pci driver for support. Worked great, or as best as I can tell anyway without a WAP. The little wireless light on my laptop started blinking and iwconfig gave comforting output indicating the device was working.

So now I'm trying recompile my kernel in Debian to use the orinoco_pci driver, as it did not before. I believe the appropriate option is HERMES_PCI or something similar. It has been a headache but at least the onboard wireless is supported. More when I get this working.

Update: Working Kernel Config

What should have been an easy task ended up a night-long series of recompiles, but in the end, I think I have it working. For some reason, compiling pcmcia_cs modules with make-kpkg started failing on me, with a compile error. I think it was caused by some kernel header file. Instead of using it, I changed my config to include pcmcia modules directly from the main kernel tree. Doing this, I had to change the PCIC line in /etc/default/pcmcia to be yenta_socket instead of i82365, but other than that, it worked nicely. Now I can modprobe orinoco_pci and iwconfig outputs the following.

eth1 IEEE 802.11-DS ESSID:"" Nickname:"Prism I"
Mode:Managed Frequency:2.467GHz Access Point:
44:44:44:44:44:44
Bit Rate:11Mb/s Tx-Power=15 dBm Sensitivity:1/242700000

Retry min limit:8 RTS thr:off Fragment thr:off
Power Management:off
Link Quality:0/1 Signal level:-68 dBm Noise level:-122 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Now I just need a WAP and I should be good to go I think. Have a look at my kernel config file if you have a need.

[ Posted by dast — linux, wireless ]


 

Validate XHTML 1.0 Strict

Validate CSS

Copyright © 2003, 2004 Dast <dast _-=(a t)=-_ freeshell.org>. All rights reserved.

Powered by PHP on servers graciously provided by freeshell.org.