![]() |
|
|
#1 (permalink) |
|
Posts: n/a
|
patching driver
Below is the set of instructions to patch my prism2 chipset Netgear MA401. (wlan-ng drivers)
Code:
ifconfig wlan0 down
wlanctl-ng wlan0 lnxreq_ifstate ifstate=disable
/etc/init.d/pcmcia stop
rmmod prism2_pci
rmmod hostap_pci
find /lib/modules \( -name p80211* -o -name prism2* \) \
-exec rm -v {} \;
cd /usr/src
wget http://100h.org/wlan/linux/prism2/wlanng-0.2.1-pre26.tar.gz
wget http://100h.org/wlan/linux/patches/wlanng-0.2.1-pre26.patch
tar -xvzf wlanng-0.2.1-pre26.tar.gz
cd wlanng-0.2.1-pre26
patch -Np1 -i ../wlanng-0.2.1-pre26.patch
make config && make all && make install
mv /etc/pcmcia/hostap_cs.conf /etc/pcmcia/hostap_cs.conf~
/etc/init.d/pcmcia start
modprobe prism2_pci &>/dev/null
"patch -Np1 -i ../wlanng-0.2.1-pre26.patch" Once i use this command it requests a file to patch and I am not sure where to direct it. I tried to search my system for the same filename. I did find an identicle file, yet it didnot apply the patch. I have attempted to patch all the files, that look like they might be right. Unfortunatly i have had no luck. Any help would be greatly appreciated. I am using fedora core 4 Below is a compleate listing of similar files. Command used: #find / \( -name p80211* -o -name prism2* \) Code:
/proc/net/p80211 /sys/module/prism2_cs /sys/module/prism2_cs/parameters/prism2_irq_evread_max /sys/module/prism2_cs/parameters/prism2_bap_timeout /sys/module/prism2_cs/parameters/prism2_reset_settletime /sys/module/prism2_cs/parameters/prism2_reset_holdtime /sys/module/prism2_cs/parameters/prism2_doreset /sys/module/p80211 /sys/bus/pcmcia/drivers/prism2_cs /etc/wlan/prism2_ru.hex /etc/wlan/prism2_r1.hex /etc/wlan/prism2_af.hex /etc/wlan/prism2_ak.hex /etc/wlan/prism2_ssf.pda /etc/wlan/prism2_pm.hex /etc/wlan/prism2_rf.hex /sbin/prism2dl /usr/share/terminfo/p/prism2 /home/Ludicrous/linux-wlan-ng-0.2.3/doc/prism2 /home/Ludicrous/linux-wlan-ng-0.2.3/src/mkmeta/obj/p80211metamib.o /home/Ludicrous/linux-wlan-ng-0.2.3/src/mkmeta/obj/p80211metamsg.o /home/Ludicrous/linux-wlan-ng-0.2.3/src/mkmeta/obj/p80211meta.o /home/Ludicrous/linux-wlan-ng-0.2.3/src/mkmeta/obj/p80211types.o /home/Ludicrous/linux-wlan-ng-0.2.3/src/shared/p80211meta.c /home/Ludicrous/linux-wlan-ng-0.2.3/src/shared/p80211metamib.o /home/Ludicrous/linux-wlan-ng-0.2.3/src/shared/p80211metamib.c /home/Ludicrous/linux-wlan-ng-0.2.3/src/shared/p80211metamsg.o /home/Ludicrous/linux-wlan-ng-0.2.3/src/shared/p80211types.c /home/Ludicrous/linux-wlan-ng-0.2.3/src/shared/p80211metamsg.c /home/Ludicrous/linux-wlan-ng-0.2.3/src/shared/p80211meta.o /home/Ludicrous/linux-wlan-ng-0.2.3/src/shared/p80211types.o /home/Ludicrous/linux-wlan-ng-0.2.3/src/include/wlan/p80211conv.h /home/Ludicrous/linux-wlan-ng-0.2.3/src/include/wlan/p80211hdr.h /home/Ludicrous/linux-wlan-ng-0.2.3/src/include/wlan/p80211meta.h /home/Ludicrous/linux-wlan-ng-0.2.3/src/include/wlan/p80211metastruct.h /home/Ludicrous/linux-wlan-ng-0.2.3/src/include/wlan/p80211metadef.h /home/Ludicrous/linux-wlan-ng-0.2.3/src/include/wlan/p80211netdev.h /home/Ludicrous/linux-wlan-ng-0.2.3/src/include/wlan/p80211metamsg.h /home/Ludicrous/linux-wlan-ng-0.2.3/src/include/wlan/p80211types.h /home/Ludicrous/linux-wlan-ng-0.2.3/src/include/wlan/p80211msg.h /home/Ludicrous/linux-wlan-ng-0.2.3/src/include/wlan/p80211ioctl.h /home/Ludicrous/linux-wlan-ng-0.2.3/src/include/wlan/p80211metamib.h /home/Ludicrous/linux-wlan-ng-0.2.3/src/include/wlan/p80211req.h /home/Ludicrous/linux-wlan-ng-0.2.3/src/include/wlan/p80211mgmt.h /home/Ludicrous/linux-wlan-ng-0.2.3/src/p80211 /home/Ludicrous/linux-wlan-ng-0.2.3/src/p80211/p80211conv.o /home/Ludicrous/linux-wlan-ng-0.2.3/src/p80211/p80211netdev.o.orig /home/Ludicrous/linux-wlan-ng-0.2.3/src/p80211/p80211netdev.c.orig /home/Ludicrous/linux-wlan-ng-0.2.3/src/p80211/p80211.mod.c /home/Ludicrous/linux-wlan-ng-0.2.3/src/p80211/p80211mod.c /home/Ludicrous/linux-wlan-ng-0.2.3/src/p80211/p80211wext.c /home/Ludicrous/linux-wlan-ng-0.2.3/src/p80211/p80211req.o /home/Ludicrous/linux-wlan-ng-0.2.3/src/p80211/p80211wext.o /home/Ludicrous/linux-wlan-ng-0.2.3/src/p80211/p80211.ko /home/Ludicrous/linux-wlan-ng-0.2.3/src/p80211/p80211.o /home/Ludicrous/linux-wlan-ng-0.2.3/src/p80211/p80211wep.o /home/Ludicrous/linux-wlan-ng-0.2.3/src/p80211/p80211netdev.o /home/Ludicrous/linux-wlan-ng-0.2.3/src/p80211/p80211netdev.c.rej /home/Ludicrous/linux-wlan-ng-0.2.3/src/p80211/p80211wep.c /home/Ludicrous/linux-wlan-ng-0.2.3/src/p80211/p80211.mod.o /home/Ludicrous/linux-wlan-ng-0.2.3/src/p80211/p80211mod.o /home/Ludicrous/linux-wlan-ng-0.2.3/src/p80211/p80211netdev.o.rej /home/Ludicrous/linux-wlan-ng-0.2.3/src/p80211/p80211netdev.c /home/Ludicrous/linux-wlan-ng-0.2.3/src/p80211/p80211req.c /home/Ludicrous/linux-wlan-ng-0.2.3/src/p80211/p80211conv.c /home/Ludicrous/linux-wlan-ng-0.2.3/src/prism2 /home/Ludicrous/linux-wlan-ng-0.2.3/src/prism2/driver/prism2mib.c /home/Ludicrous/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_pci.ko /home/Ludicrous/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_pci.c /home/Ludicrous/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_plx.c /home/Ludicrous/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.ko /home/Ludicrous/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.c /home/Ludicrous/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.o /home/Ludicrous/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.mod.o /home/Ludicrous/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_usb.c /home/Ludicrous/linux-wlan-ng-0.2.3/src/prism2/driver/prism2sta.c /home/Ludicrous/linux-wlan-ng-0.2.3/src/prism2/driver/prism2mgmt.c /home/Ludicrous/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_pci.o /home/Ludicrous/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_pci.mod.c /home/Ludicrous/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.mod.c /home/Ludicrous/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_pci.mod.o /home/Ludicrous/linux-wlan-ng-0.2.3/src/prism2/include/prism2 /home/Ludicrous/linux-wlan-ng-0.2.3/src/prism2/include/prism2/prism2mgmt.h /home/Ludicrous/linux-wlan-ng-0.2.3/src/prism2/download/prism2dl.c /home/Ludicrous/linux-wlan-ng-0.2.3/src/prism2/download/prism2dl /home/Ludicrous/linux-wlan-ng-0.2.3/src/prism2/download/prism2dl.o /home/Ludicrous/linux-wlan-ng-0.2.3/src/prism2/prism2_ssf.pda /home/Ludicrous/linux-wlan-ng-0.2.3/src/.tmp_versions/prism2_pci.mod /home/Ludicrous/linux-wlan-ng-0.2.3/src/.tmp_versions/p80211.mod /home/Ludicrous/linux-wlan-ng-0.2.3/src/.tmp_versions/prism2_cs.mod /home/Ludicrous/Kismet/kismet-2005-08-R1/prism2source.cc /home/Ludicrous/Kismet/kismet-2005-08-R1/prism2source.h /home/Ludicrous/Kismet/kismet-2005-08-R1/prism2source.o /home/Ludicrous/.Trash/kismet-2005-08-R1/prism2source.cc /home/Ludicrous/.Trash/kismet-2005-08-R1/prism2source.h /home/Ludicrous/.Trash/kismet-2005-08-R1/prism2source.o regards Ludicrous Last edited by Ludicrous : 02-16-2006 at 11:59 PM. |
|
|
#2 (permalink) |
|
Heeere's your sign!
Join Date: May 2002
Location: Mexico Beach, FL
Posts: 1,166
|
Go now to the Welcome Desk and read all the rules regarding accepted forum behavior.
Your first post went directly to the newbie bin for lack of capitalization and punctuation. And this one is probably headed the same direction. The amount of help you receive here is directly proportional to the effort you put into it. When people have to spend time trying to interpret poor grammer, they are less inclined to spend time to help. Also, a lot of the brain trust here does not use English as their first language. It is difficult enough for them to deal with proper grammer, much less 3rd grade spelling and sentence structure. MikeP
__________________
Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote. -- Benjamin Franklin, 1759 |
|
|
|
|
#3 (permalink) |
|
Asshole Emeritus
Join Date: May 2003
Location: S.E. VA.
Posts: 5,939
|
Fuck it, close enough.
__________________
"Benjamin is nobody's friend. If Benjamin were an ice cream flavor, he'd be pralines and dick." Sons of Confederate Veterans |
|
|
|
|
#4 (permalink) |
|
Posts: n/a
|
I figured most everything out, since i was running a newer version of wlan-ng, i had to change the patch file. Once i did this i was able to point every file to where it needed to go. only thing is a few of the chunks failed. Is this normal?
Last edited by Ludicrous : 02-17-2006 at 05:35 PM. |
|
|
#5 (permalink) |
|
Asshole Emeritus
Join Date: May 2003
Location: S.E. VA.
Posts: 5,939
|
OK, you had one chance. Learn where the fucking shift key is or get the fuck outta here. Period.
__________________
"Benjamin is nobody's friend. If Benjamin were an ice cream flavor, he'd be pralines and dick." Sons of Confederate Veterans |
|
|
|
|
#6 (permalink) | |
|
Posts: n/a
|
Quote:
|
|
|
|
#7 (permalink) | |
|
Heeere's your sign!
Join Date: May 2002
Location: Mexico Beach, FL
Posts: 1,166
|
Quote:
AMF
__________________
Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote. -- Benjamin Franklin, 1759 |
|
|
|
|
|
#9 (permalink) | |
|
Did you do the math?
Join Date: Apr 2002
Location: Villa Straylight
Posts: 10,098
|
Quote:
__________________
Thorn "I'm The Doctor. I'm a Time Lord. I am from the planet Gallifrey in the constellation Kasterborous. I'm 903 years old and I am the man who is going to save your lives and all 6 billion people on the planet below... You got a problem with that?" |
|
|
|
|
|
#10 (permalink) | |
|
Asshole Emeritus
Join Date: May 2003
Location: S.E. VA.
Posts: 5,939
|
Quote:
__________________
"Benjamin is nobody's friend. If Benjamin were an ice cream flavor, he'd be pralines and dick." Sons of Confederate Veterans |
|
|
|