Re: Any PPP-connection keeping utility ?
On Mon, 6 Jan 1997, Lawrence Chim wrote: I put this in my /etc/ppp/ip-up script: ping -i 120 $5 /dev/null 21 ^ | what is it? not found in man page That is the remote IP. $5 is the fifth command line variable when ip-up is called. It will turn into a real IP address when ip-up is run correctly. -- Daniel Stringfield mailto:[EMAIL PROTECTED] http://users.southeast.net/~servo Send email for more information on the Jacksonville Linux Users Group! -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]
Any PPP-connection keeping utility ?
I would like to keep my PPP connection busy even during the time, when I don't use it. Otherwise my ISP will log-me-off after a couple of idle minutes. A work around is to telnet to any Internet sites and start a loop (in my case in csh): % while 1 sleep 120 date end This works but I would prefer something more *automatic*, i.e. which will work without my explicit action. Does it exist any Debian package which would do the above line keeping ? TIA, Zenon -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]
Re: Any PPP-connection keeping utility ?
On Sun, 5 Jan 1997, Zenon Fortuna wrote: I would like to keep my PPP connection busy even during the time, when I don't use it. Otherwise my ISP will log-me-off after a couple of idle minutes. A work around is to telnet to any Internet sites and start a loop (in my case in csh): you could look into diald. it provides isp connect service on demand or can be configured to keep a connection up. other than that you can do what i do and use fetchpop (off of sunsite) to poll your pop server every five minutes for mail. it runs as a daemon, is small, compiles easily, and is easy to use. it also keeps my connection up by generating the small amount of network activity that it does. good luck. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]
Re: Any PPP-connection keeping utility ?
On Sun, 5 Jan 1997, Zenon Fortuna wrote: I would like to keep my PPP connection busy even during the time, when I don't use it. Otherwise my ISP will log-me-off after a couple of idle minutes. This works but I would prefer something more *automatic*, i.e. which will work without my explicit action. I put this in my /etc/ppp/ip-up script: ping -i 120 $5 /dev/null 21 ...RickM... -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]
Re: Any PPP-connection keeping utility ?
I put this in my /etc/ppp/ip-up script: ping -i 120 $5 /dev/null 21 ^ | what is it? not found in man page lawrence, -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]
Re: Any PPP-connection keeping utility ?
On Sun, 5 Jan 1997, Zenon Fortuna wrote: I would like to keep my PPP connection busy even during the time, when I don't use it. Otherwise my ISP will log-me-off after a couple of idle minutes. I had a script back when I ran Slackware which tidied up the ppp launching process. It would redial if I got dropped, email me at a remote site with my IP address, and launch the following (once): % ping -q 300 my.isp.name.server It's one ping every five minutes. Make sure you choose a site close to your dial-in point, as either my ISP or my university's ISP would lose their connection a lot, and I'd get dropped if I was only relying on telnets to remote sites. --Pete ___ Peter J. Templin, Jr. Client Services Analyst Computer Communication Services tel: (717) 524-1590 Bucknell University [EMAIL PROTECTED] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]
Re: Any PPP-connection keeping utility ?
On Mon, 6 Jan 1997, Lawrence Chim wrote: I put this in my /etc/ppp/ip-up script: ping -i 120 $5 /dev/null 21 ^ | what is it? not found in man page The $5 represents the ip address on the isp side. From the /etc/ppp/ip-up comments: #Arg Name Example #$1 Interface name ppp0 #$2 The ttyttyS1 #$3 The link speed 38400 #$4 Local IP number12.34.56.78 #$5 Peer IP number12.34.56.99 Ioannis Tambouras [EMAIL PROTECTED] PGP 768/429EE365, West Palm Beach, Florida -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]
Re: Any PPP-connection keeping utility ?
Lawrence Chim wrote: I put this in my /etc/ppp/ip-up script: ping -i 120 $5 /dev/null 21 ^ | what is it? not found in man page Sorry, you probably looked at the wrong man page. From man pppd: /etc/ppp/ip-up A program or script which is executed when the link is available for sending and receiving IP packets (that is, IPCP has come up). It is executed with the parameters interface-name tty-device speed local-IP-address remote-IP-address and with its standard input, output and error streams redirected to /dev/null. This program or script is executed with the same real and effective user-ID as pppd, that is, at least the effective user-ID and possibly the real user-ID will be root. This is so that it can be used to manipulate routes, run privileged daemons (e.g. sendmail), etc. Be careful that the conĀ tents of the /etc/ppp/ip-up and /etc/ppp/ip-down scripts do not compromise your system's security. /etc/ppp/ip-down A program or script which is executed when the link is no longer available for sending and receiving IP packets. This script can be used for undoing the effects of the /etc/ppp/ip-up script. It is invoked with the same parameters as the ip-up script, and the same security considerations apply, since it is executed with the same effective and real user-IDs as pppd. -- ...RickM... -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]