LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-24-2003, 07:46 PM   #1
ahernaiz
LQ Newbie
 
Registered: Mar 2003
Posts: 9

Rep: Reputation: 0
Angry linux-wlan installation


I am running Mandrake 9.0 and am trying to install the wlan drivers to see if they work with my card (the site claims it will) however when it asks for my kernel source directory, I have no clue where it is. . .or where my pcmcia_cs driver is. If anyone can help me it would be greatly appreciated.
Thanks in advance.
 
Old 03-24-2003, 08:21 PM   #2
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Kernel source should be located in /usr/source/linux/<kernel name> but I'm not 100%. I'm not on my Slackbox right now so I can't look it up. There might be a thread or 2 around here that has the info though.

Have you tried typing as root in a command line:

modprobe pcmcia_cs

? If you haven't, this should install it for you. After that's completed, you'll need to edit your /etc/modules.conf file to include:

alias eth0 pcmcia_cs

If pcmcia_cs is for your eth0 (primary NIC). You might also want to check in /etc/rc.d/rc.modules (if this is what it's called in Mandrake--I think it is though) and make sure you remove the # from the beginning of the line that says:

#/sbin/modprobe pcmcia_cs

to make it look like

/sbin/modprobe pcmcia_cs

If you don't have a line that says that in there (look carefully because it's a pretty large file), then you can always add it in there somewhere. Hope this helps.
 
Old 03-24-2003, 08:33 PM   #3
ahernaiz
LQ Newbie
 
Registered: Mar 2003
Posts: 9

Original Poster
Rep: Reputation: 0
sorry for all the problems, but I go to /usr/src/ but the only directory after that is RPM, there is no linux dir, I also tried the modprobe command as root and it said it couldnt locate module. . .i know the kernel is 2.4.19, the only files I found are kernel.h and kernel.h-2-4-19-16mdk but these are in the boot directory.
Thanks
 
Old 03-24-2003, 10:44 PM   #4
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Okay. When I get home tonight I'll see what I can find out for you. I know it's on your system somewhere. Try searching these forums in the meantime for "kernel source" and see what others have to say.

