LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   ndiswrapper and Asus onboard WiFi (https://www.linuxquestions.org/questions/linux-wireless-networking-41/ndiswrapper-and-asus-onboard-wifi-646264/)

f34r7h1s 06-01-2008 04:37 PM

ndiswrapper and Asus onboard WiFi
 
Hey,
I have spent the last three days going through this site looking for a solution and have not found a workable solution yet.

I have an Asus motherboard with a built in WiFi adapter. The computer sees it as a USB adapter. Here are the results of lsusb:

(I cut out the block that I beleive is my on board wifi card.)

Code:

Bus 004 Device 002: ID 0b05:1742 ASUSTek Computer, Inc.
Device Descriptor:
  bLength                18
  bDescriptorType        1
  bcdUSB              2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass        0
  bDeviceProtocol        0
  bMaxPacketSize0        64
  idVendor          0x0b05 ASUSTek Computer, Inc.
  idProduct          0x1742
  bcdDevice            1.01
  iManufacturer          1 Ralink
  iProduct                2 802.11 n WLAN
  iSerial                3 1.0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                9
    bDescriptorType        2
    wTotalLength          67
    bNumInterfaces          1
    bConfigurationValue    1
    iConfiguration          0
    bmAttributes        0x80
      (Bus Powered)
    MaxPower              450mA
    Interface Descriptor:
      bLength                9
      bDescriptorType        4
      bInterfaceNumber        0
      bAlternateSetting      0
      bNumEndpoints          7
      bInterfaceClass      255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              5 1.0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0200  1x 512 bytes
        bInterval              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0200  1x 512 bytes
        bInterval              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0200  1x 512 bytes
        bInterval              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0200  1x 512 bytes
        bInterval              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0200  1x 512 bytes
        bInterval              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x05  EP 5 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0200  1x 512 bytes
        bInterval              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x06  EP 6 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0200  1x 512 bytes
        bInterval              0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType        6
  bcdUSB              2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass        0
  bDeviceProtocol        0
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:    0x0000
  (Bus Powered)

I have the install cd that came with the motherboard and I cannot get the linux drivers to work properly. Below are the instructions and I dont know how to do step 4. I did all of the rest.

Code:

Build Instructions: 
===================
1> $tar -xvzf RT2870_Linux_STA_Drv_x.x.x.x.tar.gz
        go to "./RT2870_Linux_STA_Drv_x.x.x.x/" directory.

2> prepare the firmware (bin file) and the profile (dat file).
        $cp common/rt2870.bin /etc/Wireless/RT2870STA/
        $cp RT2870STA.dat  /etc/Wireless/RT2870STA/

3> compile the source code.
        $make all

4.> go to "os/linux/" directory.
        $load

        #[kernel 2.4]
        #        $/sbin/insmod rt2870sta.o
        #        $/sbin/ifconfig ra0 inet YOUR_IP up

        #[kernel 2.6]
        #        $/sbin/insmod rt2870sta.ko
        #        $/sbin/ifconfig ra0 inet YOUR_IP up

5.> If you wnat to clean the tree, just "make clean".
        It will clean the target and mode you set.








So, what I have done is install ndiswrapper and tried many of the windows drivers however. (I am following these instructions: http://stuntmanandy.no-ip.biz/Howto%27s.html). When I get to the step where it says (about 2/3rds down the page):

Code:

still in the console  type ndiswrapper -l( thats lower case L)

this should bring up a list of drivers installed and tell you if the hardware is present
something like this

Installed ndis drivers:
bcmwl5  driver present, hardware present (bcmwl5 is my driver,yours will be different)

if you got this far great

I get this:

Code:

linux-hlsi:/sbin # ndiswrapper -l
netrtuw : driver installed
linux-hlsi:/sbin #

I can link the device to the file by doing ndisdriver -a devid driver, but it doesnt work.

I appreciate all your help, and I hope that I have provided enough information. This is kinda frustrating. I am using Suse 10.3 and Kernal 2.6 something. I dont know exactly, or really how to get it.

Again, thank you,
Tom

Larry Webb 06-03-2008 05:37 AM

I ran into a similar problem and if I remember right there can only be one driver in the ndiswrapper. I think this is the article I used for my install.

http://en.opensuse.org/SDB:Broadcom_...ion_under_SUSE

I also had a new usb dongle wireless that worked only when it felt like it, I installed an internal and that fixed the problem.


All times are GMT -5. The time now is 02:25 PM.