Notices


Reply
Thread Tools
Posts: 60 | Thanked: 22 times | Joined on Feb 2008
#21
N800. Only thing I don't know is how to edit the Navit.xml file and change the maps path to the SD card. Please help me with this.

Don't know if I can help - the situation isn't very friendly as far as editing system files on n800 goes, isn't it?

I refuse to use vi so my only (?) option is this. Copy the file in question either in x-term or whatever you use on PC side after ssh-ing to your n8x0 to a memory card. That is:

cp /usr/share/navit/navit.xml /media/mmc1/

Connect via usb to your PC. You should be able to see the file now (if prefixed with period you wont, I use TextWrangler on OS X to see/edit invisible files). When finished copy it back to wherever it came from.

cp /media/mmc1/navit.xml /usr/share/navit/

There must a simpler solution. I guess some people create VPN to access system files but I wouldn't call it simple.

BTW I gave up on this Navi thing for the time being, this is simply unusable at this tage..

Last edited by directore; 2008-03-23 at 18:34.
 

The Following 2 Users Say Thank You to directore For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#22
Originally Posted by directore View Post
I refuse to use vi so my only (?) option is this. Copy the file in question either in x-term or whatever you use on PC side after ssh-ing to your n8x0 to a memory card. Connect via usb to your PC. You should be able to see this file now (if prefixed with period you wont, I use TextWrangler on OS X to see/edit invisible files). When finished copy it back to wherever it came from.
You should look into leafpad by free

In root, just run "run-standalone.sh leafpad <path to file>" . It's gui and very reliable imho.
 
Posts: 60 | Thanked: 22 times | Joined on Feb 2008
#23
I believe I tried it before but it won't install on my tablet, incompatibility of some kind.
 
danguyf's Avatar
Posts: 33 | Thanked: 4 times | Joined on Jan 2008
#24
I got maps loaded and showing up at last! Progress is very cool.

I haven't figured out a way to get the GPS to start from within the program, but starting RoadNav's RoadGPS got the GPS locked without crashing anything.

I haven't been able to get routing working, though. When I bring up the routing window I can enter an address, but none of the buttons seem to make that window actually do anything.
 
Posts: 21 | Thanked: 1 time | Joined on Dec 2007
#25
Originally Posted by directore View Post
cp /usr/share/navit/navit.xml /media/mmc1/

Connect via usb to your PC. You should be able to see the file now (if prefixed with period you wont, I use TextWrangler on OS X to see/edit invisible files). When finished copy it back to wherever it came from.

cp /media/mmc1/navit.xml /usr/share/navit/
I was able to complete the 1st step. But when I was trying to copy it back, I am getting 'permission denied' issue. How to overcome it? Any help please..
 
Posts: 60 | Thanked: 22 times | Joined on Feb 2008
#26
You need to be a root to do that, copy it back that is. The instructions here and elsewhere are confusing to me. I managed to gain root access by simply installing openssh, at some point they will ask you to define root password (that is password for user "root").

Then you can ssh from your PC (assuming that they both sit on the same router) to your tablet as user "root":
ssh root@192.x.x.x

where 192.x.x.x is your tablet local IP (good luck finding it!) and entering your root password.

For reasons unclear to me that password will not work in x-term on the tablet, that is
su
fails, and
sudo cp /media/mmc1/navit.xml /usr/share/navit/
will not accept your password.

Last edited by directore; 2008-03-24 at 06:12.
 
danguyf's Avatar
Posts: 33 | Thanked: 4 times | Joined on Jan 2008
#27
If you want root from xterm on your tablet, directore, install "becomeroot" and then you do "sudo gainroot" from the prompt.
 

The Following User Says Thank You to danguyf For This Useful Post:
Posts: 21 | Thanked: 1 time | Joined on Dec 2007
#28
I finally succeeded copying navit.xml file back to usr/share/navit folder using 'becomeroot'. But still it is not working. Navit application is looking for maps bin file from the root directory, though I changed its path to /media/mmc1/ folder on SD Card in the navit.xml file.

After navit.xml file is changed and copied back to root, do I need to do any sort of compile or something?

Last edited by venubvs; 2008-03-25 at 00:25.
 
danguyf's Avatar
Posts: 33 | Thanked: 4 times | Joined on Jan 2008
#29
How do you know it's looking for it in root? Did you follow the posted navit.xml as a guide?
 
Posts: 21 | Thanked: 1 time | Joined on Dec 2007
#30
Now the changed navit.xml is working. But it is crashing now while loading the maps binfile. I have downloaded maps from 'http://maps.navit-project.org/' for OH state in U.S. But when I looked into the maps in the above site at the highest zoom level, I am not seeing any roads or city/street names. Is this the site I should download maps from?? They are mentioned as opensteet maps - precompiled, ready to use.

Last edited by venubvs; 2008-03-25 at 02:08.
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:40.