Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have two scripts, one copying files from machines on closed network (no internet) to the hard drive of the laptop and the other script trying send these files to over the internet using the wlan.

eth0 fixed IP address wlan2 dhcp address

I understand that I need to set the metrics on these devices to help with this but I'm struggling with setting these. Is they a easy way of setting this as in edit connections the only thing I can see is to set a route to change the metric?

Or is they another way to tell the script just to used the wlan2 connection?

share|improve this question
    
Can you be more specific about the script(what is it using to copy the data)? Why won't just general routing wont take care of this? –  polynomial Aug 18 '11 at 8:28

1 Answer 1

By my point of view, you can write one script on your laptop that ssh to the machine and copy that files to the certain Dir (on your laptop) , then send it over the internet.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.