Page 1 of 2 12 LastLast
Results 1 to 50 of 78

Thread: Install Kali ARM on a Raspberry Pi

  1. #1
    Join Date
    2013-Feb
    Posts
    33

    Install Kali ARM on a Raspberry Pi

    To install KALI ARM distribution on a Raspberry Pi, please read the article below:


    To read the full document, check our Install Kali ARM on a Raspberry Pi article.


    If you have any issues with this procedure, please post them in this thread.
    Last edited by bolexxx; 2013-03-13 at 14:25.

  2. #2
    Join Date
    2013-Mar
    Posts
    2
    Hello!

    I just tried to install the Kali ARM on a Raspberry Pi, exact to the Instruction.....
    The image was copied to the sd-card, but it only generates one partition!?!
    That`s not normal.
    After I insered the sc-card to the r-pi, it won`t boot up.

    IDEA?!?

    Thanks.

    Greats
    Chris

  3. #3
    Join Date
    2013-Mar
    Posts
    2
    The image that is downloaded is not appropriate for the Raspberry Pi. I found this address in twitter where you can download all images, and you can see that this one corresponding to Raspberry Pi

    http://cdimage.kali.org/

  4. #4
    Join Date
    2013-Mar
    Posts
    7
    works for me

  5. #5
    Join Date
    2013-Mar
    Posts
    1
    I have downloaded the nightly raspberry build and flashed it with win32diskutility but it does not boot up

  6. #6
    Join Date
    2013-Mar
    Posts
    2
    Hey,

    now I used the Imgae from here
    http://cdimage.kali.org/
    and now it works!

    Only Wifi is still not working, but tomorrow is another day! :-)
    (P.S. I`m from germany :-) )

    Remember: Use min 8GB SD-Card

  7. #7
    Join Date
    2013-Mar
    Posts
    1
    Hello,

    I tried many times to install Kali on my RPi, but it never boot up.
    First time, I used the image from the download page then the image from http://cdimage.kali.org/ but no changes.
    (I tried to install with the instuctions from site and with Win32DiskImager)

    Any idea ? I have a 16GB SD-CARD SANDISK

  8. #8
    Join Date
    2013-Mar
    Posts
    3
    I have Kali running on my Pi just fine but when I go to start the metasploit service it is unrecognized(#service metasploit start). Msfconsole runs properly but you are unable to do anything because it wont link to the Database. Is anyone else having this problem?

    Database Service works just fine though(#service postgresql start)

  9. #9
    Join Date
    2013-Mar
    Posts
    3
    I have solved the problem with the Win32DiskImager. It is how you extract it that controls if it will work. I got it working with WinRar. The first time I tried I just renamed it and the image would not work.

  10. #10
    Join Date
    2013-Mar
    Posts
    1
    I succesfull installed the image to my SD card but I can't use my Wireless Adapter

    Code:
    root@kali:~# lsusb
    Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
    Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
    
    root@kali:~# iwconfig
    wlan0     unassociated  Nickname:"<WIFI@REALTEK>"
              Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated
              Sensitivity:0/0
              Retry:off   RTS thr:off   Fragment thr:off
              Encryption key:off
              Power Management:off
              Link Quality:0  Signal level:0  Noise level:0
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:0   Missed beacon:0
    lo        no wireless extensions.
    eth0      no wireless extensions.
    root@kali:~# airmon-ng
    
    Interface       Chipset         Driver
    root@kali:~#
    Anyone ideas?

  11. #11
    Join Date
    2013-Mar
    Posts
    8

    [Solved]

    First do ifup wlan0 (even thout it shows in iwconfig the actual interface is down on boot) add it to /etc/network/interfaces to start at boot.e
    You will also have to associate using iwconfig. Type iwconfig --help to see options.
    Next you need to run dhclient to obtain an ipv4 address if that is what your using.
    Finally you need to set your default gw.


    Quote Originally Posted by Brain View Post
    I succesfull installed the image to my SD card but I can't use my Wireless Adapter

    Code:
    root@kali:~# lsusb
    Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
    Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
    
    root@kali:~# iwconfig
    wlan0     unassociated  Nickname:"<WIFI@REALTEK>"
              Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated
              Sensitivity:0/0
              Retry:off   RTS thr:off   Fragment thr:off
              Encryption key:off
              Power Management:off
              Link Quality:0  Signal level:0  Noise level:0
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:0   Missed beacon:0
    lo        no wireless extensions.
    eth0      no wireless extensions.
    root@kali:~# airmon-ng
    
    Interface       Chipset         Driver
    root@kali:~#
    Anyone ideas?

  12. #12
    Join Date
    2013-May
    Posts
    5
    Quote Originally Posted by Brain View Post
    I succesfull installed the image to my SD card but I can't use my Wireless Adapter

    Code:
    root@kali:~# lsusb
    Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
    Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
    
    root@kali:~# iwconfig
    wlan0     unassociated  Nickname:"<WIFI@REALTEK>"
              Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated
              Sensitivity:0/0
              Retry:off   RTS thr:off   Fragment thr:off
              Encryption key:off
              Power Management:off
              Link Quality:0  Signal level:0  Noise level:0
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:0   Missed beacon:0
    lo        no wireless extensions.
    eth0      no wireless extensions.
    root@kali:~# airmon-ng
    
    Interface       Chipset         Driver
    root@kali:~#
    Anyone ideas?
    Even though this was solved, here are some suggestions for similar problems with other wireless cards.

    This is regarding the realtek adapter, but adjust accordingly for your adapter.

    Do an lsmod to make sure the proper kernel module is loaded.

    look for 8192cu (or the appropriate module for your adapter)
    if it is not loaded, load it with modprobe 8192cu (or modprobe the appropriate module for your adapter)

    According to http://wiki.debian.org/rtl819x#External_Links the 8188 should be supported in this module. Also from my reading, it appears that this module does not need firmware. I find that peculiar... but it may be true.

    For other wireless adapters, look on the Debian wiki for the appropriate adapter.


    Sometimes it is obvious that the Linux kernel module for the wireless card is available and loaded because the wlan (or eth or ath) device shows up BUT doing an ifconfig -a and looking at the MAC address and if it is all zeros, indicates that the firmware did not load. Also reviewing the /var/log/kern.log will show what happened when the WiFi card was plugged in.

    Make sure you configure your adapter using ifconfig or the methods mentioned in the forum article mentioned below. Otherwise the adapter will not be active and attached to your AP/Router. For general wireless sniffing, you won't need to attach to any AP/Router but will need it in UP state.


    If you do need firmware for that driver and adapter combination, make sure you have the firmware for the wireless card you are using. It should be located in /lib/firmware. If it is NOT, the following may help.

    Please note, the following is a guide. Since I don't have your particular adapter, the following is just a suggestion to give you some background information. Always remember you are fully responsible for messing around with your OS and device.

    Provided your RPi has an wired ethernet connection, try one of the following:

    A) apt-get may solve your problem. You may need to add "non-free" (no quotes) to the kali line in /etc/apt/sources.list in order to install non-free Realtek firmware for apt-get to find the package.

    then do an apt-get install firmware-realtek (or the appropriate package for your adapter)

    If apt-get can't find the package, add another line to /etc/apt/sources.list, something like this:
    deb http://ftp.us.debian.org/debian squeeze main contrib non-free

    then do an apt-get install firmware-realtek (or the appropriate package for your adapter)

    B) If that doesn't work,
    try wget http://ftp.de.debian.org/debian/pool...queeze1.tar.gz
    Extract the firmware from the archive. look for firmware-nonfree/realtek/ and put it in /lib/firmware.
    cd firmware-nonfree/; mv realtek /lib/firmware

    C) If that doesn't work, try using the general explanation regarding getting and activating wireless card firmware, in this thread article http://forums.kali.org/showthread.ph...ll=1#post12206

    Note regarding the above thread article: the firmware directory located within Picuntu may not have the specific firmware you need, but it is worth a try if the you can seem to apt-get the firmware.

    D) If all else fails maybe looking at the wireless adapter vendor's site. For realtek, look here http://www.realtek.com.tw/downloads/...Downloads=true for the drivers from realtek may be helpful.

    Whichever way you install the firmware, remember to unplug and replug your wireless USB adapter so it can try and load the firmware.
    Last edited by wireless; 2013-05-19 at 15:37.

  13. #13
    Join Date
    2013-Jul
    Posts
    2
    Hi awesome people. I downloaded and installed the image with minimal headache, when I enter startx to launch the GUI it informs me the command can't be found, has anyone encountered this and is there a fix? Thanks for any and all help.

    Kind regards

    H

  14. #14
    Join Date
    2013-Aug
    Posts
    1
    Does this come with ssh already enabled? Does anyone know how to enable ssh if I don't own a keyboard?

  15. #15
    Join Date
    2013-Aug
    Posts
    8

  16. #16
    Join Date
    2013-Sep
    Posts
    3

    Question wlan problem

    Hi all.
    I use the TP-Link TL-WN722N (Atheros AR9271) with RPI mod. B and I can not get my Wi-Fi adapter up.
    So, first explain what has already been tested:
    1. Power supply is normal (2.1A input) and there is no voltage drop across the control points (T1 - T2) of the board.
    2. lsusb correctly displays the connected USB device. (Device 004: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n).
    3. lsmod shows that the relevant module is loaded (ath9k_hth).
    4. ifconfig shows that i have wlan0 int and proper MAC.
    5. ifconfig wlan0 up activates the LED indicator on the dongle.

    The good news for me to come to an end.
    1. iwconfig shows that wlan0 no wireless extensions.

    Several sources I received information that my adapter does not require additional configuration. I have tried to use non-free firmware and open firmware as described in Debian Wiki, it still does not work. Perhaps I missed something, but I can not understand that. Any idea how to make it work?

  17. #17
    Join Date
    2013-Sep
    Location
    AU
    Posts
    1

    Showstoppers for the RPi armel builds, present in all inc;luding 1.0.5

    [QUOTE=Mad Meow;26992]Hi all.
    I use the TP-Link TL-WN722N (Atheros AR9271) with RPI mod. B and I can not get my Wi-Fi adapter up.
    [/QUOTE


    Same issue here. Kali armel 1.0.5. Two reimages, four different WLAN nic's (rtl8187, rtl8188SU, RT3070).
    Despite an adapter appearing to be proberly detected and initialised by mac81022 and ieee80211 subsys there's something fundamentally missing from the build that's required for the full wireless stack to operate correctly.
    Couldn't see any build docos (no kernel doco files anywhere in the image) so I can't seem to progres any further.
    This cost me a day of frustration before I realised it was something fundamental to the build....
    Few other niggles (can't use serial console as a terminal, it's read-only and even then ttyAM0 seems to be unattached to kernel init msg output just after the HDMI is initt'ed (and I assume the framebuffer console get initted). Essentially you can't access thje RPi by serial console (not without reconfiguring inittab and a heap of other ****).
    Wasted ages on this till I tried a TV (HDMI/USB keyboard).. but this isn't much use to me for my application.

    ntpdate could be preinstalled for this build and pointed to an anycast or a pool.ntp.org, as well as the suggestion at install to activate the fake-hwclock module. Helps heaps with timekeeping and this debugging..
    ta

  18. #18
    Join Date
    2013-Oct
    Posts
    13
    Have exactly same problem.
    New Rev 000e PI, alfa 036nha and older rtl8187 adapters refuse to work - 'wlan0 no wireless extesions'.
    Did apt-get update+upgrade, no help. Did apt-get install firmware-atheros and all others. No bad dmesg's.
    Help please =(
    Kali arm 1.0.5.

    Had to install 1.0.0 and it's working fine. Updated (apt-get dist-up/up) and adapters still work.
    Last edited by lynzoid; 2013-10-03 at 18:48.

  19. #19
    Join Date
    2013-Sep
    Posts
    3
    Many thanks to lynzoid. It's work and not only with TL-WN722N (Atheros).

  20. #20
    Join Date
    2013-Dec
    Posts
    1
    Having a similar issue with TP-Link TL-WN725N Wireless N Nano USB-Adapter (150 Mbps, Soft AP). Can anybody help out?

    kali wifi.jpg

  21. #21
    Join Date
    2013-Jun
    Posts
    9
    Does anyone have a sure-fire method of getting the RT8187 (Alfa 036H) USB WiFi chipset working on boot with Raspberry Pi Kali? As others have found I can see the Alfa 036H :-

    root@kali:/etc/init.d# lsusb
    Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
    Bus 001 Device 004: ID 0bda:8187 Realtek Semiconductor Corp. RTL8187 Wireless Adapter

    and the drivers appear to be there :-

    root@kali:/etc/init.d# modinfo rtl8187
    filename: /lib/modules/3.6.11-cutdown/kernel/drivers/net/wireless/rtl818x/rtl8187/rtl8187.ko
    license: GPL
    description: RTL8187/RTL8187B USB wireless driver
    author: Larry Finger <Larry.Finger@lwfinger.net>
    author: Hin-Tak Leung <htl10@users.sourceforge.net>
    author: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
    author: Andrea Merello <andreamrl@tiscali.it>
    author: Michael Wu <flamingice@sourmilk.net>
    srcversion: B7A64080945C5E092134248
    alias: usb:v1737p0073d*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v1B75p8187d*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v18E8p6232d*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v13D1pABE6d*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v1371p9401d*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v114Bp0150d*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v0DF6p0029d*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v0DF6p0028d*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v0DF6p000Dd*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v03F0pCA02d*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v0846p4260d*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v0846p6A00d*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v0846p6100d*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v0789p010Cd*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v0769p11F2d*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v0BDAp8198d*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v0BDAp8197d*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v0BDAp8189d*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v0BDAp8187d*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v050Dp705Ed*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v0B05p171Dd*dc*dsc*dp*ic*isc*ip*in*
    depends: mac80211,eeprom_93cx6,led-class,cfg80211
    intree: Y
    vermagic: 3.6.11-cutdown preempt mod_unload modversions ARMv6 p2v8

    It is at all feasible to run the Raspberry Pi Kali headless, including performing the initial config/setup via SSH? My plan is to build a small deployable aircrack-ng appliance with remote access via a 3G router. Having to plug a monitor/keyboard/mouse into the Pi would be a pain.

    Lunokhod

  22. #22
    Join Date
    2013-Jun
    Posts
    9
    OK... a quick follow up from my last post about the Alfa 036H and Kali on the Raspberry Pi... I'm still having trouble getting it working. I'm sure I am missing something very simple.

    If I start Network Manager "/etc/init.d/network-manager start" I get some action. The LED on the 036H starts flashing and I get a wlan0 interface (woo hoo).

    wlan0 Link encap:Ethernet HWaddr 00:c0:ca:40:ed:08
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)


    But a subsequent "airmon-ng start wlan0" gives me this :-

    Found 3 processes that could cause trouble.
    If airodump-ng, aireplay-ng or airtun-ng stops working after
    a short period of time, you may want to kill (some of) them!
    -e
    PID Name
    1480 dhclient
    1890 wpa_supplicant
    3077 NetworkManager


    Interface Chipset Driver


    root@kali:~#

    No indication of a mon1 or any other monitor mode interface created by airmon-ng. So I'm back to the question from my previous post... how can I get the Alfa 036H working (preferably without Network Manager) on Kali running on the Raspberry Pi... and preferably via a shell and not GUI.

    On a side note, I also notice similar symptoms on my netbook based Kali. I get no wlan0 interface unless Network Manager is running first. But on the netbook, I can use "airmon-ng start wlan0" and I do get a mon0 interface. (eth1 is the built in Intel Wifi).

    Interface Chipset Driver

    wlan0 Realtek RTL8187L rtl8187 - [phy2]
    (monitor mode enabled on mon0)
    eth1 Intel 2200BG/2915ABG ipw2200 - [phy0]

    root@kali:~#

    This is driving me a little crazy!

    Lunokhod

  23. #23
    Join Date
    2014-Jan
    Posts
    1
    Mmmmm, Is there not lsusb on Kali 1.0.6 ????

    root@kali:/etc# cat debian_version
    Kali Linux 1.0.6
    root@kali:/etc# uname -a
    Linux kali 3.10.26 #1 PREEMPT Sat Jan 11 04:27:34 EST 2014 armv6l GNU/Linux
    root@kali:/etc# lsusb
    -bash: lsusb: command not found
    root@kali:/etc#

  24. #24
    Join Date
    2013-Aug
    Posts
    20
    Quote Originally Posted by Fatuo View Post
    Mmmmm, Is there not lsusb on Kali 1.0.6 ????

    root@kali:/etc# cat debian_version
    Kali Linux 1.0.6
    root@kali:/etc# uname -a
    Linux kali 3.10.26 #1 PREEMPT Sat Jan 11 04:27:34 EST 2014 armv6l GNU/Linux
    root@kali:/etc# lsusb
    -bash: lsusb: command not found
    root@kali:/etc#
    I have the same result.

    root@kali:~# lsusb
    -bash: lsusb: command not found

    root@kali:~# lspci
    bcilib: Cannot open /proc/bus/pci
    lspci: Cannot find any working access method.

    But lsmod works just fine.

  25. #25
    Join Date
    2014-Feb
    Posts
    1

    Problems installing 1.0.6 arm image on sd card please help

    Hello-
    I know that some of you were facing the same problem while installing the image on an SD card.
    I have tried to format my 16gb SD class 10 using win32 utility and winflash as well with no success.
    The files I have used have been downloaded from all the sources you have mentioned before. There is a 1.90GB and a 2.0GB files out there that are suppossed to work with the pi.

    Is there anything that I might be missing? My Pi is still not booting and when the win32 utility finishes formatting the SD card the card becomes obsolote on my windows machine, meaning that I cannot see the contents inside (I know that it is suppossed to be on a different format) but I still should be able to see them on my Mac as well but that is not the case.

    Someone mentioned before that this might be due to how the file is being decompressed (I have used winrar and 7-zip) but this does not seem to work.

    I am very excited to start playing with Kali and the Pi but this first step has me very frustrated.
    Thanks for your support guys.

    Windows 8 x64
    Winrar-7zip
    Kali Linux 1.06 ARM
    Raspberry pi class B

  26. #26
    Join Date
    2014-Feb
    Posts
    1
    I can't boot 1.0.6 image too. I have tried with dd and with Win32 Disk Imager. Tried with both image: from original download page and from cdimage.kali.org. Extracted with unxz and with 7-zip and with winrar. Nothing!! Wireless problem is still the same like in 1.0.4. image.
    Reading this https://forums.kali.org/showthread.p...alled-in-1-0-5
    an this: https://forums.kali.org/showthread.p...berry-pi-image . I believe that this is the worst image ever. I still using 1.0 upgraded version. I wonder if the new version will be better???

  27. #27
    Join Date
    2014-Feb
    Posts
    3
    In the web GUI goto "wpa_gui" setup tool and connect to an existing WLAN and youre done !
    You can do that manually as well in editing /etc/network/interfaces

    allow-hotplug wlan0
    iface wlan0 inet dhcp
    wpa-ssid YourSSID
    wpa-psk YourPassword

    You can also leave the default
    allow-hotplug wlan0
    iface wlan0 inet dhcp
    wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf

    and simply edit the /etc/wpa_supplicant/wpa_supplicant.conf file with the following

    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
    update_config=1
    eapol_version=1
    ap_scan=1
    network={
    ssid="yourssid"
    scan_ssid=1
    key_mgmt=WPA-PSK
    pairwise=CCMP
    group=CCMP
    psk=your password
    }

    To not copy your key in cleartext you can calculate the passphrase with
    wpa_passphrase yourssid yourpassword

    which should give you something like this:
    psk=01b035e084c87e1a3e348e6fbb4783202b145950789c69 1687ee0a6f71584e8b

  28. #28
    Join Date
    2014-Feb
    Posts
    3
    For the German buddy "chr155" at the top please check:
    http://http://www.administrator.de/contentid/191718
    It has a full description how to setup WLAN and the aircrack suite.
    Last edited by wwinzig; 2014-03-02 at 15:08.

  29. #29
    Join Date
    2013-Jul
    Posts
    2
    Hello! I need to get new usb-modeswitch (29/05/2014) for Kali 1.0.6a for Raspberry Pi. In default repository only old version of usb-modeswitch, not included my 3g device "12d1:14b5". How can I got new usb-modeswitch?
    THX!

  30. #30
    Join Date
    2014-Jun
    Posts
    8
    Well i got another type of problem. For some reason when i start x i cant find the "kali" tab in the start menu! it doesn't exist. i got the KALI background but i got something that reminds of a button menu in the bottom, still no hackingtools visible

    Used "startx" to start kali

    EDIT: apt-get solved the issue
    Last edited by webbsmurfen; 2014-06-21 at 17:28.

  31. #31
    Join Date
    2014-Jul
    Posts
    2
    Someone knows how it works with a raspberry pi b+?

  32. #32
    Join Date
    2014-Jul
    Posts
    2
    somone knows how to make tp-link 8188eu on kali, i can't make it work

  33. #33
    Join Date
    2014-Aug
    Posts
    2
    For the B+ you can either remove all udev rules from /etc/ (mount MicroSD partition 2 on another box) or wait for the next release.

  34. #34
    Join Date
    2013-Nov
    Posts
    1
    Hello there,

    I followed the instructions (rather simple ones) from the documentation's page to make an image on a 8GB SD card, and got that:
    Code:
    $ sudo dd if=~/Downloads/kali-linux-1.0.9-armhf/kali-linux-1.0.9-armhf.img of=/dev/disk1 bs=512k
    11210+0 records in
    11210+0 records out
    5877268480 bytes transferred in 2673.045080 secs (2198717 bytes/sec)
    There's no error, so I assume all went well, but when I put the card in a brand new Pi model B, there was no display on the HDMI port. The activity LED didn't flash at all. On the Pi itself, there was a 4-port USB 2.0 hub, but nothing else.

    As a matter of comparison, I tried to boot the same image on a Banana Pi, which also refused to boot with no output.

    As there's no output, how can I know what is not working? The only difference I see compared to, say, Raspbian's procedure is that the block size is usually set to 4M instead of 512k.

  35. #35
    So, I've tried to install the kali armHF version of kali from both the cdimages page as well as the kali downloads page. Neither will boot on my PI b version (not b+). I've tried to extract the kali iso contents to the directory of the sd card and it didn't work. I've tried to use both win32diskimager and imageUSB to write the iso to the sdcard. Someone mentioned that I might need to rename a partition. I'm not sure what partition they we're referring to. The guides don't really explain in depth, and one of the links is broken. For everyone having similar problems, might someone be able to write up a definitive guide on the armHF version, or give me a couple hints? I did try the armel version meant specifically for the rpi, it did work. For my project however, I need the armHF architecture to work on my pi. Thank you.

  36. #36
    Join Date
    2015-Jan
    Posts
    3
    Hi

    So i just downloaded the image file of Kali from its official site and installed it to my micro sd card as im using a raspberry pi b+

    Initial boot and login was successful but upon loadup of the GUI i found that all the forensic tools were missing.

    Do i need to download these programs?

  37. #37
    Join Date
    2014-Nov
    Posts
    41
    Quote Originally Posted by shingster08 View Post
    Initial boot and login was successful but upon loadup of the GUI i found that all the forensic tools were missing.

    Do i need to download these programs?
    Yes, the image for the RPi is pretty much basic.
    You might consider to apt-get install either the forensic tools you need or the complete metapackage "kali-linux-forensic" (not sure how much space they need, though).

    http://tools.kali.org/kali-metapackages

  38. #38
    Join Date
    2013-May
    Posts
    7
    Anyone achieved to run Kali on Raspberry Pi 2? I tried with armel, armhf and rpi kali's version and no one works.

  39. #39
    Join Date
    2015-Feb
    Posts
    2
    Quote Originally Posted by Chipi View Post
    no one works.
    Try this -> https://itfellover.com/1-kali-from-g...g-in-19-steps/

    (i also can't get it work... at the moment)

  40. #40
    Join Date
    2015-Feb
    Posts
    2
    i think it could just be a command issue; try: ifconfig wlan0 up and then airmon-ng start wlan0

  41. #41
    Join Date
    2015-Mar
    Posts
    1

    Kali Linux menu

    Hi,
    I have installed Kali Linux Raspberry Pi edition,but after log in in to graphic mode i couldn't find Kali Linux menu under Application Menu.

    Can you please help me.

  42. #42
    Join Date
    2015-Feb
    Posts
    10
    If you are still having trouble compiling you can check out my updated guide here.

  43. #43
    Join Date
    2013-Nov
    Posts
    32
    trying to load Kali 1.1.0-rpi with LUKS encryption on my RPI B+. copy & pasted all the commands but when I mounted the SD card on the RPI, I get a kernel panic not sync UFS unable to mount root fs on unknown block, with a kdb> prompt. I can mount the sd card on my laptop and decrypt the LUKS partition. It contains the usual folders but boot, home, root, lists/partial, selinux, srv and sys are emply folders on the encrypted folder and the /mnt/backup folder. What is missing? How can I fix it?
    Last edited by viejo verde; 2015-04-08 at 13:10. Reason: more info

  44. #44
    Join Date
    2013-Nov
    Posts
    32
    I think the problem is in the initial creation of the initramfs. Here is the output

    root@kali:/# mkinitramfs -o /boot/initramfs.gz 3.12.36
    /bin/df: Warning: cannot read table of mounted file systems: No such file or directory
    warning: failed to read mtab
    /bin/cat: /proc/cmdline: No such file or directory
    /proc/devices: fopen failed: No such file or directory
    Failure to communicate with kernel device-mapper driver.
    Check that device-mapper is available in the kernel.
    Command failed
    cryptsetup: WARNING: failed to determine cipher modules to load for c

  45. #45
    Join Date
    2015-Oct
    Posts
    1
    Get a fast SD card with at least 8 GB capacity. Class 10 cards are highly recommended.
    I downloaded the image (http://images.kali.org/kali-2.0.1-rpi2.img.xz). Unpacked size 6.83GB. Now enough 8GB or need 16GB sd-card?

  46. #46
    Join Date
    2015-Aug
    Posts
    26
    just finished a kali-linux-full installation + g0tmi1k, by the way *** kickin', postinstall script kali.sh
    And here we go

    root@kali:~# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/root 30G 11G 19G 36% /
    devtmpfs 369M 0 369M 0% /dev
    tmpfs 373M 4.0K 373M 1% /dev/shm
    tmpfs 373M 5.6M 367M 2% /run
    tmpfs 5.0M 0 5.0M 0% /run/lock
    tmpfs 373M 0 373M 0% /sys/fs/cgroup
    tmpfs 75M 4.0K 75M 1% /run/user/110
    tmpfs 75M 8.0K 75M 1% /run/user/0


    if you only have just a 8 gig card then better try a smaller metapackage but kali-linux-full
    but if you ask what else you can do then let me know if you have more storage available from usb drive (doesnt matter if it is a stick or hdd). if yes i would write down a mini how-to about an alternate way to run kali on rpi

  47. #47
    Join Date
    2015-Aug
    Posts
    3

    No output at all booting Kali ARM image on Raspberry Pi 2

    I'm trying to install kali linux on a raspberry pi 2 following the documentation
    I've downloaded the raspberry pi 2 image from offensive-security.com, validated the sha1sum, and created a bootable SD card with dd.
    Now when I boot the raspberry pi from the SD card I see no output at all. I have another SD card with Raspbian and it boots just right from this other card. I've checked in another computer the kali SD card that I just created and I've noticed that the /boot file system is empty.

    Is this normal or is it due to a failure during the dd process (apparently it finished successfuly)?.

    Cheers,
    Rod

  48. #48
    Join Date
    2015-Aug
    Posts
    3
    Quote Originally Posted by rodrunner View Post
    I'm trying to install kali linux on a raspberry pi 2 following the documentation
    I've downloaded the raspberry pi 2 image from offensive-security.com, validated the sha1sum, and created a bootable SD card with dd.
    Now when I boot the raspberry pi from the SD card I see no output at all. I have another SD card with Raspbian and it boots just right from this other card. I've checked in another computer the kali SD card that I just created and I've noticed that the /boot file system is empty.

    Is this normal or is it due to a failure during the dd process (apparently it finished successfuly)?.

    Cheers,
    Rod
    I fixed my problem. It was related to the HDMI-VGA converter I was using. I connected the hdmi ouput directly to a hdmi screen and it worked fine. In raspbian I had to modify the settings in config.txt, but there's no such file in kali linux.
    I've found this other thread which addresses a very similar issue
    https://www.raspberrypi.org/forums/v...68598&p=500327


    I copied config.txt to the boot partition of my SD card and I get the video output on VGA screen now

  49. #49
    I was able to install Kali Linux ARM image onto my RPi2 using DDRescue -f utility (running Ubuntu on my main PC).
    It absolutely refused to be installed using the guideline recommended DD Command.
    Even it install, the Graphical Interface is unstable. It has crashed and refused to re-start at least 3 times.
    The only option is to re-download the image onto the 8GB card.

    Not to mention, the issues with the wireless USB adaptors, I would say the latest version of Kali, needs a major revision...

  50. #50
    Join Date
    2015-Nov
    Posts
    2
    Hi, I've installed Kali to a 32gb SD card, with no issues and it boots fine in my Raspberry PI 2 B. However, I've been trying to make the remaining space a LUKS encrypted persistent partition. I've done this successfully on a USB pendrive before, but I'm having trouble with the SD Card:

    [root@HP-G61 Downloads]# cryptsetup --verbose --verify-passphrase luksFormat /dev/sdb3

    WARNING!
    ========
    This will overwrite data on /dev/sdb3 irrevocably.

    Are you sure? (Type uppercase yes): YES
    Enter passphrase:
    Verify passphrase:
    Cannot wipe header on device /dev/sdb3.
    Command failed with code 5: Input/output error

    looking at fdisk -l I get this:

    Disk /dev/sdb: 29.7 GiB, 31914983424 bytes, 62333952 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x000ddd94

    Device Boot Start End Sectors Size Id Type
    /dev/sdb1 1 125000 125000 61M c W95 FAT32 (LBA)
    /dev/sdb2 125001 14335999 14210999 6.8G 83 Linux
    /dev/sdb3 14336000 14336000 1 512B 83 Linux

    It seems odd to me that the size of sdb3 is 1 512B, but I don't know how to resolve this!

    Can anyone advise please. Thanks

Similar Threads

  1. Replies: 1
    Last Post: 2015-11-12, 18:43
  2. Replies: 0
    Last Post: 2014-05-02, 09:04

Posting Permissions

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