maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Full file system access via both USB and network using OpenSSH + WinSCP (https://talk.maemo.org/showthread.php?t=41422)

hellnick 2010-02-03 01:05

Re: Full file system access: OpenSSH + WinSCP
 
@leetut - It doesn't sound like the problem is with your PC, the password or the IP address. It sounds like a problem with the server on your device.

You need to uninstall it from the device and reboot. Reinstall it (by the way, it's usually best to only enable the testing and dev repositories only when you need to) and make sure that the server is running - from Big Phat Jan's advice: "you can test with "ps -A | grep sshd" in a terminal. You should see an sshd process owned by root."

Then set up a logged session in WinSCP and post the contents of the log here.

leetut 2010-02-03 14:29

ok day 4 here, ive fully flashed the phone reinstalled ssh on phone and pc, it still wont connect, ip is correct, user is root, password is correct, is there still no solution for this?

Quote:

Originally Posted by hellnick (Post 507793)
: "you can test with "ps -A | grep sshd" in a terminal. You should see an sshd process owned by root."

Then set up a logged session in WinSCP and post the contents of the log here.

i dont understand any of that bro!

this is the error:

http://img690.imageshack.us/img690/6359/jhycdt.jpg

just reinstalled ssh on phone and pc and rebooted both, still wont connect

if i type:
ps -A | grep sshd
into terminal, i get:
ps-A: notfound
it didnt fix the problem?
i still cant connect

rm53 2010-02-03 15:03

Re: Full file system access: OpenSSH + WinSCP
 
I read most of this thread - full file system access!
But I have still no idea where Maemo stores all my data like photos and videos from the camera, music, screenshots etc. etc.
In /home/user I definitvely cannot find these files. Where are they?

torpedo48 2010-02-03 15:05

Re: Full file system access: OpenSSH + WinSCP
 
Quote:

Originally Posted by rm53 (Post 508738)
I read most of this thread - full file system access!
But I have still no idea where Maemo stores all my data like photos and videos from the camera, music, screenshots etc. etc.
In /home/user I definitvely cannot find these files. Where are they?

Try /home/user/MyDocs
Then /.videos or /DSCM or /.sounds or /.images.

:):)

leetut 2010-02-03 15:05

look in home/user/MyDocs bro
photos should be in .images

Quote:

Originally Posted by hellnick (Post 507793)
and make sure that the server is running

Then set up a logged session in WinSCP and post the contents of the log here.

dont know what make sure server is running actually means?

i set up logging, couldnt connect, cant post log file cos it never gave me one

ive now been trying to do this constantly for 19 hours with no sleep:eek:

Grant 2010-02-03 15:13

Re: Full file system access: OpenSSH + WinSCP
 
@leetut: I experience that WinSCP error too, just not as consistently as you seem to. At home, I connect to my basic Linksys Wireless G router and utilize WPA-PSK authentication and DHCP, and I have had no problems at all with WinSCP/SSH. At work, we have Cisco WAPs that provide coverage throughout the building, and I set them up with WEP-PSK authentication, and I use a static IP address. At work is where I experience the Network Error: Connection refused on an inconsistent basis. WinSCP will work for a few minutes, then I'll get the error. Sometimes if I close WinSCP and re-open, it won't let me reconnect, sometimes it will let me. Sometimes if it won't connect, I just wait a minute or two, and then it will connect. Strange. It's not a signal strength issue, because I'll be right next to the AP. It's not a static IP issue, because I switched to DHCP just to check. It's not a general connectivity issue, because I can ping both ways even when getting the error. I'll be doing some further troubleshooting to try and figure out what my particular issue is, but you may want to try connecting through a different wireless router or change your wireless authentication method to see if its your router or its setup that may be the source of your issues.

leetut 2010-02-03 15:33

Re: Full file system access: OpenSSH + WinSCP
 
i just got connected, was uninstalling stuff i didnt use and it connected itself, not sure what i did yet but chances are the problem will be back!

Bec 2010-02-03 16:07

Re: Full file system access: OpenSSH + WinSCP
 
When everything fails, blame the router:
trendnet, belkin, etc..

hellnick 2010-02-03 16:53

Re: Full file system access: OpenSSH + WinSCP
 
Quote:

Originally Posted by leetut (Post 508751)
dont know what make sure server is running actually means?

ps -A | grep sshd

Type it exactly like that


i set up logging, couldnt connect, cant post log file cos it never gave me one

You need to tell it where to create the log file:


Like this


ive now been trying to do this constantly for 19 hours with no sleep:eek:

You need to be methodical, don't try half a dozen different fixes at the same time or you will never work out what's causing the problem.

leetut 2010-02-03 18:45

Re: Full file system access: OpenSSH + WinSCP
 
yep think ive learned that lesson the hardway!
flashing seems to have fixed all the little issues i was experiencing, including this one, had to flash with 3 different firmwares until i got the right one, took ages to download them all, phone is now super sexy again, thank you all for helping


All times are GMT. The time now is 20:34.

vBulletin® Version 3.8.8