Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I dial up into one of our data loggers, and ftp some files from it. I was wondering if there is a way to maintain the internet connection (connected through Ethernet / LAN)

share|improve this question
    
Are there any specific problems you are having? I never had problems with dial-up and Ethernet running at the same time. –  AndrejaKo Sep 29 '10 at 12:13
    
@AndrejaKo - I get disconnected from the internet –  dassouki Sep 29 '10 at 12:24

2 Answers 2

The "route -p ... " will not work, because at the time of the reboot, the gateway address 12.0.0.1 is not reachable. You only can add the route, while the dial up connection is established. Any other suggestions? Is there a possibility that a static route is inactive, while the dial up connection is down, and gets active as soon as the dial up connection comes up?

share|improve this answer

I don't have a second connection to test this on, but try anyway. Post a comment if any step fails, or if I'm doing it entirely wrong.


Configure the network to only route some packets through the dial-up connection:

  1. Find out the dial-up connection's default gateway. It's in the Status window of the connection, in ipconfig, and (if you know what to look for) in route print.

    1½. Find out the data logger's IP address using nslookup dataloggers-hostname

  2. Disable addition of the default gateway for your dial-up connection.

    • Connection properties → Networking → TCP/IP → Properties → Advanced...
    • Disable Use default gateway on remote network
  3. When you connect, add a route to just the data logger.

    route add 12.34.56.78 12.0.0.1
    

    where 12.34.56.78 would be the data logger's address and 12.0.0.1 the gateway's address (which you wrote down in step 1).

  4. Test.

  5. If it works, and you want it to persist reboots, then add the same route again, with route -p ... this time.

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.