From: hodgen@infko.uni-koblenz.de Subject: Re: TCP/IP problem Date: Wed, 28 Oct 1992 14:00:25 GMT
In article <Bws1wx.6vE@cs.bham.ac.uk> row@cs.bham.ac.uk (Reuben O Wells) writes:
>Hello,
>
>I have built the kernel with the TCP/IP code got the binaries for
>the deamons etc, and created an rc.net file that starts everything.
>The problem is the program called config doesn`t seem to work, I
>just get the error:
>
>socket: Protocol not supported
>
In the tcp release packet you will find config.c. Make sure the socket creation
call looks like the following (13th line from bottom)
s = socket (AF_INET, SOCK_STREAM, IP_TCP);
You may also need to change the include for ip.h to
#include "/usr/src/linux/net/tcp/ip.h"
Then recompile with
gcc -O6 -o config config.c
Rename your old config binary and move the new one to /usr/etc/inet. This should
then work.
You'll probably find that the telnetd and named don't work (mine don't,
thankfully I don't need a named). You may want to grab netprog.tar.Z from one
of the FTP sites although I haven't had time to look at it yet, it seems to
contain sources for lots of interesting goodies.
Hope it helps
-- Wayne Hodgen | hodgen@infko.uni-koblenz.de | Opinions (c) Me 1991 | Intel SX Uni Koblenz, | (..!unido!infko!hodgen) | Keeper of the Scrolls, | Just Rheinau 3-4, | Voice: +49 261 9119-645 | Defender of the Net, | say 5400 Koblenz. | Fax: +49 261 9119-499 | His name is "root". | NO!!!