Search code examples
shellunixsolarishardware-interface

Can you make a remote connection in Solaris 7 unix appear to be local?


I am running a hardware test on stand that runs a GUI simulation in Solaris 7 SPARC machine.

I can not turn on power to the test equipment remotely because the simulation code checks to see if your local. I can not change the test stand code because I do not have access to it and even if I could do it I would have to spend 10's of thousands of dollars re-certifying it. Re-certifying is not an option. This is just a nuisance and would make me more productive.

So is there a way to trick the host in to thinking your local but your really remote?

I am using telnet and an x server from windows to access the box remotely.

I cannot use SSH.


Solution

  • Based on your comments, it sounds like the equipment might be checking the source address of a connection to see whether you are considered "local". If you're connecting from localhost, then the connection is considered local.

    The solution is to make a connection from localhost!

    1. Telnet into the server box. This creates a connection from your Windows box to the server.

    2. Telnet from the server back into itself (telnet localhost). This creates a new connection that looks like it's local.

    3. Set up whatever DISPLAY environment variable you need to display X stuff on your Windows box.