Linux - HardwareThis 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.
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,697
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.*****
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.
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.
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.
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.
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
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!
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.