Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Re: Salvation for Dial Up Users (with some awful Perl)

by z3d (Scribe)
on Jan 21, 2002 at 18:16 UTC ( #140391=note: print w/replies, xml ) Need Help??

in reply to Re: Salvation for Dial Up Users (with some awful Perl)
in thread Salvation for Dial Up Users (with some awful Perl)

Hey there Sparky, That's my bit of lame bained code - lost my login somewhere between writing and posting. route might work, just didn't think of it at the time. I was trying to capture the dynamicly generated IP address that my ISP was giving me, and my routing table only showed that ppp0 was my default gateway, not what the dynamicly generated IP was. I could be wrong, networking is not only not my forte, I tend to rely on two terminals at a time, one with a man page and the other with a prompt.

Looking over my code, I think I could probably cut it down a lot, maybe break the connection/file checking into a sub to minimize overhead, etc.. The version I posted was also designed to email a standup account my dynamic IP address - I also have a version that is really paired down, just checking to see if you are online or not (incorporated into a small shell script, it creates the ONLINE file, the shell script just checks for that file before running your tasks). If you want to save time on cutting it up, I can send that along as well.


  • Comment on Re: Re: Salvation for Dial Up Users (with some awful Perl)

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://140391]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2023-03-24 18:41 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (61 votes). Check out past polls.