1 TITLE: Using the IPX protocol on an LFS system
2 LFS VERSION: any (tested with 3.1 and 4.0)
3 AUTHOR: Leslie Polzer <leslie.polzer@gmx.net>
6 Guide to configuring IPX interfaces on LFS.
20 2.2 Files in /proc/net
22 3 Software requirements and build process
24 3.2 Downloading, unpacking and building
26 3.3.1 For SysVInit boot scripts
27 3.3.2 For BSD boot scripts
29 4 References and pointers
38 * 2003-07-24: New patch for kernel 2.4.18 headers by
39 Izzy Blacklock <izzyb@ecn.ab.ca>
44 IPX is a networking protocol, much like TCP/IP, introduced by Novell and used
45 in their Netware products.
50 IPX is still very common with games - and, of course, Netware boxes.
55 I make the following assumptions:
57 - you have only one ethernet interface by the name of 'eth0'
58 - this interface is configured for TCP/IP and up
59 - you want the standard (though obsolete) frame type 802.2
60 - you are able to consult the IPX-Howto (see section 4 for a link)
61 if you want to know more
63 You should meet these requirements if you followed the LFS installation.
64 Please note also that I won't cover the installation of ncpfs.
72 Enable 'Networking options' -> 'The IPX protocol' (CONFIG_IPX, that is),
73 then compile and install your kernel.
76 2.2 Files in /proc/net
77 ----------------------
78 Now you got three new files in /proc/net, all starting with 'ipx':
81 The list of open IPX sockets.
84 The list of routing table entries.
87 The list of configured IPX interfaces.
90 3 Software requirements and build process
91 =========================================
95 We must fix the header file ipx.h.
96 There are two patches for it, an old one and a new one. For LFS 4.0 and up
99 Old Patch: http://linuxfromscratch.org/~timothy/misc/linux_ipx_h_old.patch
100 New Patch: http://linuxfromscratch.org/~timothy/misc/linux_ipx_h_new.patch
102 Apply it with (I assume the patch file is also in /usr/include/linux):
104 cd /usr/include/linux &&
105 patch < linux_ipx_h.patch
108 3.2 Downloading, unpacking and building
109 ---------------------------------------
110 Now we can build the IPX tools. Get the tarball from:
112 ftp://sunsite.unc.edu/pub/Linux/system/filesystems/ncpfs/ipx.tgz
114 And unpack the archive:
119 Compile the package by typing
123 You shouldn't get any errors.
129 3.3.1 For SysVInit boot scripts
130 -------------------------------
131 The makefile will install sysvinit bootscripts, yet be careful:
132 If you have an LFS-system before 3.2-RC1 (3.1 or earlier, that is), you
133 got no /etc/rc.d directory but all the sysvinit-bootcrap in /etc.
134 Either make a symlink in /etc:
139 -or- adjust the Makefile in the top-level source dir:
141 cat Makefile | sed -e "s/\/etc\/rc.d\//\/etc\//g" > Makefile
143 Then adjust the man path in the Makefile:
145 cat Makefile | sed -e "s/\/usr\/man\//\/usr\/share\/man\//" > Makefile
151 to install the binaries, the man pages and the bootscripts.
153 The last step is to activate the configuration in /etc/sysconfig/ipx:
155 su -c 'cat /etc/sysconfig/ipx | sed -e "s/IPX_CONFIGURED=no/IPX_CONFIGURED=yes/" > /etc/sysconfig/ipx'
158 3.3.2 For BSD boot scripts
159 --------------------------
160 Install the binaries and man pages with:
162 for i in 'ipx_configure ipx_interface ipx_internal_net ipx_route'
164 install --strip $i /sbin
165 install $i.8 /usr/share/man/man8
168 Then adjust your network init script(s).
169 If you followed the BSD-init hint, these are:
174 Find the line where eth0 is configured ('ifconfig eth0 [...]') and
177 /sbin/ipx_interface add -p eth0 802.2 0x00000001
179 This assumes you want frame type 802.2 and IPX network address 1.
180 Note that Microsoft Windows boxes use 0 as the default, which is an
181 invalid address. If you want these computers to talk to your Linux box,
182 you must manually adjust the properties of the IPX/SPX protocol in the
183 network properties dialog.
186 4 References and pointers
187 =========================
188 [1] The IPX-HowTo - http://www.tldp.org/HOWTO/IPX-HOWTO.html