|
Page 1 of 2 |
|
1
2
|
Next
Full file system access via both USB and network using OpenSSH + WinSCP
Get full access over your N900 file system in 3 easy steps! Watch out what you replace or delete or you might end up with a bricked device! ! Always make a backup first ! ! Never edit files in "sudoers.d"! A. Wi-Fi Wireless router required! 1. Enable the maemo.org repository by simply clicking this link (you should have it by default if your device is updated) (if you don't find the files requested below, the extras-testing repository too, manually by entering the details linked here into the app manager. 2. Install the following apps: Open SSH Client and Open SSH server on your N900.
http://i50.tinypic.com/2m5ik1x.jpg
B. USB Default cable is the only requirement! 1. Install Mad Developer (step A.1. may apply), run it and:
2. Connect your N900 via USB and:
3. When you want the old USB mode back, re-enable mass storage mode via: "Manage USB" -> "Load g_nokia" -> "close". I have also updated the Wiki, check it if you don't understand something or simply ask. :D If this post helped you, please check out the ideas in my signature and cast a vote if you think they're worth it :D |
Re: Full file system access: OpenSSH + WinSCP
Quote:
You'll probably tell me the xterminal codes but I'd prefer a whole app - it'll just be easier to manage Plus is there a way to use the apf protocol used by mac computers?? That way the N900 will be auto discovered by OSX and show as a mounted drive, I had a similar program on my jailbroken 3GS which was awesome... |
Re: Full file system access: OpenSSH + WinSCP
Quote:
the daemon is not "running" when there are no connections, it's idling - it doesn't consume any cpu cycles. |
Re: Full file system access: OpenSSH + WinSCP
Quote:
If you don't need it, just type show ip in google and pick a result. "APF" is a make-belief protocol only used on mac but there should be other softwares supporting the more common protocols available for mac as well. Check here for mounting the folders of your N900: http://talk.maemo.org/showpost.php?p...1&postcount=10 WinSCP (and other SCPs too) is not an explicitly used for mounting a folder as it is a rather complex wireless file manager. Please be so kind and don't quote my whole post, it's a little big don't you think? |
Re: Full file system access: OpenSSH + WinSCP
Thanks for the guide.
Couple of questions though: 1) The repos have a client (installed), server (installed) and an extra "client and server" which is now 2kb. Do I need this too? 2) How do I set a password on the N900 for openssh? I'm not prompted to on install... Thanks! |
Re: Full file system access: OpenSSH + WinSCP
Quote:
|
Re: Full file system access: OpenSSH + WinSCP
correct me if i'm wrong but i think you need to install rootsh first.
|
Re: Full file system access: OpenSSH + WinSCP
Quote:
OpenSSH installs and asks for pw automatically and that's it. SCP doesn't need root permission. |
Re: Full file system access: OpenSSH + WinSCP
Quote:
1) Yes you do 2) Have a look here this might help: http://talk.maemo.org/showthread.php?t=37004 |
Re: Full file system access: OpenSSH + WinSCP
Quote:
the package with both is just a metapackage to install the two other packages at once. |
Re: Full file system access: OpenSSH + WinSCP
Quote:
|
Re: Full file system access: OpenSSH + WinSCP
I also just added a guide on setting up public key based login as the user on the N900 instead of root which should avoid possible permission issues of files copied to the N900 and make the whole thing more secure:
http://talk.maemo.org/showthread.php...318#post484318 Accessing the fs then as user with sshfs: http://talk.maemo.org/showthread.php...334#post484334 My guides however focus exclusively on having a linux computer to connect from, so they are just an addition here. |
Re: Full file system access: OpenSSH + WinSCP
Quote:
|
Re: Full file system access: OpenSSH + WinSCP
Quote:
|
Re: Full file system access: OpenSSH + WinSCP
Quote:
Use the terminal! :D |
Re: Full file system access: OpenSSH + WinSCP
Quote:
Till then I'll avoid it in any way I can :D |
Re: Full file system access: OpenSSH + WinSCP
The biggest most importand and absolute necessary thing to know about the linux shell to know is: there is TAB completion !!
If you want to see all commands available to the current user that start with e.g. the letter 'l' just type 'l' and then hit the "TAB" button twice. You'll get a list of all avilable commands that start with 'l'. You can always hit tab, even to verify you spell the commands correctly. Additionally, when entering a path in a filesystem, TAB also completes the paths or shows you all available ones. Just start the X Terminal and type (all but the < and > character) ls MyD <TAB><TAB><TAB>.doc<TAB><Enter> If someone really wants to know more about the Linux on the command line, I can recommend these online books: For a good overview and typical tipps and tricks: http://dsl.org/cookbook/cookbook_toc.html As great reference and a really good overview of most linux commands: http://books.google.de/books?id=sI_X...age&q=&f=false Especially the chapter "Linux commands" is really useful. Beside that I can only suggest to try everything on some Linux on a big computer first, before screwing up your N900, a good and quick start would e.g. to boot a ubuntu live CD. |
Re: Full file system access: OpenSSH + WinSCP
I tried this in my WLAN and works nicely. Thanks. Few questions,
Should the n900 and the computer should be on the same WLAN/Network for this to work? Or can this be done from anywhere in the world over the internet if we know the ip? Also if i use the ip using the showip.net it shows me the public ip of n900 and it doesnt work in the winscp when i tried. The ip assigned by my WLAN router is the one which works fine. Can you clarify? |
Re: Full file system access: OpenSSH + WinSCP
I get "Connection refused" from WinSCP, do I need to have Wi-Fi to use this? With iPhone I managed to get full access with WinSCP without Wi-Fi (Just openSSH, USB cable and WinSCP.)
|
Re: Full file system access: OpenSSH + WinSCP
I really don't think you connected iphone via usb with winscp and Openssh alone, when I used to do this it was a little more complicated tha that.
Either way this tutorial requires indeed wi-fi. But why would you bother that much since N900 connects "just like that" via usb, plug n' play? If you think it's worth bothering here's some guys who did it: http://talk.maemo.org/showthread.php?t=37720 Or read this: http://sumoudou.org/相撲外:Mount%20the%...%20a%20PC.html |
Re: Full file system access: OpenSSH + WinSCP
Quote:
Thanks. |
Re: Full file system access: OpenSSH + WinSCP
You could ask those guys aswell...
|
Re: Full file system access: OpenSSH + WinSCP
does not work for me.
the connection always times out. oh man, i just want access to /usr/share/icons/hicolor/scalable/hildon without using the console so i can replace some files - it cant be that hard?! /edit. FINALLY got it to work. thank god. |
Re: Full file system access: OpenSSH + WinSCP
omg why didnt i come across this post earlier. took me quite a few hrs to find a suitable client software.
btw, why would u install openssh-client on n900. client side would be laptop from where u r accessing ur n900. just install openssh-server, start the server through terminal and use client software to access the server (n900) |
Re: Full file system access: OpenSSH + WinSCP
I'm having some problems on Windows 7.
On XP it works great. I kept getting Destination host unreachable error, I have already added WinSCP to allow list in firewall. Any ideas? N900 local IP is 192.168.1.125. When ping by using the command "ping 192.168.1.125" in cmd, it said.. "Reply 192.168.1.82: Destination host unreachable" I don't know why it shows 192.168.1.82 (which is my laptop) instead of 192.168.1.125 (the N900) Running Windows 7 Ultimate 32-bit, WinSCP latest verion, N900 has OpenSSH Client + Server |
Re: Full file system access: OpenSSH + WinSCP
i get:
network error: connection refused only started happening this morning, worked fine for the past month anyone know why? |
Re: Full file system access: OpenSSH + WinSCP
Does anyone know if it is possible to open an SSh session through USB cable?
|
Re: Full file system access: OpenSSH + WinSCP
Quote:
|
Re: Full file system access: OpenSSH + WinSCP
my ip has never changed.
i get: network error: connection refused only started happening YESTERDAY, worked fine for the past month anyone know why? infact i fixed it yesterday by uninstalling OpenSHH from phone, and WinSCP from pc and reinstalling them but i wake up today and its not working again and reinstalling does not work now |
Re: Full file system access: OpenSSH + WinSCP
Quote:
There are many variables here. Some suggestions:
There are probably more things, these are just off the top of my head. If this doesn't work you could try enabling logging in winscp to get more information. See here. EDIT: Thought of another one: Make sure you're using scp, not sftp to connect. If memory serves winscp allows both. Cheers, Jan |
Re: Full file system access: OpenSSH + WinSCP
sorry i ran out of stress pills this morning, the answer is no to all of the above, ive installed no new software either on phone or pc, everything worked fine, now it does not for no apparent reason, none of the other people across the internet who this has happened to have had a fix or a solution to the problem
i just find it very strange that the problem was not highlighted enough, now it is |
Re: Full file system access: OpenSSH + WinSCP
Quote:
Code:
ps -A | grep sshdCode:
/sbin/ifconfig wlan0 | grep inetCode:
ping YOUR_IP_ADDRESSAlso could you confirm again that the answer to all of the following questions is yes (sorry to repeat myself, just making sure):
If everything here looks OK you'll have to enable logging from WinSCP I think and post the output here (link in my last post). Cheers, Jan |
Re: Full file system access: OpenSSH + WinSCP
Works fine with me :-)
I can recommend the following PC-Side software: 1.) Putty for login into N900. http://www.chiark.greenend.org.uk/~s.../download.html 2.) Filezilla for copying files. http://filezilla-project.org/ 3.) I am copying my Pictures from N900 -> Linux server using rsync, and my home data/music from Linux Server -> N900 (also rsync) Who need iBlah etc ? :-) Also check in a WLAN, that the router allows connections between devices ... |
Quote:
strange thing is i managed to do that yesterday after reinstalling only once i have not selected anything other than the default protocol, and for me that is: SFTP, and 'allow FCP fallback' is ticked, i tried changing all of these when it wasnt working and it made no difference, the app worked for approx 6weeks with these settings, and its now working again with these settings yes my user name is 'root' and yes my password is correct but when its not working those things seem irrelevant anyway cos even if i leave username and passwork blank or if i deliberately type a different password and username i still get the same : network error: connection refused my wireless router has always been perfect for every device or program associated with it so i cant blame that would still like to see a solution as the next person with this problem will end up searching the internet all day like i did yesterday, and seeing lots of other people with the problem but with no clear solution for fixing it as strange as it may sound i think that actually typing my ip addr into WinSCP when creating a new login profile, instead of pasting it in from a text file was what fixed it, (even though there both exactly the same) ill find out next time it goes off |
Re: Full file system access: OpenSSH + WinSCP
My Transfer Speed can barely reach 10kb/s... is that normal??
It's painfull... |
Re: Full file system access: OpenSSH + WinSCP
@leetut
Told you it was the ip :p @Au{R}oN No it's not, are your router's ports forwarded properly? Is the signal strong enough? What kind of router do you have? B/G, B/G/M, B etc...? |
Re: Full file system access: OpenSSH + WinSCP
Quote:
It wouldn't hurt to thank the person who tried to talk you through the problem either. |
Re: Full file system access: OpenSSH + WinSCP
Quote:
Yes the signal is strong (Max) My Router is a Belkin and support B/G/N Also, i have absolutely NO PROBLEM when using N900 Wi-fi for navigation. |
Re: Full file system access: OpenSSH + WinSCP
again today i have the 'daily' network error: connection refused
cant log in, tried too many times already, cant be the ip cos im typing the correct ip into the box, worked all day yesterday, then today it wont work again @hellnick: reinstalling the application both on the device and the PC makes no difference now, it still wont work i do thank people, if ive missed anyone i apologise, i dont want anyone to thank me in public, i much prefer thanks in a pm cos its more personal, but to be honest the 'thanks/rep' function should be removed, every forum ive ever used that had that function always gave me bad feelings, i think its cos i see too many people being downright rude to newcomers on big forums like this (yes i experienced it on this forum when i first joined) it does make people take on a more dismissive personality when asking for help, compared to forums where everyone is nice to eachother, where i have a very helpfull and understanding personality, where i stay up for hours helping people, the problem could be fixed with some very strict moderating, or we could fix it ourselves, anyway enough ranting from me, from now on ill be mr nice guy i promise would love to know why i cant log in tho! |
Re: Full file system access: OpenSSH + WinSCP
This is the best method ever. I can't believe I'm using ssh to upload and download things from a phone...
It's so great to back up files, download camera pictures and upload whatever I need just by connecting to my wifi ap and clicking a shortcut on the desktop, it's so convenient I almost can't believe it. I'm using filezilla as a client, works really well. |
| All times are GMT. The time now is 12:17. |
Page 1 of 2 |
|
1
2
|
Next
vBulletin® Version 3.8.8