Results 1 to 9 of 9

Thread: Unable to Host a Hotspot through Kali Linux

  1. #1
    Join Date
    2015-Nov
    Posts
    12

    Unable to Host a Hotspot through Kali Linux

    This is the first time I am facing some issue like this and googling the same didn't help much either.
    Here is the video link :
    https://vimeo.com/212354364

    My Laptop : HP pavilion 15r007tx

    Earlier Hotspot on Kali Linux used to work fine I dont know what happened after I reinstalled it.
    Below is some more information

    Code:
    lspci
    Output:
    Code:
    00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
    00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
    00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
    00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
    00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
    00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
    00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4)
    00:1c.1 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 2 (rev e4)
    00:1c.2 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
    00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4)
    00:1c.5 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 6 (rev e4)
    00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
    00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
    00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
    00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
    02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)
    08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 07)
    09:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] (rev a1)
    0a:00.0 Network controller: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe
    0a:00.1 Bluetooth: Ralink corp. RT3290 Bluetooth
    Code:
    rfkill list all
    Output :
    Code:
    0: phy0: Wireless LAN
    	Soft blocked: no
    	Hard blocked: no
    1: hp-wifi: Wireless LAN
    	Soft blocked: no
    	Hard blocked: no
    2: hp-bluetooth: Bluetooth
    	Soft blocked: no
    	Hard blocked: no
    Code:
    dmesg | grep wlan0
    Output:
    Code:
    [   19.428400] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [   19.541713] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [   19.625680] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [   19.906314] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [  363.117025] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [  678.155443] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [  993.129839] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 1308.148217] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 1598.133842] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 1598.217738] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 1598.305782] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 1598.566187] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 1941.173117] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 2256.159530] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 2571.177865] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 2886.208241] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 3201.222686] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 3516.217114] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 3831.219626] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 4146.229947] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 4461.244463] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 4776.250710] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    Note : If there is some more information required please let me know
    Last edited by Sam99xxx1; 2017-04-08 at 04:31. Reason: Remove YouTube link

  2. #2
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Copy-paste the following command into the Terminal and then press ENTER:

    gksudo gedit /etc/modprobe.d/blacklist.conf

    ADD the following configuration line into the file /etc/modprobe.d/blacklist.conf:

    blacklist hp_wmi
    blacklist hp_wireless


    SAVE the change to the /etc/modprobe.d/blacklist.conf file.

    Then REBOOT.
    Last edited by _defalt; 2017-04-08 at 06:18.

  3. #3
    Join Date
    2015-Nov
    Posts
    12
    Quote Originally Posted by _defalt View Post
    Copy-paste the following command into the Terminal and then press ENTER:

    gksudo gedit /etc/modprobe.d/blacklist.conf

    ADD the following configuration line into the file /etc/modprobe.d/blacklist.conf:

    blacklist hp_wmi

    SAVE the change to the /etc/modprobe.d/blacklist.conf file.

    Then REBOOT.
    I hope that I did exactly the same as you mentioned above.
    But still the same problem.
    Here is the image for cross verification
    Screenshot from 2017-04-07 12-54-18.jpg

    Is there any other information you want me to post about my laptop?
    Thanks for the reply

  4. #4
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Show the output of lsmod and modinfo hp_wmi | head

  5. #5
    Join Date
    2015-Nov
    Posts
    12
    Quote Originally Posted by _defalt View Post
    Show the output of lsmod and modinfo hp_wmi | head
    Code:
    lsmod
    Output :
    Code:
    Module                  Size  Used by
    fuse                   98304  3
    nfnetlink_queue        24576  0
    nfnetlink_log          20480  0
    nfnetlink              16384  2 nfnetlink_log,nfnetlink_queue
    bluetooth             552960  0
    uvcvideo               90112  0
    videobuf2_vmalloc      16384  1 uvcvideo
    intel_rapl             20480  0
    videobuf2_memops       16384  1 videobuf2_vmalloc
    arc4                   16384  2
    videobuf2_v4l2         24576  1 uvcvideo
    videobuf2_core         36864  2 uvcvideo,videobuf2_v4l2
    x86_pkg_temp_thermal    16384  0
    rt2800pci              16384  0
    rt2800mmio             20480  1 rt2800pci
    rt2800lib              94208  2 rt2800mmio,rt2800pci
    videodev              176128  3 uvcvideo,videobuf2_core,videobuf2_v4l2
    media                  40960  2 uvcvideo,videodev
    rt2x00pci              16384  1 rt2800pci
    rt2x00mmio             16384  2 rt2800mmio,rt2800pci
    rt2x00lib              53248  5 rt2800lib,rt2x00pci,rt2800mmio,rt2x00mmio,rt2800pci
    nouveau              1544192  1
    snd_hda_codec_hdmi     49152  1
    intel_powerclamp       16384  0
    eeprom_93cx6           16384  1 rt2800pci
    iTCO_wdt               16384  0
    mac80211              671744  3 rt2800lib,rt2x00pci,rt2x00lib
    coretemp               16384  0
    snd_hda_codec_realtek    90112  1
    snd_hda_codec_generic    69632  1 snd_hda_codec_realtek
    iTCO_vendor_support    16384  1 iTCO_wdt
    i915                 1236992  16
    snd_hda_intel          36864  8
    mxm_wmi                16384  1 nouveau
    snd_hda_codec         135168  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
    ttm                    98304  1 nouveau
    kvm                   589824  0
    joydev                 20480  0
    snd_hda_core           81920  5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
    cfg80211              589824  2 rt2x00lib,mac80211
    drm_kms_helper        155648  2 nouveau,i915
    snd_hwdep              16384  1 snd_hda_codec
    irqbypass              16384  1 kvm
    snd_pcm               110592  4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
    snd_timer              32768  1 snd_pcm
    intel_cstate           16384  0
    crc_ccitt              16384  1 rt2800lib
    intel_uncore          118784  0
    rfkill                 24576  5 bluetooth,cfg80211
    intel_rapl_perf        16384  0
    evdev                  24576  16
    rtsx_pci_ms            20480  0
    memstick               20480  1 rtsx_pci_ms
    sg                     32768  0
    serio_raw              16384  0
    drm                   360448  11 nouveau,i915,ttm,drm_kms_helper
    pcspkr                 16384  0
    dw_dmac                16384  0
    snd_soc_sst_acpi       16384  0
    snd                    86016  24 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek,snd_pcm
    battery                16384  0
    ac                     16384  0
    soundcore              16384  1 snd
    snd_soc_sst_match      16384  1 snd_soc_sst_acpi
    video                  40960  2 nouveau,i915
    dw_dmac_core           24576  1 dw_dmac
    mei_me                 36864  0
    wmi                    16384  2 mxm_wmi,nouveau
    lpc_ich                24576  0
    soc_button_array       16384  0
    shpchp                 36864  0
    mei                   102400  1 mei_me
    i2c_algo_bit           16384  2 nouveau,i915
    button                 16384  2 nouveau,i915
    tpm_tis                16384  0
    tpm_tis_core           20480  1 tpm_tis
    tpm                    45056  2 tpm_tis,tpm_tis_core
    binfmt_misc            20480  1
    ip_tables              24576  0
    x_tables               36864  1 ip_tables
    autofs4                40960  2
    ext4                  585728  1
    crc16                  16384  2 bluetooth,ext4
    jbd2                  106496  1 ext4
    crc32c_generic         16384  0
    fscrypto               28672  1 ext4
    ecb                    16384  0
    mbcache                16384  2 ext4
    hid_generic            16384  0
    usbhid                 53248  0
    sr_mod                 24576  0
    sd_mod                 45056  3
    cdrom                  61440  1 sr_mod
    rtsx_pci_sdmmc         24576  0
    crct10dif_pclmul       16384  0
    crc32_pclmul           16384  0
    crc32c_intel           24576  2
    ghash_clmulni_intel    16384  0
    aesni_intel           167936  0
    aes_x86_64             20480  1 aesni_intel
    lrw                    16384  1 aesni_intel
    gf128mul               16384  1 lrw
    glue_helper            16384  1 aesni_intel
    ablk_helper            16384  1 aesni_intel
    ahci                   36864  2
    cryptd                 24576  3 ablk_helper,ghash_clmulni_intel,aesni_intel
    libahci                32768  1 ahci
    i2c_i801               24576  0
    i2c_smbus              16384  1 i2c_i801
    psmouse               135168  0
    libata                249856  2 ahci,libahci
    scsi_mod              225280  4 sd_mod,libata,sr_mod,sg
    xhci_pci               16384  0
    ehci_pci               16384  0
    ehci_hcd               81920  1 ehci_pci
    xhci_hcd              188416  1 xhci_pci
    r8169                  81920  0
    rtsx_pci               57344  2 rtsx_pci_sdmmc,rtsx_pci_ms
    mii                    16384  1 r8169
    mfd_core               16384  2 lpc_ich,rtsx_pci
    usbcore               249856  6 uvcvideo,usbhid,ehci_hcd,xhci_pci,xhci_hcd,ehci_pci
    usb_common             16384  1 usbcore
    fan                    16384  0
    thermal                20480  0
    i2c_hid                20480  0
    hid                   122880  3 i2c_hid,hid_generic,usbhid
    sdhci_acpi             16384  0
    sdhci                  45056  1 sdhci_acpi
    mmc_core              147456  3 rtsx_pci_sdmmc,sdhci,sdhci_acpi
    i2c_designware_platform    16384  0
    i2c_designware_core    20480  1 i2c_designware_platform
    Code:
    modinfo hp_wmi | head
    Output:
    Code:
    filename:       /lib/modules/4.9.0-kali3-amd64/kernel/drivers/platform/x86/hp-wmi.ko
    alias:          wmi:5FB7F034-2C63-45e9-BE91-3D44E2C707E4
    alias:          wmi:95F24279-4D7B-4334-9387-ACCDC67EF61C
    license:        GPL
    description:    HP laptop WMI hotkeys driver
    author:         Matthew Garrett <[email protected]>
    depends:        wmi,sparse-keymap,rfkill
    intree:         Y
    vermagic:       4.9.0-kali3-amd64 SMP mod_unload modversions
    Last edited by Sam99xxx1; 2017-04-08 at 06:41. Reason: Update information

  6. #6
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    I added another module in the blacklist.conf. See my previous post.
    Last edited by _defalt; 2017-04-08 at 06:19.

  7. #7
    Join Date
    2015-Nov
    Posts
    12
    Quote Originally Posted by _defalt View Post
    I added another module in the blacklist.conf. See my previous post.
    Still the same problem
    Screenshot from 2017-04-08 11-57-03.jpg

    Should I output something else from the console to give you more insight?

    Here is a video link regarding the problem.
    https://vimeo.com/212360728
    Last edited by Sam99xxx1; 2017-04-08 at 06:48. Reason: Added a video

  8. #8
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Are you able to use wifi after blacklisting those 2 modules?
    Keep them in that blacklist file, they are unnecessary. In future if your wifi adapter shows any problem, you can remove them from that file.

    I'll find a fix soon for hotspot. I never enabled hotspot in kali so your problem can also be in my PC too.

  9. #9
    Join Date
    2015-Nov
    Posts
    12
    Yes I am able to connect to any WiFi and internet works fine that way as well and I used to host a hot-spot all day 2 days back. I thought of reinstalling Kali Linux and now this is the problem I am facing
    Thank You for your help I love this community because of people like you

    Edit:
    The problem is solved
    Code for solving the issue
    Code:
    hostnamectl --pretty set-hostname $(hostname)
    This post helped me solve the problem
    http://unix.stackexchange.com/questi...h-linux/349358

    I hope Kali Team will fix this bug in the next version
    Cheers
    Last edited by Sam99xxx1; 2017-04-08 at 08:17.

Similar Threads

  1. [wget] unable to resolve host address 'offs.ec'
    By jayzee_ in forum Installing NetHunter
    Replies: 2
    Last Post: 2022-11-01, 06:02
  2. Unable to VNC into Kali host
    By droidus in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2020-03-29, 23:44
  3. Kali Linux Vbox host. Unable to start VM
    By expphoto in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2016-03-20, 22:21
  4. Replies: 4
    Last Post: 2014-05-28, 17:18

Posting Permissions

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