From: oreillym@tartarus.uwa.edu.au (Michael O'Reilly) Subject: Re: Who is working on TCP/IP? Date: 1 Oct 1992 15:45:01 +0800
jonathan@nova.next.nd.edu (Jonathan Bradshaw) writes:
: Color me stupid by who is working on TCP/IP for Linux and who has the darn
: thing working under .98? At this point, I would be THRILLED to get a
: "telnet mymachine" even working... all I get is:
:
: telnet thevoid
: Trying...
: telnet: socket: Invalid argument
Ok. 10 to one, you haven't un-commented the relevent bits in
/usr/src/linux/net/Makefile
: Which aint suprising because all my rc.net file does it spit back
: "socket: Invalid argument" no matter what I give it.
:
: Simple solution? Great... its 1:22am and I'm about finished!
Make sure that the TCP/IP is actually compiled in. It should give you some
message about "initalizing loopback device" when you boot up. (and
complain about not being about to find an ethernet card if you don't have
one).
: Sorry people... back to your regular stuff.. <tired grin>
: Jonathan Bradshaw | jonathan@nova.decio.nd.edu -or- jbradsh2@darwin.cc.nd.edu
Once you actually get that working, you will die on account of named not
being setup (I assume that your machine is NOT connected to an ethernet??)
Mine isn't. Named was a mess to set up. Just FYI, here are my
named.boot et file.
My machine is setup with hostname 'xavier.home', and IP address
130.95.201.1
=============/usr/etc/inet/named.boot===============
;
; Named data file
;
;
;primary home hosts
directory /usr/etc/inet
primary home hosts.db
; ^^^^^
; this lists hostnumber by name.
primary 201.95.130.IN-ADDR.ARPA rev/201.95.130.dom
; ^^^^^^^^^^ this
; is the file used for reverse name lookups. I.e. hostname by number.
;
=============/usr/etc/inet/hosts.db=================
@ IN SOA xavier.home. postmaster.xavier.home. (
9209031
10800
3600
3600000
86400
)
; minimum 24 hrs.
IN NS xavier.home.
;
xavier IN A 130.95.201.1
IN MX 100 xavier
=============/usr/etc/inet/rev/201.95.130.dom===================
@ IN SOA xavier.home. postmaster.xavier.home. (
92080301
10800
3600
36000000
86400 )
;
1 IN PTR xavier.home.
====================/usr/etc/inet/resolv.conf=================
domain home
nameserver 130.95.201.1
===================/usr/etc/inet/rc.net=======================
# /usr/etc/inet/rc.net
# Linux networking startup script. Should be run by /etc/rc.local at
# boot time. Configures the interfaces and starts the deamons.
# It assumes hostname has been set.
#
#
HOSTS=/usr/etc/inet/hosts
CONFIG=/usr/etc/inet/config
INETD=/usr/etc/inet/inetd
NAMED=/usr/etc/inet/named
HOSTNAME=`hostname`
# This needs more testing and more diagnostics. */
IPADDR=`grep "$HOSTNAME"'$' $HOSTS | cut -f1`
echo "$HOSTNAME -> $IPADDR"
# Router, Should be set by configuration program.
ROUTER=0.0.0.0
#Net, should be set by configuration program
NET=130.95.201.0
$CONFIG loopback $IPADDR
$CONFIG loopback 127.0.0.1
#
# NOTE: Uses the loopback device, NOT the eth0 device
# as I have not ethernet card.
#
$CONFIG -n $NET -r $ROUTER loopback $IPADDR
if [ -x $INETD ]; then
echo starting $INETD
$INETD
fi
if [ -x $NAMED ]; then
echo staring $NAMED
$NAMED
fi
==========================================================
Hope all this helps.
Have fun.
Ps. Xpilot works just GREAT on the mono X server. :)
Michael