Networking Forums

Networking Forums > Computer Networking > Linux Networking > Net?

Reply
 
 
Lasse Madsen
Guest
Posts: n/a

 
      12-07-2005, 06:29 AM
In a script how can I see, if there is net on my computer?
And another question is, if there isn't net, how can I get the computer
run the script, when there is net again?
 
Reply With Quote
 
 
 
 
Bit Twister
Guest
Posts: n/a

 
      12-07-2005, 06:59 AM
On Wed, 07 Dec 2005 08:29:56 +0100, Lasse Madsen wrote:
> In a script how can I see, if there is net on my computer?
> And another question is, if there isn't net, how can I get the computer
> run the script, when there is net again?


Please read http://www.catb.org/~esr/faqs/smart-questions.html
Always provide distribution, release, when posting questions.
It could help you get better answers.

Script I wrote pings my gateway and if fails restarts the network.


! bash script introduction documentation
http://tldp.org/LDP/intro-linux/html/index.html

! bash script advanced documentation
http://tldp.org/LDP/abs/html/index.html
 
Reply With Quote
Reply

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 Off




1 2 3 4 5 6 7 8 9 10 11