LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 12-20-2007, 07:21 PM   #1
mmsprinter
Member
 
Registered: Nov 2007
Posts: 33

Rep: Reputation: 15
Dell 1390 WLAN Minicard does not configure with FC7


I just installed FC7 on a Dell Inspiron E1505. It has a Dell 1390 WLAN Mini card in it.
I can't seem to get the wireless card to work. I read on another forum to get NDISwrapper, and the Windows driver. But NDISwrapper won't install. I followed the instructions on the website but I get an error with the first command I run, "make distclean". This is the output I get:


make -C driver clean
make[1]: Entering directory `/root/Desktop/ndiswrapper-1.51/driver`
Makefile:24: *** Kernel tree not found - please set KBUILD to configured kernel.
Stop.
make[1]: Leaving directory `/root/Desktop/ndiswrapper-1.51/driver`
make : *** [clean] Error 2

I'm new at any flavor of linux, so I don't what any of this means, except that there was an error. A friend of mine said it might be a missing kernel file.

Help. Thanks
 
Old 12-20-2007, 08:46 PM   #2
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
you are installing the source file. Under Fedora distros you need to install the kernel source before building utility like ndiswrapper. It builds modules that must be built per kernel version. If you have done no updates then you can install the kernel-devel-********.rpm off the cd. must be done as root.
rpm -ivh kernel-devel*.rpm

Now you should be able to compile ndiswrapper.

Other way is use yum to install. Many post on this procedure. Using yum you install ndiswrapper rpm and the kmod-ndiswrapper rpm that matches the kernel you are using.

Note if you upgrade the kernel you must do again what you did to get ndiswrapper to work on the new kernel.

Brian
 
Old 12-21-2007, 06:12 PM   #3
mmsprinter
Member
 
Registered: Nov 2007
Posts: 33

Original Poster
Rep: Reputation: 15
I already ran updates, the 300 and some. But I decided to try it anyway.

I got the disc and installed kernel-devel-2.6.21-1.3194.fc7.i586.rpm. I went to try to install/compile ndiswrapper, and no go. So I installed the other rpm, kernel-devel-2.6.21-1.3194.fc7.i686.rpm.It said it was already installed.

Do I need to install a fresh copy of Fedora? It's no problem if I do.
 
Old 12-21-2007, 07:41 PM   #4
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Post output from the following commands
uname -r
rpm -qa | grep kernel

Brian
 
Old 12-21-2007, 09:52 PM   #5
mmsprinter
Member
 
Registered: Nov 2007
Posts: 33

Original Poster
Rep: Reputation: 15
The output for uname -r was: 2.6.23.8-34.fc7

And the output for rpm -qa | grep kernel was:
kernel-2.6.23.8-34.fc7
kernel-devel-2.6.21-1.3194.fc7
 
Old 12-23-2007, 09:27 AM   #6
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
As you can see you are running kernel 2.6.23.8-34.fc7. But you do not have the matching kernel source which is called kernel-devel-2.6.23.8-34.fc7. You do have kernel-devel-2.6.21-1.3194.fc7 but it is a completely different kernel-devel file. So you need to install the matching kernel-devel rpm for the running kernel. Then you will be able to compile ndiswrapper from source. Remember if you upgrade the kernel then you need to install the matching kernel-devel for the new kernel and re-compile the ndiswrapper for that kernel.

Brian
 
Old 12-23-2007, 11:45 AM   #7
mmsprinter
Member
 
Registered: Nov 2007
Posts: 33

Original Poster
Rep: Reputation: 15
Ok I get it. Thanks Brian. I'm new at linux so I'm slowly learning something new every day. Thanks
 
Old 12-23-2007, 01:37 PM   #8
mmsprinter
Member
 
Registered: Nov 2007
Posts: 33

Original Poster
Rep: Reputation: 15
I totally reinstalled Fedora and did not even touch the updates. When I try to installs I still get an error. I installed the same kernel devel as my kernel, 2.6.21-1.3194.fc7. I get past the first command, make distclean, and when I move onto, make install, this my output


make -C driver install
make[1]: Entering directory `/root/Desktop/ndiswrapper-1.51/driver'
make -C /usr/src/kernels/2.6.21-1.3194.fc7-i686 SUBDIRS=/root/Desktop/ndiswrapper-1.51/driver
/usr/src/kernels/2.6.21-1.3194.fc7-i686/scripts/gcc-version.sh: line 11: gcc: command not found
/usr/src/kernels/2.6.21-1.3194.fc7-i686/scripts/gcc-version.sh: line 12: gcc: command not found
make[2]: gcc: Command not found
make[2]: Entering directory `/usr/src/kernels/2.6.21-1.3194.fc7-i686'
CC [M] /root/Desktop/ndiswrapper-1.51/driver/crt.o
/bin/sh: gcc: command not found
make[3]: *** [/root/Desktop/ndiswrapper-1.51/driver/crt.o] Error 127
make[2]: *** [_module_/root/Desktop/ndiswrapper-1.51/driver] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.21-1.3194.fc7-i686'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/root/Desktop/ndiswrapper-1.51/driver'
make: *** [install] Error 2



