SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Politics : PRESIDENT GEORGE W. BUSH

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: Scumbria who wrote (136477)4/8/2001 12:18:43 AM
From: Thomas A Watson  Read Replies (1) of 769667
 
Dear scum, in that you seem to think that 1% is more important than 99% this moron, this villages idiot has a very difficult time gaging from thee what up means as you have proclaimed that down was 50%.

And I want you to know that my tail is working perfectly every 10 seconds as I type in browser watson running on computer angle that is displayed on screen 1 of desk 4a of computer square. Now tail -f is running on file that is the result of running script eth1_routing. Now eth1_routing is running in the background and the output is redirected to file modem_ip.log. You see as I look to the right I see on display 0 desk 3b of coputer acute the results of the tail in an xterm that is running on computer obtuse.

This is the every 5 second output.
ns1 1 ns2 1 dhcp 1
Sat Apr 7 23:16:08 EDT 2001 ....................................
Sun 08 Apr 2001 00:12:16.928
OK eth1 is in ifconfig no args
OK eth1 defined in ifconfit eth1
OK is_ip_address_good 24.151.14.191
OK eth1 routed
OK eth1 is the default route

this is script eth1_routing
[root@obtuse bin]# cat eth1_routing
#!/bin/tcsh

#this route to internal network.
#route add -net 192.168.1.0 netmask 255.255.255.0 dev eth0
##this get all routes non 192.168.1 to go to eth0 the cable modem
#route add default eth1
@ run = 1

set ns1 = 24.151.8.210
set ns2 = 24.151.8.211
set dhcpServer = 24.151.8.219
set modemIp = 192.168.100.1

while ($run)
@ ping_ns1 = `ping -c 1 $ns1 | grep packet | awk '{print $4} '`
@ ping_ns2 = `ping -c 1 $ns2 | grep packet | awk '{print $4} '`
@ ping_dhcpServer = `ping -c 1 $dhcpServer | grep packet | awk '{print $4} '`

echo ns1 $ping_ns1 ns2 $ping_ns2 dhcp $ping_dhcpServer
echo " "`date` ....................................
if ( $ping_ns1 & $ping_ns2 & $ping_dhcpServer ) then
lynx -dump 24.151.8.219 |grep Local | awk -F: '{print $2":"$3":"$4}'
else
echo NO Ping No Server Time
endif

set is_eth1_in_ifconfig = `ifconfig |grep eth1 | wc -l`
if ( $is_eth1_in_ifconfig ) then
echo OK eth1 is in ifconfig no args
else
echo FAIL eth1 not in regular ifconfig no args
endif

set is_eth1_in_config_eth1 = `ifconfig eth1 | grep eth1 | wc -l`
if ( $is_eth1_in_config_eth1 ) then
echo OK eth1 defined in ifconfit eth1
else
echo FAIL eth1 NOT defined in ifconfit eth1
endif

set eth1Address = `ifconfig eth1 |grep inet |awk '{print $2}' |awk -F: '{pri
nt $2}'`

@ is_ip_address_good = `echo $eth1Address | awk -F. '{print $1 }'`
if ( $is_ip_address_good ) then
echo OK is_ip_address_good $eth1Address
else
echo FAIL eth1 IP address is $eth1Address

endif
set eth1_routed = `route |grep eth1 |wc -l`

if ( $eth1_routed ) then
echo OK eth1 routed
@ eth1Default = ` route | grep eth1 | wc -l `
if ($eth1Default) then
echo OK eth1 is the default route
else
echo FAIL eth1 is not the default route
sh /sbin/route add default eth1
endif
else
echo eth1 not routed
endif
sleep 10
end

you all have a nice day now hear.

tom watson tosiwmee
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext