| Prev |   4     5   6   7     8   | Next | Last
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection) (https://talk.maemo.org/showthread.php?t=95352)

geera 2015-06-02 06:26

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Quote:

Originally Posted by saponga (Post 1471584)
The image doesn't include metasploit.

Let me get this straight:

1. metasploit is not preinstalled on this kali
2. no new packets can't be installed because the filesystem goes to readonly-mode by default

If the above is the case with all of you guys, I'm not too unhappy about not being able to install this at all...

jellyroll 2015-06-02 07:12

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Quote:

Originally Posted by geera (Post 1472196)
Let me get this straight:

1. metasploit is not preinstalled on this kali
2. no new packets can't be installed because the filesystem goes to readonly-mode by default

If the above is the case with all of you guys, I'm not too unhappy about not being able to install this at all...

It's possible to install new packages but i can't install metasploit or packages that depend on it.

rapol.goutham 2015-06-02 21:57

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Quote:

Originally Posted by geera (Post 1472196)
Let me get this straight:

1. metasploit is not preinstalled on this kali
2. no new packets can't be installed because the filesystem goes to readonly-mode by default

If the above is the case with all of you guys, I'm not too unhappy about not being able to install this at all...

You can install it by mounting your memory card to your linux PC, then chroot to it. There you can install everything :D

jellyroll 2015-06-06 21:01

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Quote:

Originally Posted by rapol.goutham (Post 1472344)
You can install it by mounting your memory card to your linux PC, then chroot to it. There you can install everything :D

Many thanks.
I did mount the Kali file system on a Linux lC and installed metasploit successfully. I couldn't upgrade Kali in the chroot environment.I received the following error.

Preparing to replace libxrender1:armhf 1:0.9.7-1+deb7u1+b1 (using .../libxrender1_1%3a0.9.7-1+deb7u2_armhf.deb) ...
Unpacking replacement libxrender1:armhf ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.16.0-rc1+
/bin/df: Warning: cannot read table of mounted file systems: No such file or directory
warning: failed to read mtab



^Cdpkg: error processing initramfs-tools (--unpack):
subprocess installed post-installation script was interrupted
Processing triggers for man-db ...
Errors were encountered while processing:
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@JellyRoll:/home#

rapol.goutham 2015-06-06 21:38

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Quote:

Originally Posted by jellyroll (Post 1472854)
Many thanks.
I did mount the Kali file system on a Linux lC and installed metasploit successfully. I couldn't upgrade Kali in the chroot environment.I received the following error.

Preparing to replace libxrender1:armhf 1:0.9.7-1+deb7u1+b1 (using .../libxrender1_1%3a0.9.7-1+deb7u2_armhf.deb) ...
Unpacking replacement libxrender1:armhf ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.16.0-rc1+
/bin/df: Warning: cannot read table of mounted file systems: No such file or directory
warning: failed to read mtab



^Cdpkg: error processing initramfs-tools (--unpack):
subprocess installed post-installation script was interrupted
Processing triggers for man-db ...
Errors were encountered while processing:
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@JellyRoll:/home#

Try these commands before chroot,
(Replace <chrootdir> with your kali memory card rootfs mount point)

mount -t proc none <chrootdir>/proc
mount -t sysfs none <chrootdir>/sys
mount -o bind /dev <chrootdir>/dev
mount -o bind /dev/pts <chrootdir>/dev/pts
mount -o bind /tmp <chroodir>/tmp

Now chroot to your kali rootfs, then reinstall your application again.
After exiting chroot, unmount all the above mount points.

umount <chrootdir>/proc
umount <chrootdir>/sys
umount <chrootdir>/dev
umount <chrootdir>/dev/pts
umount <chroodir>/tmp

jellyroll 2015-06-11 09:54

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Quote:

Originally Posted by rapol.goutham (Post 1472857)
Try these commands before chroot,
(Replace <chrootdir> with your kali memory card rootfs mount point)

mount -t proc none <chrootdir>/proc
mount -t sysfs none <chrootdir>/sys
mount -o bind /dev <chrootdir>/dev
mount -o bind /dev/pts <chrootdir>/dev/pts
mount -o bind /tmp <chroodir>/tmp

Now chroot to your kali rootfs, then reinstall your application again.
After exiting chroot, unmount all the above mount points.

umount <chrootdir>/proc
umount <chrootdir>/sys
umount <chrootdir>/dev
umount <chrootdir>/dev/pts
umount <chroodir>/tmp

It's working thanks.

florin198 2015-07-02 20:44

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Hello
I tried to install kali on a 8 GB sd card but I get the following error

"Target file system doesn't have requested /sbin/init.
No init found. Try passing init= bootarg

can't access tty: job control turned off
(initramfs)

"
I know that this error was seen before, but no one it's saying how they get rid of it.
I checked the partitions with garted and also written the image with dd rescue and ddrescue, same error, also reinstalled maemo and u-boot and tried again, same error.

What I am doing wrong ?

Thank you for any help.

rapol.goutham 2015-07-07 18:58

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Quote:

Originally Posted by florin198 (Post 1475570)
Hello
I tried to install kali on a 8 GB sd card but I get the following error

"Target file system doesn't have requested /sbin/init.
No init found. Try passing init= bootarg

can't access tty: job control turned off
(initramfs)

"
I know that this error was seen before, but no one it's saying how they get rid of it.
I checked the partitions with garted and also written the image with dd rescue and ddrescue, same error, also reinstalled maemo and u-boot and tried again, same error.

What I am doing wrong ?

Thank you for any help.

If your boot parameters are correct, the image may not be written to the sdcard properly or our sdcard is bad. Are you able to chroot to your sdcard?
Please paste here the output of 'fdisk -l' command.

florin198 2015-07-09 16:29

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
Hello,
I have a new 8GB class 10 sd card, I don't think is bad.
Apparently I can chroot

"Nokia-N900:~# mount /dev/mmcblk1p2 /mnt/kali/
Nokia-N900:~# ls /mnt/kali/
bin etc lost+found opt run srv usr
boot home media proc sbin sys var
dev lib mnt root selinux tmp
"


Here is the output from fdisk -l
"fdisk -l

Disk /dev/mmcblk1: 8068 MB, 8068792320 bytes
4 heads, 32 sectors/track, 123120 cylinders
Units = cylinders of 128 * 512 = 65536 bytes

Device Boot Start End Blocks Id System
/dev/mmcblk1p1 1 1954 125000 c Win95 FAT32 (LBA)
/dev/mmcblk1p2 1969 93744 5873664 83 Linux
/dev/mmcblk1p3 93745 96000 144384 82 Linux swap

Disk /dev/mmcblk0: 32.0 GB, 32015122432 bytes
4 heads, 16 sectors/track, 977024 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

Device Boot Start End Blocks Id System
/dev/mmcblk0p1 2 884865 28315648 c Win95 FAT32 (LBA)
/dev/mmcblk0p2 884866 950401 2097152 83 Linux
/dev/mmcblk0p3 950402 974977 786432 82 Linux swap
"

florin198 2015-07-09 17:00

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
I can chroot and also can install programs on this kali rootfs


| Prev |   4     5   6   7     8   | Next | Last
All times are GMT. The time now is 22:15.

vBulletin® Version 3.8.8