![]() |
View and Edit system files in Ubuntu?
It's probably really obvious (hopefully) but is there a way that I can view and edit the system files on my n900 using ubuntu?
I've been reading the modding thread and while I have installed midnight commander and used it to add the "Reboot" button with no problems, there are other things I want to mod and play around with like changing wifi logo, battery logo's etc, but I would just feel a lot happier doing this via my laptop. Anyone have a way? |
Re: View and Edit system files in Ubuntu?
I ssh into my N900 to edit files. http://wiki.maemo.org/SSH
|
Re: View and Edit system files in Ubuntu?
Code:
apt-get install sshfs Code:
apt-get install openssh-server then just Code:
mkdir /media/n900 after testing that it works this way, please set up key authentication for the N900 "user" account. that's much safer than connecting as root. |
Re: View and Edit system files in Ubuntu?
Thanks guys, to do this ssh, do I need a wifi router with active connection to the web?
My only option for web browsing is currently to tether using my trusty N900, so that presumably wouldnt be an option for me... However, I do still have a BT homehub router, which i guess could still just serve as a LAN, which might be good enough to let me do a SSH? Hmmm, i must try... |
Re: View and Edit system files in Ubuntu?
Quote:
You would also need to install openssh on the N900. On the Ubuntu side, modify the /etc/network/interfaces file and add these lines: Code:
iface usb0 inet static Code:
sudo ifup usb0 |
Re: View and Edit system files in Ubuntu?
Quote:
Genius, thank you :) |
Re: View and Edit system files in Ubuntu?
I need more help here, im not quite getting something right.
I followed the set up for the N900 instructions, and I was successfully able to ping my laptop = 100% packets received. When it came to doing it the other end, pinging my N900 from my laptop doesnt work, I get 100% packets NOT received. What could be causing this? Also, I then try to connect via either filezilla or secure shell and cant establish a connection. I dont fully understand what i'm doing so its probably something really obvious im missing. |
Re: View and Edit system files in Ubuntu?
Errrm, correction to the above.
It seems I can ping my N900 (192.168.2.15) from my N900, but not my laptop (ping 192.168.2.14) However, when using the laptop, neither address works |
Re: View and Edit system files in Ubuntu?
Quote:
Quote:
Code:
sudo gainroot edit: you did do "ifup usb0" on the N900 as well, right? |
Re: View and Edit system files in Ubuntu?
Ok guys, I've done, and re-done everything suggested here, but when I come to connect via SSH I just get a "Host Unreachable" error.
Checklist on N900: 1. Installed SSH server and Client 2. did what ever this means: "mkdir /media/n900 chown <username> /media/n900 sshfs root@n900.host.or.ip:/home/user /media/n900 -o allow_other" 3. did "ifup usb0" Checklist in Ubuntu 1. apt-get install openssh-server - done 2. modified /etc/network/interfaces file to add "iface usb0 inet static address 192.168.2.14 netmask 255.255.255.0 broadcast 192.168.2.255" 3. did "ifup usb0" Still no joy. |
All times are GMT. The time now is 06:36. |
vBulletin® Version 3.8.8