Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 35

Thread: SOLUTION: Kali Linux on Raspberry Pi Zero W with bluetooth and wifi support

  1. #21
    Senior Member
    Join Date
    Nov 2015
    Location
    Australia
    Posts
    129
    That's very bizarre. Any hints in your logs?

    Here’s what I do without getting any errors:

    cd /usr/local/src/re4son-kernel_4.4.50-20170729/nexmon/armhf/
    cp /lib/firmware/brcm/brcmfmac43430-sdio.bin /root/.brcmfmac43430-sdio.orig.bin
    cp ./brcmfmac.ko /root/
    cp ./brcmfmac43430-sdio.bin /lib/firmware/brcm/
    cp ./nexutil /usr/bin/
    rmmod brcmfmac
    insmod /root/brcmfmac.ko
    nexutil -m2
    nexutil -m0
    nexutil -m2
    nexutil -m0
    nexutil -m2
    nexutil -m0

    journalctl | grep NEXMON
    Aug 02 23:08:03 kali kernel: brcmfmac: nexmon_nl_ioctl_handler: NEXMON: nexmon_nl_ioctl_handler: Enter
    Aug 02 23:08:03 kali kernel: brcmfmac: nexmon_nl_ioctl_handler: NEXMON: nexmon_nl_ioctl_handler: 0058454e 20 36
    Aug 02 23:08:03 kali kernel: brcmfmac: nexmon_nl_ioctl_handler: NEXMON: nexmon_nl_ioctl_handler: calling brcmf_fil_cmd_data_set, cmd: 108
    Aug 02 23:08:03 kali kernel: brcmfmac: nexmon_nl_ioctl_handler: NEXMON: nexmon_nl_ioctl_handler: WLC_SET_MONITOR = 0
    Aug 02 23:08:03 kali kernel: brcmfmac: nexmon_nl_ioctl_handler: NEXMON: nexmon_nl_ioctl_handler: Exit
    Aug 02 23:08:04 kali kernel: brcmfmac: nexmon_nl_ioctl_handler: NEXMON: nexmon_nl_ioctl_handler: Enter
    Aug 02 23:08:04 kali kernel: brcmfmac: nexmon_nl_ioctl_handler: NEXMON: nexmon_nl_ioctl_handler: 0058454e 20 36
    Aug 02 23:08:09 kali kernel: brcmfmac: nexmon_nl_ioctl_handler: NEXMON: nexmon_nl_ioctl_handler: Enter
    Aug 02 23:08:09 kali kernel: brcmfmac: nexmon_nl_ioctl_handler: NEXMON: nexmon_nl_ioctl_handler: 0058454e 20 36
    Aug 02 23:08:09 kali kernel: brcmfmac: nexmon_nl_ioctl_handler: NEXMON: nexmon_nl_ioctl_handler: calling brcmf_fil_cmd_data_set, cmd: 108
    Aug 02 23:08:09 kali kernel: brcmfmac: nexmon_nl_ioctl_handler: NEXMON: nexmon_nl_ioctl_handler: WLC_SET_MONITOR = 2
    Aug 02 23:08:09 kali kernel: brcmfmac: nexmon_nl_ioctl_handler: NEXMON: nexmon_nl_ioctl_handler: Exit
    Aug 02 23:08:11 kali kernel: brcmfmac: nexmon_nl_ioctl_handler: NEXMON: nexmon_nl_ioctl_handler: Enter
    Aug 02 23:08:11 kali kernel: brcmfmac: nexmon_nl_ioctl_handler: NEXMON: nexmon_nl_ioctl_handler: 0058454e 20 36
    Aug 02 23:08:11 kali kernel: brcmfmac: nexmon_nl_ioctl_handler: NEXMON: nexmon_nl_ioctl_handler: calling brcmf_fil_cmd_data_set, cmd: 108
    Aug 02 23:08:11 kali kernel: brcmfmac: nexmon_nl_ioctl_handler: NEXMON: nexmon_nl_ioctl_handler: WLC_SET_MONITOR = 0
    Aug 02 23:08:58 kali kernel: brcmfmac: nexmon_nl_ioctl_handler: NEXMON: nexmon_nl_ioctl_handler: Enter
    Aug 02 23:08:58 kali kernel: brcmfmac: nexmon_nl_ioctl_handler: NEXMON: nexmon_nl_ioctl_handler: 0058454e 20 36
    Aug 02 23:08:58 kali kernel: brcmfmac: nexmon_nl_ioctl_handler: NEXMON: nexmon_nl_ioctl_handler: calling brcmf_fil_cmd_data_set, cmd: 108
    Aug 02 23:08:58 kali kernel: brcmfmac: nexmon_nl_ioctl_handler: NEXMON: nexmon_nl_ioctl_handler: WLC_SET_MONITOR = 2
    Aug 02 23:08:58 kali kernel: brcmfmac: nexmon_nl_ioctl_handler: NEXMON: nexmon_nl_ioctl_handler: Exit
    Aug 02 23:09:01 kali kernel: brcmfmac: nexmon_nl_ioctl_handler: NEXMON: nexmon_nl_ioctl_handler: Enter
    Aug 02 23:09:01 kali kernel: brcmfmac: nexmon_nl_ioctl_handler: NEXMON: nexmon_nl_ioctl_handler: 0058454e 20 36
    Aug 02 23:09:01 kali kernel: brcmfmac: nexmon_nl_ioctl_handler: NEXMON: nexmon_nl_ioctl_handler: calling brcmf_fil_cmd_data_set, cmd: 108
    Aug 02 23:09:01 kali kernel: brcmfmac: nexmon_nl_ioctl_handler: NEXMON: nexmon_nl_ioctl_handler: WLC_SET_MONITOR = 0
    ----------------------------------------
    Check out "Sticky Fingers Kali-Pi":
    https://whitedome.com.au/kali-pi

    Now with mana-toolkit and more goodies!

  2. #22
    Junior Member
    Join Date
    Aug 2017
    Posts
    2
    Logs look identical to yours, actually. I got to messing with Kali and broke some stuff, so I decided to rebuild using Kali as a base, then installing re4son-kernel/headers/nexmon separately. It at least lets me exit monitor mode and re-enter it, but I haven't rebooted yet to see if it survives. Will edit this post if it does.

    Edit: it now survives a reboot, but I need to manually load the nexmon driver each time. This is perfectly fine and can be accomplished automatically. Thank you re4son for helping me troubleshoot!
    Last edited by bobdamnit; 2017-08-03 at 08:58 PM. Reason: Clarification

  3. #23
    Junior Member
    Join Date
    Dec 2016
    Posts
    20
    Hi everyone.

    How to disable all power saving settings in this OS? I disabled wlan0 power managegement but it seems my RPI0W still goes in sleep mode or something because after night there is no connection (wifi). Sometimes when i ping it for about 5 mins it's wake up but sometimes not...

  4. #24
    Junior Member
    Join Date
    Dec 2016
    Posts
    20
    Hi,

    I tired to enable ethernet gadget but i have no config.txt file! Please help...

  5. #25
    Senior Member
    Join Date
    Nov 2015
    Location
    Australia
    Posts
    129
    That's ok, just create it.
    Make sure you "mount /boot" first though.
    ----------------------------------------
    Check out "Sticky Fingers Kali-Pi":
    https://whitedome.com.au/kali-pi

    Now with mana-toolkit and more goodies!

  6. #26
    Junior Member
    Join Date
    Sep 2017
    Posts
    1
    Hi...i am a new user here. As per my knowledge mounting it I dont see config.txt, i tried creating one and didnt work , also tried copying a default one from raspian that had text already adding text and still not pulling up an IP from DHCP when the rdnis device is up.

  7. #27
    Junior Member
    Join Date
    Dec 2016
    Posts
    20
    I can confirm the above: I can recive ping from 192.168.137.1 but nothing else.

  8. #28
    Senior Member
    Join Date
    Nov 2015
    Location
    Australia
    Posts
    129
    Sorry for not getting back to you earlier - I was away on holiday.
    Let me look into that. Are you running Sticky Fingers on the Pi and Windows 10 on your PC?
    ----------------------------------------
    Check out "Sticky Fingers Kali-Pi":
    https://whitedome.com.au/kali-pi

    Now with mana-toolkit and more goodies!

  9. #29
    Junior Member
    Join Date
    Dec 2016
    Posts
    20
    Hi,

    I have newest unofficial Kali Linux 2017.1 image with Re4son Kernel, and Windows 10 but I tried also on Windows 7. On 4.4.50 was ok.

  10. #30
    Senior Member
    Join Date
    Nov 2015
    Location
    Australia
    Posts
    129
    Odd, I can't reproduce the issue. It's all working fine when I do it.
    Can you please try the latest unofficial 2017.2 release?

    Did you enable ICS on the adapter that has the Internet access?
    ----------------------------------------
    Check out "Sticky Fingers Kali-Pi":
    https://whitedome.com.au/kali-pi

    Now with mana-toolkit and more goodies!

Posting Permissions

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