Results 1 to 6 of 6

Thread: Kali ARM Raspberry - Metasploit - Aircrack

  1. #1
    Join Date
    2013-Aug
    Posts
    2

    Cool Kali ARM Raspberry - Metasploit - Aircrack

    Hello,

    I'm new to the Kali world.
    Let me share my first impression and questions.

    I wanted to play with my Raspberry pi 256 (rev2) and this cool Linux distribution.
    I downloaded the last version of the ARM Raspberry image and copied it on my SD card.
    And started using it. The boot process was OK and the system was running fine.

    * First strange behavior : I don't have any file in the following folder : /lib/modules/
    So it was not possible to load any external USB devices as Wifi dungles.
    I followed the post number #9 here to solve the problem http://forums.kali.org/showthread.ph...t-1-0-4-on-rpi

    * Second strange behavior : I tried to use 2 different USB Wireless adapatators in monitor mode
    Every time I activate monitor mode with aircrack the Raspberry device totally freeze after 30s
    I suspect a power problem that could be solve by adding a secondary USB power to the Wireless USB devices
    http://www.amazon.fr
    If any one has an idea I will take it

    * Third problem : if I try to run metasploit (msfconsole or msfd) It allways fail after a long laoding time with many 'Cannot allocate memory' errors
    I tried to increase my available RAM memory with /boot/config.txt file (less memory for video and more for system) but whatever I put in the file the amount of available memory is allways 184M (default value)
    I tried to upgrade the firmware but no more success.
    Do you know what is the cause of the problem ? should I buy a new Raspberry with 512 Mo ?


    If any one could help me or explain me what I'm doing wrong this would be great !



    Code:
    Processor       : ARMv6-compatible processor rev 7 (v6l)
    BogoMIPS        : 697.95
    Features        : swp half thumb fastmult vfp edsp java tls
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant     : 0x0
    CPU part        : 0xb76
    CPU revision    : 7
    
    Hardware        : BCM2708
    Revision        : 0002
    serial          : 00000000b1c79844
    
    Linux kali 3.6.11+ #520 PREEMPT Wed Aug 7 16:07:34 BST 2013 armv6l GNU/Linux

  2. #2
    Join Date
    2013-Apr
    Posts
    7
    512 mb ram would help yeah. If you don't mind buying another pi, it should solve your problem.

  3. #3
    Join Date
    2013-Apr
    Posts
    4
    @superjcvd, any luck? I am facing same issues.

    Before trying Kali on RPi, I used Raspbian with Aircrack/Kismet compiled on it. I took it wardriving with 2600mah battery pack, Alfa AWUS 036NEH and Quartz USB GPS device. It worked flawlessly every time. There was no power issues, Kismet logged networks till the battery drained out.

    But the exact same hardware with Kali 1.0 armel has different output. After running Aircrack for few seconds, RPi totally freezes.

    Also on Raspbian, there is an option in raspi-config to change memory allocation for graphics, but not in Kali armel version. Wish we had this option.

  4. #4
    Join Date
    2014-Jul
    Posts
    1
    I hate to necro a year-old thread as my first post, but I've been having the same problem and my google-fu is not strong enough to find a solution. I've been working on getting Kali up and running on my model B (rev 2) pi, and everything has gone swimmingly (relatively, for someone new to linux), except for this msfconsole issue. I'd really love to get it working correctly. If anyone has a fix besides trying to install raspi-config (I'd really prefer not to do that), it would be a huge help. I'm getting the same error (cannot allocate memory) over and over again. I have to exit the xterm session to get it to stop.

  5. #5
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    I have not tried Kali on my pi yet (I think I will now, though) but last I checked metasploit needs a lot of Ram.

    A quick google shows it wants minimum 2GB and recommended 4GB. It's not a big surprise it's having allocation issues on a pi.

  6. #6
    Join Date
    2014-Jul
    Posts
    1

    Add more swap

    Quote Originally Posted by musashi View Post
    I hate to necro a year-old thread as my first post, but I've been having the same problem and my google-fu is not strong enough to find a solution. I've been working on getting Kali up and running on my model B (rev 2) pi, and everything has gone swimmingly (relatively, for someone new to linux), except for this msfconsole issue. I'd really love to get it working correctly. If anyone has a fix besides trying to install raspi-config (I'd really prefer not to do that), it would be a huge help. I'm getting the same error (cannot allocate memory) over and over again. I have to exit the xterm session to get it to stop.
    I've had the same problem with msfconsole on my pi and bbb.
    msfconsole works when you add a swapfile or swap partition about as much or more ram as you have.
    There should be tutorials on the internet on how to do that.

Similar Threads

  1. Raspberry Pi won't boot up anymore (Kali Raspberry)
    By Quentium in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2019-02-17, 21:55
  2. Replies: 3
    Last Post: 2015-03-31, 14:50
  3. Raspberry PI - Issues with Metasploit
    By ouam3r in forum ARM Archive
    Replies: 2
    Last Post: 2014-01-14, 20:56

Posting Permissions

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