maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Competitors (https://talk.maemo.org/forumdisplay.php?f=4)
-   -   BackTrack 5 (arm) released (https://talk.maemo.org/showthread.php?t=72933)

shanewalsh247 2011-05-15 22:31

Re: BackTrack 5 (arm) released
 
the first one on page 9 of this thread

sequel7 2011-05-15 22:31

Re: BackTrack 5 (arm) released
 
I believe I have solved the exec format error problem. You have to be running the power users kernel. I was testing mine on a fresh flash of N900 and was receiving that same error myself.

Do a ` apt-get install kernel-power* `, reboot, and try chrooting again.

shanewalsh247 2011-05-15 22:34

Re: BackTrack 5 (arm) released
 
keyboard works ok on presence vnc but is all in caps on vnc viewer, vnc viewer seems to be a good bit more responsive too... would still prefer it to be a system in itself

Gi0 2011-05-15 22:39

Re: BackTrack 5 (arm) released
 
Quote:

Originally Posted by sequel7 (Post 1007015)
I believe I have solved the exec format error problem. You have to be running the power users kernel. I was testing mine on a fresh flash of N900 and was receiving that same error myself.

Do a ` apt-get install kernel-power* ` and try chrooting again.

Just adding feedback in case its needed, i have power users kernel installed


Quote:

Originally Posted by shanewalsh247 (Post 1007017)
keyboard works ok on presence vnc but is all in caps on vnc viewer, vnc viewer seems to be a good bit more responsive too... would still prefer it to be a system in itself

Great..so i guess its my configuration that is doing weird things with my keyboard:confused:

sequel7 2011-05-15 22:49

Re: BackTrack 5 (arm) released
 
presencevnc seems to be working quite well for me.

jamesgloucester 2011-05-15 23:13

Re: BackTrack 5 (arm) released
 
Got it working on my N900.

Problems i have are:

- Keyboard not typing anything like what i'm entering.
- Screen resolution is not 800x480 (i assuming it's currently at the BT5 default)

Whenever i try to change the resolution i get a couple of errors regarding locale settings and bad display name "Nokia-N900:1"

EDIT: Fixed the resolution by editing /usr/bin/startvnc myself.
Still getting locale errors when running startvnc and the messed up keyboard, but slowly getting there :-)

Gi0 2011-05-15 23:32

Re: BackTrack 5 (arm) released
 
Had an idea about the keyboard(..wonder why i havent checked earlier). I checked Text Input on my N900 settings. I had Hardware Keyboard set to Greek. Turned it to English,Netherlands full of hope but still no luck. Messed up characters.

To those without a keyboard problem, whats your Text Input Settings on your N900?

@jamesgloucester
Answer the above question pls

Edit:Also, does anyone have UKeyboard installed ?

sequel7 2011-05-16 00:09

Re: BackTrack 5 (arm) released
 
Quote:

Originally Posted by Gi0 (Post 1007037)
To those without a keyboard problem, whats your Text Input Settings on your N900?

Edit:Also, does anyone have UKeyboard installed ?

Hardware layout: English, Nederlands
No check
Check
Check
Check
1st language: English (USA)
2nd language: Not in use
Dictionary: English (USA)

azkay 2011-05-16 00:31

Re: BackTrack 5 (arm) released
 
Im still getting the exec format error. apt-get install power-kernel*'d

sequel7 2011-05-16 00:36

Re: BackTrack 5 (arm) released
 
Quote:

Originally Posted by azkay (Post 1007054)
Im still getting the exec format error. apt-get install power-kernel*'d

And the install went through okay, and you rebooted?

azkay 2011-05-16 01:11

Re: BackTrack 5 (arm) released
 
Quote:

Originally Posted by sequel7 (Post 1007058)
And the install went through okay, and you rebooted?

Yep yep, ive a feeling im going to be not so lucky.

sequel7 2011-05-16 03:03

Re: BackTrack 5 (arm) released
 
Quote:

Originally Posted by azkay (Post 1007062)
Yep yep, ive a feeling im going to be not so lucky.

Can you post the output of `uname -a` ? And also do an `md5sum ./bt5.img` ?

azkay 2011-05-16 03:16

Re: BackTrack 5 (arm) released
 
Linux Nokia-N900 2.6.28-omap1 #1 PREEMPT Sun Aug 8 09:50:47 BST 2010 armv7l unknown

af67c2a3ce874178945d6a30d8391beb /home/user/MyDocs/bt5.img

Do I have to specifically choose which kernel to load or something?

sequel7 2011-05-16 03:36

Re: BackTrack 5 (arm) released
 
You shouldn't have had to if the power kernel was installed successfully, it should just be loaded when you reboot. And that's definitely not it.

Also, my bt5.img has an md5sum of ea9da7e254ab93986ceb9164847d8d88. I'm using the one directly downloaded from BackTrack's site though, not the one from page one of this thread. Your problem is definitely that the power kernel isn't running though. I'm not sure why.

azkay 2011-05-16 04:02

Re: BackTrack 5 (arm) released
 
So, apparently I didnt have extras devel so it didnt find it, just installed other kernel-power stuff.

Anyway, now it installed and everything- reboot, still the same output from uname -a

Yeah. This is weird, no matter how many times I reinstall/restart, it wont install.
Was using: apt-get install --reinstall -y kernel-power kernel-power-flasher

razzvi18 2011-05-16 05:09

Re: BackTrack 5 (arm) released
 
Quote:

Originally Posted by sequel7 (Post 1007042)
Hardware layout: English, Nederlands
No check
Check
Check
Check
1st language: English (USA)
2nd language: Not in use
Dictionary: English (USA)

I have also:

Hardware layout: English, Nederlands
Virtual keyboard checked
word completion notchecked
auto capitalisation not checked
insert space not checked
1st language: English (UK)
2nd language: Not in use
Dictionary: English (UK)

And presence vnc but the keyboard is not workind properly

azkay 2011-05-16 05:21

Re: BackTrack 5 (arm) released
 
Saw
apt-get install kernel-power-bootimg
apt-get install --reinstall multiboot-kernel-power

As ive got maemo/nitdroid dualbooting, reinstalling multiboot removes bootimg.

Bah.

Finally got it working.
apt-get remove kernel-power*

then reinstalled it all again. qchroots fine now.

azkay 2011-05-16 07:56

Re: BackTrack 5 (arm) released
 
If I apt-get install xserver-xephyr, then try running it; Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 I get:

Code:

[dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
[xkb] Can't rename /var/tmp/filekmxB8B to /var/lib/xkb/server-02D8252E59564A234380F1E5417646A9DB3B7452.xkm, error: Invalid cross-device link
(EE) XKB: Couldn't compile keymap
XKB: Failed to compile keymap
Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.

Fatal server error:
Failed to activate core devices.

More fun to troubleshoot. Seems theres a keyboard problem whether you go VNC or Xephyr

misiak 2011-05-16 10:13

Re: BackTrack 5 (arm) released
 
Quote:

Originally Posted by azkay (Post 1007116)
Saw
apt-get install kernel-power-bootimg
apt-get install --reinstall multiboot-kernel-power

As ive got maemo/nitdroid dualbooting, reinstalling multiboot removes bootimg.

Bah.

Finally got it working.
apt-get remove kernel-power*

then reinstalled it all again. qchroots fine now.

In new kernel power (47) the package multiboot-kernel-power is OBSOLETE and kernel-power-bootimg has all files which were needed for multiboot (so new kernel-power-bootimg package is the combination of old kernel-power-bootimg and multiboot-kernel-power packages), so It was OK that it removed multiboot-kernel-power.

windows7 2011-05-16 10:26

Re: BackTrack 5 (arm) released
 
Quote:

Originally Posted by azkay (Post 1007116)
Saw
apt-get install kernel-power-bootimg
apt-get install --reinstall multiboot-kernel-power

As ive got maemo/nitdroid dualbooting, reinstalling multiboot removes bootimg.

Bah.

Finally got it working.
apt-get remove kernel-power*

then reinstalled it all again. qchroots fine now.

I will try that tonight, cheers.

Mr. Incredible 2011-05-16 12:59

Re: BackTrack 5 (arm) released
 
I've copied the bt5.img to /Mydocs/bt5/
When I run "qchroot /home/user/Mydocs/bt/bt5.img /mnt/bt5/" I get an error "The image specified (/home/user/Mydocs/bt/bt5.img) does a regular nor a block special file. First paramenter must be an image file or partition."
What's wrong?

Edit:
It's "MyDocs" and /bt5/
I should write the path correctly.

sequel7 2011-05-16 13:23

Re: BackTrack 5 (arm) released
 
Quote:

Originally Posted by Mr. Incredible (Post 1007411)
I've copied the bt5.img to /Mydocs/bt5/
When I run "qchroot /home/user/Mydocs/bt/bt5.img /mnt/bt5/" I get an error "The image specified (/home/user/Mydocs/bt/bt5.img) does a regular nor a block special file. First paramenter must be an image file or partition."
What's wrong?

Edit:
It's "MyDocs"

Check that your bt5.img MD5 sum matches one of the ones previously mentioned in here.

md5sum /home/user/MyDocs/bt/bt5.img

fatcobrah 2011-05-16 13:43

Re: BackTrack 5 (arm) released
 
Quote:

Originally Posted by Mr. Incredible (Post 1007411)
I've copied the bt5.img to /Mydocs/bt5/
When I run "qchroot /home/user/Mydocs/bt/bt5.img /mnt/bt5/" I get an error "The image specified (/home/user/Mydocs/bt/bt5.img) does a regular nor a block special file. First paramenter must be an image file or partition."
What's wrong?

Edit:
It's "MyDocs"

so u have to type
qchroot /home/user/MyDocs/bt5/bt5.img /mnt/bt5/
not
qchroot /home/user/MyDocs/bt/bt5.img /mnt/bt5/

gabby131 2011-05-16 14:02

Re: BackTrack 5 (arm) released
 
according to wikipedia, BackTrack is freakin' huge hacking m*****f****n' tool! with training online??!!! holy smokes!!!

sequel7 2011-05-16 14:08

Re: BackTrack 5 (arm) released
 
Quote:

Originally Posted by fatcobrah (Post 1007438)
so u have to type
qchroot /home/user/MyDocs/bt5/bt5.img /mnt/bt5/
not
qchroot /home/user/MyDocs/bt/bt5.img /mnt/bt5/

heh, good catch. I missed that he said bt5 in the first line.

sequel7 2011-05-16 14:09

Re: BackTrack 5 (arm) released
 
Quote:

Originally Posted by gabby131 (Post 1007446)
according to wikipedia, BackTrack is freakin' huge hacking m*****f****n' tool! with training online??!!! holy smokes!!!

It's actually an operating system with a whole bunch of tools compiled and ready for use. And yes, there is fantastic training available at offsec.com

gabby131 2011-05-16 14:33

Re: BackTrack 5 (arm) released
 
Quote:

Originally Posted by sequel7 (Post 1007450)
It's actually an operating system with a whole bunch of tools compiled and ready for use. And yes, there is fantastic training available at offsec.com

hmmm....great....reading upon documentations, its a killer! but i may find myself a hard time catching up on it.

sequel7 2011-05-16 14:43

Re: BackTrack 5 (arm) released
 
Quote:

Originally Posted by gabby131 (Post 1007467)
hmmm....great....reading upon documentations, its a killer! but i may find myself a hard time catching up on it.

Head here - http://www.backtrack-linux.org/downloads/

Download an ISO or a VM image or whatever, boot it up, and screw around for a bit. You'll figure it out :-)

mr_pingu 2011-05-16 16:04

Re: BackTrack 5 (arm) released
 
Quote:

Originally Posted by SuperDumb (Post 1006083)
Here is how i did it :

(Be sure you have rootsh & easy-chroot)
Everything typed in terminal is blue
- Put the bt5.img anywhere (i did it in /home/user/Mydocs/bt5, so rest of the howto is based on that but can be changed)
- open Terminal
- sudo gainroot
- mkdir /mnt/bt5 (needs to be done only first time to create the folder)
- qchroot /home/user/Mydocs/bt/bt5.img /mnt/bt5/ (when you see root@chroot you are good to go)
- export USER=root
- vncpasswd (Needs to be done once for setting up a password)
- vncserver -geometry 800x470
- startvnc
Now go back to open VNC and leave terminal open in background
In VNC use this settings :
The adress is 127.0.0.1:590x
x Is the number you see when you typed "startvnc" inside BT5. You will see something like this :
"Log file is /home/user/.vnc/Nokia-N900:x.log"
Mine was "Log file is /home/user/.vnc/Nokia-N900:1.log", so i have 127.0.0.1:5901
Enter password you choosed before, log in have fun.
When done and VNC is closed, do this to shutdown BT5:
Go back to opend terminal
- stopvnc
- exit
- qumount /mnt/bt5
- exit
- exit

Hope i did not miss something, will put the link with the img as soon as it is up (bout 1h30 left)
Will be away until tonight, hope it works.

Had some time today and downloaded the img..


/mnt/bt5 gets created in / on the n900 itself? Is that right or should it be in /MyDocs/mnt/bt5?
Dont like the idea it sits in /, wont that take up rootfs space?

Gi0 2011-05-16 16:20

Re: BackTrack 5 (arm) released
 
Quote:

Originally Posted by mr_pingu (Post 1007533)
Had some time today and downloaded the img..


/mnt/bt5 gets created in / on the n900 itself? Is that right or should it be in /MyDocs/mnt/bt5?
Dont like the idea it sits in /, wont that take up rootfs space?

You just mount it there (think of it like inserting a dvd in your computer). When you re done, you unmount it (remove the dvd) and you re good to go.

michaelxy 2011-05-16 16:49

Re: BackTrack 5 (arm) released
 
Thanks 4 to info with the not installed power kernel!
Than I dont install this kernel only because of bt5 - the risc of instability etc. is to high 4 me. With easy debian I can install most of the hacking tools 2.

mr_pingu 2011-05-16 17:01

Re: BackTrack 5 (arm) released
 
Thanks that made me understand but have the same as Mr. Incredible, so I think my download is corrupted or something.

Mr. Incredible 2011-05-16 17:11

Re: BackTrack 5 (arm) released
 
@mr_pingu
There is a typo in SuperDumb's how to. (path should be /bt5/)
Use the description in the first post.

But it still won't work. I have another MD5 sum then the ones posted.
I'm redownloading the .img from ifile.it now.

sequel7 2011-05-16 17:50

Re: BackTrack 5 (arm) released
 
Quote:

Originally Posted by michaelxy (Post 1007565)
Thanks 4 to info with the not installed power kernel!
Than I dont install this kernel only because of bt5 - the risc of instability etc. is to high 4 me. With easy debian I can install most of the hacking tools 2.

For what it's worth, running BT5 in a chroot is exactly the same level of risk as running Debian in a chroot, no more and no less. The kernel is different, true, but it isn't going to cause instability. Also, to be honest, if stability is paramount to you, you should be using a phone that actually has official updates put out for it once in awhile.

sequel7 2011-05-16 17:52

Re: BackTrack 5 (arm) released
 
Quote:

Originally Posted by mr_pingu (Post 1007533)
/mnt/bt5 gets created in / on the n900 itself? Is that right or should it be in /MyDocs/mnt/bt5?
Dont like the idea it sits in /, wont that take up rootfs space?

As Gi0 kind of said, it won't take up any of your rootfs space at all. Mounting an image like you are doing is basically similar to creating a link. While you you can access the data at /mnt/bt5, it is not actually stored there. It's stored wherever you put bt5.img.

krunge 2011-05-16 17:59

Re: BackTrack 5 (arm) released
 
One can run "x11vnc -storepasswd" to achieve the same effect as vncpasswd.

More info: http://www.karlrunge.com/x11vnc/x11v...pt-storepasswd

arnoldux 2011-05-16 19:02

Re: BackTrack 5 (arm) released
 
made it work all the way except at the vncstart part, it is supposed to be mounted and all and with the vnc server up and running but when i use presence vnc to connect, it always says connection lost... sttrange

after that i used vncstop and at the end said no proccess to kill or something like that, so vncstart necer worked?

what do you guys suggest

cheers

edit: made it work somehow.... but i still havent been able to change the display to 800x470

sequel7 2011-05-16 19:15

Re: BackTrack 5 (arm) released
 
Quote:

Originally Posted by arnoldux (Post 1007644)
made it work all the way except at the vncstart part, it is supposed to be mounted and all and with the vnc server up and running but when i use presence vnc to connect, it always says connection lost... sttrange

after that i used vncstop and at the end said no proccess to kill or something like that, so vncstart necer worked?

what do you guys suggest

cheers

with VNC running, do an `lsof -i -P -n` and see if it lists the VNC server as having a port open, it should be 5901 by default.

Unhuman 2011-05-16 19:28

Re: BackTrack 5 (arm) released
 
Got it working, but is it just me or is it ABSOLUTELY unusable due to slow speed?:D
EDIT: Hm the problem is more of that vnc crashed randomly.. like it just stops running and my vnc viewer crashes :mad:

Gi0 2011-05-16 19:29

Re: BackTrack 5 (arm) released
 
Quote:

Originally Posted by Unhuman (Post 1007660)
Got it working, but is it just me or is it ABSOLUTELY unusable due to slow speed?

i m overclocked to 1Ghz and its working pretty good


All times are GMT. The time now is 00:26.

vBulletin® Version 3.8.8