LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-16-2008, 03:58 PM   #1
amie gibson
LQ Newbie
 
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0
Exclamation Remote Site Problem Connecting: please help!


Greetings,
We have a seismic data application which includes a remote site connecting to "Hughes Net" which uses dynamic NAT addresses. How do we get the Linux box at the remote site to send data packets to us at the Observatory?
Occasionally it does send data packets for a while, but then we loose connectivity.
We do not know what the address in the satellite modem is for our Linux box.
Hughes Net refuses to allow us to talk to a technician or engineer. How do we establish and maintain this connection? Duplex is preferable, but we would accept simplex, transmitting from the remote site to our Observatory. The Observatory has TI, and most of our computers have static addresses. We would be happy if we could at least SSH to the remote site and FTP needed data from files on disk. But how do you FTP or SSH to an unknown NAT address?

Any Help will be greatly appreciated!!

Sincerely,
Amie
 
Old 09-16-2008, 04:45 PM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
First you have to know what type of address the remote gets; if it's a "private IP" then the remote must contact you and establish a connection. If it's a global IP, then the remote can be set up to send you a message updating the IP that you have. If your connection is intermittent then it's best if the remote does all the work. For these situations I normally write a client/server system with the remotes running the client; the client connects to the server and receives instructions (send this list of files, delete these files, update that file ...) and proceeds to send data. Without writing your own software, you can do something like this:

1. remote sends a directory list to a fixed IP
2. fixed IP machine creates a script instructing the remote what to do; puts it in a fixed directory
3. remote downloads the script via scp, deleting the original, then executes the script

If you want to send all data, you can run a cron job with 'rsync'. To avoid needless waste of time as the number of files build up, you need to relocate completed files or delete them.

I can't really give you a specific solution as such because I have no idea what your requirements are.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in accessing my site from a remote machine shweta Linux - Networking 1 12-03-2006 06:08 PM
problem connecting remote target using kgdb 1.4 with linux 2.4.20-8 Surekha Gupta Linux - Newbie 1 01-03-2006 04:06 AM
problem connecting remote target using kgdb 1.5 with linux 2.4.20-8 Surekha Gupta Linux - Newbie 1 01-03-2006 04:01 AM
Problem connecting to remote fax machine bayard Linux - Hardware 0 10-18-2005 02:41 PM
Problem connecting to external ftp site kman2045 Linux - Networking 2 01-11-2004 06:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration