Rookie question, how to transfer file from PC to Omega (Windows OS)



  • Hi all,

    I am very new to openWRT and Linux in general. Recently I want to write a python program on my PC and transfer this .py file to my Omega. But I just don't know how exactly.

    One possible way I can think of is to connect a thumbdrive to the expansion dock and use a command like cp to copy the file over.
    Using the Console could be another way?

    I would like to know what you usually do to transfer the file over. For example, is it possible to transfer file while connecting the Omega through serial?

    Thanks a lot in advance!



  • Simplest is to get yourself a copy of WinSCP (http://winscp.net/eng/index.php) and use it to connect to your Omega.
    For the connection, set:

    • File Protocol: SCP
    • Host name: Host name for your Omega (though you may need to just specify the IP address like I do - mine is 192.168.3.1)
    • Port Number: 22
    • User name and password will be root/onioneer (unless you have changed the password via Omega Console)

    I assume that you are OK running things on your Omega via Terminal on your Omega. Though you can also use tools like PuTTY (http://www.chiark.greenend.org.uk/~sgtatham/putty/) or MobaXterm (http://mobaxterm.mobatek.net/) for access rather than always going through the Console on the browser.



  • Also, if you prefer, Filezilla (https://filezilla-project.org/) can also be used instead of WinSCP - I've used both but prefer and am more familiar with WinSCP



  • Hi @Kit-Bishop Thanks a lot for your help.

    I have not tried Filezilla but just tried using WinSCP. Works like a charm!

    I am using PuTTY for serial access as instructed by the Omega tutorial. Will definitely try out MobaXterm in a while!

    Cheers!


Log in to reply
 

Looks like your connection to Onion Community was lost, please wait while we try to reconnect.