| Prev |   6     7   8   9     10   | 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)

justmemory 2015-10-15 08:52

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

Originally Posted by moerderameise (Post 1485592)
i have installed easy chroot and easy deb chroot. I found another advice on how to edit the .chroot file to just click on the debian chroot icon to launch, but that always gives invalid argument while mounting. Doesn't matter if i try to mount to the p2 with the file system or to p4 with the image. And when i try to follow the instructions above, i enter losetup /dev/loop0 /mnt/kali -o 128974848 nothing happens and when i enter the next step i get a no sich device error...

Hi,

I answered to your P.M.; hope that helped.

Easy deb chroot has nothing to do with the process above as you need easy chroot! Easy Deb chroot is for easy debian chroot-ing...

(((You can have easy debian-like scripts of course you just need to edit 6 or 7 files for that. I made this and there are some issues as you have to make some changes in Kali to make stylus "tap and hold" function and keyboard input in XFCE to work. That is only from curiousity; command line is the real environment for kali tools... :) )))

jm

rapol.goutham 2015-10-20 15:34

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

Originally Posted by Kalax03 (Post 1481126)
Hi,

First of all, nice work! :)

I'm trying to install U-Boot but i'm afraid of bricking my N900. How do i install it? Because this is all new for me, i just have my N900 for like 2 months. It's a new world for me :) So please bear with me.

It won't let me install in extras devel. It's conflicting with Kernel-Maemo and KP53. I currently have KP53 flashed.

Can someone please help me out and give me some basic instructions? I will be a happy man when i can run Kali Linux on my N900 :D

You need to install u-boot for kernel power, it is different from normal u-boot. U-boot (kernel power) installer should be there in extras-devel repository.

noobismall 2015-10-24 08:48

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
@rapol.goutham Can you make kali 2.0 image for our beloved N900?
The official documentation link seems to lead to Raspberry PI guide,
is it "ok" to follow ?

rapol.goutham 2015-11-05 18:37

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

Originally Posted by noobismall (Post 1486604)
@rapol.goutham Can you make kali 2.0 image for our beloved N900?
The official documentation link seems to lead to Raspberry PI guide,
is it "ok" to follow ?

Yes you can use that documentation to port it to our N900. BTW currently I am busy with my work. I will try to do it in my free time.

Dongle Fongle 2015-11-20 22:51

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

Originally Posted by justmemory (Post 1484439)
Hi,

the image file that the .zip contains is "chrootable", so it can be used via a vnc viewer (I use PresenceVNC), so it is not necessary to install it via U-Boot.

If you want graphical interface, you have to install vncserver on kali,


/EDIT (2015.11.03): As you may noticed, there is Kali 2.0 and the repos have changed to sana. Because of this you cannot install anything with the stock repos. If you change your sources.list to sana it may break your kali 1.1.0 distro so be careful!

Thanks for this detailed post. I've run into a problem after dedicating the day to this however. the .img is chrooted and mounted from ext3 partition on sd card, succes! Next challenge:
What is the most do-able way to install vnc-server on the chrootable .img now that repos have changed? vim the sources list did not work, what do you suggest?

justmemory 2015-11-21 04:24

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

Originally Posted by Dongle Fongle (Post 1488906)
Thanks for this detailed post. I've run into a problem after dedicating the day to this however. the .img is chrooted and mounted from ext3 partition on sd card, succes! Next challenge:
What is the most do-able way to install vnc-server on the chrootable .img now that repos have changed? vim the sources list did not work, what do you suggest?

Hi,

as far as I know it is not doable with this image, so we have to wait to another image or make our own...

Editing the sources list won't work as the installation would upgrade the libc6 but will fail as it sees the kernel version of Maemo and it is lower than the installation needs.
I found a way on the net to mimc the kernel version but it did not work either...

So - and please correct me - I'm afraid you won't be able to install anything...

jellyroll 2015-12-31 17:52

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
1 Attachment(s)
I did the distribution upgrade from a Linux pc. u-boot.

https://www.raspberrypi.org/forums/v...hp?f=31&t=8478

justmemory 2016-01-08 13:58

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

Originally Posted by jellyroll (Post 1493088)
I did the distribution upgrade from a Linux pc. u-boot.

https://www.raspberrypi.org/forums/v...hp?f=31&t=8478

Hi,

that is great. And could you share that kali image, please?

Thanks,

jm

jellyroll 2016-01-10 06:44

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

Originally Posted by justmemory (Post 1494133)
Hi,

that is great. And could you share that kali image, please?

Thanks,

jm

https://dl.dropboxusercontent.com/u/.../Kali.tar.lzma

This is an upgraded of the Kali image that was posted by rapol.goutham.
I canceled keyboard-configuration during the installation process and added connman to fix wifi issues. http://talk.maemo.org/showthread.php?t=93878

From a linux pc.

Code:

apt-get install qemu qemu-user qemu-user-static
mkdir /mnt/kali
losetup /dev/loop0 /home/jellyroll/Desktop/kali-1.1.0a-armhf-n900.img -o 128974848
mount -o loop -t ext4 /dev/loop0 /mnt/kali/
cp /usr/bin/qemu-arm-static /mnt/kali/usr/bin
mount -o bind /dev/pts /mnt/kali/dev/pts
mount -t proc proc /mnt/kali/proc
mount -o bind /dev /mnt/kali/dev
mount -t sysfs sysfs /mnt/kali/sys
mount -o bind /tmp /mnt/kali/tmp
chroot /mnt/kali /bin/bash

Changed the content of /etc/apt/sources.list into:
deb http://http.kali.org/kali sana main non-free contrib
deb http://security.kali.org/kali-security sana/updates main contrib non-free

apt-get update
apt-get upgrade
apt-get dist-upgrade
apt-get install connman

Errors:
Unsupported ioctl: cmd=0x5331
qemu: Unsupported syscall: 374
https://bugs.launchpad.net/linaro-im...ls/+bug/697684

justmemory 2016-01-12 10:35

Re: Kali Linux 1.1.0a armhf for Nokia N900 (working WiFi injection)
 
OK, I have been trying to chroot this kali image but it seems that maemo kernel is too old to do this - at least chroot prompts me the following: "FATAL: kernel too old". I think that's it...


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

vBulletin® Version 3.8.8