On Monday 17 October 2005 17:13, [EMAIL PROTECTED] wrote:
> I'm just guessing: is rcnetwork something that resides in /etc/init.d?
> If that is indeed the case, won't 'rcnetwork status' tell you running or
> stopped?

This is the output of my 'rcnetwork status':
<<
Checking optional network interfaces:
    dsl0                                                           running
    eth0      device: Silicon Integrated Systems [SiS] SiS900 PCI Fast 
Ethernet (rev 90)
    eth0      configuration: eth-id-00:0b:6a:71:b8:4d
    eth0      dhcpcd is still waiting for data                     waiting
    eth1      device: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ 
(rev 10)
    eth1      configuration: eth-id-00:a1:b0:09:0c:8f
    eth1      IP address: 192.168.0.1/24                           running
Checking mandatory network interfaces:
    lo
    lo        IP address: 127.0.0.1/8                              running
Checking service network .  .  .  .  .  .  .  .  .  .  .  .  .  .  running
>>

I tried it too: i am getting no decisive variable to single out from here, on 
which i can make Bash run a loop, say 'for' till that variable gives 
something like a '0' exit status. 

Sayamindu suggested a brute-force method: squeezing out some variable from 
'ping' on some good server, say, 'www.google.com', but if that server is 
down, or over-loaded? 

I want something very decisive. 

Thank you.
-- 
dipankar das

--
To unsubscribe, send mail to [EMAIL PROTECTED] with the body
"unsubscribe ilug-cal" and an empty subject line.
FAQ: http://www.ilug-cal.org/node.php?id=3

Reply via email to