LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-13-2005, 07:56 AM   #16
JerryNew2Linux
Member
 
Registered: Mar 2004
Location: Geneva NY USA
Distribution: MX-16
Posts: 111

Rep: Reputation: 15

That's good advice, Hangdog. My only point as a noob is that a distro that has ndiswrapper already installed and a number of drivers already loaded will provide a much happier starting-with-Linux experience, especially when a single command will load any other driver needed. I actually don't understand why every distro doesn't have this, at least as an option, with a common database available to all from which the required driver can be automatically downloaded and installed at system installation.

Finally, SSgT, remember that you have another option if you really like what you have installed: spend $40 and buy a card that works out of the box with Linux. Netgear's WG511, for instance, is available from Amazon within a couple of days, and works fine w/o ndiswrapper. Good wireless hardware compatibility list at http://www.linux-wlan.org/docs/wlan_adapters.html.gz
 
Old 04-14-2005, 05:46 PM   #17
SSgtT
LQ Newbie
 
Registered: Apr 2005
Distribution: Mandrake 10.1
Posts: 23

Original Poster
Rep: Reputation: 15
Ok I decided to give up on Debian, and I downloaded and installed Mandrake 10.1. I am learning this slowly, but I am trying to figure out how to install the kernel source. I am not sure what it is talking about in the ndiswrapper install instructions, nor do I have any idea how to do this. I have already downloaded the ndiswrapper source and from what I understand the wireless tools is already part of this distro of mandrake (I tried iwconfig and recognized the command, so I'm assuming that it is already installed and working). Can anyone provide me with a quick answer to this question so I can continue with my install? Thanks,

Travis

Last edited by SSgtT; 04-14-2005 at 06:46 PM.
 
Old 04-14-2005, 07:49 PM   #18
JerryNew2Linux
Member
 
Registered: Mar 2004
Location: Geneva NY USA
Distribution: MX-16
Posts: 111

Rep: Reputation: 15
I haven't seen anything better than this: http://ndiswrapper.sourceforge.net/p...p/Installation

Click on the "Distributions" link, then on "Mandrake 10.1"

Good luck!

Of course, I *still* think the easiest is to start with the live CD of SimplyMEPIS and then, after you see that it picks up your card (or if not, you will have to install the driver using the command as root: ndiswrapper -i <driver>), install it on the hard drive and never look back...
 
Old 04-14-2005, 11:24 PM   #19
SSgtT
LQ Newbie
 
Registered: Apr 2005
Distribution: Mandrake 10.1
Posts: 23

Original Poster
Rep: Reputation: 15
I followed the directions from the distro-specific section of ndiswrapper website:

Mandrake 10.1 has built in the ACX100 Sourceforge Project Driver as a kernel module, you will need to remove this before install the ndiswrapper

HOW?

To get out ACX100/111-Support, you can do "find /lib/modules/ -name acx*" or look in /lib/modules/2.6.8.1-12mdk/kernel/3rdparty/acx100 then you have the list of this module components, move them for example in ( /usr/src/backup/ ) to keep a copy, for the end do "depmod -a"

Additionally you will have to remove NDISwrapper support from the Kernel (version 0.8, really old) for newer ndiswrapper versions to work. It should be located somewhere like this: /lib/modules/2.6.8.1-12mdk/kernel/3rdparty/ndiswrapper. Move it to a backup directory as explained above, and finally enter "depmod -a". All of the above has to be done as ROOT.

after doing this I read this on Mandrake's website:

How To / Linksys Sans filG
WPC54G(FR)
802.11g / 2.4Ghz / 54Mbps
– In terminal on root :
#urpmi ndiswrapper
– Inser cdrom Linksys or Download driver Windows
# cd /mnt/cdrom or directory driver.
#ndiswrapper i
lsbcmnds.inf (instal driver Windows)
#ndiswrapper l
(Listing Driver & Hardware present)
#ndiswrapper m
(Add alias wlan0 in modprobe.conf)
– Reboot your system
– Verify in #lsmod ndiswrapper was present in list module.
– In terminal on root or with MCC
#drakconnet
– Configure your Wlan0 > ! CAUTION ! WEP Key don't work.
– Verify your configuration with : #iwconfig wlan0
(If you don't have iwconfig or iwlist install wirelesstools)
– Open your WebBrowser
and test your connection
www.mandrakesoft.com.

(edit: I know that this is not the same wifi card that I have, but I figured that the install would be the same except for the driver. If I am wrong please tell me)

I couldn't get past the first step. I also experimented with the generic instructions on the ndiswrapper install page. I couldn't get ndiswrapper (source code) to install for some reason. I then deleted all of the files that I copied from floppy (ndiswrapper source code), and moved the /ndiswrapper and /acx100 folders back to their original locations. I tried urpmi ndiswrapper again (while in the /lib/modules/2.6.8.1.12mdk/kernel/3rdpary/ directory. Still no ndiswrapper package error message. I am re-installing mandrake to see if that will fix something (and so I can start over clean in case I have screwed something up) and I guess I will go from there.

There is one thing I can now help anyone here do. If anyone needs someone to install Debian woody, Vector Linux, Debian Sarge, or Mandrake linux - I'm your guy. I don't know crap about this OS, but I have installed these distros several times in about the last two weeks. Now if I could just get the hang of the other stuff....

Last edited by SSgtT; 04-14-2005 at 11:26 PM.
 
Old 04-15-2005, 12:02 AM   #20
SSgtT
LQ Newbie
 
Registered: Apr 2005
Distribution: Mandrake 10.1
Posts: 23

Original Poster
Rep: Reputation: 15
Still no luck. I keep getting the following error when I try to "make" while in the ndiswrapper directory (of the source that I installed):

can't find kernel sources in /lib/modules/2.6.8.1-12mdk/build; give the path to kernel sources with KSRC=<path> argument to make
make[1]:*** [prereq_check] error 1
make[1]: Leaving directory '/home/travis/ndiswrapper-1.1/driver'
make: *** [all] Error 2

From what I can tell this has something to do with the kernel source. What haven't I done and how do I do it?
 
Old 04-15-2005, 05:33 AM   #21
JerryNew2Linux
Member
 
Registered: Mar 2004
Location: Geneva NY USA
Distribution: MX-16
Posts: 111

Rep: Reputation: 15
Talking

Sorry, Travis, I can't help you here--because this is about the moment I said there is no point to my spending so much time on this! Some big Linux gun is going to have to answer you here.

BTW: Just for the fun of it, why don't you download SimplyMEPIS, run it as a live CD, install your driver if you have to, and see if the damn thing just works? Having ndiswrapper all installed is a huge saver of time and aggravation.
 
Old 04-15-2005, 05:45 AM   #22
SSgtT
LQ Newbie
 
Registered: Apr 2005
Distribution: Mandrake 10.1
Posts: 23

Original Poster
Rep: Reputation: 15
I'll give that a try until I get an answer to my question...

It seems that I remember there being a live cd version on the mandrake install CD or DVD. Is that correct?
 
Old 04-15-2005, 07:00 AM   #23
JerryNew2Linux
Member
 
Registered: Mar 2004
Location: Geneva NY USA
Distribution: MX-16
Posts: 111

Rep: Reputation: 15
Not sure. I left Mandrake 10.1 over this very issue, and have not paid much attention since...
 
Old 04-15-2005, 07:48 AM   #24
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Sorry, was away for a couple of days........

Quote:
can't find kernel sources in /lib/modules/2.6.8.1-12mdk/build; give the path to kernel sources with KSRC=<path> argument to make
OK, I need you to confirm that you do have the kernel source code installed in /usr/src. You should see a directory there named something like linux-2.6.8.1-12mdk. If you don't see that, then you need to find the RPM for the kernel source code and install it.

If the souce code is there, then, as root, issue the following command in the console:

export KSRC=/usr/src/linux-2.6.8.1-12mdk (but adjust the linux bit to whatever the real path to the kernel source code is. Then you should be able to follow the ndiswrapper install instructions.
 
Old 04-15-2005, 01:12 PM   #25
SSgtT
LQ Newbie
 
Registered: Apr 2005
Distribution: Mandrake 10.1
Posts: 23

Original Poster
Rep: Reputation: 15
Ok I have checked in the /usr/src directory and the only thing there is a RPM/ directory which contains a RPMS/ directory which contains atholon/, i386/, i486/, i586/, i686/, k6/, and noarch/. I think all of these directories are empty (all that I checked).

How do I go about installing the source if it is not there (where do I find and how do I extract the RPM files)?
 
Old 04-15-2005, 02:17 PM   #26
JerryNew2Linux
Member
 
Registered: Mar 2004
Location: Geneva NY USA
Distribution: MX-16
Posts: 111

Rep: Reputation: 15
This frist result from Googling "Mandrake kernel source" might help:

http://www.speculation.org/garrick/kernelprep.html
 
Old 04-15-2005, 02:42 PM   #27
SSgtT
LQ Newbie
 
Registered: Apr 2005
Distribution: Mandrake 10.1
Posts: 23

Original Poster
Rep: Reputation: 15
No I was able to list a couple of packages but when I tried installing them, it said that it was already installed. I tried rpm -q kernel-source and rpm -q kernel-source-2.6 and neither worked. I then tried rpm -qa | grep kernel and it listed one package kernel-2.6.8.1.12mdk-1-1mdk. When I attempted to install it with rpm -i it said it couldn't find the file or directory. I also tried urpmi kernel-2.6.8.1.12mdk-1-1mdk and it said that everything was already installed.

Not quite sure what is going on, but I sure would like to find out soon!
 
Old 04-15-2005, 04:56 PM   #28
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
The RPM you are looking for is here
 
Old 04-15-2005, 06:30 PM   #29
SSgtT
LQ Newbie
 
Registered: Apr 2005
Distribution: Mandrake 10.1
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks for the link, BUT it is saying you have to be a member in order to D/L it. Is there anyplace (or anyone) I can download this from since it seems that it is the only thing that is holding me back!!!

Also, after getting my hands on this file, how do I go about installing it?

Seriously though, I appreciate everyone's help on this, and I thank you for putting up with me for this long. Don't give up now!!!
 
Old 04-16-2005, 07:29 AM   #30
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
Originally posted by SSgtT
Thanks for the link, BUT it is saying you have to be a member in order to D/L it. Is there anyplace (or anyone) I can download this from since it seems that it is the only thing that is holding me back!!!

Also, after getting my hands on this file, how do I go about installing it?

Seriously though, I appreciate everyone's help on this, and I thank you for putting up with me for this long. Don't give up now!!!
D'OH! I'm starting to have a much better appreciation of Slackware.......... One thing to remember is that most linux distros have mirror sites that are freely available. Usually rummaging through a Google search brings up a mirror or two.


You can find a freely accessible version of that file here . You should find it about half way down the page. Since it is an RPM file, you should be able to install it as you would any other RPM package.
 
  


Reply



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
clueless newbie + mandrake + softmodem = dazed and confused Part 2 muzza Linux - Newbie 11 03-28-2005 06:39 PM
clueless newbie + mandrake + softmodem = dazed and confused muzza Linux - Newbie 14 03-24-2005 09:53 AM
Newbie Alert!!! Sidewinder75 Linux - Hardware 1 09-07-2004 10:21 AM
Clueless Newbie Needs Help mosullivan Linux - Software 3 02-22-2004 03:34 PM
what's a clueless red hat 9 newbie to do? yanar99 Linux - Newbie 6 12-11-2003 03:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:56 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration