LinuxQuestions.org
Help answer threads with 0 replies.
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 04-25-2006, 09:30 PM   #16
Brian1
LQ 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: 65

Really wasn't paying attention. Make had to be there because it runned some of the file. I wonder if it is an issue with the newer madwifi-ng. Have you tried the older madwifi setup?

Just looks like an issue with the kernel source not being found. What is your current kernel? ' uname -r '. Where is the kernel source at now? Last thought it may need to be in say /usr/src/kernels/2.6.16.*****

Here check this site for madwifi with fc4. http://www.linuxquestions.org/linux/..._chipped_cards

Brian1
 
Old 04-25-2006, 09:56 PM   #17
rob47933
LQ Newbie
 
Registered: Apr 2006
Location: Indiana, down in the Haute
Distribution: Fedora Core 5
Posts: 19

Original Poster
Rep: Reputation: 0
Sorry I was so slow to respond, internet went out of sync for a bit.

My current kernel version is the one that comes standard with FC5 right now. 2.6.15-1.2054_FC5

I haven't tried the older setup yet, suppose it couldn't hurt anything.

I'll give it a shot and see if it works out, if not, I'll just use this as an opportunity to try another distro. I'll probably come back to FC, but it wouldn't kill me to try another.
 
Old 04-25-2006, 09:57 PM   #18
brianmay27
Member
 
Registered: Apr 2006
Posts: 82

Rep: Reputation: 15
Well also that program may not work... I used ndiswrapper on fedora 5 and it worked. You can find it at http://ndiswrapper.sourceforge.net/ and i love it! It is easy just get a windows driver for it and punch in some commands and your all set. I am some what new to linux but i was able to follow there how to page.
 
Old 04-25-2006, 10:43 PM   #19
rob47933
LQ Newbie
 
Registered: Apr 2006
Location: Indiana, down in the Haute
Distribution: Fedora Core 5
Posts: 19

Original Poster
Rep: Reputation: 0
Hey yeah, ndiswrapper sounds great... one problem, it won't compile. It gets a lot further than madwifi, but still collapses during compile. I'm going to tinker a bit more and see what happens.
 
Old 04-25-2006, 10:47 PM   #20
brianmay27
Member
 
Registered: Apr 2006
Posts: 82

Rep: Reputation: 15
Ya show us what the terminal is saying
 
Old 04-25-2006, 10:54 PM   #21
rob47933
LQ Newbie
 
Registered: Apr 2006
Location: Indiana, down in the Haute
Distribution: Fedora Core 5
Posts: 19