As for the modprobe thing, is that the correct module name? If so, you might have to download it from somewhere and install it. If so, go to www.google.com/linux and enter the exact name of your NIC card and see if you can find a place to download the module. After it's downloaded, you'll probably need to unpack it. If it's an RPM, then you'll probably have to do the rpm thing (I dont' know how to do this, sorry), and then install it from there using "insmo <modulename>". After that you can probably do the modprobe and you should be set up.
 
Old 03-24-2003, 11:10 PM   #5
ahernaiz
LQ Newbie
 
Registered: Mar 2003
Posts: 9

Original Poster
Rep: Reputation: 0
thanks a lot, i really appreciate it.
i also read that the source may have not been installed because i got only 2 cds in a magazine. i read in some post that the kernel source may have been in a 3rd cd. i am going to download it tomorrow and try to install everything, after tryint to find it in google as you suggested. Thanks.
 
Old 03-25-2003, 01:09 AM   #6
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Okay, here's a copy of where I went in my own system. Hopefully this helps you out.

Code:
phyx@frankenstein:/etc/X11/xinit$ cd /usr
phyx@frankenstein:/usr$ ls
X11@    bin/   etc/                   include/  libexec/  sbin/   src/
X11R6/  dict/  games/                 info/     local/    share/  tmp@
adm@    doc/   i386-slackware-linux/  lib/      man/      spool@
phyx@frankenstein:/usr$ cd src
phyx@frankenstein:/usr/src$ ls
linux@  linux-2.4.18/  rpm/
phyx@frankenstein:/usr/src$ cd linux-2.4.18
phyx@frankenstein:/usr/src/linux-2.4.18$ ls
COPYING         MAINTAINERS  REPORTING-BUGS  drivers/  init/    lib/  scripts/
CREDITS         Makefile     Rules.make      fs/       ipc/     mm/
Documentation/  README       arch/           include/  kernel/  net/
phyx@frankenstein:/usr/src/linux-2.4.18$ cd kernel
phyx@frankenstein:/usr/src/linux-2.4.18/kernel$ ls
Makefile      dma.c          info.c    module.c  ptrace.c    softirq.c  timer.c
acct.c        exec_domain.c  itimer.c  panic.c   resource.c  sys.c      uid16.c
capability.c  exit.c         kmod.c    pm.c      sched.c     sysctl.c   user.c
context.c     fork.c         ksyms.c   printk.c  signal.c    time.c
I am presuming that this is where the kernel source resides. I'm not 100% though. If I'm wrong, someone please correct me.

If you think the source isn't installed, then you should definitely consider a new install. That's up to you though.
 
Old 03-25-2003, 02:20 AM   #7
Darkl0rd
LQ Newbie
 
Registered: Mar 2003
Location: Netherlands
Posts: 15

Rep: Reputation: 0
Why bother with doing a new install? You can easily download the source code of the kernel and compile a new kernel.

If you start up your ftp client (ncftp / ftp or whatever) and go to
ftp.kernel.org/pub/linux/kernel/v2.4/ and get the linux-2.4.20.tar.gz (which is the latest stable kernel at the moment the 2.5 series are the development series)

when the file is downloaded which might take a while considering the size of it. you type in the following command after quitting your ftp client : mv linux-2.4.20.tar.gz /usr/src && tar -xvzf linux-2.4.20.tar.gz && rm linux-2.4.20.tar.gz

ln -s linux-2.4.20 linux
cd linux
make menuconfig
-----------------------
Ready to built your kernel with WLAN support !!

hope this helps you all out!
 
Old 03-25-2003, 09:48 AM   #8
ahernaiz
LQ Newbie
 
Registered: Mar 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks a lot Darl0rd and Texicle,, I will try this out in a while, I will let you know of the outcome.
 
Old 03-25-2003, 02:23 PM   #9
ahernaiz
LQ Newbie
 
Registered: Mar 2003
Posts: 9

Original Poster
Rep: Reputation: 0
hi, i was able to get the new kernel source and all that but when i did make menuconfig i got an error saying, unable to fing Ncurses libraries and that i need to install them before being able to do make menuconfig.

Thanks
 
Old 03-25-2003, 02:36 PM   #10
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Quote:
Originally posted by ahernaiz
hi, i was able to get the new kernel source and all that but when i did make menuconfig i got an error saying, unable to fing Ncurses libraries and that i need to install them before being able to do make menuconfig.

Thanks
For the record, Darkl0rd was correct. You didn't need to reinstall your distro, you just needed to get the kernel source. I should've said that. However, since you mentioned that you were getting all the disks I figured a reinstall wouldn't be a bad idea as it would have everything you needed.

I had similar problems regarding Ncurses once before when I was trying to install a program. I went through my system and Slack CD that I had and did a checksum. I found out that I had a CD that wasn't burned right. The distro installed properly, but some of the packages were incomplete/corrupted or missing. I ended up redownloading Slackware 8.1 and getting a good burn. A quick reinstall fixed my ncurses problem. You can check your CDs for the Ncurses libs and install them if you wish. You can also do as you mentioned before and download the whole iso and reinstall as well. It's entirely up to you and what you think will be easier. Personally, I'd download the whole distro and reinstall, but that's because I'm lazy.

Keep me posted on what you do and if it worked or not.
 
Old 03-25-2003, 02:43 PM   #11
Darkl0rd
LQ Newbie
 
Registered: Mar 2003
Location: Netherlands
Posts: 15

Rep: Reputation: 0
as for the ncurses library, it's quite common and I'm suprised you don't have it.
Do you have X ? if so type make xconfig instead.. otherwise you can do a command line menu 'make config'
make config always works, if it doesn't REINSTALL
 
Old 03-25-2003, 03:45 PM   #12
ahernaiz
LQ Newbie
 
Registered: Mar 2003
Posts: 9

Original Poster
Rep: Reputation: 0
i tried ´make xconfig´ and everything went smoothly, thanks to everyone who helped me out.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Belkin F5D6001 v2 pci wlan installation and configuration geostone Linux - Wireless Networking 7 04-13-2006 01:05 PM
Suse 9.1 and Belkin F5D6001 v2 pci wlan installation and configuration geostone Suse/Novell 3 03-22-2005 09:14 AM
linux-wlan-ng installation wont go past the "make all" step apu95 Mandriva 5 10-31-2004 09:37 PM
Driver installation for Belkin F5D6001 pci wlan card geostone Linux - Wireless Networking 2 09-16-2004 07:54 AM
linux-wlan driver installation? QzarBaron Linux - Newbie 25 07-06-2004 07:27 AM


All times are GMT -5. The time now is 01:27 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration