NetStumbler.org Forums

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

Reply
 
LinkBack Thread Tools Display Modes
Old 06-18-2002   #1 (permalink)
lincomatic
Squaaawk! WiFi! WiFi!
 
lincomatic's Avatar
 
Join Date: Apr 2002
Location: Tinsel Town
Posts: 1,682
Unhappy installing RH7.3 kernel src?

could someone pls tell me how to install the kernel sources from the RH7.3 SRPM's? %$)* instructions from redhat were completely wrong....telling ppl to "install kernel-source rpm from disc 1." i'm at my wits end...never dealt w/ %*# rpm's before...i've always just ignored them and installed stuff from tgz files.

first i tried the kpackage utility and it just crashed. then i tried

rpm -ivh /mnt/cdrom/SRPMS/kernel-2.4.18.src.rpm but it doesn't seem to do anything. i still don't see any files in /usr/src...
just a bunch of .patch files in /usr/src/redhat/SOURCES

also when i try the same command on the pcmcia-cs source package it just leaves a tgz file in the /usr/src/redhat/SOURCES dir.

i'm trying to extract this stuff so i can build wlan-ng and it's driving me NUTS!!! pls help! i can't believe that i know how to compile & build everything but can't figure out how to get the damn src code into my system!!!
__________________
~lincomatic

Last edited by lincomatic : 06-18-2002 at 12:57 AM.
lincomatic is offline   Reply With Quote
Old 06-18-2002   #2 (permalink)
lincomatic
Squaaawk! WiFi! WiFi!
 
lincomatic's Avatar
 
Join Date: Apr 2002
Location: Tinsel Town
Posts: 1,682
ok finally figured out how to extract the source from the bz2 file in the /usr/src/redhat/SOURCES dir, but how do i apply all the patches?

same goes for the pcmcia-cs stuff...i extracted the files from the .gz files, but wlan-ng is complaining that the pcmcia-cs src files aren't configured.

man, i knew it was a b*tch to install kismet, but not this bad. i already lost track of how many hours i've spent on it.
__________________
~lincomatic
lincomatic is offline   Reply With Quote
Old 06-18-2002   #3 (permalink)
mr_wlan
Registered Member
 
Join Date: Apr 2002
Posts: 40
src

Hi,

basically, u want to get pcmcia-cs tar, and kernal src, and wlan-ng. pop the lot out in /usr/src

first, expand the kernal into /usr/src/linux, make menuconfig and the usual compile etc. copy /usr/src/linux/arch/i386/boot/bzImage into /boot and rejig your /etc/lilo.conf file so it can see the new kernel. then go to /usr/src/wlan-ng and compile / make and do the same for pcmcia-cs. You'll want to make sure u dont use the kernel pcmcia drivers, but use the external pcmcia-cs ones.

once you have this done, monitor /var/log/messages with a tail -f and put your wlan card in. you should see messages indicating it's support has been loaded.

Next, get Kismet, extract the tar, and make dep / make / make install etc.

then run prism2_hopper &
run kismet.
mr_wlan is offline   Reply With Quote
Old 06-18-2002   #4 (permalink)
mr_wlan
Registered Member
 
Join Date: Apr 2002
Posts: 40
kernal compile

btw, I forgot to say that there is an excellant guide to kernel recompilling at http://jgo.local.net/LinuxGuide/linux-kernel.html regards, mr wlan.
mr_wlan is offline   Reply With Quote
Old 06-18-2002   #5 (permalink)
Dr3D1zzl3
Mental Penis Fencer
 
Dr3D1zzl3's Avatar
 
Join Date: Apr 2002
Posts: 371
i just got fed up and used it as an excuse to get a cisco card
Dr3D1zzl3 is offline   Reply With Quote
Old 06-18-2002   #6 (permalink)
lincomatic
Squaaawk! WiFi! WiFi!
 
lincomatic's Avatar
 
Join Date: Apr 2002
Location: Tinsel Town
Posts: 1,682
mr_wlan,
thanks for the reply. actually i have a copy of the kernel recompiling guide. i already know how to compile and install the kernel, just don't know how to extract everything out of the %$# redhat 7.3 source RPM's.

rewind to last week...i had RH7.2 installed at the time, but was advised to upgrade to at least 2.4.18 to get the latest wireless support...downloaded the sources from kernel.org and configured/compiled/installed them over and over again but couldn't get the wireless part to work right.

so this week, i decided to start from scratch and install RH7.3 from scratch since it comes w/ 2.4.18...but now wlan_ng wants the sources to the kernel & pcmcia_cs when i do a "make config."

when i point it to the plain vanilla 2.4.18 sources it complains that i'm running redhat's 2.4.18-3 version instead. so that's why i'm trying to get the sources out of the RPM's. man i HATE RPM's! why can't they just put everything in a .tgz like everyone else on the planet does???
__________________
~lincomatic
lincomatic is offline   Reply With Quote
Old 06-18-2002   #7 (permalink)
lincomatic
Squaaawk! WiFi! WiFi!
 
lincomatic's Avatar
 
Join Date: Apr 2002
Location: Tinsel Town
Posts: 1,682
ok slogged thru google for another hour and found out how to do it...

rpm -ba

will take the installed RPM and apply all the patches.
could it be? i will find the holy grail of kismet by the end of the day??
__________________
~lincomatic
lincomatic is offline   Reply With Quote
Reply


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 08:31 AM.


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.