About

Archives

01 Jul - 31 Jul 2006
01 Aug - 31 Aug 2006
01 Sep - 30 Sep 2006
01 Oct - 31 Oct 2006
01 Nov - 30 Nov 2006
01 Dec - 31 Dec 2006
01 Jan - 31 Jan 2007
01 Feb - 28 Feb 2007
01 Mar - 31 Mar 2007
01 Apr - 30 Apr 2007
01 May - 31 May 2007
01 Jun - 30 Jun 2007
01 Jul - 31 Jul 2007
01 Aug - 31 Aug 2007
01 Oct - 31 Oct 2007
01 Nov - 30 Nov 2007
01 Dec - 31 Dec 2007
01 Jan - 31 Jan 2008
01 Feb - 28 Feb 2008
01 Mar - 31 Mar 2008
01 Aug - 31 Aug 2009
01 Sep - 30 Sep 2009
01 Jan - 31 Jan 2010
01 May - 31 May 2010
01 Jun - 30 Jun 2010
01 Aug - 31 Aug 2010
01 Sep - 30 Sep 2010

Links

Search!

Last Comments

Alvaro Oliver (StackBook Part 4 …): Hey! nice post. I just bo…
Tiago Gomes (Let's start again…): ok, now feel happy, you a…
Tiago Gomes (Let's start again…): ok, now feel happy, you a…
ir0nhide (StackBook Part 4.…): Very cool, nice work
Toby (Gigabyte, LCDs, a…): Good stuff, although now …
luke (StackBook part 3 …): what are you planing to u…
Toby (A quick rant...): Bastards
Hugh (StackBook Part 2 …): Nicely done, but you now …
gm (StackBook Part 2 …): Hmm, I plan to go a littl…
luke (StackBook Part 2 …): i cant help but wonder if…

Stuff

Powered by Pivot - 1.40.4: 'Dreadwind' 
XML: RSS Feed 
XML: Atom Feed 

« 3 and iinet? Ouch! | Home | ... and I strike agai… »

Remember back when...

06 04 07 - 21:12 Remember when I said I'd enable netmonitor mode on my Nokia 6210?

I first read about it and thought "this would be cool", as I generally think of "hidden" features.

I go and buy a datacable for my phone off eBay. While waiting for it to arrive, I mention to a friend about it (who also has a 6210, and data cable). He lends me his data cable until mine arrives (Damn, could've saved myself $20, I thought at the time, as I'd only need the cable once). I then install Gnokii on my PB G4. I mess around, and find the phone won't work in FBUS mode... only the AT command driver works.

Further inspection would reveal it is trying to use 115200 baud on the serial port. My serial port, being a Keyspan USB PDA adaptor, can only do 57600 baud. Damn.

And there's no way of doing it in AT mode at 9600 baud.

Another attempt follows, attempting to connect via IrDA on a friend's laptop. Nope, no go there. Damn. Cable arrives, try again with my exactly-the-same cable, no go again.

Make some attempt to find someone with a laptop and serial port, who can be convinced to install gnokii. No luck there.

File data cable away in bottom drawer. Forget about it...

Fast forward to yesterday. I remember the serial cable. Hey, what device do I have that has a serial port and runs Linux? Ahh, a WRAP!

Download the sources for gnokii. Compile... and half way through the WRAP runs out of disk space. I MUST get a bigger CF card for that thing already... seriously.

Remove some stuff, continue compiling, install.

Now, the serial port is used for a serial console. I realise the console is specified in 3 seperate places. Once in TinyBIOS, once in the Linux Kernel for the boot messages, and once in /etc/inittab for a console once the system has booted.

I don't need the console, I've got ethernet plugged in and can SSH in.

Alright, just edit /etc/inittab.

I go in and comment out the entry for the serial console, and reboot with the nullmodem connected to the computer. As expected - TinyBIOS goes through it's screen, then the boot messages come up... then nothing. The serial port is now free to do what we want.

Edit gnokiirc to point it to the serial port, and select the phone driver.

Unplug the nullmodem cable and plug in the datacable. Run gnokii --identify. Nothing. Run it again. Nothing. Uh-oh, is this going to work?

Look at the phone. Whoops, the other end has to be plugged into the phone. That helps.

Run gnokii --identify for a third time... and it works! Surprise surprise.

Alright, now for the big finish. gnokii --netmonitor devel. It runs through, and unceremoniously dumps me back to the shell.

I hit the menu button on the phone and scroll back through the menus. Nothing special. Hmmm.

Ok, turn the phone off and on again. Look in the menu... and see this:



Wow, finally. After I don't use that phone any more.

It's got some cool functionality - telling you what channel the phone is on, the received signal strength in dbm, the battery voltages, basically tons of internal phone parameters. It's really quite cool, and I wish I had it earlier... :)

Oh, and no, my 3 sim card doesn't work in that phone (the phone displays "Sim card rejected", apparently this is normal as the sim is only meant to work in 3G phones anyway). The vodaphone sim that was in that phone works in my 3 phone (as I got it unlocked :D), but can't make calls (for obvious reasons i.e. credit has long since expired).

Which means I can walk around with the phone... and measure network signal levels :)
No comments

Trackback link: http://gm.stackunderflow.com/blog/pivot/tb.php?tb_id=78

  
Remember personal info?

Emoticons / Textile

To prevent automated comment spam, the answer to this rather simple question is required...

 

  (Register your username / Log in)

Notify:
Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.

 

Linkdump