User:Lars

Random N900/MAEMO Tips

I'm going to be using this page to jot down some notes about doing stuff on the N900 that I've just gotten. Maybe someone else will find this useful.

Contents


Speed up the Application Manager

The application manager uses apt-get, and the default network-related timeouts are rather long. Add this to the end of your /etc/apt/apt.conf.d/00maemo file to speed things up when servers are unreachable:

// Be more aggressive in timing out stuck network connection attempts.          
//                                                                              
Acquire::Retries "1";                                                           
Acquire::http::Timeout "3";                                                     
Acquire::https::Timeout "3";                                                    
Acquire::ftp::Timeout "3";                                                      

Set up mDNS (aka Bonjour, aka Rendezvous)

As described here, you can install avahi, an open-source mDNS client.

Since the N900 uses upstart, the information here about changing the service startup order is no longer relevant. Instead, you need to create two files for upstart as follows:

/etc/event.d/avahi-daemon

start on stopped rcS
console output
respawn
exec /usr/sbin/avahi-daemon -D

/etc/event.d/avahi-dnsconfd

start on stopped rcS
console output
respawn
exec /usr/sbin/avahi-dnsconfd -D