[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IPX & Appletalk.



Howdy,

	Firstly, I notice that appletalk kernel support appears to have
been placed into 2.2.

	Netstat seems to be changed to support appletalk but ifconfig hasn't.
Any reason for this as you can't set the interfaces up for appletalk. Just
an oversight or a major change?

Secondly, is configuring interfaces for IPX (and appletalk) not in
/etc/netstart  purely due to nobody having time to do it?

If so here's a suggestion (truely open for discussion as there is probably
better ways) based on what's already in /etc/netstart. It could all be put
into the hostname.* files but have kept it seperate from the inet config
file so people don't get confused between inet & ipx configurations.


---------------------------cut-----------------------------------------------

# Setup IPX support
#
# /etc/hostnameipx.* files, where * is the name of a given interface.
#
# These files are formatted like the following, but with no # at the
# beginning of the line
#
# ipx net[:a.b.c.d.e.f]
#
# ipx is the address family passed to ifconfig.
# net:a.b.c.d.e.f, where net is the assigned network number (in decimal),
# and each of the six bytes of the host number, a through f,
# are specified in hexadecimal. The host number may be omitted on
# 10Mb/s Ethernet interfaces, which use the hardware physical address,
#  and on interfaces other than the first.


(
    tmp="$IFS"
    IFS="$IFS."
    set -- `echo /etc/hostnameipx*`
    IFS=$tmp
    unset tmp

    while [ $# -ge 2 ] ; do
        shift            # get rid of "hostnameipx"
        (
            read af network

            if [ ! -n "$network" ]; then
                echo "/etc/hostnameipx.$1: invalid network configuration file"
                exit
            fi

            cmd="ifconfig $1 $af $network "

            $cmd
                echo "Configuring IPX on Interface $1, Network $network"
        ) < /etc/hostnameipx.$1
        shift
 done
)

---------------------------cut-------------------------------------------------




Catch ya,

____________________________________________________________________________
Ian McWilliam.
Technical Officer,
School of Computing & IT
Uni of Western Sydney, NEPEAN.
P.O.Box 10 Kingswood, 		mailto:ianm@st.nepean.uws.edu.au
N.S.W, Australia 2747.		mailto:i.mcwilliam@st.nepean.uws.edu.au

				Telephone: (02) 47360 757
				Fax:       (02) 47360 770
	____________________________________________________________________________