Menu

Driver loaded fine but refuses to connect

rtl-wifi
Verminoz
2008-03-22
2013-05-02
  • Verminoz

    Verminoz - 2008-03-22

    Hello,
    I have a laptop with the RTL8187 WiFi interface. I installed Debian on the laptop, compiled and loaded the driver myself. Everything went fine. The network manager accessed my home wireless network and it asked me for my passphrase to connect. I gave it the passphrase and it attempts to connect but after a while the same dialog appears and asks for the passphrase again. That repeats many many times and never succeeds!

    I tried it a thousand times! I entered the passphrase 100% correct, character-by-character with credentials visible but still it refuses to connect!

    Before Debian I had installed Kubuntu and that didn't manage to connect as well. At least not always. Sometimes it did.

    Please help! If it doesn't work I'll be forced to use Windows :( :'(

     
    • Eugene

      Eugene - 2008-03-24

      please post here lspci or lsusb. To recognize the device you are using.

       
    • slackadmin

      slackadmin - 2008-07-22

      If I were you I'd try to use the keys generated by the passphrase you've used.
      For instance, using WEP encryption with 64 bit:

      iwconfig wlan0 key [1] 1234567890
      iwconfig wlan0 key [2] 1122334455
      iwconfig wlan0 key [3] 6677889900
      iwconfig wlan0 key [4] 0987654321

      and then set the essid to see your AP:

      iwconfig wlan0 essid linux

      where linux is the name of your AP

      BR

       
    • tennis2

      tennis2 - 2008-07-22

      It should work. I've used a RTL8187L based device (Netgear WG111v2) on Debian Sarge, Etch and Lenny. I've used two different Access Points. With one (Netgear DG834G firmware V4.01.06) I could use WPA, with the other (BT HomeHub) I couldn't get WPA to work and had to use WEP.

      Which Debian version are you using ?

      Are you using WPA2, WPA or WEP ?

      I'm using wpa_supplicant (on Sarge a version I compiled from source, on Etch and Lenny the Debian provided version) to manage the network connection. What program are you using as your "network manager" ?

      n.b. There are many ways for "network manager" programs to control driver authentication. You probably need to specify "ipw" for this project's drivers.

       
    • Iñigo Martínez

      I'm still having this problem with both 2.6.28 and 2.6.29. This problem arises with NetworkManager, but trying with wpa_supplicant it shows a timeout. I have tried with a new laptop I have around (a Dell) and it's working with it. I have tried with Ubuntu 8.10 livecd so the system is the same in both. In the laptop is working, but it isn't in this computer. I can attach more data. Sorry for the huge message. Please, ask me for more information if needed.

      *********
      dmesg

      usb 3-3: new high speed USB device using ehci_hcd and address 3
      usb 3-3: configuration #1 chosen from 1 choice
      rtl8187: 8187B chip detected. Support is EXPERIMENTAL, and could damage your
               hardware, use at your own risk
      phy2: Selected rate control algorithm 'pid'
      phy2: hwaddr 00:18:e7:40:c1:6e, RTL8187BvE V0 + rtl8225z2
      usb 3-3: New USB device found, idVendor=0bda, idProduct=8189
      usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
      usb 3-3: Product: RTL8187B_WLAN_Adapter
      usb 3-3: Manufacturer: Manufacturer_Realtek
      usb 3-3: SerialNumber: 00e04c000001
      ADDRCONF(NETDEV_UP): wlan0: link is not ready

      *********
      modinfo rtl8187

      filename:       /lib/modules/2.6.28-gentoo-r1/kernel/drivers/net/wireless/rtl8187.ko
      license:        GPL
      description:    RTL8187/RTL8187B USB wireless driver
      author:         Andrea Merello <andreamrl@tiscali.it>
      author:         Michael Wu <flamingice@sourmilk.net>
      alias:          usb:v13D1pABE6d*dc*dsc*dp*ic*isc*ip*
      alias:          usb:v0DF6p0028d*dc*dsc*dp*ic*isc*ip*
      alias:          usb:v0DF6p000Dd*dc*dsc*dp*ic*isc*ip*
      alias:          usb:v03F0pCA02d*dc*dsc*dp*ic*isc*ip*
      alias:          usb:v0846p4260d*dc*dsc*dp*ic*isc*ip*
      alias:          usb:v0846p6A00d*dc*dsc*dp*ic*isc*ip*
      alias:          usb:v0846p6100d*dc*dsc*dp*ic*isc*ip*
      alias:          usb:v0BDAp8198d*dc*dsc*dp*ic*isc*ip*
      alias:          usb:v0BDAp8197d*dc*dsc*dp*ic*isc*ip*
      alias:          usb:v0BDAp8189d*dc*dsc*dp*ic*isc*ip*
      alias:          usb:v0BDAp8187d*dc*dsc*dp*ic*isc*ip*
      alias:          usb:v050Dp705Ed*dc*dsc*dp*ic*isc*ip*
      alias:          usb:v0B05p171Dd*dc*dsc*dp*ic*isc*ip*
      depends:        mac80211,eeprom_93cx6,cfg80211,usbcore
      vermagic:       2.6.28-gentoo-r1 mod_unload PENTIUM4

      *********

      lsusb -v

      Bus 003 Device 003: ID 0bda:8189 Realtek Semiconductor Corp. RTL8187B Wireless 802.11g 54Mbps Network Adapter
      Device Descriptor:
        bLength                18
        bDescriptorType         1
        bcdUSB               2.00
        bDeviceClass            0 (Defined at Interface level)
        bDeviceSubClass         0
        bDeviceProtocol         0
        bMaxPacketSize0        64
        idVendor           0x0bda Realtek Semiconductor Corp.
        idProduct          0x8189 RTL8187B Wireless 802.11g 54Mbps Network Adapter
        bcdDevice            2.00
        iManufacturer           1 Manufacturer_Realtek
        iProduct                2 RTL8187B_WLAN_Adapter
        iSerial                 3 00e04c000001
        bNumConfigurations      1
        Configuration Descriptor:
          bLength                 9
          bDescriptorType         2
          wTotalLength           81
          bNumInterfaces          1
          bConfigurationValue     1
          iConfiguration          4 Wireless Network Card
          bmAttributes         0x80
            (Bus Powered)
          MaxPower              500mA
          Interface Descriptor:
            bLength                 9
            bDescriptorType         4
            bInterfaceNumber        0
            bAlternateSetting       0
            bNumEndpoints           9
            bInterfaceClass       255 Vendor Specific Class
            bInterfaceSubClass    255 Vendor Specific Subclass
            bInterfaceProtocol    255 Vendor Specific Protocol
            iInterface              2 RTL8187B_WLAN_Adapter
            Endpoint Descriptor:
              bLength                 7
              bDescriptorType         5
              bEndpointAddress     0x83  EP 3 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     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
            Endpoint Descriptor:
              bLength                 7
              bDescriptorType         5
              bEndpointAddress     0x07  EP 7 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     0x89  EP 9 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     0x0a  EP 10 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     0x0b  EP 11 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     0x0c  EP 12 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)

      *********

      lspci -v (the controller where it's connected)

      00:0b.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 63) (prog-if 20 [EHCI])
          Subsystem: VIA Technologies, Inc. USB 2.0
          Flags: bus master, medium devsel, latency 32, IRQ 11
          Memory at d4000000 (32-bit, non-prefetchable) [size=256]
          Capabilities: [80] Power Management version 2
          Kernel driver in use: ehci_hcd
          Kernel modules: ehci-hcd

       

Log in to post a comment.