Reply
Thread Tools
Posts: 3 | Thanked: 0 times | Joined on Oct 2007
#1
Hello everyone,
Being a programmer and a huge fan of Open Source Projects I decided I wanted to help tackle some of the requests for the Nokia 770 on Kismets website. Sadly, this isn't going as planned so I need your help. (It never does does it?)

My setup:
Nokia 770
OS - IT2007HE 4.2007.36 (the most recent)
Bluetooth GPS

My current install:
1) Flashed the Nokia device under linux (Ubuntu 7.4)

2) Followed the steps for BecomeRoot2 from www.maemo.org
- Installed xterm
- Installed dropbear
- entered device and modified gainroot script

3) Added the following source's through Maemo's UI
#maemo:name Nokia Catalogue
#maemo:essential
deb http://catalogue.tableteer.nokia.com/certified/ bora user
#maemo:name Nokia Catalogue (3rd party software)
deb http://catalogue.tableteer.nokia.com/non-certified/ bora user
#maemo:name maemo-hackers
deb http://maemo-hackers.org/apt bora main
#maemo:name mg
deb http://mg.pov.lt/770 bora user other
#maemo:name repository.maemo.org
deb http://repository.maemo.org/ bora free non-free
#maemo:name Repos.maemo mistral
deb http://repository.maemo.org/extras bora free
#maemo:name MUlliNER.ORG Maemo Software (Maemo 3.x)
deb http://www.mulliner.org/nokia770/repository/ bora free
#maemo:name Eko1 (disabled after kismet install)
deb http://eko.one.pl/maemo mistral user

4) Ran the following commands to install Kismet
-apt-get remove libpcap0.8 libpcap ncurses-base
-apt-get install ncurses-base libpcap0.8
-apt-get install kismet


Starting Kismet:
1) opened xterm
2) sudo gainroot
3) kismet

Problem:
The problem arose with the initial test of my setup. After approximately 10min kismet returned the following error:
kismet exiting. localhost:2501 TCP error: socket returned EOF, server
has closed the connection.

The kismet client is still connected and functioning properly but the server completely crashed. I have tried this on 2 devices and multiple times on each device.

Before I can continue I need to solve this problem. Do you have any suggestions? What is the proper way to install kismet? Would you recommend another version of the operating system to install? Is there a better version of kismet to install?

Thank you for all your help. The sooner I can get this fixed the sooner I can begin programming and porting. All in all I would like to have this solved by Friday at the latest. Thanks again.
 
Posts: 245 | Thanked: 25 times | Joined on Apr 2007
#2
Sorry I can't be of more help, but on my 770, it "Just Works". The only thing that doesn't work with Kismet on the 770 is gpsd. I can't get gpsd to stay connected to my GPS for anything, but kismet keeps scanning as long as I let it run, just without GPS information.
 
Posts: 3 | Thanked: 0 times | Joined on Oct 2007
#3
Well I should be able to help with gpsd. The problem is that the provided software for gpsd in the IT2007HE edition is not compatible with the hardware of the 770. BUT!!! I found a solution. I have tested this on multiple devices and it does work. I found this solution at the following website.
http://sucs.org/Knowledge/Articles/Nokia%20770

The supplied gpsd does not work on the 770. My solution was to download gpsd_2.33-5_armel.deb, then do the following:

dpkg --extract gpsd_2.33-5_armel.deb [somedir]
cd [somedir]
cp -R * /
ln -s /usr/lib/libdbus-1.so.2.0.0 libdbus-1.so.3
The last line you need to change to:
ln -s /usr/lib/libdbus-1.so.2.0.0 /usr/lib/libdbus-1.so.3

you can also download the file from the above website. So best of luck with that.



Now back to my problem: What were the following steps you took to gain root access on the IT2007HE? I followed the website but I want to double check because EOF errors are typical of improper root access. Also, did you add any other programs before kismet? Such as curl, etc? What file system do you have on your memory card? Did you install kismet from eko.one.pl? Thanks for this info dude!
 
Posts: 245 | Thanked: 25 times | Joined on Apr 2007
#4
Originally Posted by squorn View Post
Well I should be able to help with gpsd. The problem is that the provided software for gpsd in the IT2007HE edition is not compatible with the hardware of the 770. BUT!!! I found a solution. I have tested this on multiple devices and it does work. I found this solution at the following website.
http://sucs.org/Knowledge/Articles/Nokia%20770



The last line you need to change to:
ln -s /usr/lib/libdbus-1.so.2.0.0 /usr/lib/libdbus-1.so.3

you can also download the file from the above website. So best of luck with that.


Thanks, I'll try that. I suspected that gpsd wasn't compatible was the issue, but hadn't had time to search or test.


Now back to my problem: What were the following steps you took to gain root access on the IT2007HE? I followed the website but I want to double check because EOF errors are typical of improper root access. Also, did you add any other programs before kismet? Such as curl, etc? What file system do you have on your memory card? Did you install kismet from eko.one.pl? Thanks for this info dude!
So many questions, such a feeble memory on my part!
1. I just installed becomeroot. I didn't modify the script.
2. I added a number of programs, this is my wife's device, and she wanted games, etc. Kismet came later, after she had time to play with it!
3. Memory card (2GB RS-MMC is FAT-32
4. Yes, Kismet came from eko.one.pl

In other words, I don't think you did anything different from me except modify the script. Can you post details about your modifications?
 
Posts: 3 | Thanked: 0 times | Joined on Oct 2007
#5
Hum...I think i will reflash and try it one more time before I break the device. :-)
I am going to scrap the modification of the script and go with installing becomeroot. So where did you find becomeroot? I know it is on eko.one.pl's repos but I am unsure if that is being maintained or really the correct one to install.

One last question about kismet...
before you installed kismet did you do the following?
Code:
-apt-get remove libpcap0.8 libpcap ncurses-base
-apt-get install ncurses-base libpcap0.8
-apt-get install kismet
If that isn't it then I think the problem might lay with permissions on part of the memory card. I might read the kernel log to see if I notice anything in there.

So, how did the GPSd trick work out for you? Did you try it out?

Thanks for all your help bro.
 
Posts: 245 | Thanked: 25 times | Joined on Apr 2007
#6
Originally Posted by squorn View Post
Hum...I think i will reflash and try it one more time before I break the device. :-)
I am going to scrap the modification of the script and go with installing becomeroot. So where did you find becomeroot? I know it is on eko.one.pl's repos but I am unsure if that is being maintained or really the correct one to install.
Yes, that's the becomeroot I used.

Originally Posted by squorn View Post
One last question about kismet...
before you installed kismet did you do the following?
Code:
-apt-get remove libpcap0.8 libpcap ncurses-base
-apt-get install ncurses-base libpcap0.8
-apt-get install kismet
I did fix libpcap, but I don't think a re-install was necessary. I currently have a symlink from /usr/lib/libpcap.so.0.8 to /usr/lib/libpcap.so.0.9.5 on both my n800 and n770. I think that will take care of the issue, rather than delete and reinstall.

Originally Posted by squorn View Post
If that isn't it then I think the problem might lay with permissions on part of the memory card. I might read the kernel log to see if I notice anything in there.

So, how did the GPSd trick work out for you? Did you try it out?

Thanks for all your help bro.
Haven't had time to try it yet.
 
Reply


 
Forum Jump


All times are GMT. The time now is 05:40.