# # /etc/rc.net -- run from /etc/rc. # # Startup script for MintNet, (w) 1994, Kay Roemer. # # # Setup the loopback interface and add a route to loopback net # ifconfig lo0 addr 127.0.0.1 up #u:/sbin/route add 127.0.0.0 lo0 # # Setup network interfaces and routes # (PLIP connection) #ifconfig pl0 addr 192.168.0.10 dstaddr 192.168.0.11 netmask 255.255.0.0 up #route add 192.168.0.11 pl0 # Setup TCP/IP masquerading # Only needed on gateway machine. #masqconf address 192.168.0.0 netmask 255.255.0.0 set ENABLED # # Start network daemons # echo -n "Network services:" # portmapper must run before any of the rpc services is used! # Don't try to run rpc.rstatd or rpc.mountd if portmap is not running! # If you do not need any of the rpc services, you don't need portmap! ##if [ -f u:/usr/etc/portmap ]; then ## u:/usr/etc/portmap > u:/dev/null 2>&1 ## echo -n " portmap" ##fi if [ -f u:/usr/etc/inetd ]; then u:/usr/etc/inetd > u:/dev/null 2>&1 echo -n " inetd" fi # Start them only if the xfs is installed and if we really want to act # as an NFS server. Otherwise use `mount_nfs host:/remote/dir /nfs/localdir' # if you can make sure the networking is running at this point. # #if [ -f /usr/multitos/nfs.xfs -a -f /etc/xtab ]; then # if [ -f /usr/etc/rpc.mountd ]; then # rm -f /etc/mtab # rpc.mountd > /dev/null 2>&1 # echo -n " mountd" # fi # if [ -f /usr/etc/nfsd ] ; then # nfsd > /dev/null 2>&1 # echo -n " nfsd" # fi #fi echo "."