maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Troubleshooting (https://talk.maemo.org/forumdisplay.php?f=6)
-   -   Problem with dropbear/WinSCP (https://talk.maemo.org/showthread.php?t=790)

avdigital 2005-12-21 09:42

Problem with dropbear/WinSCP
 
Hi,

I installed dropbear-key and dropbear-server on my 'rooted' Nokia 770 and I can connect to it with PuTTY and WinSCP on my Windows XP computer.

With WinSCP I can brows the directories of my Nokia and create/delete files on it, the only thing I can't do is transfer files from and to it with drag&drop. Is gives an error and WinSCP says that no SCP server is available and error = 127.

Anybody got some clue :confused: ?

bradb 2005-12-21 18:48

Wow thanks... I didn't know there was a nice scp client for Windows.

As far as your problem goes, does this help?

http://winscp.net/eng/docs/faq_scp_not_found

Brad.

avdigital 2005-12-22 00:08

Thanks, I know now where the problem lies.

scp is indeed on the Nokia (in /var/lib/install/usr/bin) but the path to it is not available.

I'm not a 'Linux wizard' at all, so could somebody help me to solve this, probably very simple, problem?

avdigital 2005-12-22 15:28

Found solution
 
I found the solution to my 'problem':


Make a link to the scp program:

Code:

ln -sf /var/lib/install/usr/bin/scp /usr/bin/scp
And it works; I can transfer file now from/to my Nokia :D .

(Not bad for a Linux newbie... :cool: )

putkowski 2005-12-22 16:51

Can you browse "all" of the files? (Are you signing-in as root?)

avdigital 2005-12-22 17:08

Quote:

Originally Posted by putkowski
Can you browse "all" of the files? (Are you signing-in as root?)

Yes, with user 'root' and password 'rootme' I can browse all the files. (I don't use key files in dropbear)

bradb 2005-12-23 04:13

Quote:

Originally Posted by avdigital
I found the solution to my 'problem':

Great work. You'll be a true geek before you know it ;-)

I think that in this case the easiest solution is to simply make sure that the .profile for "user" (the complete path is /home/user/.profile) needs to make sure that /var/lib/install/usr/bin is in the path.

This time, no need for root :-)

avdigital 2005-12-23 09:09

I have read somewhere else that the only way to login as 'user' you have to use the key files. I will look into that...

PS: I really like this Nokia, I think it will be only get better in time with new software and improvements. It also lets me discover and understand Linux as a hardcore Windows user :p .

putkowski 2005-12-23 19:23

AVDigital,

Looks like the WINScp is working... do you get a couple of dialog boxes about "pwd" and "groups" ?

Maybe it's time for me to turn-off r & d mode for a while.

"It's good to be the root !!"

PS: WINScp has a built-in editor? What about those "custom commands?" (select a file and right click..) (you have to be in the "norton" interface.)

Remote User 2005-12-23 21:00

fakeroot
 
I'm not actually a 770 maemo developer and am only just about to order a 770 now but I've seen the fakeroot logon name used all over the place and I wonder if that isn't the correct logon name, instead of root, in this context as it is in many contexts.

I'd also like to remind everyone that if you use the Wiki and you learn something to make it better, go ahead and enhance the entry for all who follow. It's very simple to do this and the knowledge base grows in its usefulness & value every time anyone contributes to it.


All times are GMT. The time now is 16:19.

vBulletin® Version 3.8.8