Sponsored Content
Full Discussion: Internet-"Notification"
Top Forums UNIX for Dummies Questions & Answers Internet-"Notification" Post 302489012 by al0x on Wednesday 19th of January 2011 08:16:23 AM
Old 01-19-2011
Internet-"Notification"

Hello
simple question:
I want to run a script as soon as an internet connection is established. Is there an easy way to do this without checking every 10 seconds if there is/isn't a connection?
Thanks!
Alex
 

7 More Discussions You Might Find Interesting

1. Cybersecurity

how to access computer behind cable modem, from outside,across "the Internet"

hi im running a web server running, connected to my cable modem, which, as usual, has 2 different network address. one from "outside"(ie from isp), and the other for the internal network. im giving a static ip to the server.how do i access this server from outside the network across "the... (2 Replies)
Discussion started by: R00tSc0rpi0n
2 Replies

2. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies

3. UNIX for Dummies Questions & Answers

How do I connect a hpux10.x os machine to "the internet" via a WinXP client?

I am wondering how can I cross this technical border of my ignorance for quite sometime, 6 months to be more exact, and just don't get it quite. I did read some newbies' literatures on UNIX OS but could not find the key to unlock the HP workstations (OS dated 1997 maybe because the man page... (0 Replies)
Discussion started by: liumx2000
0 Replies

4. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

5. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

6. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

7. AIX

Apache 2.4 directory cannot display "Last modified" "Size" "Description"

Hi 2 all, i have had AIX 7.2 :/# /usr/IBMAHS/bin/apachectl -v Server version: Apache/2.4.12 (Unix) Server built: May 25 2015 04:58:27 :/#:/# /usr/IBMAHS/bin/apachectl -M Loaded Modules: core_module (static) so_module (static) http_module (static) mpm_worker_module (static) ... (3 Replies)
Discussion started by: penchev
3 Replies
SMPPPD.CONF(5)							      SMPPPD							    SMPPPD.CONF(5)

NAME
smpppd.conf - global smpppd configuration file DESCRIPTION
When smpppd and smpppd-ifcfg start they first load their configuration from /etc/smpppd.conf, which contains basic information concerning their behavior. The configuration file /etc/smpppd.conf has a simple file format with a key = value pair in each line. OPTIONS
stop-on-disconnect = always, notdemand or never Shall the dialup connection be shutdown when the last frontend disconnects? Default value is always. reload-selects-default-provider = yes or no Shall a reload (SIGHUP) select the default provider for all interfaces or keep the current one? Default value is yes. open-inet-socket = yes or no Shall the smpppd open a internet connection, so that remote frontends can control the dialup connection? Default value is no. slp-register = yes or no Try to register at the slp daemon (service location protocol) if set to yes and an internet connection is opened. bind-address = <ip-address> Specify the ip address on which to listen for connections from remote frontends. The default is to listen on all addresses. host-range = <min ip-address> <max ip-address> Specify a host range from which remote frontends are allowed to connect to the smpppd. password = <password> The password used to authenticate remote frontends, UTF-8 encoded for those who really care. If the password is empty, no authenti- cation is done. number-of-loglines = <lines> The number of lines to keep in the log. Default is 250. accounting = yes or no Enable or disable accounting. Default is yes. alive-interval = <seconds> Interval for alive lines in the accounting log. A value of 0 disables alive lines. Default value is 900. debug = yes or no Turn debugging on or off. Default is off. This can also be controlled at runtime with cinternet. SEE ALSO
smpppd(8). AUTHOR
Arvin Schnell <arvin@suse.de> SuSE September 2003 SMPPPD.CONF(5)
All times are GMT -4. The time now is 05:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy