Kali OS for our Raspberry - Raspberry Pi Q&A, Help & Troubleshooting

What you guys think about it?
I gonna try it - this night I want to download an .img file for raspberry and also .iso for normal computers
Website: http://kali.org/
Download: http://www.kali.org/downloads/ (you need to chose armel architecture and then Raspberry PI version)
About (docs): http://www.kali.org/official-documentation/

Yeah I saw this also, it will be fun to use but it will not be good for cracking passwords fast because of the raspberry pi's hardware. Might test it out on mine soon

Informations from me (will be keep updated):
Didn't try the special applications yet, but I feel it boots much slower than Raspbian. Reading package lists is slower too, but it's prolly because of more apps on list, so it's possible to fix.
Use Thunar file manager - it's much faster than the second one.
Midori is shutting down without any reason.
3.8GB of SD card used after writing it (checked in file manager).
Chromium doesn't work at all.
Already decided to stop using it, just need to test tools now...

I installed it , but how do I connect to the internet? I dont see any wifi scanner to find a network.
Also i went to the command prompt and is not readying my usb wifi adapter... doesnt find wlan0
Sent from my SPH-L900 using xda app-developers app

I connected it with ethernet cable so I didn't have such a problem.
It's strange that kali doesn't see a wificard - it has many built-in drivers. Maybe you are searching wlan0, when it's for example wlan1? Did u use ifconfig and iwconfig?

From my understanding the rPi does better with hf than it does el, so it seems that if Kali OS could be compiled for the rPi using armhf instead that the performance might be better overall than running an armel version. On that note, you won't see the same speeds as a Raspbian distro merely because it is using armel compared to Raspbian which uses armhf.

Related

Milestone + USB host + debian + aircrack-ng

1st I found that Motorola Droid/Milestone is capable of USB host mode
tombom.co.uk/blog/?p=124
2nd root is possible on Milestone
knowyourmobile.com/motorola/motorolamilestone/milestoneuserguides/381918/how_to_root_the_motorola_milestone.html
3rd Android can chroot debian
android-hilfe.de/anleitungen-fuer-motorola-milestone/26870-how-debian-chroot-mit-lxde-auf-dem-milestone.html
So can I run aircrack-ng on debian and use connected USB wifi adapter with it?
or is there any other device which can do that?
i believe you need to be able to put your wifi adapter (the wifi chip in the phone) to a certain mode, i forget what. it varies from phone to phone as different phones use different components.
yes it could work, you would just have to get airmon-ng working to run the card in monitor mode (think thats what you were thinking of x1infusion).. let me know if you have any luck as I am trying the same with my x10..
I know Im a little late in replying, however just stumbled across the topic. But there is a new app in the market place called shark(ethereal/wireshark), this is def. right along those lines. Furthermore, I believe it could def. be beneficial to check out the possibility of dropping a symbian or debian OS on the device. These have full linux potential as well as I have seen instances when both of these have been flashed to the A855(traditional droid). However Im not sure if they can be used on the milestone
Sent from my Droid using Tapatalk
Also, it the card(wifi) would have to be put in active/promiscous mode as its traditionally called. I know that depending on the chip it does vary but I am not too sure about mobile Wi-Fi chips
Sent from my Droid using Tapatalk

Pi as NAS storage server.

