Cover V03, I01
Article
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Listing 1
Listing 2
Listing 3
Listing 4
Listing 5
Listing 6
Listing 7
Listing 8
Listing 9
Table 1

jan94.tar


Listing 2: SLIP autoconfigure example for SCO

/etc/slattach PORT LOCAL_IP REMOTE_IP BAUD & #sl0
echo "  SLIP Interface 0 :\c"
echo " configuring ..."
echo $! > /tmp/sl0.0
echo "    Evaluating SLIP ...."
ping -c5 REMOTE_IP 2>&1 >/tmp/ping.sl0
grep icmp_seq /tmp/ping.sl0 2>&1 >/dev/null
if [ $? -ne 0 ]
then
echo "     ** ERROR : Can't contact remote SLIP destination "
echo "                Marking SLIP Interface down"
ifconfig sl0 down
RESULTS=`ifconfig sl0`
echo "    $RESULTS"
echo "    SLIP Disconnect Complete"
else
echo "    SLIP Connect Complete"
fi
rm /tmp/ping.sl0 2>/dev/null
rm /tmp/sl0.0 2>/dev/null