I'm hoping that someone on this list has sufficient wireless voodoo knowledge to help me that my new D-Link DWL-G520 PCI card talking to my Linksys WPC-11 PC-card via 802.11b.
First, a bit of background about my setup and how I set it up. I have a Pentium Pro machine running as a server, with Debian stable installed (I learned long ago that the stable branch is the only way to go if you want a low-maintenance, fairly secure Debian server). The server has the D-Link card. My desktop is an Athlon XP with some strange concoction of Debian testing and unstable. Same story with the laptop, which has the Linksys card. I bought the D-Link card because I saw this: http://prism54.org/supported_cards.php And I thought that since I had managed to get my prism2 chipset in my Linksys working on other networks, it should not be too much of a stretch to get the prism54 chipset talking to my prism2 chipset. After an hour and a half of downloading the kernel, patching it, configuring it, compiling it, and installing it, the prism54 driver complains that it cannot find the prism54 chip. I google around for my vendor/product number, and lo and behold, I find this: http://madwifiwiki.thewebhost.de/wiki/MadWifi Great. Another case of ``Hey, I've got an idea! Let's swap out the chipset but call the product the same thing!'' (I got burned with a the Linksys WMP-11 a couple years back for this exact same reason and was left with a useless Broadcom chipset rather than a prism2 chipset). I grab the Atheros driver from CVS, compile it in 2 minutes, and the driver is happily detecting my D-Link card. This would have been nice to have done an hour and a half ago, before I wasted time patching and recompiling my kernel for the wrong driver. But I digress. So iwconfig, iwpriv, and wavemon immediately start having problems with this driver. iwconfig in Debian stable implements the Wireless Extensions version 12, while the driver uses version 16. wavemon can't even talk to the Atheros driver (the driver complains about packet sizes being too small or what not). Feeling adventurous, I grabed the latest libc6 from the Debian unstable repository and dpkg -i --force-all'd it. Surprisingly, the mod_rewrite and the mod_php4 modules in Apache were the only things that broke! And the iwconfig and wavemon utilities (also from unstable) worked too. Apache being broken was still annoying, so I put the stable distribution's libc6 back in there, exported my root directly from my desktop (running the testing+unstable branches) and mounted it on my server, then chroot'd to it over NFS. Then I get the best of both worlds: the kernel (with the Atheros driver) on my Debian stable server using the userspace tools from my Debian testing+unstable workstation. It's working quite nicely too (another trick to add to the bag). The drivers on the laptop are already installed and working (orinoco; I've used the card on another wireless network). Now comes the fun part: getting the cards to actually see each other. I set the D-Link's mode to 2 (which is Hungarian for 802.11b) using iwpriv, and then use iwconfig to set the rest. Ad-hoc mode for the Atheros driver is reported to be unreliable, so I'm using the master-managed setup. server# iwconfig ath0 ath0 IEEE 802.11b ESSID:"bob" NWID:off/any Mode:Master Frequency:2.412GHz Access Point: 00:00:00:00:00:00 Bit Rate:0kb/s Tx-Power:15 dBm Sensitivity=0/3 Retry:off RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality:0/94 Signal level:-95 dBm Noise level:-95 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 Great. And the laptop? laptop# iwconfig eth0 eth0 IEEE 802.11-DS ESSID:"bob" Mode:Managed Frequency:2.412GHz Access Point: 44:44:44:44:44:44 Bit Rate=2Mb/s Tx-Power=15 dBm Sensitivity:1/3 Retry min limit:8 RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality:0/92 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 Actually the Linksys seems to cycle through all the frequencies, because the Frequency value can be anything in range, or even blank, depending on when I poll it. It just never seems to find my D-Link card. Some things that I'm not sure about here. Is the ``Access Point'' value something that the driver detects and sets automatically, depending on the essid, or is it something that I need to specify (I can't get the driver to accept any value I pass in through iwconfig anyway)? I can't set the ``Sensitivity'' on my D-Link, although I can on my Linksys; I assume this is a shortcoming in the Atheros driver (or the chipset). Same story for the ``Bit Rate'' (I assume that this is also automatically set, since it depends on the quality of the link). At this point, it appears that my only choice is to track down somebody with an 802.11g card and see if it is just an issue with the Atheros driver's 802.11b mode, unless someone here happens to know the secret incantantation that will get these cards to actually see each other and start talking. I'm tempted just to run out and buy some bongo drums: http://eagle.auc.ca/~dreid/ Mike .___________________________________________________________________. Michael A. Halcrow Security Software Engineer, IBM Linux Technology Center GnuPG Fingerprint: 05B5 08A8 713A 64C1 D35D 2371 2D3C FDDA 3EB6 601D The sum of the Universe is zero.
pgp00000.pgp
Description: PGP signature
____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
