From: epoole@leotech.mv.com (Eric Poole) Subject: Big SLIP Problems 1/2 Date: Tue, 29 Jun 1993 00:40:00
I am up against another stone wall in trying to install SLIP
here.
Starting with SLS 0.99pl9, I have received the NET-2-FAQ,
and I believe I have followed it as closely as I can. I
have gotten and installed everything that should have been
installed, and in its designated place, and recompiled the
kernel exactly as NET-2-FAQ said to do it. I have edited
every setup file as best I can; much if it is probably wrong
but it's as close as I can get it.
Now on reboot, I get the following error messages (this is
the first time I've gotten any of these):
Warning: old-style ioctl(IP_SET_DEV) called!
ioctl: Invalid argument
Warning: old-style ioctl(IP_SET_DEV) called!
ioctl: Invalid argument
Warning: old-style ioctl(IP_SET_DEV) called!
ioctl: Invalid argument
Then a whole bunch of gobbledygook, lines all run together,
and I have no idea what any of it means ... let me see if I
can decipher any of it (probably a mistake but I'll try to
reformat it so it looks reasonable):
Jun 28 08:42:59 named[39]: restarted
Jun 28 08:42:59 named[39]: directory /usr/etc/inet:
No such file or directory
, nfsd
Cannot register service: RPC: Unable to send; errno =
Network is unreachable
unable to register(NFS_PROGREM, NFS_VERSION, UDP).
, mountd
Cannot register service: RPC: Unable to send; errno =
Network is unreachable
Then I get a login: prompt, and log in as root. That part
goes OK.
Now from the root directory, I try to run dip. I have
made a copy of sample.dip in the root directory and edited
it, and it looks like this:
main:
# First of all, set up our name for this connection.
# This system is really leotech.mv.com, but our Internet
# service provider, mv.mv.com, has not yet set up our IP
# number, so I am using their SLIP demo account for
# initial testing.
local mvdemo.mv.com
# Next, set up the other side's name and address. That
# SHOULD be mv.mv.com, but that doesn't work at all (gets
# "host not found" errors or some such when I try to run
# dip). Other setup files have my host as "leotech" ... I
# am real confused as to what constitutes a "host" in all
# these files, some seem to indicate that _my_ machine is
# the "host ... but in any case, for the purposes if
# initial testing I tell dip that "remote" is "leotech"
# and that elimintates the "host not found" errors.
remote leotech.mv.com
# Set the desired serial port and speed. My /dev/modem is
# linked to cua1, and other readme files around here
# someplace tell me that cua1 is the same as COM2 ... so I
# plug my modem into COM2 and tell dip ...
port cua1
speed 2400 # (well, it's a cheap modem ... )
# Reset the modem and terminal line.
# This seems to cause trouble for some people!
# I tried it both ways, and left it commented out for now
# reset
# Prepare for dialing.
send ATQ0V1E1X1\r
wait OK 2
if $errlvl != 0 goto error
dial 424-7426
if $errlvl != 0 goto error
wait CONNECT 60
if $errlvl != 0 goto error
Rest of sample.dip deleted from this message since we never
get there anyway.
From root, I invoke dip as follows:
dip sample
I get back:
DIP: DIalup IP Protocol Driver version 3.2.0
Written by Fred N. van Kempen, MicroWalt Corporation
dip: open(/dev/cua1, RW) == 16
dip: cannot ioctl(-1, GETS): 9
SLIP to leotech failed.
At this point I am out of ideas, so I summarize everything
for this article, turn down the monitor on the Linux
computer, and give up for the night.
Following are the contents of the various config files:
- CONFIG has CARDS set to -DSLIP only (I have no network
card)
- rc.inet1 has only the following two lines, per NET-2-FAQ:
/etc/ifconfig lo 127.0.0.1
/etc/route add 127.0.0.1
- In rc.inet2, I commented out exactly what NET-2-FAQ said
to comment out for a SLIP-only installation. That
resulted in a lot of RPC and NFS stuff left in, though.
In particular I did comment out all the named stuff,
though on bootup I still get messages about named.
- /etc/networks contains only loopback and localnet, per
the FAQ.
- /etc/host.conf has
order hosts,bind
multi
... per the FAQ.
- /etc/resolv.conf contains:
domain mv.com
nameserver 192.80.84.1
- /etc/HOSTNAME contains:
leotech
- /etc/rc.local ... I changed the hostname lines (there
were two of them) to "/bin/hostname -S" per the FAQ.
Basically I've read every article and every file and every
FAQ I can find, and believe I set things up like they said,
and I am up against another stone wall.
Any advice (here or e-mail, your choice) on where I can go
from here will be greatly appreciated.
>>> Continued to next message
* Origin: NETIS (603)432-2517/432-0922 (HST/V32) (1:132/189)