[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Diald setup problem - Please help



On Mar 03, 1997 at 10:04:38AM -0600, Ramasubramanian Ramesh wrote:
> 
> command: telnet xxxx
> actions: (1) telnet fires up resolves host addresses and tries to connect
>          (2) diald wakesup and makes connection
>          (3) connection is setup but telnet still hanging

Yes, the diald documentation clearly explains why this occurs;

> Here is some config info.
> 
>   for diald
>         dynamic

This is the cause. Because diald does not know the address 
(at this end) for the connection, you have to use a dummy one,
and so your first connection will never succeed. Likewise
connections can't be re-established if your address changes.


My family of non-computer-literate people use the internet
through a Linux box of mine running diald & IP masquerading.
To start the link, to avoid this problem, I have a CGI
script running from the web server (apache) which uses
diald's fifo option to bring the link up. I have diald set
never to bring the link up on particular traffic, only
by explicit request. And drop the link after 20 minutes idle.



Hamish
-- 
Hamish Moffatt, StudIEAust                    moffatt@yallara.cs.rmit.edu.au
Student, computer science & computer systems engineering.    3rd year, RMIT.
http://yallara.cs.rmit.edu.au/~moffatt (PGP key here) CPOM: [****      ] 40%


Reply to: