[maemo-developers] [maemo-developers] Re: RE: sorry, i forgot the title, it's a newbie question(no new mesage in here)

From: Danny Milosavljevic danny_milo at yahoo.com
Date: Sat Nov 25 19:38:34 EET 2006
On Fri, 29 Sep 2006 16:13:57 +0900, 박영훈 wrote:

Hello all,

> suddenly I received it from my boss to test our application

Make sure it uses the current firmware release.

Check "Control panel > Device > About Product".

It should be "Version 2.2006.39-14".

If not, get http://www.maemo.org/downloads/nokia_770

and get the flasher program from
http://maemo.org/downloads/d3.php

Note that device needs to be turned off before flashing. 
See the wiki
http://maemo.org/maemowiki/  ,
http://maemo.org/maemowiki/HOWTO_FlashLatestNokiaImageWithLinux


> So I installed Debian 2.6.8 and checked 770 detected as a USB storage
> disk

What it detects is the MMC card inserted into the lower right edge of the
device. You don't have remote access to the root tree.
I do use it for uploading files though.

The Nokia 770 file manager has a very dumbed-down interface (sigh...)
so the only way to do something useful [as a programmer] with the device
is to install:

1) A terminal: osso-xterm-advanced:
http://maemo-hackers.org/apt/pool/main/o/osso-xterm/osso-xterm_0.13.mh13_armel.deb

(Don't use the non-"advanced" version, backspace key is broken there)

2) A ssh server: dropbear:
http://www.komputika.net/maemo/index.php?dir=&file=dropbear_0.48-0.1_armel.deb

Note that after installing ssh, drop your ssh public key into
"/home/user/.ssh/authorized_keys" on the device (I usually have to use
the browser on the device to download my public key from my homepage -
after all, its _public_ :) - and then use xterm to put the file there...
yeah, that sucks).

Then you can log in from your PC by doing
"ssh user at 192.168.0.106" (the IP is assigned by the router DHCP and can be
seen in the terminal - "ifconfig wlan0")

Then log in to the device and then do: "passwd -l root" in order to
disallow direct root logins. Details see wiki.

A list of applications is there:

http://maemo.org/maemowiki/ApplicationCatalog2006

> I think I must setting up usbnet function 

I don't really know about usbnet. Note that the Nokia 770 has wireless
networking out of the box. Much easier when you have a wireless access
point somewhere :) (just click the little globe at the top right screen
corner)

So I didn't have a need for usbnet yet :)

Note that in order to become root, you have to 
1) set the device in R&D mode and
2) call "sudo gainroot" in ssh or xterm

For 1) do: 
"./flasher --enable-rd-mode --reboot" on your PC with the Nokia 770
connected via the USB cable. Note that device needs to be turned off
before flashing. See the wiki http://maemo.org/maemowiki/  ,
http://maemo.org/maemowiki/HOWTO_FlashLatestNokiaImageWithLinux

Hope that helps.

[
Dear Nokia, could we automate
1) uploading an ssh key
2) obtaining the IP address

For 2) does it announce availability via rendevouz-like stuff? Then
nevermind. 
ssh key management would still be nice. Hmm... I smell my next project.
]

cheers,
  Danny


More information about the maemo-developers mailing list