![]() |
|
|||||||
| Register | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Squaaawk! WiFi! WiFi!
Join Date: Apr 2002
Location: Tinsel Town
Posts: 1,682
|
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. |
|
|
|
|
|
#2 (permalink) |
|
Squaaawk! WiFi! WiFi!
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 |
|
|
|
|
|
#3 (permalink) |
|
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. |
|
|
|
|
|
#4 (permalink) |
|
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.
|
|
|
|
|
|
#6 (permalink) |
|
Squaaawk! WiFi! WiFi!
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 |
|
|
|
|
|
#7 (permalink) |
|
Squaaawk! WiFi! WiFi!
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 |
|
|
|