Results 1 to 8 of 8

Thread: kali linux 2017 continuosly disconnecting from wifi

  1. #1
    Junior Member
    Join Date
    Jun 2017
    Posts
    1

    kali linux 2017 continuosly disconnecting from wifi

    I have installed kali 2017..and using Lenovo laptop having rtl8821ae wifi card.I have dual boot of windows 10 and kali linux .When i am connecting it with wifi it is working,webpages are loading but suddenly webpages getting stop loading.it is disconnecting from wifi and it is happening in every 5 to 15 minutes after 5 and the i have to reconnect it but in windows there is no problem.I have installed the Network drivers but that did not solve my problem.If you need any further details plz inform me i can give yu any kind of information.can anyone help me plz....
    Last edited by Arijit1080; 2017-06-11 at 06:57 AM.

  2. #2
    Junior Member
    Join Date
    Jun 2017
    Posts
    3
    I am facing the exact same problem.

    I had already been looking in the forum for a solution but nothing worked until now.
    To solve it I tried the following:
    1. edit "/etc/resolv.conf" and changed nameserver from "192.168.0.1" to "8.8.8.8".
    2. edit "/etc/NetworkManager/NetworkManager.conf" and changed "managed=false" to "managed=true".

    My current workaround is to run "service network-manager restart" but as I have to do it every few minutes it's kind of a mess.

  3. #3
    Junior Member
    Join Date
    Jun 2017
    Posts
    2
    I'm also having this issue however mines not even generating the nameserver did you figure out a better fix for it?

  4. #4
    Senior Member
    Join Date
    Apr 2013
    Location
    in a computer
    Posts
    682
    To all,

    Have you ruled out any hardware problems (i.e. router, ISP, etc)? Anything nearby causing signal interference?

  5. #5
    Junior Member
    Join Date
    Jun 2017
    Posts
    3
    While this happens I am still connected to my router and can access its web interface. Only my Kali stick is facing this problem, other devices run fine. So the router (DNS) configuration should be fine.

    Right now I am using this script as dirty workaround. It will restart the network-manager if I am loosing connection:

    #!/bin/bash

    while true;
    do
    echo "Check if connected..."
    x=`ping -c1 google.com 2>&1 | grep unknown`
    if [ ! "$x" = "" ]; then
    echo "It's down! Try to restart."
    service network-manager restart
    fi
    sleep 5s
    done

    Maybe you need to adjust the "unknown" to your system language settings.

  6. #6
    Junior Member
    Join Date
    Feb 2014
    Posts
    8
    Quote Originally Posted by Arijit1080 View Post
    I have installed kali 2017..and using Lenovo laptop having rtl8821ae wifi card.I have dual boot of windows 10 and kali linux .When i am connecting it with wifi it is working,webpages are loading but suddenly webpages getting stop loading.it is disconnecting from wifi and it is happening in every 5 to 15 minutes after 5 and the i have to reconnect it but in windows there is no problem.I have installed the Network drivers but that did not solve my problem.If you need any further details plz inform me i can give yu any kind of information.can anyone help me plz....
    I have same problem. my usb wifi adapter RTL8192CU 802.11n WLAN Adapter. everything happened after the upgrade. 2017.2 to 2017.3

    Code:
    ##### kernel ############################
    
    Linux 4.13.0-kali1-amd64 #1 SMP Debian 4.13.4-2kali1 (2017-10-16) x86_64 unknown unknown GNU/Linux
    
    Parameters: ro, initrd=/install/gtk/initrd.gz, quiet
    
    ##### lsusb #############################
    
    Bus 005 Device 005: ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU 802.11n WLAN Adapter
    
    ##### rfkill ############################
    
    1: phy1: Wireless LAN
    	Soft blocked: no
    	Hard blocked: no
    
    ##### lsmod #############################
    
    rtl8192cu              65536  0
    rtl_usb                20480  1 rtl8192cu
    rtl8192c_common        53248  1 rtl8192cu
    rtlwifi                77824  3 rtl_usb,rtl8192c_common,rtl8192cu
    rt2800usb              28672  0
    rt2x00usb              20480  1 rt2800usb
    rt2800lib             110592  1 rt2800usb
    rt2x00lib              49152  3 rt2800lib,rt2800usb,rt2x00usb
    mac80211              659456  6 rt2800lib,rt2x00lib,rt2x00usb,rtl_usb,rtlwifi,rtl8192cu
    cfg80211              598016  3 rt2x00lib,mac80211,rtlwifi
    crc_ccitt              16384  1 rt2800lib
    rfkill                 24576  4 cfg80211
    usbcore               245760  8 usbhid,rt2800usb,rt2x00usb,ehci_hcd,uhci_hcd,rtl_usb,rtl8192cu,ehci_pci
    
    ##### iwconfig ##########################
    
    lo        no wireless extensions.
    
    eth0      no wireless extensions.
    
    wlan0     IEEE 802.11  ESSID:"XXXXXXXX"  
              Mode:Managed  Frequency:2.412 GHz  Access Point: <MAC 'XXXXXXXXXXXX' [AC1]>   
              Bit Rate=72.2 Mb/s   Tx-Power=20 dBm   
              Retry short limit:7   RTS thr=2347 B   Fragment thr:off
              Encryption key:off
              Power Management:off
              Link Quality=42/70  Signal level=-68 dBm  
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:311   Missed beacon:0
    
    
    
    ##### network managers ##################
    
    Installed:
    
    	NetworkManager
    
    Running:
    
    root       505     1  0 12:19 ?        00:00:10 /usr/sbin/NetworkManager --no-daemon
    
    ##### NetworkManager.state ##############
    
    [main]
    NetworkingEnabled=true
    WirelessEnabled=true
    WWANEnabled=true
    
    ##### NetworkManager.conf ###############
    
    [main]
    plugins=ifupdown,keyfile
    
    [ifupdown]
    managed=false
    
    ##### module infos ######################
    
    [rtl8192cu]
    filename:       /lib/modules/4.13.0-kali1-amd64/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rtl8192cu.ko
    firmware:       rtlwifi/rtl8192cufw_TMSC.bin
    firmware:       rtlwifi/rtl8192cufw_B.bin
    firmware:       rtlwifi/rtl8192cufw_A.bin
    firmware:       rtlwifi/rtl8192cufw.bin
    description:    Realtek 8192C/8188C 802.11n USB wireless
    license:        GPL
    author:         Larry Finger	<Larry.Finger@lwfinger.net>
    author:         Ziv Huang	<ziv_huang@realtek.com>
    author:         Georgia		<georgia@realtek.com>
    depends:        mac80211,rtlwifi,rtl8192c-common,rtl_usb,usbcore
    intree:         Y
    name:           rtl8192cu
    vermagic:       4.13.0-kali1-amd64 SMP mod_unload modversions 
    parm:           swenc:Set to 1 for software crypto (default 0)
     (bool)
    parm:           debug_level:Set debug level (0-5) (default 0) (int)
    parm:           debug_mask:Set debug mask (default 0) (ullong)
    
    [rtl_usb]
    filename:       /lib/modules/4.13.0-kali1-amd64/kernel/drivers/net/wireless/realtek/rtlwifi/rtl_usb.ko
    description:    USB basic driver for rtlwifi
    license:        GPL
    author:         Larry Finger	<Larry.FInger@lwfinger.net>
    author:         Realtek WlanFAE	<wlanfae@realtek.com>
    author:         lizhaoming	<chaoming_li@realsil.com.cn>
    depends:        mac80211,rtlwifi,usbcore
    intree:         Y
    name:           rtl_usb
    vermagic:       4.13.0-kali1-amd64 SMP mod_unload modversions 
    
    [rtl8192c_common]
    filename:       /lib/modules/4.13.0-kali1-amd64/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192c/rtl8192c-common.ko
    description:    Realtek 8192C/8188C 802.11n PCI wireless
    license:        GPL
    author:         Larry Finger	<Larry.Finger@lwfinger.net>
    author:         Ziv Huang	<ziv_huang@realtek.com>
    author:         Georgia		<georgia@realtek.com>
    author:         Realtek WlanFAE	<wlanfae@realtek.com>
    author:         lizhaoming	<chaoming_li@realsil.com.cn>
    depends:        rtlwifi
    intree:         Y
    name:           rtl8192c_common
    vermagic:       4.13.0-kali1-amd64 SMP mod_unload modversions 
    
    [rtlwifi]
    filename:       /lib/modules/4.13.0-kali1-amd64/kernel/drivers/net/wireless/realtek/rtlwifi/rtlwifi.ko
    description:    Realtek 802.11n PCI wireless core
    license:        GPL
    author:         Larry Finger	<Larry.FInger@lwfinger.net>
    author:         Realtek WlanFAE	<wlanfae@realtek.com>
    author:         lizhaoming	<chaoming_li@realsil.com.cn>
    depends:        mac80211,cfg80211
    intree:         Y
    name:           rtlwifi
    vermagic:       4.13.0-kali1-amd64 SMP mod_unload modversions 
    
    [rt2800usb]
    filename:       /lib/modules/4.13.0-kali1-amd64/kernel/drivers/net/wireless/ralink/rt2x00/rt2800usb.ko
    license:        GPL
    firmware:       rt2870.bin
    description:    Ralink RT2800 USB Wireless LAN driver.
    version:        2.3.0
    author:         http://rt2x00.serialmonkey.com
    srcversion:     119019A6DEA41106916CEC3
    depends:        rt2x00lib,rt2800lib,rt2x00usb,usbcore
    intree:         Y
    name:           rt2800usb
    vermagic:       4.13.0-kali1-amd64 SMP mod_unload modversions 
    parm:           nohwcrypt:Disable hardware encryption. (bool)
    
    [rt2x00usb]
    filename:       /lib/modules/4.13.0-kali1-amd64/kernel/drivers/net/wireless/ralink/rt2x00/rt2x00usb.ko
    license:        GPL
    description:    rt2x00 usb library
    version:        2.3.0
    author:         http://rt2x00.serialmonkey.com
    srcversion:     CF81CEFEDB55E644BB144E0
    depends:        usbcore,rt2x00lib,mac80211
    intree:         Y
    name:           rt2x00usb
    vermagic:       4.13.0-kali1-amd64 SMP mod_unload modversions 
    
    [rt2800lib]
    filename:       /lib/modules/4.13.0-kali1-amd64/kernel/drivers/net/wireless/ralink/rt2x00/rt2800lib.ko
    license:        GPL
    description:    Ralink RT2800 library
    version:        2.3.0
    author:         http://rt2x00.serialmonkey.com, Bartlomiej Zolnierkiewicz
    srcversion:     9B1F2560B6FE8E2EB380CC8
    depends:        rt2x00lib,mac80211,crc-ccitt
    intree:         Y
    name:           rt2800lib
    vermagic:       4.13.0-kali1-amd64 SMP mod_unload modversions 
    
    [rt2x00lib]
    filename:       /lib/modules/4.13.0-kali1-amd64/kernel/drivers/net/wireless/ralink/rt2x00/rt2x00lib.ko
    license:        GPL
    description:    rt2x00 library
    version:        2.3.0
    author:         http://rt2x00.serialmonkey.com
    srcversion:     B9E2A6336FC07B44B4F702A
    depends:        mac80211,cfg80211
    intree:         Y
    name:           rt2x00lib
    vermagic:       4.13.0-kali1-amd64 SMP mod_unload modversions 
    
    [mac80211]
    filename:       /lib/modules/4.13.0-kali1-amd64/kernel/net/mac80211/mac80211.ko
    license:        GPL
    description:    IEEE 802.11 subsystem
    depends:        cfg80211
    intree:         Y
    name:           mac80211
    vermagic:       4.13.0-kali1-amd64 SMP mod_unload modversions 
    parm:           max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int)
    parm:           max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int)
    parm:           beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int)
    parm:           probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int)
    parm:           ieee80211_default_rc_algo:Default rate control algorithm for mac80211 to use (charp)
    
    [cfg80211]
    filename:       /lib/modules/4.13.0-kali1-amd64/kernel/net/wireless/cfg80211.ko
    description:    wireless configuration support
    license:        GPL
    author:         Johannes Berg
    depends:        rfkill
    intree:         Y
    name:           cfg80211
    vermagic:       4.13.0-kali1-amd64 SMP mod_unload modversions 
    parm:           bss_entries_limit:limit to number of scan BSS entries (per wiphy, default 1000) (int)
    parm:           ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
    parm:           cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)
    
    ##### module parameters #################
    
    [rtl8192cu]
    debug_level: 0
    debug_mask: 0
    swenc: N
    
    [rt2800usb]
    nohwcrypt: N
    
    [mac80211]
    beacon_loss_count: 7
    ieee80211_default_rc_algo: minstrel_ht
    max_nullfunc_tries: 2
    max_probe_tries: 5
    probe_wait_ms: 500
    
    [cfg80211]
    bss_entries_limit: 1000
    cfg80211_disable_40mhz_24ghz: N
    ieee80211_regdom: 00
    
    ##### /etc/modules ######################
    
    ##### modprobe options ##################
    
    [/etc/modprobe.d/amd64-microcode-blacklist.conf]
    blacklist microcode
    
    [/etc/modprobe.d/ath9k_htc.conf]
    options ath9k_htc use_dev_fw=1
    
    [/etc/modprobe.d/blacklist-libnfc.conf]
    blacklist nfc
    blacklist pn533
    
    [/etc/modprobe.d/intel-microcode-blacklist.conf]
    blacklist microcode
    
    [/etc/modprobe.d/libhackrf0.conf]
    blacklist hackrf
    Last edited by blackrazor; 2017-11-03 at 01:14 PM.

  7. #7

  8. #8
    Junior Member
    Join Date
    Feb 2014
    Posts
    8
    Quote Originally Posted by R3V3NG3R View Post
    (Realtek RTL8192cu) still the problem continues. I am using another usb wireless adapter (Ralink RT3072). no freezing on connection, no interruption in data flow, no breaks. Only the signal looks low.

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
  •