| | 18 | |
| | 19 | == Allowing ssh acces over wlan == |
| | 20 | Initially the SHR image is configured to allow ssh acces only over USB networking, not using WLAN.[[BR]] |
| | 21 | This behaviour can be changed by editing the file {{{/etc/default/dropbear}}} that determines at which IP address the ssh daemon ("dropbear") does listen: |
| | 22 | |
| | 23 | Replace the line |
| | 24 | {{{ |
| | 25 | DROPBEAR_PORT=`ip addr list usb0 | awk 'BEGIN { FS="[ /]+" } /inet / { print $3 }'`:22 |
| | 26 | }}} |
| | 27 | (ssh works only over USB) by the line |
| | 28 | {{ |
| | 29 | DROPBEAR_PORT=`ip addr list eth0 | awk 'BEGIN { FS="[ /]+" } /inet / { print $3 }'`:22 |
| | 30 | }}} |
| | 31 | Now 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 == |
| | 33 | After 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 | {{{ |
| | 35 | fso-gpsd |
| | 36 | }}} |
| | 37 | What I don't know if my fix hinders the gps from powering down as long as it is not needed. |
| | 38 | |
| | 39 | Since 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]] |
| | 40 | Just crate a file named {{{/usr/share/applications/gpsd.desktop}}} and fill it with the following lines: |
| | 41 | {{{ |
| | 42 | [Desktop Entry] |
| | 43 | Encoding=UTF-8 |
| | 44 | Name=gpsd |
| | 45 | Comment=GPS Navigation |
| | 46 | Exec=fso-gpsd |
| | 47 | Icon=navit.png |
| | 48 | Terminal=false |
| | 49 | Type=Application |
| | 50 | Categories=GTK;Applications |
| | 51 | MimeType=text/x-vcard; |
| | 52 | StartupNotify=true |
| | 53 | }}} |
| | 54 | |
| | 55 | == navigation using navit == |
| | 56 | === Installation === |
| | 57 | navit itselves is easily installed: |
| | 58 | {{{ |
| | 59 | opkg install navit |
| | 60 | }}} |
| | 61 | === A launcher icon for navit === |
| | 62 | If you want to be able to start navit from the terminal edit {{{/usr/share/applications/navit.desktop}}} and replace the following line: |
| | 63 | {{{ |
| | 64 | Categories=GTK; |
| | 65 | }}} |
| | 66 | by this one: |
| | 67 | {{{ |
| | 68 | Categories=GTK;Applications; |
| | 69 | }}} |
| | 70 | === Making navit actually start up === |
| | 71 | It 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]] |
| | 72 | This 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 | }}} |
| | 81 | by 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 === |
| | 92 | Navigation software is useless without appropriate maps. |
| | 93 | |
| | 94 | For navit there are several options here. See the [[http://wiki.navit-project.org wiki of the navit project]] for details. |
| | 95 | |