NetStumbler.org Forums

Go Back   NetStumbler.org Forums > Software > Unix/Linux
Register Search Today's Posts Mark Forums Read

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 02-16-2006   #1 (permalink)
Ludicrous
 
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
The instructions work well, untill I get to this statement.

"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.
 
Old 02-16-2006   #2 (permalink)
MikeP928
Heeere's your sign!
 
MikeP928's Avatar
 
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
MikeP928 is offline  
Old 02-17-2006   #3 (permalink)
G8tK33per
Asshole Emeritus
 
G8tK33per's Avatar
 
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
G8tK33per is offline  
Old 02-17-2006   #4 (permalink)
Ludicrous
 
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.
 
Old 02-17-2006   #5 (permalink)
G8tK33per
Asshole Emeritus
 
G8tK33per's Avatar
 
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
G8tK33per is offline  
Old 02-18-2006   #6 (permalink)
Ludicrous
 
Posts: n/a
Quote:
Originally Posted by G8tK33per
OK, you had one chance. Learn where the fucking shift key is or get the fuck outta here. Period.
What the fuck! Your gonna bitch about not capitilizing the "I"?? Why don't you get the dick outa your ass. Instead of bitching about the smallest mis-step in grammer, and punctuation.
 
Old 02-18-2006   #7 (permalink)
MikeP928
Heeere's your sign!
 
MikeP928's Avatar
 
Join Date: May 2002
Location: Mexico Beach, FL
Posts: 1,166
Quote:
Originally Posted by Ludicrous
What the fuck! Your gonna bitch about not capitilizing the "I"?? Why don't you get the dick outa your ass. Instead of bitching about the smallest mis-step in grammer, and punctuation.
See Yaaaaa!

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
MikeP928 is offline  
Old 02-18-2006   #8 (permalink)
Ludicrous
 
Posts: n/a
Real loss you guys don't due shit but hijack threads, and insult people. So FUCK OFF!!!!!!
 
Old 02-18-2006   #9 (permalink)
Thorn
Did you do the math?
 
Thorn's Avatar
 
Join Date: Apr 2002
Location: Villa Straylight
Posts: 10,098
Quote:
Originally Posted by Ludicrous
What the fuck! Your gonna bitch about not capitilizing the "I"?? Why don't you get the dick outa your ass. Instead of bitching about the smallest mis-step in grammer, and punctuation.
Play by the rules, or don't play. You might want to learn some respect, too.
__________________
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?"
Thorn is offline  
Old 02-18-2006   #10 (permalink)
G8tK33per
Asshole Emeritus
 
G8tK33per's Avatar
 
Join Date: May 2003
Location: S.E. VA.
Posts: 5,939
Quote:
Originally Posted by Ludicrous
What the fuck! Your gonna bitch about not capitilizing the "I"?? Why don't you get the dick outa your ass. Instead of bitching about the smallest mis-step in grammer, and punctuation.
Stoopid phooker.
__________________
"Benjamin is nobody's friend. If Benjamin were an ice cream flavor, he'd be pralines and dick."

Sons of Confederate Veterans
G8tK33per is offline  
Closed Thread


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Google
 
Web NetStumbler.org

All times are GMT -7. The time now is 11:03 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 ©2007, Crawlability, Inc.


All messages express the views of the author and are for entertainment purposes only. Netstumbler.org cannot be held responsible for the authenticity of the content or the actions of its members. By using this site and its services, you warrant that you will not post any messages that are discriminating, obscene, hateful, threatening, or otherwise violates any laws and you release Netstumbler.org from any future claims of any kind whatsoever including, but not limited to, addiction and loss of productivity. All forum messages, private messages and any other content are properties of Netstumbler.org. Even if publicly available, personal or copyrighted information are not to be posted without the consent of the owner. Distribution of licensed and copyrighted materials in any way not endorsed by the copyright owner is strictly prohibited. You may not use this site and its resources to spam other sites or individuals or perform any action that violates any law. Items sold or bought in the For Sale forum are sold as is and no warranty or insurance of any kind is provided. Netstumbler.org cannot be held responsible for the outcome of any transactions and no warranty of any kind is provided, either express or implied. Vulgar words are not allowed in the subject lines ; they may be used in the message body in any forum. The Administrator, Super Moderators and Moderators of Netstumbler.org have the right to remove, edit, move or close any thread for any reason and to reveal your identity and other known information in the event of a complaint or legal action arising from any message posted by you.