Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 11-30-2004, 02:13 PM   #1 (permalink)
jackjill
Registered User
 
Join Date: Nov 2004
Posts: 5
jackjill is on a distinguished road
network disconect mesg

hi all,
i am trying to make a shell script . i.e.
if the pc is disconnected from the network , make a
msg appear in 20 sec, stating that website is not
available and ask the user to try again later. when
the network is reconnected, the system should return
to the browser.

that's it.
please tell me how to solve this prob.

thankx in advance
jackjill is offline   Reply With Quote
Old 11-30-2004, 03:40 PM   #2 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,140
Belisarius is on a distinguished road
I use wget to retrieve a webpage, and use diff to compare it against what the page is suppose to look like. If wget fails, or the page looks different, I take action.
__________________
GitS
Belisarius is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
China's New Generation Of Ipv9 Network Technology Ready redhead Code Newbie News 0 07-05-2004 05:13 AM
network time synchronisation in java bossebo Java 1 06-21-2004 05:17 PM
Inheriting a badly setup network. DesertWolf Lounge 3 04-18-2004 09:18 PM
What makes a network application? sde Program Design and Methods 3 08-03-2003 05:19 PM
School District Fails Network Security sde Code Newbie News 0 07-03-2003 03:12 PM


All times are GMT -8. The time now is 02:13 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting