Reply
Thread Tools
Posts: 27 | Thanked: 0 times | Joined on Mar 2007
#1
Can someone point me to a wiki or something that will explain how to compile on the n800? Do you have to compile on another machine or can you compile directly on the n800? I opened xterm and tried a couple of commands but this is busybox I guess and I am use to a full install of linux

I want to try to compile the aircrack-ptw tool on the N800 so I can audit my wep encrypted network

This tool is suppose to be very quick at breaking wep encryption. So i am curious to give it a shot..

Thanks.
 
ArchiMark's Avatar
Posts: 414 | Thanked: 109 times | Joined on Mar 2007 @ Silicon Valley
#2
I'm very interested in onboard dev on my N800 too....

Is GCC available anywhere???
__________________
Mark
Silicon Valley Digerati

Nokia N900
Previous: Nokia N810 & N800
 
Posts: 42 | Thanked: 1 time | Joined on Mar 2007
#3
I'm interested in that new tool as well treasonx. The latest version of aircrack-ng would be nice as well (aircrack-ng 0.5 is the only version I could find ported to the N800)
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#4
Originally Posted by treasonx View Post
[compiling app on n800 because of missing app]
You don't have to compile on the N800, the normal way is to install the developer kit on your desktop (linux, but there's a wmware version too) and cross-compile it there. Look around on maemo.org for the developer kit.

(Onboard development should certainly be possible, but it's not the usual development model. However, even on PalmOS there are a couple of on-board compiling options, so the N800 presumably isn't too small for this either.)
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 
ArchiMark's Avatar
Posts: 414 | Thanked: 109 times | Joined on Mar 2007 @ Silicon Valley
#5
Everyone

So, does anyone know where one can get the following for the N800:

gcc-3.4-base
gcc-3.4
libc6 (>=2.3.5-1)
libgcc1 (>=3.4.4)
libobjc (>=1:3.4.4cs2005q3.2-5.osso3)


I found gdb and gobjc the other day using Red Pill......



TA-t3

For me on-board dev is more about having a portable dev env that I can play with wherever I may be and have some time to do some coding practice....don't expect it to replace the need for having a full PC for this work....

However, FWIW, on my Zaurus SL-C3200 I have gcc on it and it works surprisingly well. So, would like to have the same option for the N800 if possible....
__________________
Mark
Silicon Valley Digerati

Nokia N900
Previous: Nokia N810 & N800

Last edited by ArchiMark; 2007-04-11 at 21:58.
 
Posts: 2 | Thanked: 0 times | Joined on Oct 2007
#6
I agree with you, plenty of space and micro power then why bother with risky root jobs at the large machine?
No fun I am right now trying to recover an erased "/" while I write these notes, AND a whiped external usb disk that used to be my main backup and was mounted at the time. Confusing instructions to install scratchbox&SDK and a faulty keyboard did the rest.
I managed to compile, although... get funny errors and may be one day i shall post here for help, more on that later.
There are detailed instructions on how to install C/C++ compiling resources on the N800, I have mine on paper and it reads "Here's how to do C/C++ compiling on the unit itself", go google around, mind that I would swear I got it right in this forum.
Basicaly, as root, you have to download deb packages from maemo 2.2 pool at the repository, and libc6 and linux-kernel-headers from maemo 3.1's... then dpkg -i them. Ah! they forgot to include pkgonfig from maemo 2.2 in the list.
So far that is it, but if you want proper gnu "tar zxvf XXX.tar.gz; cd XXX; ./configure; make; make install", there are several bits that you need further: libgtk2.0-dev, hildon-libs-dev, ... all of them available at the command line through "apt-cache search XXX; apt-get install XXXzzz...".
THEN:
The most complex packages will not configure from lack of identified floating point unit, and plain segmentation faults at make's compilation that require just another pick at make. There are other, internal, errors that I cant fight so far.
Hope it helps.

Please look at these errors.

