Announcement

Collapse
No announcement yet.

Having A Hard Time With Realtek Driver rt2870sta

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Having A Hard Time With Realtek Driver rt2870sta

    I installed the rt2870sta driver and firmware on My Friend's Kubuntu 10.04, then I installed the firmware and edited the file "/etc/modprobe.d/blacklist.conf" and add the line "blacklist rt2800usb" to the end of the file, rebooted my friend's machine and for some reason it still doesn't work. "Waaaah"
    So I decided to come crawling here to begg for help. "Please Help"

    I ran these commands and here is the output. I noticed that this Buffalo WLI-UC-G300N USB Device is listed as rt2870sta most of the time, but under lsusb it is: Bus 001 Device 003: ID 0411:016f MelCo., Inc.as it is also listed that way in Kinfo Center.

    What confuses me the most so far is, as far as I can tell, the driver and the module both show normally, yet it just isn't working ?

    Anyway Here are the outputs:

    lana@Lana1:~$ lsmod |grep rt2870
    rt2870sta 555473 0
    lana@Lana1:~$ lsmod
    Module Size Used by
    nls_iso8859_1 3249 1
    nls_cp437 4919 1
    vfat 8933 1
    fat 47767 1 vfat
    usb_storage 39425 1
    vboxnetadp 6326 0
    vboxnetflt 15162 0
    vboxdrv 190594 2 vboxnetadp,vboxnetflt
    snd_hda_codec_conexant 22641 1
    i915 285076 2
    snd_seq_device 5700 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi ,snd_seq
    ppdev 5259 0
    rt2870sta 555473 0
    lp 7028 0
    parport 32635 3 ppdev,parport_pc,lp
    ohci1394 26950 0
    r8169 34076 0
    mii 4381 1 r8169
    ieee1394 81181 1 ohci1394
    lana@Lana1:~$ lsusb
    Bus 005 Device 003: ID 413c:3012 Dell Computer Corp. Optical Wheel Mouse
    Bus 005 Device 002: ID 413c:2107 Dell Computer Corp.
    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 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 006: ID 0781:5406 SanDisk Corp. Cruzer Micro 1/2/4GB Flash Drive
    Bus 001 Device 003: ID 0411:016f MelCo., Inc.
    Bus 001 Device 002: ID 0c45:6310 Microdia
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    lana@Lana1:~$ ifconfig
    eth0 Link encap:Ethernet HWaddr b8:ac:6f:b8:0e:ff
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
    Interrupt:27 Base address:0xc000

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:88 errors:0 dropped:0 overruns:0 frame:0
    TX packets:88 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:5280 (5.2 KB) TX bytes:5280 (5.2 KB)

    lana@Lana1:~$ iwconfig
    lo no wireless extensions.

    eth0 no wireless extensions.

    lana@Lana1:~$ iwlist
    Usage: iwlist [interface] scanning [essid NNN] [last]
    [interface] frequency
    [interface] channel
    [interface] bitrate
    [interface] rate
    [interface] encryption
    [interface] keys
    [interface] power
    [interface] txpower
    [interface] retry
    [interface] ap
    [interface] accesspoints
    [interface] peers
    [interface] event
    [interface] auth
    [interface] wpakeys
    [interface] genie
    [interface] modulation
    lana@Lana1:~$ modprobe rt2870sta
    WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
    lana@Lana1:~$

    Here is a small portion of my dmesg Output, I believe it shows what is needed to see:

    lana@Lana1:~$ dmesg
    [ 0.000000] Initializing cgroup subsys cpuset
    [ 0.000000] Initializing cgroup subsys cpu
    [ 0.000000] Linux version 2.6.32-24-generic (buildd@vernadsky) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #38-Ubuntu SMP Mon Jul 5 09:22:14 UTC 2010 (Ubuntu 2.6.32-24.38-generic 2.6.32.15+drm33.5)
    [ 0.000000] KERNEL supported cpus:
    [ 0.000000] Intel GenuineIntel
    [ 0.000000] AMD AuthenticAMD
    [ 0.000000] NSC Geode by NSC
    [ 0.000000] Cyrix CyrixInstead
    [ 0.000000] Centaur CentaurHauls
    [ 0.000000] Transmeta GenuineTMx86
    [ 0.000000] Transmeta TransmetaCPU
    [ 0.000000] UMC UMC UMC UMC
    [ 0.000000] BIOS-provided physical RAM map:
    [ 8.919467] mmc0: SDHCI controller on PCI [0000:01:00.2] using DMA
    [ 8.940782] Linux agpgart interface v0.103
    [ 8.941985] intel_rng: FWH not detected
    [ 8.944750] agpgart-intel 0000:00:00.0: Intel G41 Chipset
    [ 8.945244] agpgart-intel 0000:00:00.0: detected 32764K stolen memory
    [ 8.966704] agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000
    [ 9.005698] input: Integrated Webcam as /devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.0/input/input5
    [ 9.005761] usbcore: registered new interface driver uvcvideo
    [ 9.005763] USB Video Class driver (v0.1.0)
    [ 9.039437] [drm] Initialized drm 1.1.0 20060810
    [ 9.134117] rt2870sta: module is from the staging directory, the quality is unknown, you have been warned.
    [ 9.139189] rtusb init --->
    [ 9.139246] usbcore: registered new interface driver rt2870
    [ 9.330531] r8169: eth0: link up
    [ 9.330536] r8169: eth0: link up
    [ 9.337393] type=1505 audit(1279930740.471:5): operation="profile_replace" pid=814 name="/sbin/dhclient3"
    [ 9.337891] type=1505 audit(1279930740.471:6): operation="profile_replace" pid=814 name="/usr/lib/NetworkManager/nm-dhcp-client.action"

    Any Help is greatly Appreciated...

    #2
    Re: Having A Hard Time With Realtek Driver rt2870sta

    How did you install the driver/firmware?
    it could be that something you manually installed is conflicting with the already existing driver/files.


    I have a
    Code:
    Bus 001 Device 002: ID 148f:3070 Ralink Technology, Corp
    And all I needed to do was the blacklist rt2800usb , I did not have to install anything or mess with firmware.

    have you tried blacklisting the sta driver instead? I have seen this go either way in my searches on this.

    Comment


      #3
      Re: Having A Hard Time With Realtek Driver rt2870sta

      No I never even thought of blacklisting the sta driver, I will have to try that and see if it works.

      How did I install firmware? I followed instructions, downloaded the firmware from http://www.ralinktech.com/support.php?s=2 and copied the .bin file I think it was into a directory after modifying the driver and installing it.

      Now I've done a clean install of Kubuntu 10.04, blacklisted the rt2800usb, still no change after rebooting.

      I found More info on the net so I downloaded and installed

      http://packages.debian.org/squeeze/i...dc++5/download

      Then Rebooted

      Pasted the following commands all at once

      echo 'install rt2870sta modprobe --ignore-install rt2870sta ; /bin/echo "1737 0078" > /sys/bus/usb/drivers/rt2870/new_id' | sudo tee /etc/modprobe.d/rt2870sta.conf
      sudo modprobe -rf rt2870sta
      sudo modprobe rt2870sta
      dmesg | egrep 'rt28|usb|Phy'
      iwconfig

      then

      sudo kate /etc/modules

      I then added rt2870sta

      then rebooted

      Tada Same results, except I no longer get a warning after doing modprobe rt2870sta, I can successfully modprobe it now, everything seems to be there, but no wlan after I ifconfig.

      Then I even installed the backports modules, still did not work after rebooting.

      What I have learned so far from this is that the driver and the module were there already in Kubuntu 10.04, so like you said there is no need to install them.

      I'm really not sure what to do now.

      The Driver is registered, and I can modprobe successfully, I don't understand why I don't have wireless now?

      Comment


        #4
        Re: Having A Hard Time With Realtek Driver rt2870sta

        You can modprobe a driver, but that does not mean the driver can recognize your device ID

        I am thinking your device ID is not recognized as valid for the driver, which seems to be a relatively common problem for some usb wireless devices. Usually if a particular device ID is not listed but is known to be a valid one for the chipset, it used to mean recompiling some kernel modules.

        this link pointed me to this one, which may be a solution here not involving a recompile

        using the method in link #2, you would follow the instructions, except subbing
        148f & 3070 for 1737 & 0078

        the first section tests to see if it works, the second adds a new device rule to make it permanent, and it won't harm anything if it does not work

        Comment


          #5
          Re: Having A Hard Time With Realtek Driver rt2870sta

          Hey Claydoh, I'm finally getting somewhere... Thanks for the awesome links, that was actually kinda fun.

          The only thing I wasn't exactly sure about is the udev rules, because I don't have a wusb100 so I wasn't sure if I needed to modify the script other than changing my hardware numbers, so I didn't ! My end result here is that wireless is now detected under iwconfig and ifconfig rt2870sta, now when I go to Knetwork manager enable wireless is already checked and looks like everything works but when I click on scan for wireless connections it doesn't recognize my wireless signal, so even after I type it in along with my WEP key it still doesn't quite get on the internet.

          The problem I see after iwconfig output is that all my Kubuntu computers will show ESSID "MyConnection"
          and this one doesn't. So I believe that knetwork manager just isn't working with this somehow...

          Here is what I did and my outputs:

          I Gathered Hard Info

          lana@lana1:~$lsusb:
          Bus 001 Device 003: ID 0411:016f MelCo., Inc.


          lana@lana1:~$ lsmod |grep rt
          rt2870sta 461811 0
          parport_pc 25962 1
          agpgart 31724 2 drm,intel_agp
          parport 32635 3 ppdev,parport_pc,lp

          __________________________________________________ ____________________________________

          echo 'install rt2870sta modprobe --ignore-install rt2870sta ; /bin/echo "0411 016f" > /sys/bus/usb/drivers/rt2870/new_id' | sudo tee /etc/modprobe.d/rt2870sta.conf

          sudo modprobe -rf rt2870sta

          sudo modprobe rt2870sta

          dmesg | egrep 'rt28|usb|Phy'

          iwconfig


          lana@lana1:~$iwconfig

          lo no wireless extensions.

          eth0 no wireless extensions.

          wlan0 RTxx70 Wireless ESSID:""
          Mode:Auto Frequency=2.412 GHz
          Link Quality=10/100 Signal level:0 dBm Noise level:-143 dBm
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:0 Missed beacon:0

          I Told Kubuntu to Load Driver at startup:

          echo rt2870sta | sudo tee -a /etc/modules

          __________________________________________________ ____________________________________

          UDEV Rules

          sudo kate /etc/udev/rules.d/10-wusb100.rules

          # UDEV-Rule for wusb-100v2 ID 0411:0x16f
          SUBSYSTEM=="usb", SYSFS{idVendor}=="0411", SYSFS{idProduct}=="016f", RUN+="/sbin/modprobe rt2870sta"

          sudo service udev reload
          __________________________________________________ ____________________________________

          Outputs:

          lana@lana1:~$ iwlist
          Usage: iwlist [interface] scanning [essid NNN] [last]
          [interface] frequency
          [interface] channel
          [interface] bitrate
          [interface] rate
          [interface] encryption
          [interface] keys
          [interface] power
          [interface] txpower
          [interface] retry
          [interface] ap
          [interface] accesspoints
          [interface] peers
          [interface] event
          [interface] auth
          [interface] wpakeys
          [interface] genie
          [interface] modulation
          lana@lana1:~$ iwconfig
          lo no wireless extensions.

          eth0 no wireless extensions.

          wlan0 RTxx70 Wireless ESSID:""
          Mode:Auto Frequency=2.412 GHz
          Link Quality=10/100 Signal level:0 dBm Noise level:-143 dBm
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:0 Missed beacon:0

          lana@lana1:~$ ifconfig
          eth0 Link encap:Ethernet HWaddr b8:ac:6f:b8:0e:ff
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
          Interrupt:27 Base address:0xc000

          lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:82 errors:0 dropped:0 overruns:0 frame:0
          TX packets:82 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4940 (4.9 KB) TX bytes:4940 (4.9 KB)

          lana@lana1:~$ ifconfig wlan0
          wlan0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
          BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

          lana@lana1:~$ lsmod |grep rt
          rt2870sta 461811 0
          parport_pc 25962 1
          agpgart 31724 2 drm,intel_agp
          parport 32635 3 ppdev,parport_pc,lp
          lana@lana1:~$


          Anyway it doesn't quite work yet but seems like I'm a lot closer...

          Any other suggestions ?

          Comment


            #6
            Re: Having A Hard Time With Realtek Driver rt2870sta

            Better, yet Wild News:

            This Turns on usb device and turns light on: "sudo dhclient wlan0"

            Below are new outputs:

            lana@lana1:~$ iwconfig
            lo no wireless extensions.

            eth0 no wireless extensions.

            wlan0 RTxx70 Wireless ESSID:"Private" Nickname:"RT3070STA"
            Mode:Managed Frequency=2.412 GHz Access Point: 68:7F:74:23:61:01
            Bit Rate=54 Mb/s
            RTS thrff Fragment thrff
            Link Quality=70/100 Signal level:-66 dBm Noise level:-53 dBm
            Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
            Tx excessive retries:0 Invalid misc:0 Missed beacon:0

            Then I am posting a couple parts of the dmesg output, this looked strange

            lana@lana1:~$ dmesg rt2870sta

            [ 5.610887] rt2870sta: module is from the staging directory, the quality is unknown, you have been warned.
            [ 5.615784] rtusb init --->
            [ 5.615819] usbcore: registered new interface driver rt2870


            [ 622.477630] <-- RTMPAllocTxRxRingMemory, Status=0
            [ 622.479139] -->RTUSBVenderReset
            [ 622.479264] <--RTUSBVenderReset
            [ 622.758295] --> Error 2 opening /etc/Wireless/RT3070STA/RT3070STA.dat
            [ 622.758299] 1. Phy Mode = 0
            [ 622.758302] 2. Phy Mode = 0
            [ 622.785265] RTMPSetPhyMode: channel is out of range, use first channel=1
            [ 622.794514] 3. Phy Mode = 0
            [ 622.798890] MCS Set = 00 00 00 00 00
            [ 623.231758] RTMPFilterCalibration - can't find a valid value, loopcnt=102 stop calibrating<==== RTMPInitialize, Status=0
            [ 623.252013] 0x1300 = 00073200
            [ 625.585994] DRS: unkown mode,default use 11N 2S AP
            [ 625.586001] DRS: unkown mode (SupRateLen=0, ExtRateLen=0, MCSSet[0]=0x0, MCSSet[1]=0x0)
            [ 633.480007] wlan0: no IPv6 routers present

            I also get the same output if I blacklist rt3070sta

            I also get all the info now when I ifconfig, and when I iwlist scan it does a perfect job scanning and gives good output. Now looks like it is not connecting to internet because it is not getting the hex key I put into KNetworkManager. and then still when I go to KNetworkManager and click on scan for new wireless network, it doesn't work, only works via command line...

            unless I'm terribly mistaken this line
            [ 622.758295] --> Error 2 opening /etc/Wireless/RT3070STA/RT3070STA.dat
            says that the wrong firmware is not loading, I'm suspecting this could be a problem? since the file wireless doesn't even exist under the /etc/ directory... So Now I've Downloaded the rt2870sta.dat file, created the directory, rebooted, edited the rt2870.dat file, renamed it to RT3070STA.dat, rebooted again and "Yahoo" I now have internet, but KnetworkManager still doesn't do anything for me, I have to manually make any changes. is there some kind of network manager that may work with this ?
            Also now after I shutdown and start back up again I have to "sudo ifconfig wlan0 up" in order to get internet working again.

            Comment


              #7
              Re: Having A Hard Time With Realtek Driver rt2870sta

              This is how I got this Device to work. Thanks to Claydoh, and the links he provided, I was able to pull this off...

              The Drawback to this Hack is knetworkManager will not do anything for you, You'll have to redo this for any kernel update, and it will cause your computer to lockup 2 out of every 5 tries, and after you boot-up the only thing you'll have to do is wait about 2-5 minutes for the wireless card to hook up, and if you need to change your WEP encryption key or network name, be prepared to do it by command line.
              "After this I will never buy anything with a ralink driver again, as the company doesn't even provide the correct device ID's in thier drivers, or any support for that matter ". " I'm glad they have serious competition "

              So here is all the information I gathered from all over the net, and this is how I got this usb stick to work.


              Improve Backward Compatibility,

              Download: http://packages.debian.org/squeeze/i...dc++5/download
              Then install it by clicking on the .deb package you just downloaded.
              __________________________________________________ ____
              __________________________________________________ ____

              The module / driver needs firmware provided in the firmware-ralink package, so install this package
              first if you haven't already. ( as Shown immediately below )

              Is Ralink-firmware installed

              cd into the firmware directory and sudo cp rt2870.bin /lib/modules/rt2870.bin

              lsmod |grep rt2870 shows: rt2870sta 420829 0 ( The Second Number 0, should be a 1 )


              iwconfig shows: lo,eth0,wlan0,pan0
              Quote: wlan0 RTxx70 ESSID:"" Nickname:"RT3070STA"...


              lana@lana1:~$ dmesg rt2870sta

              [ 5.610887] rt2870sta: module is from the staging directory, the quality is unknown, you have been warned.
              [ 5.615784] rtusb init --->
              [ 5.615819] usbcore: registered new interface driver rt2870


              [ 622.477630] <-- RTMPAllocTxRxRingMemory, Status=0
              [ 622.479139] -->RTUSBVenderReset
              [ 622.479264] <--RTUSBVenderReset
              [ 622.758295] --> Error 2 opening /etc/Wireless/RT3070STA/RT3070STA.dat
              [ 622.758299] 1. Phy Mode = 0
              [ 622.758302] 2. Phy Mode = 0
              [ 622.785265] RTMPSetPhyMode: channel is out of range, use first channel=1
              [ 622.794514] 3. Phy Mode = 0
              [ 622.798890] MCS Set = 00 00 00 00 00
              [ 623.231758] RTMPFilterCalibration - can't find a valid value, loopcnt=102 stop calibrating<==== RTMPInitialize, Status=0
              [ 623.252013] 0x1300 = 00073200
              [ 625.585994] DRS: unkown mode,default use 11N 2S AP
              [ 625.586001] DRS: unkown mode (SupRateLen=0, ExtRateLen=0, MCSSet[0]=0x0, MCSSet[1]=0x0)
              [ 633.480007] wlan0: no IPv6 routers present


              " Please Notice the Line Above: [ 622.758295] --> Error 2 opening /etc/Wireless/RT3070STA/RT3070STA.dat"

              (If you don't get an error code, scroll down about half way and continue to: "Part #2 "making the driver that comes with Kubuntu 10.04 work")

              This means my rt2870sta driver was looking in the above named directory for the (firmware) RT3070STA.dat File,
              So I Downloaded the rt2870sta.dat firmware that came with the driver from http://www.railink.com/support.php?s=2 , I downloaded "RT2870USB(RT2870/RT2770" I unpacked it and renamed the .dat file to RT3070STA.dat,

              I edited the .dat file,

              Example:
              #The word of "Default" must not be removed
              Default
              CountryRegion=5
              CountryRegionABand=7
              CountryCode=
              ChannelGeography=1
              SSID=myconnection <-- put your routers network name here
              NetworkType=Infra
              WirelessMode=5
              Channel=0
              BeaconPeriod=100
              TxPower=100
              BGProtection=0
              TxPreamble=0
              RTSThreshold=2347
              FragThreshold=2346
              TxBurst=1
              PktAggregate=0
              WmmCapable=1
              AckPolicy=0;0;0;0
              AuthMode=OPEN
              EncrypType=WEP <-- put your encryption type here
              WPAPSK=
              DefaultKeyID=1
              Key1Type=0
              Key1Str=0097AC0B917298B2AC67ACC5Z6 <-- Put your encryption key Here, "this is just an example"
              Key2Type=0
              Key2Str=
              Key3Type=0
              Key3Str=
              Key4Type=0
              Key4Str=
              PSMode=CAM
              AutoRoaming=0
              RoamThreshold=70
              APSDCapable=0
              APSDAC=0;0;0;0
              HT_RDG=1
              HT_EXTCHA=0
              HT_OpMode=0
              HT_MpduDensity=4
              HT_BW=1
              HT_BADecline=0
              HT_AutoBA=1
              HT_AMSDU=0
              HT_BAWinSize=64
              HT_GI=1
              HT_MCS=33
              HT_MIMOPSMode=3
              HT_DisallowTKIP=1
              HT_STBC=0
              IEEE80211H=0
              TGnWifiTest=0
              WirelessEvent=0
              CarrierDetect=0
              AntDiversity=0
              BeaconLostTime=4
              PSP_XLINK_MODE=0


              I found the above error interesting because /etc/wireless didn't even exist, then if you try to make
              the directory all at once, you get more errors, So I sudo mkdir /etc/Wireless "hit "enter" then,
              sudo mkdir /etc/Wireless/RT3070STA "hit enter"

              Now that the directory was made, I ran the command: cd /home/jason/Desktop/rt2870firmware "hit enter"
              type "ls" to list everything in that directory and "hit enter" and you should see the RT3070STA.dat file
              Now: sudo cp RT3070STA.dat /etc/Wireless/RT3070STA

              restart and run: dmesg rt2870sta and your error will be gone...
              __________________________________________________ ____
              __________________________________________________ ____

              Part #2 "making the driver that comes with Kubuntu 10.04 work / aka "Lets Hack the driver"

              Is your Driver Loaded? if Not:

              The "modprobe rt2870sta" command (as root) that you used before probably already loaded the version
              provided with the kernel anyway. Now, this module "should" get loaded automatically once you insert the
              wireless device. You can check this with the command "lsmod |grep rt2870" (as user). If not, then you
              should add "rt2870sta" to the /etc/modules file with an editor.

              Example: sudo kate /etc/modules
              Then Press Enter.

              Add the following text, at the end of the existing text:
              rt2870sta
              Save, Quit & Reboot.

              After every Kernel update,run the following commands & hope they work, if they don't we'll be going back through this again.

              sudo modprobe -rf rt2870sta
              sudo modprobe rt2870sta
              dmesg | egrep 'rt28|usb|Phy'
              iwconfig

              Now, the command (as root) "iwconfig" should show a wireless interface; the command (still as root)
              "sudo iwlist scan" should show your own wireless access point. Network-manager is probably already installed,
              so click on its icon in the right upper menu bar and select your access point and provide the password, if it works.

              you may also need to reboot, if it still doesn't work don't be so surprised, please continue...

              __________________________________________________ ____
              __________________________________________________ ____

              Most problems with the wifi drivers is that even thought they are supposed to work with your device,
              this is why they don't, because the vendors change the hardware numbers and then they don't provide any support, yet they probably expect people to buy their stuff even though they don't even support it.

              This is how I Skipped having to build or compile my own module / driver,
              instead Recompile & Pass the correct ID Parameters to the module / driver:

              I Gathered Hard Info:

              lana@lana1:~$lsusb:
              Bus 001 Device 003: ID 0411:016f MelCo., Inc. ( now notice "0411:016f" and where I used these numbers below )

              Code: you can modify this code if you need to, then copy and paste it right into your terminal.

              echo 'install rt2870sta modprobe --ignore-install rt2870sta ; /bin/echo "0411 016f" > /sys/bus/usb/drivers/rt2870/new_id' | sudo tee /etc/modprobe.d/rt2870sta.conf
              sudo modprobe -rf rt2870sta
              sudo modprobe rt2870sta
              dmesg | egrep 'rt28|usb|Phy'
              iwconfig

              Ok, you are going to want the drive to load at startup

              Code:

              echo rt2870sta | sudo tee -a /etc/modules

              reboot, then if you still have no internet, ( don't be surprised) please continue and modify udev
              __________________________________________________ ____
              __________________________________________________ ____

              Alternative automatic driver load when the stick was plugged in:

              Get Hard Info:

              Run: sudo udevadm monitor --e

              and plug in the usb wireless. This generates a bunch of udev event traffic, but one in particular is:

              UDEV [1172153885.651400] add@/devices/pci0000:00/0000:00:1e.0/0000:02:04.2/usb5/5-2/5-2:1.0
              UDEV_LOG=3
              ACTION=add
              DEVPATH=/devices/pci0000:00/0000:00:1e.0/0000:02:04.2/usb5/5-2/5-2:1.0
              SUBSYSTEM=usb
              SEQNUM=938
              PHYSDEVBUS=usb
              DEVICE=/proc/bus/usb/005/006
              PRODUCT=411/16f/101 <-- "Pay close attention to this one and see where I use these numbers below"
              TYPE=255/255/255
              INTERFACE=255/0/0
              MODALIAS=usb:v1435p0711d4330dcFFdscFFdpFFicFFisc00 ip00
              UDEVD_EVENT=1


              New Contents: "Create File" sudo kate /etc/udev/rules.d/10-wifi.rules
              Code:

              # UDEV-Rule for Buffalo Wireless USB ID 0411:016f

              PHYSDEVBUS=="usb", ACTION=="add", PRODUCT=="411/16f/101", RUN+="/sbin/modprobe rt2870sta"

              PHYSDEVBUS=="usb", ACTION=="remove", PRODUCT=="411/16f/101", RUN+="/sbin/rmmod rt2870sta"

              make it ready to work
              Code:

              run: sudo service udev reload
              Then
              sudo service udev restart

              Knetwork manager should be up and running by now, if it isn't, reboot and give your computer a minute or two...

              Now even though KnetworkManager is up and running, don't expect it to do anything for you, you'll have to edit the .dat file by hand to make any changes.

              "This is a Hack, it makes the usb adapter work, but it is still not right.

              I just finished another 2 days trying to make it right, finally it will be returned tomorrow, because today I Stopped at best buy, Bought a Netgear WG111v3, did a clean install of my Kubuntu, did all the updates, plugged this WG111v3 in, I noticed immediately that the lights came on, by the time I got the screensaver off knetworkmanager was working, I put in my info, and I was on the internet. I highly recommend the WG111v3 to anyone with Linux as it is truely plug and play, I am currently running Kubuntu 10.04 , I hope this atleast helps someone, as I believe the hack above should work for any wireless card, as a hack.

              Comment

              Working...
              X