Changes between Version 13 and Version 14 of Tweaks


Ignore:
Timestamp:
12/27/08 14:13:50 (4 years ago)
Author:
peterpall
Comment:

Some fixes I have found over the holidays. Mainly how to make navit work.

Legend:

Unmodified
Added
Removed
Modified
  • Tweaks

    v13 v14  
    1616try to apply this: 
    1717http://lists.openmoko.org/nabble.html#nabble-td1486414|a1518726 
     18 
     19== Allowing ssh acces over wlan == 
     20Initially the SHR image is configured to allow ssh acces only over USB networking, not using WLAN.[[BR]] 
     21This behaviour can be changed by editing the file {{{/etc/default/dropbear}}} that determines at which IP address the ssh daemon ("dropbear") does listen: 
     22 
     23Replace the line 
     24{{{ 
     25DROPBEAR_PORT=`ip addr list usb0 | awk 'BEGIN { FS="[ /]+" } /inet / { print  $3 }'`:22                                       
     26}}} 
     27(ssh works only over USB) by the line 
     28{{ 
     29DROPBEAR_PORT=`ip addr list eth0 | awk 'BEGIN { FS="[ /]+" } /inet / { print  $3 }'`:22                                       
     30}}} 
     31Now ssh works only over wifi, instead. If there is a way to make them both work at the same time I don't know. 
     32== no gps found error == 
     33After updating my phone to the shr-testing image from 12/26/2008 the gps ceased to work. This is due to the fact, that the gps daemon is for some reason at all no more started automatically. I expect the reason to go away sooner or later, but until then the gps problem can be temporarily fixed by starting the gps daemon manually: 
     34{{{ 
     35fso-gpsd 
     36}}} 
     37What I don't know if my fix hinders the gps from powering down as long as it is not needed. 
     38 
     39Since starting programs from the console isn't as comfortable as it ought to be I created a rather simple quick-starter for {{{fso-gpsd}}}:[[BR]] 
     40Just crate a file named  {{{/usr/share/applications/gpsd.desktop}}} and fill it with the following lines: 
     41{{{ 
     42[Desktop Entry] 
     43Encoding=UTF-8 
     44Name=gpsd 
     45Comment=GPS Navigation 
     46Exec=fso-gpsd 
     47Icon=navit.png 
     48Terminal=false 
     49Type=Application 
     50Categories=GTK;Applications 
     51MimeType=text/x-vcard; 
     52StartupNotify=true 
     53}}} 
     54 
     55== navigation using navit == 
     56=== Installation === 
     57navit itselves is easily installed: 
     58{{{ 
     59opkg install navit 
     60}}} 
     61=== A launcher icon for navit === 
     62If you want to be able to start navit from the terminal edit {{{/usr/share/applications/navit.desktop}}} and replace the following line: 
     63{{{ 
     64Categories=GTK; 
     65}}} 
     66by this one: 
     67{{{ 
     68Categories=GTK;Applications; 
     69}}} 
     70=== Making navit actually start up === 
     71It has currently to be started from console, - but does not fire up even if some cards are installed because it cannot load the modules for GPS, card reading and speach.[[BR]] 
     72This can be fixed by editing {{{/usr/share/navit/navit.xml}}}, and replacing the following section: 
     73{{{ 
     74    <plugins> 
     75        <plugin path="$NAVIT_LIBDIR/*/${NAVIT_LIBPREFIX}lib*.so" ondemand="yes" /> 
     76        <plugin path="$NAVIT_LIBDIR/*/${NAVIT_LIBPREFIX}libbinding_dbus.so" active="no" /> 
     77        <plugin path="$NAVIT_LIBDIR/*/${NAVIT_LIBPREFIX}libgraphics_null.so" active="no" /> 
     78    </plugins> 
     79 
     80}}} 
     81by this one: 
     82{{{ 
     83    <plugins> 
     84        <plugin path="$NAVIT_LIBDIR/*/${NAVIT_LIBPREFIX}lib*.so" ondemand="yes" /> 
     85        <plugin path="$NAVIT_LIBDIR/*/${NAVIT_LIBPREFIX}lib*.so.0" ondemand="yes" /> 
     86        <plugin path="$NAVIT_LIBDIR/*/${NAVIT_LIBPREFIX}libbinding_dbus.so" active="no" /> 
     87        <plugin path="$NAVIT_LIBDIR/*/${NAVIT_LIBPREFIX}libgraphics_null.so" active="no" /> 
     88    </plugins> 
     89 
     90}}} 
     91=== Maps === 
     92Navigation software is useless without appropriate maps. 
     93 
     94For navit there are several options here. See the [[http://wiki.navit-project.org wiki of the navit project]] for details. 
     95 
    1896 
    1997== Save boot time ==