This might have something to do with it. In the instructions for install, it says run, make install, in the source-directory. I don't have a source directory, or is it the original directory?
 
Old 12-24-2007, 01:10 PM   #9
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
OK post the output again of the following.
uname -r
rpm -qa | grep kernel
rpm -qa | grep gcc

I have the feeling not everything is installed. I always do a full install and check everything. Make things like this easy if all rpm packages are installed.

Brian
 
Old 12-25-2007, 12:38 AM   #10
mmsprinter
Member
 
Registered: Nov 2007
Posts: 33

Original Poster
Rep: Reputation: 15
The output for uname -r:
2.6.21-1.3194.fc7

for rpm -qa|grep kernel:
kernel-devel-2.6.21-1.3194.fc7
kernel-2.6.21-1.3194.fc7

for rpm -qa|grep gcc:
libgcc-4.1.2-12


Does the libgcc have to be the same as the kernel and kernel devel?
Should I do another install and select everything, instead of just Office and Productivity?
 
Old 12-25-2007, 09:06 AM   #11
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
you do not have gcc installed. Goto the install cd and look for gcc rpm. Use the command as root ' rpm -ivh gcc*.rpm '. Not sure but may require more dependency rpms. You will have to add all like so as an example.
rpm -ivh gcc*.rpm libgcc*.rpm pango*.rpm. This is only and example. I would use a more specific full name for each package so other files not needed are not installed.

If you setup yum to use the cd then you can use yum to do the install for you and find the needed rpms. Many post here on setting up a local repo for yum.

Last easiest to me would be re-install with everything.

Brian

Last edited by Brian1; 12-25-2007 at 09:07 AM.
 
Old 12-26-2007, 08:33 PM   #12
mmsprinter
Member
 
Registered: Nov 2007
Posts: 33

Original Poster
Rep: Reputation: 15
I totally reinstalled, with everything, and tried to install...error.
I ran uname -r and got: 2.6.20-2925.9.fc7xen

I ran rpm -qa|grep kernel:
kernel-headers-2.6.21-1.3194.fc7
kernel-2.6.21-1.3194.fc7
kernel-xen-2.6.20-2925.9.fc7

Now I don't have any kernel devel. I looked on the disc, there is no devel that matches my kernel.

The output for rpm -qa|grep gcc:
gcc-4.1.2-12
gcc-gfortran-4.1.2-12
libgcc-4.1.2-12
gcc-java-4.1.2-12
gcc-c++-4.1.2-12
 
Old 12-28-2007, 06:32 PM   #13
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Where did the Xen kernel come from. If off the CD and no matching kernel-devel then no idea other than searching fedora mirror rpms for it. Unless you plan on some virtual OSing then I would not bother with the xen and boot with the other kernel kernel-2.6.21-1.3194.fc7. Then install the kernel-devel-2.6.21-1.3194.fc7.rpm from the CD.

Brian
 
Old 01-01-2008, 06:35 PM   #14
mmsprinter
Member
 
Registered: Nov 2007
Posts: 33

Original Poster
Rep: Reputation: 15
I got Ndiswrapper installed, and the driver according to the website. It shows that the driver is installed, and working. But the card still does not work. Do I have to do anything else?
 
Old 01-03-2008, 03:48 PM   #15
mmsprinter
Member
 
Registered: Nov 2007
Posts: 33

Original Poster
Rep: Reputation: 15
I switched to Ubuntu 7.10 and followed instructions off of ubuntuforums.org and I got it working. Thanks for helping me through this ordeal.
 
  


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
Broadcom dell 1390 WLAN card on FC6 Pioner Linux - Embedded & Single-board computer 4 10-24-2007 06:04 AM
Broadcom Corp. Dell Wireless 1390 WLAN Mini-PCI Card reverse Linux - Wireless Networking 7 09-07-2007 05:29 PM
Broadcom (Dell) 1390 WLAN Mini-Card in FC7 Kjartan1676 Linux - Wireless Networking 3 08-08-2007 06:38 AM
ndiswrapper - openSUSE - Dell Wireless 1500 (802.11draft-n/a/g) WLAN MiniCard cudmore Linux - Wireless Networking 5 06-20-2007 01:04 AM
How to Configure Dell wireless wlan on SUSE 9.1 jmoulinier Linux - Wireless Networking 16 08-18-2004 10:33 AM


All times are GMT -5. The time now is 06:46 PM.

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