April 20, 2014 at 6:56 AM #15642158434
I’ve installed vsftpd on Levinux and it appears to run properly, but I can’t connect to the port. I’ve tried changing the listen_port in vsftpd.conf to 2121 and disabling my firewall, but I keep getting connection refused at localhost:2121
I’m guessing that I should be able to connect to a port on localhost just like ssh and http, but I’m not sure if I to listen at a different interface of something.April 21, 2014 at 7:48 AM #15642158436
Try a file transfer protocol other than FTP, unless you know how to configure FTP for simple use. A combination of the complexity of the FTP port selection protocol and QEMU’s virtual network security measures make it nearly impossible to get all the nuances right. SCP and other protocols that use a single port are much easier.April 21, 2014 at 8:23 AM #15642158438
Hey, Thanks very much for the response.
I figured there was something odd about how QEMU ports showed up as localhost on the host machine. I’ll check out SCP, as a quick and easy solution would be handy. I’m really interested in using Levinux as dev environment though, so I’d like to learn more about it. Could you point me in the direction of some documentation or tutorials on setting up services like ftp?April 21, 2014 at 5:15 PM #15642158443
You’re welcome. If you need to go from host to guest (copy files INTO qemu) look at how its done with built-in tftp in the Recipe.sh script. Going the other way you can just use the webserver reachable on localhost:8080. Just drop files into the web folder.July 15, 2014 at 5:32 AM #15642158600
Just had to do this myself. FileZilla! It’s free and supports SSH, meaning you don’t have to do anything special on the Levinux side – it will use the built-in dropbear ssh server. When you create a new connection, do it through File / Site Manager, so you can switch it from it’s default (normal FTP) to SFTP which uses the same SSH connection as a shell. And then there you have it, visual drag-and-drop file transfer with Levinux.
By the way, I investigated Samba for this, and it’s just to heavyweight and has too many multi-platform issues, even though true OS-style drag-and-drop would be really slick. But Levinux isn’t VMWare. It’s lightweight and old-skool.