Results 1 to 2 of 2

Thread: Fixing Network Connectivity Issues in Kali 2.0 Alfa AWUS036H/rtl8187

  1. #1
    Join Date
    2015-Oct
    Posts
    8

    Fixing Network Connectivity Issues in Kali 2.0 Alfa AWUS036H/rtl8187

    Wireless Network Issues with Kali 2.0 64bit
    Wireless card Alfa AWUS036H/rtl8187
    For WPA type network

    Hello,
    I had been running Kali (off and on) for a while before the upgrade to Kali 2.0, and while getting the networking to work properly before was an adventure in and of itself, with Kali 2.0, I'm back to networking issues. Specifically, while I am able to connect to the internet wired flawlessly, the wireless connection is spotty. It tends to drop off for no apparent reason citing "No probe response from AP [addr] after 500ms, disconnecting." via
    Code:
    dmesg |grep wlan0
    Previously I connected to the intenet via command line but this method doesn't work by default. So I am going to restore this method on Kali 2.0, as I had no issues with it before and am currently unable (or uninitiated) to solve them with the current setup on Kali 2.0. Before we get started, note that some of these commands require to be ran as root, so if you are logged in as a standard, either login to root or
    Code:
    sudo -i
    , also please verify that you have each of the following tools installed by running
    Code:
    apt-get update && apt-get install wpasupplicant iw ip ping
    First I will start by
    Code:
    sudo apt-get --purge autoremove network-manager
    This will remove the current network manager and (hopefully) remove any potential interferences. I would also recommend a reboot at this point.

    Next run:
    Code:
    iw dev
    This will show wireless device(s). Note your wireless devices interface name

    Code:
    ip link set wlan0 up
    This will put your wireless device in the “UP” state

    Code:
    iw wlan0 link
    Should show “Not connected” at this point

    Code:
    iw wlan0 scan
    Will show available networks. Note ssid of desired network

    Code:
    wpa_passphrase [Enter Your SSID Here] >> /etc/wpa_supplicant.conf
    [Enter passphrase]
    This will create a file with your network information

    Code:
    cat /etc/wpa_supplicant.conf
    Verify that the file has been created and network name and passphrase are correct

    Code:
    wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant.conf
    -B means run wpa_supplicant in the background
    -D specifies wireless driver. wext is the generic driver
    -c specifies the path for the configuration file
    You may get ioctl[SIOCSIWENCODEEXT]: Invalid argument I'm not sure what this means but it doesn't seem to effect anything.

    Code:
    iw wlan0 link
    Should now show that you are connected.

    Code:
    dhclient wlan0
    Assigns an IP address


    Code:
    ping -c 3 www.google.com
    Should show that you are now connected to the internet.


    While this will connect you to the internet, and shouldn't drop your connection anymore, It does make the built in gui in Settings for your wifi not work anymore saying “The system network services are not compatible with this version.” I don't know if there is a fix for this but you can install wicd-gtk if you prefer a graphical frontend for your wireless management.

    Anyway, I hope this fixes any network connectivity issues you may be experiencing in Kali 2.0. I have been running with this configuration for 10+ hours now with no connectivity issues; much longer than the usually 2-45 minutes my connection lasted previously.

    Most of this guide was taken/adapted from guides at www.blackmoreops.com.

    Let me know if you have any issues.

  2. #2
    I have the same card and the same problem with any linux distro. I think it has to do more with the drivers than with Kali.

    The way I fix it is simple:
    iwconfig wlan0 rate 5.5M

    With this setting my speed is capped at around 500KB/s.

Similar Threads

  1. Replies: 4
    Last Post: 2015-09-16, 17:57
  2. Replies: 14
    Last Post: 2015-09-14, 18:53
  3. Alfa AWUS036H issues on Thinkpad E540
    By fiz in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2014-09-27, 04:10

Tags for this Thread

Posting Permissions

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