User:Jebba/Setup

Contents

[edit] Setup

Now that the device is debricked, I can use the thing again and "all" my data is there, but the repository setup is back to default and the applications I want are gone, amongst other things. To re-setup:


[edit] ssh server & keys

  • Enable Extras repository: tap, tap, tap...
  • Install openssh client/server package
  • Install rootsh package
  • Set up keys and such for easy access (my device hostname is burger):
  • On laptop, ssh into the sucker:
ssh root@burger
  • As root on N900, ssh to localhost as a quick/dirty way to setup /root/.ssh:
ssh localhost
  • On laptop, copy over ssh key and log back in:
scp -p ~/.ssh/id_rsa.pub root@burger:.ssh/authorized_keys
ssh root@burger
  • To allow ssh access for user "user", the passwd file needs to be edited.
vi /etc/passwd
  • Change
user:!:

to

user:*:
  • Set a password for user "user" (I couldn't ssh in without doing this, but someone on IRC said it wasn't necessary):
passwd user
  • Switch user to "user" and blow out the old known_hosts (or at least edit it) to remove the now bogus "localhost" entry:
su - user
rm .ssh/known_hosts
  • Quick/dirty way to set up /home/user/.ssh:
ssh localhost
  • Then GTFO:
exit
exit
  • This should work happily
ssh user@burger

[edit] Packages

[edit] Set up Repositories

  • Configure the repositories to set up things I like:
# vi /etc/apt/sources.list.d/hildon-application-manager.list

deb https://downloads.maemo.nokia.com/fremantle/apps/ ./ 
deb https://downloads.maemo.nokia.com/fremantle/mr0 ./ 
deb http://repository.maemo.org/extras/ fremantle free non-free
deb http://repository.maemo.org/extras-testing/ fremantle free
deb http://repository.maemo.org/extras-devel/ fremantle free
deb http://repository.maemo.org fremantle/tools free

apt-get update

Apparently the above gets blown out if you run the hildon application manager, so the repos need to be added via tap tap tap.

[edit] Install Needed Packages

apt-get install x11vnc
apt-get clean && sync

Mas y mas y mas

apt-get install vim bash htop ogg-support less file strace
apt-get clean && sync

Perhaps

apt-get install python-dbus python-gobject sysklogd klogd
apt-get clean && sync

Mas y mas y mas y mas y mas. The really big list...

mkdir /home/user/MyDocs/.apt-archive-cache/archives/
mkdir -p /home/user/MyDocs/.apt-archive-cache/archives/partial
apt-get -o dir::cache=/home/user/MyDocs/.apt-archive-cache    etc...


account-plugin-idle
adblock-plus
anki
ankimaemi
ankiqt
attitude
canola2
canola2-lastfm-plugin
canola2-tuning-plugin
canola2-youtube-plugin
canola-thumbnailer
conboy
decoders-support
easy-deb-chroot
emerillon
espeak
fmradio
gcompris
gcompris-sound-en
gcompris-sound-es
gonvert
google-album-art-downloader
gpxview
horizon
kmplayer
leafpad
maemo-mancala
maemo-mapper
maemo-recorder
maemo-recorder
mancala
mbarcode
midori
miniature
mirror
mplayer
mtracker
mytube
pastebinit
pidgin
qik
raeddit
rapier
recorder
rsync
sib
supertux
tuxpaint
vncviewer
xchat
xournal
zbar
zoutube

[edit] Configuration

Here's some configuration settings that got lost on reflash. I'm not sure where they are stored, so they need to be re-setup via tap tap tap. Note: if you do a backup on the device you may be able to then run restore which refreshes this, making the below unnecessary; untested.

The below are mostly stored in gconf under /system/osso/dsm/display, I believe these should be restored as per the back-up/restore application. - codeMonkey

[edit] Display

  • Settings-->Display-->Backlight time-out: 2 minutes
  • Settings-->Display-->Lock screen automatically: uncheck
  • Settings-->Display-->Display stays lit when charging: check

[edit] Text input

  • Settings-->Text input-->Word completion: uncheck
  • Settings-->Text input-->Auto-capitalization: uncheck
  • Settings-->Text input-->Insert space after word: uncheck
  • Settings-->Text input-->2nd language: Español (América Latina)
  • Settings-->Text input-->Use dual dictionaries: check


[edit] Time Zone

  • Settings-->Date and time-->Time Zone: Buenos Aires (this is unfortunately wrong due to incompetence of Argentine government)
  • Settings-->Date and time-->Update automatically: leave unchecked for now. When timezone data gets fixed, check it.

[edit] Connectivity

  • Settings-->Connectivity-->Internet connections-->Search interval: 5 minutes

[edit] General

  • Settings-->General-->Device lock-->Change lock code (default is 12345)

[edit] Email Accounts

  • Region: Argentina
  • Service Provider: Gmail -- I broke down and got a gmail acct :(
  • Account title: Gmail
  • Name: Jeff Moe
  • User name: jebbasan
  • Password: foo

[edit] Misc

echo ":syntax on" > ~/.vimrc
  • Uh, where should this be put, if no bash? In ~/.profile for busybox.
export TERM=xterm-color
  • To remove the overcute hands shaking at bootup (and therefore boot faster), edit /etc/hildon-welcome.d/default.conf thusly:
[hildon-welcome]
#filename=Hands-v32-h264.avi

You could also put in a different movie (playable by gstreamer), but a still image will not work.