LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 07-12-2005, 10:58 AM   #1
skorch
LQ Newbie
 
Registered: Jul 2005
Posts: 4

Rep: Reputation: 0
ndiswrapper help


hia,
im new to linux so this shud prolly be easy to fix.. i hope...
i had to install gcc to get past my first error, i compiled, made and installed ndiswrapper, but then i get to here:
Code:
[root@localhost ~]# cd Desktop
[root@localhost Desktop]# cd ndiswrapper-1.2
[root@localhost ndiswrapper-1.2]# make
make -C driver
make[1]: Entering directory `/root/Desktop/ndiswrapper-1.2/driver'
make -C /lib/modules/2.6.11-1.1369_FC4/build SUBDIRS=/root/Desktop/ndiswrapper-1.2/driver \
        NDISWRAPPER_VERSION=1.2 \
        EXTRA_VERSION= modules
make[2]: Entering directory `/usr/src/kernels/2.6.11-1.1369_FC4'
  CC [M]  /root/Desktop/ndiswrapper-1.2/driver/hal.o
  CC [M]  /root/Desktop/ndiswrapper-1.2/driver/iw_ndis.o
  CC [M]  /root/Desktop/ndiswrapper-1.2/driver/loader.o
/root/Desktop/ndiswrapper-1.2/driver/loader.c: In function ‘ndiswrapper_add_pci_device’:
/root/Desktop/ndiswrapper-1.2/driver/loader.c:202: warning: ignoring return value of ‘pci_set_power_state’, declared with attribute warn_unused_result
  CC [M]  /root/Desktop/ndiswrapper-1.2/driver/misc_funcs.o
  CC [M]  /root/Desktop/ndiswrapper-1.2/driver/ndis.o
  CC [M]  /root/Desktop/ndiswrapper-1.2/driver/ntoskernel.o
  CC [M]  /root/Desktop/ndiswrapper-1.2/driver/pe_linker.o
  CC [M]  /root/Desktop/ndiswrapper-1.2/driver/proc.o
  CC [M]  /root/Desktop/ndiswrapper-1.2/driver/wrapper.o
/root/Desktop/ndiswrapper-1.2/driver/wrapper.c: In function ‘miniport_halt’:
/root/Desktop/ndiswrapper-1.2/driver/wrapper.c:293: warning: ignoring return value of ‘pci_set_power_state’, declared with attribute warn_unused_result
/root/Desktop/ndiswrapper-1.2/driver/wrapper.c: In function ‘ndiswrapper_suspend_pci’:
/root/Desktop/ndiswrapper-1.2/driver/wrapper.c:737: warning: ignoring return value of ‘pci_set_power_state’, declared with attribute warn_unused_result
/root/Desktop/ndiswrapper-1.2/driver/wrapper.c: In function ‘ndiswrapper_resume_pci’:
/root/Desktop/ndiswrapper-1.2/driver/wrapper.c:759: warning: ignoring return value of ‘pci_enable_device’, declared with attribute warn_unused_result
  CC [M]  /root/Desktop/ndiswrapper-1.2/driver/usb.o
  CC [M]  /root/Desktop/ndiswrapper-1.2/driver/divdi3.o
  LD [M]  /root/Desktop/ndiswrapper-1.2/driver/ndiswrapper.o
  Building modules, stage 2.
  MODPOST
  CC      /root/Desktop/ndiswrapper-1.2/driver/ndiswrapper.mod.o
  LD [M]  /root/Desktop/ndiswrapper-1.2/driver/ndiswrapper.ko
make[2]: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4'


*** 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.2/driver'
make -C utils
make[1]: Entering directory `/root/Desktop/ndiswrapper-1.2/utils'
cc -Wall -g -DNDISWRAPPER_VERSION=\"1.2\"    -c -o loadndisdriver.o loadndisdriver.c
gcc -o loadndisdriver loadndisdriver.o
make[1]: Leaving directory `/root/Desktop/ndiswrapper-1.2/utils'
[root@localhost ndiswrapper-1.2]# make install
make -C driver install
make[1]: Entering directory `/root/Desktop/ndiswrapper-1.2/driver'
make -C /lib/modules/2.6.11-1.1369_FC4/build SUBDIRS=/root/Desktop/ndiswrapper-1.2/driver \
        NDISWRAPPER_VERSION=1.2 \
        EXTRA_VERSION= modules
make[2]: Entering directory `/usr/src/kernels/2.6.11-1.1369_FC4'
  Building modules, stage 2.
  MODPOST
make[2]: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4'


*** 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.11-1.1369_FC4/misc
install -m 0644 ndiswrapper.ko /lib/modules/2.6.11-1.1369_FC4/misc
/sbin/depmod -a
make[1]: Leaving directory `/root/Desktop/ndiswrapper-1.2/driver'
make -C utils install
make[1]: Entering directory `/root/Desktop/ndiswrapper-1.2/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.0-rc2. You must re-install Windows drivers if they were installed before.
make[1]: Leaving directory `/root/Desktop/ndiswrapper-1.2/utils'
mkdir -p -m 0755 /usr/share/man/man8
install -m 644 ndiswrapper.8 /usr/share/man/man8
[root@localhost ndiswrapper-1.2]# ndiswrapper -i /root/Desktop/NET8180.INF
Installing net8180
[root@localhost ndiswrapper-1.2]# ndiswrapper -l
Installed ndis drivers:
net8180 driver present, hardware present
[root@localhost ndiswrapper-1.2]# modprobe ndiswrapper
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.11-1.1369_FC4/misc/ndiswrapper.ko): Invalid module format
[root@localhost ndiswrapper-1.2]# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

sit0      no wireless extensions.
u can see the FATAL line, i believe thats me problem... any ideas how to fix it?

remember im a linux
just started today
 
Old 07-12-2005, 01:53 PM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
The stock Fedora kernels are extremely difficult for ndiswrapper to work with, and the errors you are seeing (both the fatal error and the warnings) are the direct result of the way Fedora makes their kernels. Really the best approach would be to either use one of the NTFS Kernels or compile your own.

And don't forget to ask Red Hat why they don't offer an approved ndiswrapper RPM.
 
Old 07-12-2005, 02:18 PM   #3
skorch
LQ Newbie
 
Registered: Jul 2005
Posts: 4

Original Poster
Rep: Reputation: 0
i downloaded kernel-module-ntfs-2.6.11-1.1369_FC4-2.1.22-0.rr.6.0.i686.rpm and ran it, i followed some of the instructuions on the site with no errors but when i ran modprobe ndiswrapper i got the same error
 
Old 07-13-2005, 07:50 AM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
A couple of things to read through. First, have a look at the ndiswrapper FAQ and make sure that everything they suggest is OK on your machine. The second thing to try is referenced in this thread. I know nothing about the Livna repository, but it may offer a solution to ndiswrapper problems.
 
  


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
Trying to load module "ndiswrapper" with modprobe; modprobe ndiswrapper doesn't work! Benjamin Linux - Wireless Networking 30 05-25-2008 07:04 AM
Ndiswrapper zupertj SUSE / openSUSE 6 10-20-2005 12:11 PM
ndiswrapper doesn't like me michaelsanford Linux - Wireless Networking 3 04-12-2005 12:52 PM
Ndiswrapper Pretzels Linux - Wireless Networking 3 12-19-2004 08:23 PM
help with ndiswrapper bruzah619 Linux - Wireless Networking 4 10-22-2004 01:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 01:25 AM.

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