On Sun, 25 May 1997, Michael Hill wrote:

[IPX woes]

>     debian# ipx_configure --auto_interface=on --auto_primary=on
>     debian# slist
>     slist: No primary IPX interface found in ncp_initialize
>     debian# ipx_interface add -p eth0 802.2
>     ipx_interface: Requested device (eth0) is down.
> 
> Can something be missing?

Did you configure /etc/ipx.conf?  Here's what mine looks like,
followed by my Here's my /etc/init.d/ipx (there are links in rc?.d
pointing to it /etc/init.d/ipx, of course).  Note the part *before*
the ipx_configure line -- you need to configure /etc/ipx.conf,
including the 'IPX_CONFIGURED' line.  I don't recall if I looked at a
man page, or just perused /etc/ and ran into ipx.conf and fumbled my
way through it.

Hope this helps,
Kendall

# this attempts auto-configuration
IPX_AUTO_PRIMARY=on
IPX_AUTO_INTERFACE=on
IPX_CONFIGURED=yes
# for manual configuration, set IPX_CONFIGURED=yes,
# and set the options below for your system
IPX_DEVICE=eth0
IPX_FRAME=802.3         # either 802.2, 802.3 or EtherII
IPX_INTERNAL_NET=no
IPX_NETNUM=0            # your internal network number
# routing options
IPX_SERVER_ROUTE=no     # setup route to external server?
IPX_SERVER_NETNUM=0     # your server's internal network number
IPX_SERVER_NODENUM=000000000000 # your server's node number


#!/bin/sh
#
# ipx       Bring up/down IPX networking
#

test -f /usr/sbin/ipx_configure || exit 0

# Source function library.
. /etc/init.d/functions

. /etc/ipx.conf

case "$1" in
  start)
        if [ ${IPX_CONFIGURED} = "yes" ]; then
                if [ ${IPX_INTERNAL_NET} = "yes" ]; then
                        ipx_internal_net add ${IPX_NETNUM}
                else
                        ipx_interface add -p ${IPX_DEVICE} \
                                ${IPX_FRAME} ${IPX_NETNUM}
                fi
                if [ ${IPX_SERVER_ROUTE} = "yes" ]; then
                        ipx_route add ${IPX_SERVER_NETNUM} \
                                ${IPX_NETNUM} \
                                ${IPX_SERVER_NODENUM}
                fi
        fi
        ipx_configure \
                --auto_primary=${IPX_AUTO_PRIMARY} \
                --auto_interface=${IPX_AUTO_INTERFACE}
        # touch /var/lock/subsys/ipx
        ;;
  stop)
        ipx_configure --auto_primary=off --auto_interface=off
        ipx_interface delall
        # rm -f /var/lock/subsys/ipx
        ;;
  *)
        echo "Usage: network {start|stop}"
        exit 1
esac

exit 0


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to