Ethereal-users: RE: [Ethereal-users] Sniffing 802.11b using the Cisco 350 pcmcia adapter on Mand
Gino,
You are correct - later versions of the 2.4.X kernels included built-in support for PCMCIA services. You still need the pcmcia-cs package for tools like cardctl, but the kernel can handle PCMCIA services for you (if you are using modules, "lsmod" may indicate the presence of a module called "yenta_socket" if you are using the Linux kernel PCMCIA services).
That being said - many distributions have not switched to kernel PCMCIA services, instead still relying on the pcmcia-cs package for this purpose. I am not familiar with Mandrake and how it is setup - can someone else on the list chime in here on whether Mandrake 9 uses pcmcia-cs or yenta_socket?
Either way, you can use the drivers I listed for your Aironet card. If you are using the kernel pcmcia services, you will need to locate the airo.c, airo_cs.c and airo.h files in your /usr/src/linux tree, and (after backing them up) replace them with the links I provided. Then, rebuild your kernel modules.
-Josh
> -----Original Message-----
> From: Gino Heyman [mailto:Heyman.G@xxxxxxxxxxxx]
> Sent: Thursday, January 02, 2003 8:36 AM
> To: Joshua Wright; Gino Heyman; 'ethereal-users@xxxxxxxxxxxx'
> Subject: RE: [Ethereal-users] Sniffing 802.11b using the Cisco 350
> pcmcia adapter on Mandrake 9 .0
>
>
> Joshua,
>
> Thanks for your reply, I read that kernel 2.4.6 and above have pcmcia
> support build-in and do not require the pcmcia-cs package.
> Are you saying
> that rfmon was removed from the driver in my Mandrake 9.0 kernel?
> If that's the case, would the CVS files work with my kernel?
>
> Thanks a lot,
>
> G
>
> -----Original Message-----
> From: Joshua Wright [mailto:Joshua.Wright@xxxxxxx]
> Sent: donderdag 2 januari 2003 14:02
> To: Gino Heyman; ethereal-users@xxxxxxxxxxxx
> Subject: RE: [Ethereal-users] Sniffing 802.11b using the
> Cisco 350 pcmcia
> adapter on Mandrake 9 .0
>
> Gino,
>
> You may be using a version of the Cisco Aironet drivers that
> do not support
> RFMON. David Hinds' pcmcia-cs package hasn't supported RFMON in their
> supplied Aironet drivers for some time now, and the
> airo-linux package on
> sourceforge.net is unfortunately buggy in the current CVS files (and
> correspondingly buggy in the 2.4.20 kernel).
>
> On my Slackware machines I am using the 2.4.20 kernel with
> the pcmcia-cs
> 3.2.1 package. Instead of using the supplied drivers with
> pcmcia-cs, I
> downloaded these three files from the airo-linux CVS archive
> (thanks to Max
> from remote-exploit.org for pointing these files out):
>
> http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/airo
-linux/airo-li
nux/kernel/airo.c?rev=1.34
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/airo-linux/airo-li
nux/kernel/airo_cs.c?rev=1.4
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/airo-linux/airo-li
nux/kernel/airo.h?rev=1.7
And copied them into my /usr/src/pcmcia-3.2.1/wireless directory. Then I
rebuilt pcmcia-cs ("./Configure ; make all ; make install"), ran depmod and
restarted my PCMCIA services from the init script ("/etc/rc.d/rc.pcmcia
restart" on my system).
If you are using the kernel services for PCMCIA and drivers, just copy these
files over their respective counterparts in your /usr/src/linux tree and do
a "make dep modules modules_install".
Hope this helps.
-Joshua Wright