From owner-freebsd-questions Wed Jun 26 07:39:40 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA12255 for questions-outgoing; Wed, 26 Jun 1996 07:39:40 -0700 (PDT) Received: from central.picker.com (central.picker.com [144.54.31.2]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id HAA12245 for ; Wed, 26 Jun 1996 07:39:36 -0700 (PDT) Received: from ct.picker.com by central.picker.com with smtp (Smail3.1.28.1 #3) id m0uYvdF-0004wtC; Wed, 26 Jun 96 10:31 EDT Received: from elmer.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1) id AA17697; Wed, 26 Jun 96 10:31:20 EDT Received: by elmer.picker.com (SMI-8.6/SMI-SVR4) id KAA13228; Wed, 26 Jun 1996 10:32:43 -0400 From: rhh@ct.picker.com (Randall Hopper) Message-Id: <199606261432.KAA13228@elmer.picker.com> Subject: Re: FreeBSD 2.1 and slattach To: haynes@chistech.com (Jeff Haynes) Date: Wed, 26 Jun 1996 10:32:43 -0400 (EDT) Cc: jeff@tenforwd.wiz.com, questions@freebsd.org In-Reply-To: <199606251353.IAA01746@brazil.chistech.com> from "Jeff Haynes" at Jun 25, 96 08:53:48 am Reply-To: rhh@ct.picker.com Organization: Picker International, CT Division X-Mailer: ELM [version 2.4 PL24 PGP3 *ALPHA*] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >I can't seem to get slattach to work with 2.1. Anytime I try to execute >it, the error message returns somthing about "sl-1". It appears that >slattach is not initializing the unit number correctly. The unit script >is getting "-1 -1" >as its parameters. I think that I've been looking at this for too long >and need a fresh perspective. What am I missing? You might verify that you've got support for the SLIP devices in your kernel (/dev/sl0, /dev/sl1, etc.). Sounds like that might be missing. My slattaches automatically seem to pick up the next unused /dev/sl? device using a kernel with SLIP support. Here are the relevent sections from my kernel config: pseudo-device loop pseudo-device sl 2 device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr device sio2 at isa? port "IO_COM3" tty irq 5 vector siointr device sio3 at isa? port "IO_COM4" tty irq 9 vector siointr I run one hard-wired SLIP link using this command in /etc/start_if.sl0: slattach -h -c -s 115200 -l /dev/cuaa1 with this sysconfig entry: ifconfig_sl0="inet 144.54.61.18 144.54.61.17 netmask 255.255.255.240 mtu 1500" I also run a dial-up SLIP link on sl1 using this slattach command (wrapped in my dial-up script): slattach -h -c -s 57600 -r MY_REDIAL_SCRIPT /dev/cuaa0 I run a hard-wired PLIP link as well. Randall Hopper rhh@ct.picker.com