Original Poster
Rep: Reputation: 0
[root@localhost ~]# cd /root/ndiswrapper
[root@localhost ndiswrapper]# make distclean
make -C driver clean
make[1]: Entering directory `/root/ndiswrapper/driver'
rm -rf ndiswrapper.ko ndiswrapper.o hal.o iw_ndis.o loader.o misc_funcs.o ndis.o ntoskernel.o ntoskernel_io.o pe_linker.o pnp.o proc.o wrapmem.o wrapndis.o wrapper.o usb.o divdi3.o usb.o x86_64_stubs.o \
divdi3.o .*.ko.cmd .*.o.cmd ndiswrapper.mod.[oc] *~ .tmp_versions
make[1]: Leaving directory `/root/ndiswrapper/driver'
make -C utils clean
make[1]: Entering directory `/root/ndiswrapper/utils'
rm -f *~ *.o loadndisdriver
make[1]: Leaving directory `/root/ndiswrapper/utils'
rm -f *~
rm -fr ndiswrapper-1.15rc2 ndiswrapper-1.15rc2.tar.gz *.deb patch-stamp
make -C driver distclean
make[1]: Entering directory `/root/ndiswrapper/driver'
rm -rf ndiswrapper.ko ndiswrapper.o hal.o iw_ndis.o loader.o misc_funcs.o ndis.o ntoskernel.o ntoskernel_io.o pe_linker.o pnp.o proc.o wrapmem.o wrapndis.o wrapper.o usb.o divdi3.o usb.o x86_64_stubs.o \
divdi3.o .*.ko.cmd .*.o.cmd ndiswrapper.mod.[oc] *~ .tmp_versions
rm -f *_exports.h .\#* x86_64_stubs.h
make[1]: Leaving directory `/root/ndiswrapper/driver'
make -C utils distclean
make[1]: Entering directory `/root/ndiswrapper/utils'
rm -f *~ *.o loadndisdriver
rm -f .\#*
make[1]: Leaving directory `/root/ndiswrapper/utils'
rm -f .\#*
[root@localhost ndiswrapper]# make
make -C driver
make[1]: Entering directory `/root/ndiswrapper/driver'
make -C /lib/modules/2.6.15-1.2054_FC5/build SUBDIRS=/root/ndiswrapper/driver \
DRIVER_VERSION=1.15rc2
/usr/src/kernels/2.6.15-1.2054_FC5-i686/scripts/gcc-version.sh: line 11: gcc: command not found
/usr/src/kernels/2.6.15-1.2054_FC5-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.15-1.2054_FC5-i686'
LD /root/ndiswrapper/driver/built-in.o
/bin/sh: ar: command not found
make[3]: *** [/root/ndiswrapper/driver/built-in.o] Error 127
make[2]: *** [_module_/root/ndiswrapper/driver] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.15-1.2054_FC5-i686'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/root/ndiswrapper/driver'
make: *** [all] Error 2
[root@localhost ndiswrapper]#
 
Old 04-25-2006, 11:50 PM   #22
brianmay27
Member
 
Registered: Apr 2006
Posts: 82

Rep: Reputation: 15
Ok try upgrading your kernel to 2.6.16-1... Then use uname -r and rember what it says. then use sudo yum install kernel-devel to install the devel. after that you may want to delete the old kernal and its devel. Restart and try again. If that does not work make sure it is using your new kernel if not then you may want to delete it.
 
Old 04-26-2006, 12:29 AM   #23
rob47933
LQ Newbie
 
Registered: Apr 2006
Location: Indiana, down in the Haute
Distribution: Fedora Core 5
Posts: 19

Original Poster
Rep: Reputation: 0
Ok I finally got everything updated and whatnot, but the compiler still seems to be crap. Here's the terminal output.
Quote:
[root@localhost ndiswrapper]# make
make -C driver
make[1]: Entering directory `/root/ndiswrapper/driver'
make -C /lib/modules/2.6.16-1.2096_FC5/build SUBDIRS=/root/ndiswrapper/driver \
DRIVER_VERSION=1.15rc2
/usr/src/kernels/2.6.16-1.2096_FC5-i686/scripts/gcc-version.sh: line 11: gcc: command not found
/usr/src/kernels/2.6.16-1.2096_FC5-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.16-1.2096_FC5-i686'
LD /root/ndiswrapper/driver/built-in.o
/bin/sh: ar: command not found
make[3]: *** [/root/ndiswrapper/driver/built-in.o] Error 127
make[2]: *** [_module_/root/ndiswrapper/driver] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.16-1.2096_FC5-i686'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/root/ndiswrapper/driver'
make: *** [all] Error 2
[root@localhost ndiswrapper]#
I highlighted what I think the problem might be, but I could always be wrong. Even if I'm right, I have no idea how to fix it.

Last edited by rob47933; 04-26-2006 at 11:59 AM. Reason: Clarity
 
Old 04-26-2006, 06:47 PM   #24
brianmay27
Member
 
Registered: Apr 2006
Posts: 82

Rep: Reputation: 15
Ok try this (i may be wrong) Enter ls /lib/modules/`uname -r`/build Then enter (i beleave) kbuild=/lib/modules/YOUR KERNAL #/build then try again
 
Old 04-26-2006, 09:39 PM   #25
rob47933
LQ Newbie
 
Registered: Apr 2006
Location: Indiana, down in the Haute
Distribution: Fedora Core 5
Posts: 19

Original Poster
Rep: Reputation: 0
Tried running those commands, nothing happened. Any other ideas?
 