I wanna build a small RAID-6 NAS server, Ive only used freeNAS software before, and my question is: is there similar (on easy to use side) software for Pi and can I connect Pi to RAID card?
Im new to Pi so please excuse my noobness.
I want to use Pi because its small and case I want to fit server in is not big enough for eaven the smallest integrated motherboards, let alone a bigger PSU Id need to use with it.
Sent from my LG-P990 using xda app-developers app
domiq123 said:
I wanna build a small RAID-6 NAS server, Ive only used freeNAS software before, and my question is: is there similar (on easy to use side) software for Pi and can I connect Pi to RAID card?
Im new to Pi so please excuse my noobness.
I want to use Pi because its small and case I want to fit server in is not big enough for eaven the smallest integrated motherboards, let alone a bigger PSU Id need to use with it.
Sent from my LG-P990 using xda app-developers app
Click to expand...
Click to collapse
For something similar to freeNAS for the RPi you can use Samba. Check out this guide to setting up a NAS storage solution using the RPi and Samba elinux.org/R-Pi_NAS. However, the performance won't be that good 2-5 MB/s transfer speed max, also the RPi only supports software RAID, so an external RAID card would very likely be incompatible.
Sent from my SCH-I535 using xda premium
shimp208 said:
However, the performance won't be that good 2-5 MB/s transfer speed max,
Click to expand...
Click to collapse
i have made an samba server of my pi and i can say that the Speed is From 2-3MB/s and it got some small kinks Still that i am Trying to figure out
one ting i found it that you can't put a file over 700Mbs on the Pi-NAS the Pi does Simply not Recognise the file some how (i think it it Because it is to Big) i havent Found any solution to this Yet whill post this here when i find something
another thing i found it ain't easy to mount an NTFS USBHDD you can check my tread for a Solution as soon as i find it my self it will be posted there "http://forum.xda-developers.com/showthread.php?t=2067256" i will make a Guide For This if i need to (even if i am only a Scrub on Linux)
sioxz said:
i have made an samba server of my pi and i can say that the Speed is From 2-3MB/s and it got some small kinks Still that i am Trying to figure out
one ting i found it that you can't put a file over 700Mbs on the Pi-NAS the Pi does Simply not Recognise the file some how (i think it it Because it is to Big) i havent Found any solution to this Yet whill post this here when i find something
another thing i found it ain't easy to mount an NTFS USBHDD you can check my tread for a Solution as soon as i find it my self it will be posted there "http://forum.xda-developers.com/showthread.php?t=2067256" i will make a Guide For This if i need to (even if i am only a Scrub on Linux)
Click to expand...
Click to collapse
I have a similar setup.
Pi runs Arch, with samba & lighttpd set up to serve my 1TB HDD locally & via my domain.
I don't have the issue you have with large files. If your having issues mounting an NTFS HDD you sure you have the correct packages installed? ntfs-3g is what you'd need. Install this via your usual package manager
I'm currently repurposing my old laptop to do this as I want to use my Pi for another project.
andyharney said:
I have a similar setup.
Pi runs Arch, with samba & lighttpd set up to serve my 1TB HDD locally & via my domain.
I don't have the issue you have with large files. If your having issues mounting an NTFS HDD you sure you have the correct packages installed? ntfs-3g is what you'd need. Install this via your usual package manager
I'm currently repurposing my old laptop to do this as I want to use my Pi for another project.
Click to expand...
Click to collapse
i will Try running Arch linux whit Samba as soon as i get my new SD card (don't wanna ruin my Rasbian Samba server)
and i got the ntfs-3g package by doing
Code:
sudo apt-get install ntfs-3g
BTW i hate GUI
sioxz said:
BTW i hate GUI
Click to expand...
Click to collapse
As do I, for serving content from a HDD there is no need for any GUI. Just use SSH and your away.
ArchLinuxArm runs very well on the Pi, I'd recommend you checking it out.
There is no point in using gui, but I wanted to achieve 50mbps read write speeds and thats not possible?
To be correct, I wanna get 50mbps up and down via ethernet cable and usual speeds with wifi.that I could get with a compatible usd wifi hub.
Sent from my LG-P990 using xda app-developers app
domiq123 said:
There is no point in using gui, but I wanted to achieve 50mbps read write speeds and thats not possible?
To be correct, I wanna get 50mbps up and down via ethernet cable and usual speeds with wifi.that I could get with a compatible usd wifi hub.
Sent from my LG-P990 using xda app-developers app
Click to expand...
Click to collapse
Megabits or Megabytes? AFAIK throughput on the PI is limited to 100 Megabits, I'll try to find the source for that.
domiq123 said:
There is no point in using gui, but I wanted to achieve 50mbps read write speeds and thats not possible?
To be correct, I wanna get 50mbps up and down via ethernet cable and usual speeds with wifi.that I could get with a compatible usd wifi hub.
Sent from my LG-P990 using xda app-developers app
Click to expand...
Click to collapse
andyharney said:
Megabits or Megabytes? AFAIK throughput on the PI is limited to 100 Megabits, I'll try to find the source for that.
Click to expand...
Click to collapse
Yes, the maximum theoretical throughput is around 100 Megabits, this is because the the RPi's network card is connected through the USB bus. So between USB to disk, plus LAN to USB, and upstream maximum throughput is around 11.5-12.5 MB/s (100 Megabits is 12.5 Megabytes). Now in real world usage I have seen that most people seem to be getting around 7-8 MB/s throughput through Ethernet and a little bit less then that on Wifi. The real major bottleneck however is the CPU because of the large amount of resources that are needed for file transfers, you can increase the transfer speed by overclocking the RPi in order to reduce the CPU usage load. I would also recommend taking a look at this NAS Speed Optimization Guide.
i have gotten an Speed which are Kind of Stable on 3MB/s whit some Options in the
Code:
sudo nano /etc/samba/smb.conf
and no overclock wanna keep my littel fellow alive as long as ican
and i have Changed the memory split to the lowest there is 16mbytes this is Easy done in
Code:
sudo raspi-config
running an USB HDD 2.0 and using Cat.6 TP kabels and on the same Switch
(Transferring Files from my Gaming Rig to my Pi)
Pi is running Samba and Rasbian Newest version
domiq123 said:
but I wanted to achieve 50mbps read write speeds and thats not possible?
To be correct, I wanna get 50mbps up and down via ethernet cable and usual speeds with wifi.that I could get with a compatible usd wifi hub.
Sent from my LG-P990 using xda app-developers app
Click to expand...
Click to collapse
you can get About 24mbit/s or 3mb/s If you are running Samba on Rasbian i haven't Tryied Arch whit Samba yet but people say that Arch is Faster so give it a Try
Before my SDCard died, I was pulling & sending around 80-90MBit/s, that was running Arch, with Samba & Lighttpd set up.
andyharney said:
Before my SDCard died, I was pulling & sending around 80-90MBit/s, that was running Arch, with Samba & Lighttpd set up.
Click to expand...
Click to collapse
That was to you SDcard? i am using USB2.0 HDD but will defenatly try Arch instead of Rasbian when i find the time and when i feel for it :laugh:
No-no, my card died after repeated attempts to overclock. I keep all my content & files on a 1TB USB HDD.
andyharney said:
No-no, my card died after repeated attempts to overclock. I keep all my content & files on a 1TB USB HDD.
Click to expand...
Click to collapse
that is Really good mate :good: i have to Try Arch Linux Soon then but i am Kind of a Noob on Linux so it will take me some time Raspberry pi is my first linux Computer
sioxz said:
that is Really good mate :good: i have to Try Arch Linux Soon then but i am Kind of a Noob on Linux so it will take me some time Raspberry pi is my first linux Computer
Click to expand...
Click to collapse
If you want some good tutorials for learning how to use the Pi I would recommend taking a look at the great tutorials Adafruit provides as well this guide to setting up Arch Linux on the RPi.
shimp208 said:
If you want some good tutorials for learning how to use the Pi I would recommend taking a look at the great tutorials Adafruit provides as well this guide to setting up Arch Linux on the RPi.
Click to expand...
Click to collapse
Thanks mate Really Appreciated Rasbian is kind of Easy to use because of Raspi-config but Arch Seems alot harder but you need To Learn Righ :laugh: i am only in High School now to second Year of an IT school
I set up my 256 RAM RasPi as a NAS/Torrent client. I first grabbed a disk with NTFS (brand new) and installed NTFS-3G onto the Pi.
The best I could get out of it was 3MB/s wite-speed over Samba.
I verified that, while copying the files, the CPU was at around 80% while in Turbo mode.
I then formatted the disk to ext4 and done the same test. It now reaches 11MB/s. It stops for a second when it reaches 11MB/s then continues at around 7,5MB/s. Now I'm going to try and apply QOS on the RasPi's ethernet port and shape it to 10MB/s upload, to see if I can keep a constant speed.
oribunokiyuusou said:
I set up my 256 RAM RasPi as a NAS/Torrent client. I first grabbed a disk with NTFS (brand new) and installed NTFS-3G onto the Pi.
The best I could get out of it was 3MB/s wite-speed over Samba.
I verified that, while copying the files, the CPU was at around 80% while in Turbo mode.
I then formatted the disk to ext4 and done the same test. It now reaches 11MB/s. It stops for a second when it reaches 11MB/s then continues at around 7,5MB/s. Now I'm going to try and apply QOS on the RasPi's ethernet port and shape it to 10MB/s upload, to see if I can keep a constant speed.
Click to expand...
Click to collapse
Can you be kind to me and Send me a Guide on how to format my harddrive to ext4 or any other File System you recomend for a 1Tb USB HDD. on Windows7 or On my Pi don't Really care which platform.
If the Pi is connected to the USB Drive, check your drives name within the OS. Open a terminal and punch in.
Code:
fdisk -l
It should be listed like,
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes, 1953525168 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
Click to expand...
Click to collapse
Make sure the drive is connected and unmounted.
Code:
umount /dev/sdb
Depending on how you want to use the drive, you need to choose between MBR or GPT, I'd opt for GPT.
If using gdisk. Punch in,
Code:
gdisk /dev/sdb
I can't remember the exact option you need to specify, but you'd want to delete all the partitions on the drive, then create new ones. Remember to commit the changes before you exit.
Then,
Code:
mkfs -t ext4 /dev/sdb
And your done. Remember to edit/change your fstab if you had set them to automount.
Remember in the example above, my external drive was /dev/sdb yours may be different.
Good Luck!

Copying Files to a Linux Computer?

For many years I've used ssh/sfp daemon to scp files to my Linux machine. But about a years ago that stopped working. I set up the daemon, start it and it seems to start fine, but it presents no port 22 on the phone's wifi IP. I know because I can't SSH to it and nmap finds no ports open.
Is there any way to pull files from the XT1053 besides connecting with USB and adb pull?
Can't you setup MTP so it is like removable storage?
Sent from my Nexus 6
I don't follow. How would I do that?
You dont want to use a USB cable? You can use Airdroid or KDE Connect (you don't need KDE for this to work). However Its been years since I've had issues transferring files to and from Linux with a USB cable.
I don't mind using the USB cable, although I'd rather use wifi. I just need some way of moving files.
Airdroid and KDE Connect aren't available in CentOS 7.1. I'll look into them further, but I'd also like to know more about this "MTP" mode.
Change the transfer protocol from MTP to PTP, it's usually under the storage menu in a sub menu there. NIX based systems support that and you should be able to see all types of files, not just photos.
If that doesn't work for some reason, the you can use WiFi file Explorer, which works quite well.
I have no issues with USB in Ubuntu14.04, U12.04 had some issues with MTP libraries, but now all sorted out.
Myself I never tried SSHing, but interesting thought. Certainly worth a try.
What about samba? ES file manager can browse samba shares

WiFi Router, Media Server and Mobile Tethering

I'm not sure if i'm asking in the right place and I have taken to Google for an hour or so and read for a couple more but can't seem to find a solution, or the only solutions I can find only do a one or two things and not everything.
I have the crazy idea earlier that I could use my RaspberryPi B+ to use as a router and media server in the family car to provide in car entertainment for everyone, that's not too difficult if I follow a few tutorials (as a n00b it goes a little over my head but I'm sure I could do it.)
Then I thought what a great idea to use it as router tethered to my phone so everyone can get internet from my phone through the Pi. Now I can't seem to find out how to it, well not easily.
I was wondering if anyone knew of a good place to start looking or alternatively have any links to an image or some resources that tell me how to do such things combined in one case.
Big thanks to anyone who can help.
Regards
GiGo
Rpi has most popular Linux distributions aboard. If you want to make a router of it, search how to do it for the Linux system. For example, Rpi has a ubuntu port, search "ubuntu 3G tethering how to"
About internet sharing you can use usb tethering on your phone to connect it to pi.
Why don't you just simply use WiFi hotspot of your phone ( it eats the battery but you can buy a power bank)
Some basic Suggestions/Where to start.
So you are asking about three different things here; I hope I can help you answer all three.
1. Wifi Router.
You can follow this project from adafruit to create a wifi router.
If you are using a Pi 3, be careful of exceptions when setting up the hostapd.
Google: adafruit setting up a raspberry pi as a wifi access point
2. Media Server:
I haven't really looked into this.
My guess is that you will be using SMB (samba in linux speak.)
3. Wifi Tethering:
Again, I haven't really looked into this.
I am sure there is a little quirky with lsusb and then finding the right drivers to get things togeather.
If you have an android phone, you should be just able to enable USB tethering in settings.

Use dual graphics on Linux / Windows

Hello all!
So I've been using Mac for the last years and really enjoying it, but now wanted to use Linux (more specifically Fedora) as my main OS, rather than MacOS.
The machine for doing so it's a late 2013 15" MacbookPro with NVIDIA graphics.
For getting everything setup it took a while as a lot of drivers are proprietary, but manage to get most things working (expect for sleep, that for an unknown reason is broken and the Mac takes more than 5 min to wake from sleep, and FaceTime camera not working).
The problem however is that the machine is using the NVIDIA GPU, which causes it to get very toasty and drain battery faster.
I would like to enable the iGPU, but keep the NVIDIA GPU available as sometimes I connect an external monitor using the HDMI port.
I am newbie to Linux and have little knowledge but want to try everything possible to make Fedora work as best as possible on my computer. The procedures I tried were:
-Install rEFIND and try to use an set_apple.efi thing but probably did it wrong and did not work,
-Try to modify NVRAM variables to make the mac use the iGPU by default, but when booting to Fedora still only show up the NVIDIA GPU
Any help is welcome, bur please don't say for me to stay on MacOS or that is impossible as I read from people who manage to succored.
Thanks in advance!

Categories

Resources