Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Changing files on a RaspberryPi connected via USB

by hakim-djz (Novice)
on Feb 08, 2014 at 21:42 UTC ( [id://1074064]=note: print w/replies, xml ) Need Help??


in reply to Re: Changing files on a RaspberryPi connected via USB
in thread Changing files on a RaspberryPi connected via USB

Apologies, the question I agree, seems not related to Perl.

I had been looking at the Device::USB perl module and thought there may have been some similarities since the RaspberryPi would be connected via USB, and was hoping someone out there might have some ideas on how to create a perl script to change the details of a wi-fi config file or other files.

The code that I had been using with the Net::SCP module for another project, which is similar to what I need, works as:

copy file from other to my computer

open file and add or change as needed

save and copy back to other computer

I don't have the code for changing the RaspberryPi written yet, but it's just a matter of changing IP addresses and the user & login names of my old program, I can upload that if it helps, but the main issue is making a script to do the above through USB connection. If Perl has any modules out there that could do this

Or in a more general sense, looking to make a Perl script to manage files on a Linux computer connected through a USB connection.

  • Comment on Re^2: Changing files on a RaspberryPi connected via USB

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1074064]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-24 19:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found