Bug 17904

Summary: rc.network IPX configuration missing 'ipx' parm for ifconfig
Product: Base System Reporter: jeg <jeg>
Component: confAssignee: Sheldon Hearn <sheldonh>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description jeg 2000-04-10 15:40:01 UTC
Added the following lines to /etc/rc.conf to enable IPX protocol,
after compiling kernel with IPX and NCPFS options.

ifconfig_fxp0_ipx="0x00010010"
ipxrouted_enable="YES"

When system booted, boot message paused on " sendmail" for several minutes.
After system finished booting, no tcp/ip available.  Checking ifconfig,
showed my tcp/ip address to be 1.0.16.0

Fix: 

Checking showed that the line in rc.network that configures IPX was:

ifconfig ${ifn} ${ifconfig_args}

but should have been:

ifconfig ${ifn} ipx ${ifconfig_args}
How-To-Repeat: Add above lines to /etc/rc.conf and reboot
Comment 1 Sheldon Hearn 2000-04-11 14:51:01 UTC
On Mon, 10 Apr 2000 07:30:24 MST, jeg@hawk.circa.ufl.edu wrote:

> ifconfig_fxp0_ipx="0x00010010"
		    ^^^

You left out the address family (pointed out to me by someone else).
The ifconfig variables in rc.conf always include the address family, so
you'd want something like...

	ifconfig_fxp0_ipx="ipx 0x0010010"

That said, I don't see much help for ipx stuff in the rc.conf(5) manual
page, nor in defaults/rc.conf . :-(

Ciao,
Sheldon.
Comment 2 Sheldon Hearn freebsd_committer freebsd_triage 2000-04-12 09:10:43 UTC
Responsible Changed
From-To: freebsd-bugs->sheldonh

While the originator is happy with the response we gave him 
(missing protocol family), something needs to be done to  
make it clear that _ipx in the rc.conf variable name does 
not obviate the need to specify the protocol family. 
Comment 3 Sheldon Hearn freebsd_committer freebsd_triage 2000-08-15 16:10:05 UTC
State Changed
From-To: open->closed

A sample entry has been added to defaults/rc.conf in rev 1.75, 
and merged onto RELENG_4 in rev 1.53.2.8.