Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 28
Ok i have suse 9.2 installed, and I have been trying for weeks to get my wireless working I had the verison installed that came with the suse cd's 0.10 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2005
    Location
    Gboro,NC
    Posts
    55

    ndiswrapper HELP!!!!


    Ok i have suse 9.2 installed, and I have been trying for weeks to get my wireless working I had the verison installed that came with the suse cd's 0.10 i think, and i got my driver installed but i never could get it to connect, when I "ndsiwrapper -l" it would say "netwg111 hardware not present" i have a Netgear WG111 802.11g USB adapter, and i would type "lsusb" and it would tell me that it knew it was netgear and all, but i tried everything finally i started reading and decided to uninstall ndsiwrapper and try to get the tarball, from thier site and got it and put it in the etc/ndiswrapper directory, but when i do the "make install" it gives me this

    Code:
     
    suselinux:/etc/ndiswrapper/ndiswrapper-1.1 # make distclean
    make -C driver clean
    make[1]: Entering directory `/etc/ndiswrapper/ndiswrapper-1.1/driver'
    rm -rf ndiswrapper.ko ndiswrapper.o hal.o iw_ndis.o loader.o misc_funcs.o ndis.o ntoskernel.o pe_linker.o proc.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 `/etc/ndiswrapper/ndiswrapper-1.1/driver'
    make -C utils clean
    make[1]: Entering directory `/etc/ndiswrapper/ndiswrapper-1.1/utils'
    rm -f *~ *.o loadndisdriver
    make[1]: Leaving directory `/etc/ndiswrapper/ndiswrapper-1.1/utils'
    rm -f *~
    rm -fr ndiswrapper-1.1 ndiswrapper-1.1.tar.gz *.deb patch-stamp
    make -C driver distclean
    make[1]: Entering directory `/etc/ndiswrapper/ndiswrapper-1.1/driver'
    rm -rf ndiswrapper.ko ndiswrapper.o hal.o iw_ndis.o loader.o misc_funcs.o ndis.o ntoskernel.o pe_linker.o proc.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 `/etc/ndiswrapper/ndiswrapper-1.1/driver'
    make -C utils distclean
    make[1]: Entering directory `/etc/ndiswrapper/ndiswrapper-1.1/utils'
    rm -f *~ *.o loadndisdriver
    rm -f .\#*
    make[1]: Leaving directory `/etc/ndiswrapper/ndiswrapper-1.1/utils'
    rm -f .\#*
    suselinux:/etc/ndiswrapper/ndiswrapper-1.1 # make
    make -C driver
    make[1]: Entering directory `/etc/ndiswrapper/ndiswrapper-1.1/driver'
    make -C /lib/modules/2.6.8-24.14-default/build SUBDIRS=/etc/ndiswrapper/ndiswrapper-1.1/driver \
            NDISWRAPPER_VERSION=1.1 \
            EXTRA_VERSION= modules
    make[2]: Entering directory `/usr/src/linux-2.6.8-24.14-obj/i386/default'
    make -C ../../../linux-2.6.8-24.14 O=../linux-2.6.8-24.14-obj/i386/default modules
    /usr/src/linux-2.6.8-24.14/scripts/gcc-version.sh: line 11: gcc: command not found
    /usr/src/linux-2.6.8-24.14/scripts/gcc-version.sh: line 12: gcc: command not found
      CC [M]  /etc/ndiswrapper/ndiswrapper-1.1/driver/hal.o
    /bin/sh: gcc: command not found
    make[5]: *** [/etc/ndiswrapper/ndiswrapper-1.1/driver/hal.o] Error 127
    make[4]: *** [_module_/etc/ndiswrapper/ndiswrapper-1.1/driver] Error 2
    make[3]: *** [modules] Error 2
    make[2]: *** [modules] Error 2
    make[2]: Leaving directory `/usr/src/linux-2.6.8-24.14-obj/i386/default'
    make[1]: *** [default] Error 2
    make[1]: Leaving directory `/etc/ndiswrapper/ndiswrapper-1.1/driver'
    make: *** [all] Error 2
    suselinux:/etc/ndiswrapper/ndiswrapper-1.1 # make install
    make -C driver install
    make[1]: Entering directory `/etc/ndiswrapper/ndiswrapper-1.1/driver'
    make -C /lib/modules/2.6.8-24.14-default/build SUBDIRS=/etc/ndiswrapper/ndiswrapper-1.1/driver \
            NDISWRAPPER_VERSION=1.1 \
            EXTRA_VERSION= modules
    make[2]: Entering directory `/usr/src/linux-2.6.8-24.14-obj/i386/default'
    make -C ../../../linux-2.6.8-24.14 O=../linux-2.6.8-24.14-obj/i386/default modules
    /usr/src/linux-2.6.8-24.14/scripts/gcc-version.sh: line 11: gcc: command not found
    /usr/src/linux-2.6.8-24.14/scripts/gcc-version.sh: line 12: gcc: command not found
      CC [M]  /etc/ndiswrapper/ndiswrapper-1.1/driver/hal.o
    /bin/sh: gcc: command not found
    make[5]: *** [/etc/ndiswrapper/ndiswrapper-1.1/driver/hal.o] Error 127
    make[4]: *** [_module_/etc/ndiswrapper/ndiswrapper-1.1/driver] Error 2
    make[3]: *** [modules] Error 2
    make[2]: *** [modules] Error 2
    make[2]: Leaving directory `/usr/src/linux-2.6.8-24.14-obj/i386/default'
    make[1]: *** [default] Error 2
    make[1]: Leaving directory `/etc/ndiswrapper/ndiswrapper-1.1/driver'
    make: *** [install] Error 2
    suselinux:/etc/ndiswrapper/ndiswrapper-1.1 # ./configure
    bash: ./configure: No such file or directory
    suselinux:/etc/ndiswrapper/ndiswrapper-1.1 # make install
    make -C driver install
    make[1]: Entering directory `/etc/ndiswrapper/ndiswrapper-1.1/driver'
    make -C /lib/modules/2.6.8-24.14-default/build SUBDIRS=/etc/ndiswrapper/ndiswrapper-1.1/driver \
            NDISWRAPPER_VERSION=1.1 \
            EXTRA_VERSION= modules
    make[2]: Entering directory `/usr/src/linux-2.6.8-24.14-obj/i386/default'
    make -C ../../../linux-2.6.8-24.14 O=../linux-2.6.8-24.14-obj/i386/default modules
    /usr/src/linux-2.6.8-24.14/scripts/gcc-version.sh: line 11: gcc: command not found
    /usr/src/linux-2.6.8-24.14/scripts/gcc-version.sh: line 12: gcc: command not found
      CC [M]  /etc/ndiswrapper/ndiswrapper-1.1/driver/hal.o
    /bin/sh: gcc: command not found
    make[5]: *** [/etc/ndiswrapper/ndiswrapper-1.1/driver/hal.o] Error 127
    make[4]: *** [_module_/etc/ndiswrapper/ndiswrapper-1.1/driver] Error 2
    make[3]: *** [modules] Error 2
    make[2]: *** [modules] Error 2
    make[2]: Leaving directory `/usr/src/linux-2.6.8-24.14-obj/i386/default'
    make[1]: *** [default] Error 2
    make[1]: Leaving directory `/etc/ndiswrapper/ndiswrapper-1.1/driver'
    make: *** [install] Error 2
    I have the gcc installed and the kernel source packages, i dunno what to do next??? Should I go back and install the one with the cd's and start back there again??? On the ndsiwrapper page it tell me that the card has worked with it , help please.

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    You probably don't have gcc in your path.

  3. #3
    Linux Engineer spencerf's Avatar
    Join Date
    Jan 2005
    Location
    Syracuse, NY
    Posts
    1,144
    First: are you root? it looks like you are but just checking sometimes its a simple but fatal mistake.

    Second: do you have a sym link to your kernel sources?
    This is the instructions from the ndiswrapper wiki:
    * You need a recent kernel (at least 2.6.6 or 2.4.26) with source. Under Red Hat or Mandrake, the sources can be installed using the package kernel-source<kernel-version>.rpm.
    * Make sure there is a link to the kernel source from the modules directory. /lib/modules/VERSION/build should be a link to the kernel source, where VERSION is the version of the kernel you are running. If there is no link, you'll get an error at the make install step. To create a link, assuming the kernel sources are present, use the command

    ln -s /usr/src/linux-<kernel-version> /lib/modules/VERSION/build

    * Make sure you have started compiling the kernel sources, so needed header files are present.
    * Some vendors ship ndiswrapper in their distributions. Either use it or make sure you remove it before installing ndiswrapper by yourself.
    * Make sure you have the Wireless Tools installed.

    If you don't have a link make one. It looks like this maybe your problem.

    Third: these are the commands once you check this:
    # make distclean
    #make
    #make install
    #ndiswrapper -i filename.inf
    #ndiswrapper -i filename.sys
    #ndiswrapper -l ---to see if all this worked.
    #modprobe ndiswrapper
    #ifconfig wlan0 up
    #iwconfig wlan0 essid "name of your wireless network"
    #dhclient wlan0 or dhcpcd wlan0

    If all this works then you need to tell the kernel to autostart the ndiswrapper at boot or restart. I'm not sure how to do this for your distro though.

    Hope this helps.
    All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL

  4. #4
    Just Joined!
    Join Date
    Jan 2005
    Location
    Gboro,NC
    Posts
    55
    Code:
     suselinux&#58;/home/nathan # ln -s /usr/src/linux-2.6.8-24.14 /lib/modules/VERSION/build
    ln&#58; creating symbolic link `/lib/modules/VERSION/build' to `/usr/src/linux-2.6.8-24.14'&#58; No such file or directory
    Ok i did that and i don't think it worked, what am I doing wrong? I may try to install the ndiswrapper 0.10 off the cd's and try it that way.
    I found this on the ndiswrapper site, so i know it works
    when i type in "dmesg" I get this at the bottom it gives me something like ndiswrapper 0.10 not supported suse/novell, could that mean i have to have the newer version installed?


    Card: NETGEAR WG111 802.11g Wireless USB2.0 Adapter
    Chipset: Prism54 (Intersil 3886 and NetChip NET2280)
    usbid: 0846:4220
    Driver: Netgear windows driver Version: NETGEAR, Inc.,03/03/2004, 1.0.8.4 from http://www.netgear.com
    Other: Works well. To get the driver, use cabextract on the .exe, then unshield on the data1.cab. WPA-PSK TKIP worked with wpa-supplicant 0.2.4. Used kernel SuSE 2.6.5-7.104-default. The driver locked the machine when connected to an OHCI controller, but worked fine with EHCI, on a SiS 650 chipset. TCP throughput was apx 7Mbps, which is low, but CPU usage was not maxed out as it is under windows XP on test machine. ndiswrapper is CVS top of tree from 23rd August 2004. There is a native driver for Prism54 that is working on USB support. View its status at Prism54.org

  5. #5
    Just Joined!
    Join Date
    Jan 2005
    Location
    Gboro,NC
    Posts
    55
    It gives me this

    Code:
    suselinux&#58;/etc/ndiswrapper/WG111_SW1.2Beta13/Utility # lsusb
    Bus 003 Device 012&#58; ID 0846&#58;4220 NetGear, Inc.
    Bus 003 Device 001&#58; ID 0000&#58;0000
    Bus 002 Device 003&#58; ID 046d&#58;c016 Logitech, Inc.
    Bus 002 Device 001&#58; ID 0000&#58;0000
    Bus 001 Device 001&#58; ID 0000&#58;0000
    Code:
    uselinux&#58;/etc/ndiswrapper/WG111_SW1.2Beta13/Utility # ndiswrapper -l
    Installed ndis drivers&#58;
    netwg111        hardware NOT present
    wg111nd5.sys    hardware NOT present
    WG111_SW1.2Beta13       hardware NOT present

  6. #6
    Linux Engineer spencerf's Avatar
    Join Date
    Jan 2005
    Location
    Syracuse, NY
    Posts
    1,144
    you have to replace VERSION with your kernel version. the actual one not the word version.
    All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL

  7. #7
    Linux Engineer spencerf's Avatar
    Join Date
    Jan 2005
    Location
    Syracuse, NY
    Posts
    1,144
    i think it should look this: ln -s /usr/src/linux-2.6.8-24.14 /lib/modules/2.6.8-24.14/build

    then do the instruction I put above: starting with make distclean
    All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL

  8. #8
    Just Joined!
    Join Date
    Jan 2005
    Location
    Gboro,NC
    Posts
    55
    Code:
    suselinux&#58;/etc/ndiswrapper # ln -s /usr/src/linux-2.6.8-24.14 /lib/modules/2.6.8-24.14/build
    ln&#58; creating symbolic link `/lib/modules/2.6.8-24.14/build' to `/usr/src/linux-2.6.8-24.14'&#58; No such file or directory
    Ok thats what I got after I tried that, Thanks for the help

    Code:
    usb 3-1&#58; USB disconnect, address 6
    module ndiswrapper unsupported by SUSE/Novell, tainting kernel.
    ndiswrapper version 0.10 loaded &#40;preempt=no,smp=no&#41;
    usbcore&#58; registered new driver wg111nd5.sys
    ndiswrapper&#58; driver wg111nd5.sys &#40;&#41; added
    usb 3-2&#58; new high speed USB device using address 7
    usb 3-2&#58; USB disconnect, address 7
    usb 3-2&#58; new high speed USB device using address 8
    This is what I was talking about when I do a "dmesg"

  9. #9
    Linux Engineer spencerf's Avatar
    Join Date
    Jan 2005
    Location
    Syracuse, NY
    Posts
    1,144
    hmmm. I'm not sure then. It would seem from the message saying that ndiswrapper is not supported by suse/novell that you can't use it for some reason. I don't know why this would be because I don't use suse. I feel like that can't be true since you said you had a prepackaged version of ndiswrapper that came with the suse distro. So maybe you should go back to that one. I'm still a little confused about your link though. The message at the end says "no such file or directory" are you sure you are copying over the correct kernel version?

    try as root: ln -s /usr/src/linux (now hold down tab to see your kernel version pick it by typing it in) /lib/modules/(hold down tab again)/build

    you shouldn't get a message saying no such file or directory. I think this might be the problem I'm not sure though. Sorry I couldn't be more help.
    All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL

  10. #10
    Just Joined!
    Join Date
    Jan 2005
    Location
    Gboro,NC
    Posts
    55
    Code:
    ln -s /usr/src/linux-2.6.8-24.14-default /lib/modules/2.6.8-24.14-default/build
    Ok this was what it was and it worked, i am going to try to install it now

Page 1 of 3 1 2 3 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •