Hi again,
As many other users, I am connected to the Internet through an ISP who
provides me a dynamic IP address. Once I know my IP address, the ip-up
script writes a html file including my IP and upload it to my ISP. The
latter is done with the expect program, running the linux ftp client and
awaiting for known strings.
When the connection is about to die, another html file, saying that my
machine is no longer available, should be uploaded to my ISP. However, the
ip-down doesn't work in this case because it is launched after the
connection is closed. I have tried to use the disconnect option in diald,
that runs a script similar to the one I use with ip-up, but the script is
never executes. According to the diald man page, the disconnect standard
input and output are redirected to the modem device, while my script uses
the ftp client, expecting for and sending strings locally, not through the
modem. Could this be the problem ? Any ideas ? Do you have any suggestion
to do what I want to do in a different way ?
-------------------------------
Alfonso M Sanchez-Lafuente
[EMAIL PROTECTED]
-------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]