Networking Forums

Networking Forums > Computer Networking > Linux Networking > vnc/ssh over ISDN

Reply
Thread Tools Display Modes

vnc/ssh over ISDN

 
 
gk
Guest
Posts: n/a

 
      09-17-2003, 09:25 AM
I have some machines that I want to connect to via ISDN. The setup I
envisage is something like... dial up to the machine, it will then
automatically hangup and connect to the internet, where upon it should
inform me of it's IP address and accept SSH/VNC connections.

Most of this shouldn't be a problem. I can tell the ISDN adapter to
only accept calls from my number, but how should I get it to run a
script afterwards. And what would be the best way of having it tell me
it's IP?
 
Reply With Quote
 
 
 
 
Terry Sanders
Guest
Posts: n/a

 
      09-17-2003, 10:10 AM
"gk" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I have some machines that I want to connect to via ISDN. The setup I
> envisage is something like... dial up to the machine, it will then
> automatically hangup and connect to the internet, where upon it should
> inform me of it's IP address and accept SSH/VNC connections.
>
> Most of this shouldn't be a problem. I can tell the ISDN adapter to
> only accept calls from my number, but how should I get it to run a
> script afterwards. And what would be the best way of having it tell me
> it's IP?


I have a similar setup. My ISDN router logs messages to my server. The
server
(via a custom app) detects a line in the log file that shows I have called
the ISDN device and then initiates an outgoing connection by sending a ping
packet to a router on the other side of the ISDN line. The ISDN router then
opens the connection. Since I've got a static IP address I dont have
to worry about what IP is assigned.

If you can get the ISDN device to log to a file then you could probably
script something similar.

Terry Sanders


 
Reply With Quote
 
jack
Guest
Posts: n/a

 
      09-17-2003, 12:31 PM
gk wrote:

> Most of this shouldn't be a problem. I can tell the ISDN adapter to
> only accept calls from my number, but how should I get it to run a
> script afterwards. And what would be the best way of having it tell me
> it's IP?


You can either use isdnlog's "START" function, which will execute
any specified program/script depending on the caller-ID, or vbox,
which does essentially the same. - Or, as others have suggested,
monitor Your logs somehow.

Then, You can use the script /etc/ppp/ip-up to send You some e-mail
with its IP address. Or, use some service like no-ip.org or the like
to reach Your box by name. In this case, though, Your box should be
up for more than some five minutes or so, until their records are
updated.


Cheers, Jack.

--
----------------------------------------------------------------------
My personal reading of the string "MicroSoft" expands to "NanoWeak"...

 
Reply With Quote
 
gk
Guest
Posts: n/a

 
      09-17-2003, 02:43 PM
Much thanks to both of you. I think I have what I need to make a stab
at this.
Gerry
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ISDN BDA Broadband 6 09-14-2005 09:14 PM
ISDN PPP and fax...? Tor Tveitane Linux Networking 0 01-15-2005 09:14 AM
no ISDN device available error messg after switching from modem to isdn card (SuSE 9.0 Prof) Stefan Bischof Linux Networking 0 04-18-2004 08:46 AM
ISDN Derrick Fawsitt Broadband 48 01-24-2004 08:09 AM
ISDN to BB Sarah Cooper Broadband 12 10-01-2003 04:21 PM



1 2 3 4 5 6 7 8 9 10 11