1 AUTHOR: Leslie Polzer <leslie.polzer@gmx.net>
5 LICENSE: GNU Free Documentation License Version 1.2
7 SYNOPSIS: Making IPX work with LinuxFromScratch
10 This guide aids the user in setting up kernel- and userspace for the
11 IPX network protocol and its interfaces.
27 2.2 Files in /proc/net
29 3 Software requirements and build process
31 3.2 Downloading, unpacking and building
33 3.3.1 For SysVInit boot scripts
34 3.3.2 For BSD boot scripts
36 4 References and pointers
45 IPX is a networking protocol, much like TCP/IP, introduced by Novell and used
46 in their Netware products.
51 IPX is still very common with games - and, of course, Netware boxes.
56 I make the following assumptions:
58 - you have only one ethernet interface by the name of 'eth0'
59 - this interface is configured for TCP/IP and up
60 - you want the standard frame type 802.2
61 - you are able to consult the IPX-Howto (see section 4 for a link)
62 if you want to know more
64 You should meet these requirements if you followed the LFS installation.
65 Please note also that I won't cover the installation of ncpfs.
73 Enable 'Networking options' -> 'The IPX protocol' (CONFIG_IPX, that is),
74 then compile and install your kernel.
77 2.2 Files in /proc/net
78 ----------------------
79 Now you got three new files in /proc/net, all starting with 'ipx':
82 The list of open IPX sockets.
85 The list of routing table entries.
88 The list of configured IPX interfaces.
91 3 Software requirements and build process
92 =========================================
96 We must fix the header file ipx.h.
97 There are two patches for it, an old one and a new one. For LFS 4.0 and up
100 Old Patch: http://www.fmi.uni-passau.de/~polzer/patches/linux_ipx_h_old.patch
101 New Patch: http://www.fmi.uni-passau.de/~polzer/patches/linux_ipx_h_new.patch
103 Apply it with (I assume the patch file is also in /usr/include/linux):
105 cd /usr/include/linux &&
106 patch < linux_ipx_h.patch
109 3.2 Downloading, unpacking and building
110 ---------------------------------------
111 Now we can build the IPX tools. Get the tarball from:
113 ftp://sunsite.unc.edu/pub/Linux/system/filesystems/ncpfs/ipx.tgz
115 And unpack the archive:
120 Compile the package by typing
124 You shouldn't get any errors.
130 3.3.1 For SysVInit boot scripts
131 -------------------------------
132 The makefile will install sysvinit bootscripts, yet be careful:
133 If you have an LFS-system before 3.2-RC1 (3.1 or earlier, that is), you
134 got no /etc/rc.d directory but all the sysvinit-bootcrap in /etc.
135 Either make a symlink in /etc:
140 -or- adjust the Makefile in the top-level source dir:
142 cat Makefile | sed -e "s/\/etc\/rc.d\//\/etc\//g" > Makefile
144 Then adjust the man path in the Makefile:
146 cat Makefile | sed -e "s/\/usr\/man\//\/usr\/share\/man\//" > Makefile
152 to install the binaries, the man pages and the bootscripts.
154 The last step is to activate the configuration in /etc/sysconfig/ipx:
156 su -c 'cat /etc/sysconfig/ipx | sed -e "s/IPX_CONFIGURED=no/IPX_CONFIGURED=yes/" > /etc/sysconfig/ipx'
159 3.3.2 For BSD boot scripts
160 --------------------------
161 Install the binaries and man pages with:
163 for i in 'ipx_configure ipx_interface ipx_internal_net ipx_route'
165 install --strip $i /sbin
166 install $i.8 /usr/share/man/man8
169 Then adjust your network init script(s).
170 If you followed the BSD-init hint, these are:
175 Find the line where eth0 is configured ('ifconfig eth0 [...]') and
178 /sbin/ipx_interface add -p eth0 802.2 0x00000001
180 This assumes you want frame type 802.2 and IPX network address 1.
181 Note that Microsoft Windows boxes use 0 as the default, which is an
182 invalid address. If you want these computers to talk to your Linux box,
183 you must manually adjust the properties of the IPX/SPX protocol in the
184 network properties dialog.
187 4 References and pointers
188 =========================
189 [1] The IPX-HowTo - http://www.tldp.org/HOWTO/IPX-HOWTO.html
193 * Izzy Blacklock <izzyb@ecn.ab.ca> for patch for kernel 2.4.18 headers
194 * Richard Jenniss <Richard.Jenniss@Sympatico.ca> for notifying me about
195 a mistake (frame type 802.2 isn't obsolete)
199 * Added patch for kernel 2.4.18 headers as suggested by Izzy Blacklock
205 * removed 'obsolete' regarding frame type 802.2 - it isn't