1-------
gpp -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I../../cv/include -I../../cxcore/include -I../.. -DNDEBUG -Wall -fno-rtti -pipe -O3 -fomit-frame-pointer -MT cvpyrsegmentation.lo -MD -MP -MF .deps/cvpyrsegmentation.Tpo -c cvpyrsegmentation.cpp -fPIC -DPIC -o .libs/cvpyrsegmentation.o
cvpyrsegmentation.cpp: In function `CvStatus icvPyrSegmentation8uC3R(uchar*, int, uchar*, int, CvSize, CvFilter, CvSeq**, CvMemStorage*, int, int, int)':
cvpyrsegmentation.cpp:1021: internal compiler error: in verify_local_live_at_start, at flow.c:546
Please submit a full bug report,
with preprocessed source if appropriate.
Send email to arm-gnu@codesourcery.com for instructions.
make[3]: *** [cvpyrsegmentation.lo] Error 1
make[3]: Leaving directory `/usr/local/src/opencv-1.0.0/cv/src'
2--------
gpp -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I../../cxcore/include -I../.. -DNDEBUG -Wall -fno-rtti -pipe -O3 -fomit-frame-pointer -MT cxdrawing.lo -MD -MP -MF .deps/cxdrawing.Tpo -c cxdrawing.cpp -fPIC -DPIC -o .libs/cxdrawing.o
cxdrawing.cpp: In function `CvScalar cvColorToScalar(double, int)':
cxdrawing.cpp:1733: internal compiler error: Segmentation fault
3--------
gpp -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I../../cv/include -I../../cxcore/include -I../.. -DNDEBUG -Wall -fno-rtti -pipe -O3 -fomit-frame-pointer -MT cvpyramids.lo -MD -MP -MF .deps/cvpyramids.Tpo -c cvpyramids.cpp -fPIC -DPIC -o .libs/cvpyramids.o
cvpyramids.cpp: In function `CvStatus icvPyrDownBorder_16s_CnR(const short int*, int, CvSize, short int*, int, CvSize, int)':
cvpyramids.cpp:1148: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
Send email to arm-gnu@codesourcery.com for instructions.
make[3]: *** [cvpyramids.lo] Error 1
make[3]: Leaving directory `/usr/local/src/opencv-1.0.0/cv/src'
--------
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#7
I used to compile stuff on my 770 a long time ago, when someone posted the tools. It worked good for small things, but I would not want to try to compile KDE on it or aything


I used ubuntu CD (I assume any deb based distro would work) and installed to a local disk, booted from local disk, and ran these two scripts

created a user named user (29999) in group users (29999)

As root run
maemo-scratchbox-install_3.1.sh -d

there is a scratchbox command to add the user named user

as user run
maemo-sdk-install_3.1.sh

I don't know where I got the scripts from, search google thats what I did.

This will install everything you need and setup everything


once your up and running scratchbox as user, run
sb-conf select SDK_ARMEL

now download your source and your off
 
Posts: 223 | Thanked: 38 times | Joined on Jul 2007 @ home
#8
No fear guys, as Aircrack-ptw is already compiled for the N800 (and 770 as well i guess ).

http://irongeek.com/i.php?page=maemo...ng-pen-testing

At the bottom of the article is a couple repos, one of them has it. A word of caution: The N800's wi card does NOT as of yet support packet injection (as far as I know at least). I think this is mainly a problem with the drivers, though I'm not sure if the hardware supports it.


The specific repo if I remember well is MUlliNER.ORG:
http://irongeek.com/maemo/mullinerorg_bora.install


Enjoy
 
ArnimS's Avatar
Posts: 1,107 | Thanked: 720 times | Joined on Mar 2007 @ Germany
#9
Originally Posted by baro View Post
There are other, internal, errors that I cant fight so far.

cvpyrsegmentation.cpp:1021: internal compiler error: in verify_local_live_at_start, at flow.c:546
change -03 to -02
 

The Following User Says Thank You to ArnimS For This Useful Post:
Posts: 2 | Thanked: 0 times | Joined on Oct 2007
#10
great! thanks for your hint, ArnimS!
lower optimization let me compile OpenCv and return to a halted development project...

Jesus A. Baro
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 15:23.