how to patch this?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Kevin Brown
Date:  
Subject: how to patch this?
> Using RH 7.1.
>
> I want to install/patch my orinoco drivers as specified here:
> http://airsnort.shmoo.com/orinocoinfo.html
>
> I guess the actual code in the patch is here:
> http://airsnort.shmoo.com/orinoco-09b-packet-1.diff.
>
> I have no idea what to do with this code? Do I just copy and paste it into
> a .c file or what? Would someone walk me through what to do with this?
> This is alien!


It's about to get more so.

The diff needs to be applied to a certain version of pcmcia-cs, so first you
need to get pcmcia-cs (pcmcia-cs.sourceforge.net).

cd /usr/src
tar -xvzf /path/to/pcmcia-cs-xxxxx.tar.gz
cd pcmcia-cs-version-number
patch < /path/to/orinoco-09b-packet-1.diff
make config
make all
make install

That gets you the gist. I don't guarantee that those are the only steps you'll
need. I'm running RH8, but have to rebuild the kernel myself since the kernel
pcmcia support doesn't work with my laptop.