Old 04-27-2006, 01:41 AM   #26
brianmay27
Member
 
Registered: Apr 2006
Posts: 82

Rep: Reputation: 15
Ok this is perfect! i am putting linux on another comp and i will try to install it step by step. First i up dated my kernel and added my devel
Code:
yum install kernel-devel
then i put the stuff in green in.
Code:
[root@localhost ~]# ls /lib/modules/`uname -r`/build
/lib/modules/2.6.16-1.2096_FC5/build
[root@localhost ~]# kbuild=/lib/modules/2.6.16-1.2096_FC5/build
Then comes the make part
Code:
[root@localhost ndiswrapper-1.15]# make
make -C driver
make[1]: Entering directory `/root/Desktop/ndiswrapper-1.15/driver'
make -C /lib/modules/2.6.16-1.2096_FC5/build SUBDIRS=/root/Desktop/ndiswrapper-1.15/driver \
        DRIVER_VERSION=1.15
make[2]: Entering directory `/usr/src/kernels/2.6.16-1.2096_FC5-i686'
  LD      /root/Desktop/ndiswrapper-1.15/driver/built-in.o
  CC [M]  /root/Desktop/ndiswrapper-1.15/driver/hal.o
  CC [M]  /root/Desktop/ndiswrapper-1.15/driver/iw_ndis.o
  CC [M]  /root/Desktop/ndiswrapper-1.15/driver/loader.o
  CC [M]  /root/Desktop/ndiswrapper-1.15/driver/misc_funcs.o
  CC [M]  /root/Desktop/ndiswrapper-1.15/driver/ndis.o
  CC [M]  /root/Desktop/ndiswrapper-1.15/driver/ntoskernel.o
/root/Desktop/ndiswrapper-1.15/driver/ntoskernel.c: In function ‘KeClearEvent’:
/root/Desktop/ndiswrapper-1.15/driver/ntoskernel.c:1636: warning: value computed is not used
  CC [M]  /root/Desktop/ndiswrapper-1.15/driver/ntoskernel_io.o
  CC [M]  /root/Desktop/ndiswrapper-1.15/driver/pe_linker.o
  CC [M]  /root/Desktop/ndiswrapper-1.15/driver/pnp.o
  CC [M]  /root/Desktop/ndiswrapper-1.15/driver/proc.o
  CC [M]  /root/Desktop/ndiswrapper-1.15/driver/wrapmem.o
  CC [M]  /root/Desktop/ndiswrapper-1.15/driver/wrapndis.o
  CC [M]  /root/Desktop/ndiswrapper-1.15/driver/wrapper.o
  CC [M]  /root/Desktop/ndiswrapper-1.15/driver/usb.o
  CC [M]  /root/Desktop/ndiswrapper-1.15/driver/divdi3.o
  LD [M]  /root/Desktop/ndiswrapper-1.15/driver/ndiswrapper.o
  Building modules, stage 2.
  MODPOST
  CC      /root/Desktop/ndiswrapper-1.15/driver/ndiswrapper.mod.o
  LD [M]  /root/Desktop/ndiswrapper-1.15/driver/ndiswrapper.ko
make[2]: Leaving directory `/usr/src/kernels/2.6.16-1.2096_FC5-i686'


*** WARNING:  Kernel is compiled with 4K stack size option (CONFIG_4KSTACKS); many Windows drivers will not work with this option enabled. Disable CONFIG_4KSTACKS option, recompile and install kernel


make[1]: Leaving directory `/root/Desktop/ndiswrapper-1.15/driver'
make -C utils
make[1]: Entering directory `/root/Desktop/ndiswrapper-1.15/utils'
gcc -g -Wall -DUTILS_VERSION=\"1.8\"  -o loadndisdriver loadndisdriver.c
make[1]: Leaving directory `/root/Desktop/ndiswrapper-1.15/utils'
Then the make install
Code:
[root@localhost ndiswrapper-1.15]# make install
make -C driver install
make[1]: Entering directory `/root/Desktop/ndiswrapper-1.15/driver'
make -C /lib/modules/2.6.16-1.2096_FC5/build SUBDIRS=/root/Desktop/ndiswrapper-1.15/driver \
        DRIVER_VERSION=1.15
make[2]: Entering directory `/usr/src/kernels/2.6.16-1.2096_FC5-i686'
  Building modules, stage 2.
  MODPOST
