Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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


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.