Tooooon
Posts: 3
Joined: Sun Sep 07, 2014 8:17 pm

Having trouble transfering files to my Raspberry Pi via SFTP

Sun Sep 07, 2014 8:22 pm

Hi all,

I've followed the following guide to turn my Raspberry Pi into an emulation machine: http://lifehacker.com/how-to-turn-your- ... -498561192

I'm now on step four which is to use Cyberduck to transfer Roms to the Pi. So the Pi is currently plugged in and on with an ethernet cable attached between it and the router. I enabled SSH prior to this to make sure it would be ok.

So I enter my IP address listed on the back of my router, and enter the default username and password as I've literally touched nothing to do with login details (So "Pi" as username, "raspberry" as password) and Cyberduck will still not connect.

I have literally zero clue what to do, what to look for or what else I can do :/ I am completely new to all this, and have literally just followed the above guide word for word until this point, and now totally lost - Can anyone help?

User avatar
DougieLawson
Posts: 39126
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Having trouble transfering files to my Raspberry Pi via

Sun Sep 07, 2014 9:23 pm

Try pi as username because Linux is CaSe SeNsItIvE.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Tooooon
Posts: 3
Joined: Sun Sep 07, 2014 8:17 pm

Re: Having trouble transfering files to my Raspberry Pi via

Sun Sep 07, 2014 9:38 pm

Hi again,

Well, I gave up trying to do it via Cyberduck and tried to do it via USB instead. So the instructions were to put a blank USB stick into the pi with Emustation on, then it creates folders for the roms - It did that,so I've put the roms from my pc into the folders and was instructed to them put the USB back into the pi and the roms wil copy over.

But, how long does it take to transfer these files off the pi? As its doing it automatically, and the pi's lights keeps going from red to green, I have no idea when they will have all transfered over (8gb worth)

So my new question is how do I know when files have transfered over and I can turn the pi off?

User avatar
socialdefect
Posts: 110
Joined: Mon Jun 25, 2012 9:02 pm
Location: Tilburg, the Netherlands
Contact: Website

Re: Having trouble transfering files to my Raspberry Pi via

Sun Sep 07, 2014 10:05 pm

On the pi (or connected trough ssh from your desktop) execute: htop if that's not installed you can install it by executing:

Code: Select all

sudo apt-get install -y htop
Or use top instead. (htop is human readible version of top)

In top/htop you can see running processes and hopefuly you'll find the process you want to monitor here. Problem is you'll need to check this manualy.

You said you took the IP address from the back of your router. Is your Pi this router??
If not you should find the Pi's IP address by entering the following in a terminal on the Pi:

If connected using a LAN cable execute:

Code: Select all

ifconfig eth0 | grep 'inet addr:'
When connected using WIFI execute:

Code: Select all

ifconfig wlan0 | grep 'inet addr:'
This will output the following:
inet addr:192.168.1.144 Bcast:255.255.255.255 Mask:255.255.255.0
In this case my IP address is 192.168.1.144

Cyberduck is a great app but you might like SSHFS-GUI better for it can mount a remote directory on your Mac so you can access it like you would access a local folder.
Last edited by socialdefect on Sun Sep 07, 2014 10:18 pm, edited 1 time in total.
== If it's not broke... I'm not done fixing it! ==

Tooooon
Posts: 3
Joined: Sun Sep 07, 2014 8:17 pm

Re: Having trouble transfering files to my Raspberry Pi via

Sun Sep 07, 2014 10:09 pm

Righto thanks, shall give it a shot!

While I've got you here, I've set up a SNES styled USB controller as suggested by the guide, and I'm currently playing Alien 3. The problem is, I can't seem to stop playing Alien 3 lol - I've tried various button combinations on mycontroller and no luck, and I right at the moment don't have access to a USB keyboard.

Am I screwed?

User avatar
socialdefect
Posts: 110
Joined: Mon Jun 25, 2012 9:02 pm
Location: Tilburg, the Netherlands
Contact: Website

Re: Having trouble transfering files to my Raspberry Pi via

Sun Sep 07, 2014 10:24 pm

If you can connect over ssh you won't need a keyboard but you do need to know the exact program-name (case sensitive) of the emulator you are trying to exit from. Let's say the emu is zsnes then you would do the following:

Code: Select all

zsnes --help
If the help text has any info on resetting this would be the best way to go. If not you can kill the emu like this:

Code: Select all

pkill zsnes
== If it's not broke... I'm not done fixing it! ==

Return to “Beginners”