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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
04-25-2006, 09:30 PM
|
#16
|
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:
|
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
|
|
|
04-25-2006, 09:56 PM
|
#17
|
LQ Newbie
Registered: Apr 2006
Location: Indiana, down in the Haute
Distribution: Fedora Core 5
Posts: 19
Original Poster
Rep:
|
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.
|
|
|
04-25-2006, 09:57 PM
|
#18
|
Member
Registered: Apr 2006
Posts: 82
Rep:
|
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.
|
|
|
04-25-2006, 10:43 PM
|
#19
|
LQ Newbie
Registered: Apr 2006
Location: Indiana, down in the Haute
Distribution: Fedora Core 5
Posts: 19
Original Poster
Rep:
|
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.
|
|
|
04-25-2006, 10:47 PM
|
#20
|
Member
Registered: Apr 2006
Posts: 82
Rep:
|
Ya show us what the terminal is saying
|
|
|
04-25-2006, 10:54 PM
|
#21
|
LQ Newbie
Registered: Apr 2006
Location: Indiana, down in the Haute
Distribution: Fedora Core 5
Posts: 19
Original Poster
Rep:
|
[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]#
|
|
|
04-25-2006, 11:50 PM
|
#22
|
Member
Registered: Apr 2006
Posts: 82
Rep:
|
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.
|
|
|
04-26-2006, 12:29 AM
|
#23
|
LQ Newbie
Registered: Apr 2006
Location: Indiana, down in the Haute
Distribution: Fedora Core 5
Posts: 19
Original Poster
Rep:
|
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
|
|
|
04-26-2006, 06:47 PM
|
#24
|
Member
Registered: Apr 2006
Posts: 82
Rep:
|
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
|
|
|
04-26-2006, 09:39 PM
|
#25
|
LQ Newbie
Registered: Apr 2006
Location: Indiana, down in the Haute
Distribution: Fedora Core 5
Posts: 19
Original Poster
Rep:
|
Tried running those commands, nothing happened. Any other ideas?
|
|
|
04-27-2006, 01:41 AM
|
#26
|
Member
Registered: Apr 2006
Posts: 82
Rep:
|
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
|
|
|
04-27-2006, 10:49 AM
|
#27
|
LQ Newbie
Registered: Apr 2006
Location: Indiana, down in the Haute
Distribution: Fedora Core 5
Posts: 19
Original Poster
Rep:
|
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!
|
|
|
04-27-2006, 12:37 PM
|
#28
|
LQ Newbie
Registered: Apr 2006
Location: Indiana, down in the Haute
Distribution: Fedora Core 5
Posts: 19
Original Poster
Rep:
|
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.
|
|
|
04-28-2006, 12:05 AM
|
#29
|
Member
Registered: Apr 2006
Posts: 82
Rep:
|
sorry i do not know any thing on that but see if they have a install page on the web site
|
|
|
04-29-2006, 11:08 PM
|
#30
|
LQ Newbie
Registered: Apr 2006
Location: Indiana, down in the Haute
Distribution: Fedora Core 5
Posts: 19
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 11:38 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|