Thread View: comp.os.linux.help
6 messages
6 total messages
Started by Robert Hart
Sun, 27 Nov 1994 08:55
Setting up a SLIP server
Author: Robert Hart
Date: Sun, 27 Nov 1994 08:55
Date: Sun, 27 Nov 1994 08:55
81 lines
3707 bytes
3707 bytes
Hi
I am trying to get my 1.1.54 Linux machine set up as a slip server, and
am having some problems. I dial in and uugetty picks up the phone and I
login as Saravis. sliplogin starts and I receive no error messages BUT at
the other end slip does not seem to get started - no ping, no route etc.
Now, I am not certain if I have got the other end (a PC running PCTCP V3)
set up correctly, so could someone cast a look at these files and see if
I am getting something wrong at the Linux end? Is there a slip log file
somewhere that gives more info on what is happening???
Here is my set up...
IFCONFIG reports...
-------------------
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.255.255.0
UP BROADCAST LOOPBACK RUNNING MTU:2000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:106 errors:0 dropped:0 overruns:0
eth0 Link encap:10Mbps Ethernet HWaddr 00:00:C0:5D:67:43
inet addr:16.144.153.7 Bcast:16.255.255.255 Mask:255.255.255.0
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:34228 errors:0 dropped:0 overruns:0
TX packets:34119 errors:0 dropped:0 overruns:0
Interrupt:15 Base address:0x250 Memory:d0000-d4000
/etc/slip.hosts
---------------
Saravis `hostname` slip00 0xffffff00 normal
/etc/slip.login
---------------
#!/bin/sh
#
# @(#)slip.login 5.1 (Berkeley) 7/1/90
#
# generic login file for a slip line. "sliplogin" invokes this with
# the parameters:
# 1 2 3 4 5 6 7-n
# slip unit ttyspeed loginname local-addr remote-addr mask opt-args
#
/sbin/ifconfig $1 $4 pointotpoint $5 mtu 1500 -trailers up
/sbin/route add $5
exit 0
/etc/slip.logout
----------------
#!/bin/sh -
#
# slip.logout
#
/sbin/ifconfig $1 down
/sbin/route def $5
I have the following entry in my /etc/passwd file...
----------------------------------------------------
Saravis:uqG37tyiqImwI:700:100:dialup slip:/tmp:/usr/sbin/sliplogin
I have the following entry in /etc/group
----------------------------------------
slip::50:Saravis
Permissions on the slip files in /etc are as follows...
-------------------------------------------------------
-rw-rw-r-- 1 root root 46 Nov 26 13:29 /etc/slip.hosts
-rwxrwxr-x 1 root root 330 Nov 26 13:38 /etc/slip.login
-rwxrwxr-x 1 root root 73 Nov 26 13:41 /etc/slip.logout
Permissions on sliplogin are as follows...
------------------------------------------
-r-sr-x--- 1 root slip 13316 Sep 8 01:34 /usr/sbin/sliplogin
--
Robert Hart hartr@hedunx.hedland.edu.au
Voice: +61 (0)91 72 0429 Fax: +61 (0)91 72 3560
Hedland College, PMB 1, South Hedland WA 6722 Australia
Re: Setting up a SLIP server
Author: Bill Reynolds
Date: Sun, 27 Nov 1994 21:38
Date: Sun, 27 Nov 1994 21:38
23 lines
1892 bytes
1892 bytes
I didn't see an sl0 in your ifconfig output. That should definitely appear after sliplogin fires up. One trick to check this is to put set -v exec > /tmp/sliplogin.output.$$ 2>&1 at the top of slip.login. This will redirect the output of all the commands that slip.login executes into the file /tmp/sliplogin.output.<pid>. You can also put other diagonistic commands in slip.login to check that all is going well. In addition, You should check your routing tables (netstat -r). Assuming they are correct I would next check that you've got your mtu set correctly and that you've got a clean line (e.g. you do see crtscts when you do a stty -a > /dev/modem). Good luck. -- Bill Reynolds bill@raptor.lanl.gov _____________________________________________________________________________ "Our Yosemite turkeys live in the shade of beautiful oak trees" -Shelton's Free-Range Turkeys president Gary Flanagan
Re: Setting up a SLIP server
Author: Sven Goldt
Date: Mon, 28 Nov 1994 16:39
Date: Mon, 28 Nov 1994 16:39
9 lines
1508 bytes
1508 bytes
You should use the newest version of sliplogin , that is sliplogin-1.3.tar.gz. It works fine, but owners of an ethernet card should add a line to /etc/slip.login like /sbin/arp xx.xx.xx. pub (i think an option is missing here). -- ***************************************************************************** * # THE MOST IMPORTANT FINANCIAL QUESTION IS: Where is the money ? # * *****************************************************************************
Re: Setting up a SLIP server
Author: Sven Goldt
Date: Mon, 28 Nov 1994 16:40
Date: Mon, 28 Nov 1994 16:40
7 lines
1345 bytes
1345 bytes
Sorry for posting again. I forgot to mention that sliplogin does a logging is /usr/adm/messages and /usr/adm/syslog. -- ***************************************************************************** * # THE MOST IMPORTANT FINANCIAL QUESTION IS: Where is the money ? # * *****************************************************************************
Re: Setting up a SLIP server
Author: Robert Hart
Date: Wed, 30 Nov 1994 02:18
Date: Wed, 30 Nov 1994 02:18
29 lines
2423 bytes
2423 bytes
Many thanks to all the folks who are helpoing me with this - I am creeping up on the correct setup and learning heaps at the same time. I have a couple of questions at present. 1) When setting up a SLIP server, should I be using the point-to-point parameter? What, in fact, does the p-to-p parameter do??? 2) If the remote end of my slip line is a PC running slip, do I *have* to give it an IP number (it may already have it's own after all...eg a laptop that moves from a direct connection to a dial up one). If I *don't* give it an IP number, how do devices on my net going to know that its there????? I have to go away on business for a couple of days and won't be able to work in this until I get back at the weekend. By the way, I have received a number of messages asking me to send info on how to set up a routing slip server (when I finally have mine working). Having looked over as much documentation I can, I don't see a slip-server HOWTO. I am certainly NOT a unix guru, but am heavily involved in training, so have quite a bit of writing experience (in IT). WOuld anyone be interested in cooperating on the production of a SLIP server howto (or faq)??? Is there one around that I should know about??? -- Robert Hart hartr@hedunx.hedland.edu.au Voice: +61 (0)91 72 0429 Fax: +61 (0)91 72 3560 Hedland College, PMB 1, South Hedland WA 6722 Australia
Re: Setting up a SLIP server
Author: Steffen R. Mueller
Date: Tue, 06 Dec 1994 04:19
Date: Tue, 06 Dec 1994 04:19
10 lines
1311 bytes
1311 bytes
: WOuld anyone be interested in cooperating on the production of a SLIP : server howto (or faq)??? Is there one around that I should know about??? Get the Nutshell book (O'Reilly) TCP/IP Administration from Craig Hunt. He explains very well how to set up both a PPP and a SLIP server ! For me it is THE book for setting up IP based networks ! Bye Steffen
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads