Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14
Im a complete noob when it comes to linux, after a long time debating, I've decided to give it a go. Im using Ubuntu 9.04 I was trying to set ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2009
    Posts
    16

    [SOLVED] wusb100 and driver problem


    Im a complete noob when it comes to linux, after a long time debating, I've decided to give it a go. Im using Ubuntu 9.04

    I was trying to set up my wireless adapter (linksys wusb100) yesterday night and I tried using NDISwrapper. I tried installing netr70, in which failed, as the windows driver menu said that the hardware was not detected. When I tried installing netr28ux, and subsequently rt2870, the menu said that the hardware was detected, but a pop up box stated "unable to see if hardware is present", while the adapter was plugged in...
    does anyone have any idea whats going on here?

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Hi and welcome.

    Please post the output of the following three commands:
    lsusb

    lsmod

    uname -r


    Assuming it is the rt2870, there is a native driver, but it looks like it's pretty new and may be a little rough around the edges. Also a bit of work to install, so maybe not the easiest thing for someone new to linux.

    You didn't mention, but I'm going to guess you're using Ubuntu. If not, what distro are you using?

    For Ubuntu and the native driver:
    ubuntu_rt2870sta / FrontPage

    For ndiswrapper, which may in fact be the easier way to go, I would install ndisgtk, a graphical interface for ndiswrapper.
    Belkin N Wireless USB F5D8053 (Ralink RT2870 chipset) on Ubuntu Jaunty Linux

  3. #3
    Just Joined!
    Join Date
    Sep 2009
    Posts
    16
    misterx@ubuntu:~$ lsusb
    Bus 001 Device 004: ID 058f:6377 Alcor Micro Corp. Multimedia Card Reader
    Bus 001 Device 003: ID 1737:0070 Linksys
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 002: ID 0461:4d16 Primax Electronics, Ltd
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    misterx@ubuntu:~$ lsmod
    Module Size Used by
    isofs 43688 1
    binfmt_misc 18572 1
    i915 75272 2
    drm 123232 3 i915
    bridge 63904 0
    stp 11140 1 bridge
    bnep 22912 2
    input_polldev 12688 0
    video 29204 0
    output 11648 1 video
    lp 19588 0
    snd_hda_intel 557364 3
    snd_pcm_oss 52352 0
    snd_mixer_oss 24960 1 snd_pcm_oss
    snd_pcm 99336 2 snd_hda_intel,snd_pcm_oss
    snd_seq_dummy 11524 0
    snd_seq_oss 41984 0
    snd_seq_midi 15744 0
    snd_rawmidi 33920 1 snd_seq_midi
    snd_seq_midi_event 16512 2 snd_seq_oss,snd_seq_midi
    snd_seq 66272 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_mid i_event
    snd_timer 34064 2 snd_pcm,snd_seq
    snd_seq_device 16276 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi ,snd_seq
    iTCO_wdt 21712 0
    iTCO_vendor_support 12420 1 iTCO_wdt
    ppdev 16904 0
    snd 78792 15 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,sn d_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_de vice
    pcspkr 11136 0
    parport_pc 45096 1
    parport 49584 3 lp,ppdev,parport_pc
    intel_agp 39408 1
    soundcore 16800 1 snd
    ndiswrapper 250624 0
    snd_page_alloc 18704 2 snd_hda_intel,snd_pcm
    usbhid 47040 0
    usb_storage 94912 0
    8139too 36608 0
    8139cp 31488 0
    mii 14464 2 8139too,8139cp
    fbcon 49792 0
    tileblit 11264 1 fbcon
    font 17024 1 fbcon
    bitblit 14464 1 fbcon
    softcursor 10368 1 bitblit
    misterx@ubuntu:~$ uname -r
    2.6.28-11-generic
    misterx@ubuntu:~$

    I did use ndisgtk with the installation of the driver
    Im using ubuntu 9.04

  4. #4
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    That all seems ok. What's the output of
    ndiswrapper -l

    sudo lshw -C Network


    Note that the ndiswrapper -l is a small L, not a 1.

  5. #5
    Just Joined!
    Join Date
    Sep 2009
    Posts
    16
    misterx@ubuntu:~$ ndiswrapper -l
    netr70 : driver installed
    WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
    rt2870 : driver installed
    device (1737:0070) present
    misterx@ubuntu:~$ sudo lshw -C Network
    *-network
    description: Ethernet interface
    product: RTL-8139/8139C/8139C+
    vendor: Realtek Semiconductor Co., Ltd.
    physical id: 5
    bus info: pci@0000:01:05.0
    logical name: eth0
    version: 10
    size: 10MB/s
    capacity: 100MB/s
    width: 32 bits
    clock: 33MHz
    capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
    configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=half latency=32 link=no maxlatency=64 mingnt=32 module=8139too multicast=yes port=MII speed=10MB/s
    *-network DISABLED
    description: Ethernet interface
    physical id: 1
    logical name: pan0
    capabilities: ethernet physical
    configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A link=yes multicast=yes

  6. #6
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    netr70 : driver installed
    WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
    rt2870 : driver installed
    It may be that having both of these loading is causing a conflict. I would remove netr70.

    I found a script on the Ubuntu forums to help troubleshoot ndiswrapper.
    [ubuntu] New Automatic Ndiswrapper Troubleshooting Guide - Ubuntu Forums

  7. #7
    Just Joined!
    Join Date
    Sep 2009
    Posts
    16
    I removed the netr70 driver, and followed the script troubleshooting guide, with no success. When I brought up ndisgtk, the pop up box still comes up with the message that it is 'unable to see if hardware is present'. When running the scripting tool, it says that the type of connection should come up as a wireless connection, not the ethernet interface as shown below.


    *-network
    description: Ethernet interface
    product: RTL-8139/8139C/8139C+
    vendor: Realtek Semiconductor Co., Ltd.
    physical id: 5
    bus info: pci@0000:01:05.0
    logical name: eth0
    version: 10
    size: 10MB/s
    capacity: 100MB/s
    width: 32 bits
    clock: 33MHz
    capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
    configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=half latency=32 link=no maxlatency=64 mingnt=32 module=8139too multicast=yes port=MII speed=10MB/s
    *-network DISABLED
    description: Ethernet interface
    physical id: 1
    logical name: pan0
    capabilities: ethernet physical
    configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A link=yes multicast=yes

  8. #8
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    You're right, it's not showing your wireless. Just to cover the basics, the device was plugged in, right?

    I found here, that this message may mean pciutils is not installed. Try
    Code:
    sudo apt-get install pciutils
    What is the output of iwconfig?

    Also post the output of dmesg

    It's going to be very long, so I suggest piping it to a text file to make it easier to copy
    Code:
    dmesg > dmesg.txt
    This will create the file dmesg.txt in your current directory. When you post it, use code tags.

  9. #9
    Just Joined!
    Join Date
    Sep 2009
    Posts
    16
    The device is plugged in,

    Code:
    misterx@ubuntu:~$ sudo apt-get install pciutils
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    pciutils is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    
    misterx@ubuntu:~$  iwconfig
    lo        no wireless extensions.
    
    eth0      no wireless extensions.
    
    pan0      no wireless extensions.
    The result of the dmesg as follows

    Code:
    [    8.896224] ndiswrapper (check_nt_hdr:150): kernel is 64-bit, but Windows driver is not 64-bit;bad magic: 010B
    [    8.896231] ndiswrapper (load_sys_files:206): couldn't prepare driver 'rt2870'
    [    8.896764] ndiswrapper (load_wrap_driver:108): couldn't load driver rt2870; check system log for messages from 'loadndisdriver'
    [    8.896818] usbcore: registered new interface driver ndiswrapper
    [    9.045974] lp0: using parport0 (interrupt-driven).
    [    9.677556] EXT3 FS on loop0, internal journal
    [   12.571069] Adding 262136k swap on /host/ubuntu/disks/swap.disk.  Priority:-1 extents:1 across:262136k
    [   12.780815] type=1505 audit(1254260814.028:2): operation="profile_load" name="/usr/share/gdm/guest-session/Xsession" name2="default" pid=2044
    [   12.829785] type=1505 audit(1254260814.076:3): operation="profile_load" name="/sbin/dhclient-script" name2="default" pid=2048
    [   12.829936] type=1505 audit(1254260814.076:4): operation="profile_load" name="/sbin/dhclient3" name2="default" pid=2048
    [   12.829984] type=1505 audit(1254260814.076:5): operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-client.action" name2="default" pid=2048
    [   12.830031] type=1505 audit(1254260814.076:6): operation="profile_load" name="/usr/lib/connman/scripts/dhclient-script" name2="default" pid=2048
    [   12.966983] type=1505 audit(1254260814.212:7): operation="profile_load" name="/usr/lib/cups/backend/cups-pdf" name2="default" pid=2053
    [   12.967205] type=1505 audit(1254260814.212:8): operation="profile_load" name="/usr/sbin/cupsd" name2="default" pid=2053
    [   12.998941] type=1505 audit(1254260814.244:9): operation="profile_load" name="/usr/sbin/tcpdump" name2="default" pid=2057
    [   14.833114] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [   14.833117] Bluetooth: BNEP filters: protocol multicast
    [   14.857715] Bridge firewalling registered
    [   16.186978] [drm] Initialized drm 1.1.0 20060810
    [   16.193768] pci 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    [   16.193775] pci 0000:00:02.0: setting latency timer to 64
    [   16.193951] [drm] Initialized i915 1.6.0 20080730 on minor 0
    [   16.266244] [drm:i915_setparam] *ERROR* unknown parameter 4
    [   16.266283] [drm:i915_getparam] *ERROR* Unknown parameter 6
    [   16.862473] [drm:i915_getparam] *ERROR* Unknown parameter 6
    [   19.752350] eth0: link down
    [   19.752814] ADDRCONF(NETDEV_UP): eth0: link is not ready
    [  256.151893] [drm:i915_getparam] *ERROR* Unknown parameter 6

  10. #10
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    8.896224] ndiswrapper (check_nt_hdr:150): kernel is 64-bit, but Windows driver is not 64-bit;bad magic: 010B
    [ 8.896231] ndiswrapper (load_sys_files:206): couldn't prepare driver 'rt2870'
    [ 8.896764] ndiswrapper (load_wrap_driver:108): couldn't load driver rt2870; check system log for messages from 'loadndisdriver'
    You're using a 64 bit linux distro. You'd need to find a 64 bit windows driver...if there is one. The other options are to install a 32 bit version of linux, or try and compile the linux driver.

    Actually, it's possible it's in the linux-backports-modules-jaunty package. Not sure. Remove ndiswrapper, make sure the module isn't loading and try installing that.

    Enable backports: https://help.ubuntu.com/community/UbuntuBackports
    Then
    Code:
    sudo apt-get install linux-backports-modules-jaunty
    Otherwise here is a how to for compiling the driver.
    HowTo: WLAN Ralink RT2870 USB Stick + (K)Ubuntu 8.10 a p f e l k r a u t . o r g

Page 1 of 2 1 2 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
  •