make[2]: Leaving directory `/usr/src/kernels/2.6.16-1.2096_FC5-i686'


*** WARNING:  Kernel is compiled with 4K stack size option (CONFIG_4KSTACKS); many Windows drivers will not work with this option enabled. Disable CONFIG_4KSTACKS option, recompile and install kernel


mkdir -p /lib/modules/2.6.16-1.2096_FC5/misc
install -m 0644 ndiswrapper.ko /lib/modules/2.6.16-1.2096_FC5/misc
/sbin/depmod -a 2.6.16-1.2096_FC5
make[1]: Leaving directory `/root/Desktop/ndiswrapper-1.15/driver'
make -C utils install
make[1]: Entering directory `/root/Desktop/ndiswrapper-1.15/utils'
install -D -m 755 loadndisdriver /sbin/loadndisdriver
install -D -m 755 ndiswrapper /usr/sbin/ndiswrapper
install -D -m 755 ndiswrapper-buginfo /usr/sbin/ndiswrapper-buginfo

NOTE: Windows driver configuration file format has changed since 1.5. You must re-install Windows drivers if they were installed before.
make[1]: Leaving directory `/root/Desktop/ndiswrapper-1.15/utils'
mkdir -p -m 0755 /usr/share/man/man8
install -m 644 ndiswrapper.8 /usr/share/man/man8
 
Old 04-27-2006, 10:49 AM   #27
rob47933
LQ Newbie
 
Registered: Apr 2006
Location: Indiana, down in the Haute
Distribution: Fedora Core 5
Posts: 19

Original Poster
Rep: Reputation: 0
Paydirt!

I got into the package manager this morning, and noticed something I had previously overlooked. The development libraries, and development tools were totally unchecked, after a full install, everything is working!

I am currently finishing a make on the madwifi-ng against kernel version 2.6.16-1.2096. I've got some business to attend to upstairs, but when I finish that, I am so on this!
 
Old 04-27-2006, 12:37 PM   #28
rob47933
LQ Newbie
 
Registered: Apr 2006
Location: Indiana, down in the Haute
Distribution: Fedora Core 5
Posts: 19

Original Poster
Rep: Reputation: 0
Sweet! I got it installed finally. Now I have no idea what I am doing to make it work. I got through the make-install on the madwifi-ng, and am kinda lost from there.

Where do I go? What do I do? I'm almost there, I just need a little more help.

Last edited by rob47933; 04-27-2006 at 12:38 PM.
 
Old 04-28-2006, 12:05 AM   #29
brianmay27
Member
 
Registered: Apr 2006
Posts: 82

Rep: Reputation: 15
sorry i do not know any thing on that but see if they have a install page on the web site
 
Old 04-29-2006, 11:08 PM   #30
rob47933
LQ Newbie
 
Registered: Apr 2006
Location: Indiana, down in the Haute
Distribution: Fedora Core 5
Posts: 19

Original Poster
Rep: Reputation: 0
Just to report, I did get the wireless card working with ndiswrapper. Worked wonderfully. Unfortunately, my laptop is suffering from a bad hdd bearing, so all my work will be lost when that is replaced. But I will do it again, and this time, it will work.
 
  


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
FC5 panic after install markcole Fedora - Installation 18 09-19-2009 09:45 AM
How to install applications from cd-s on FC5? zahadumy Linux - Software 1 04-13-2006 04:21 AM
How to install applications from cd-s on FC5? zahadumy Linux - Software 2 04-12-2006 12:41 PM
FC5 does not install bootloader TigerLinux Fedora - Installation 2 04-01-2006 07:41 AM
Boot failure after upgrading FC5 TR3 to FC5 Official Release fsb1284 Fedora 3 03-25-2006 10:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:38 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