From owner-freebsd-questions Thu Mar 23 01:34:14 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id BAA05878 for questions-outgoing; Thu, 23 Mar 1995 01:34:14 -0800 Received: from mail.euronet.nl (mail.euronet.nl [193.67.112.150]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id BAA05861 for ; Thu, 23 Mar 1995 01:33:39 -0800 Received: from p88.euronet.nl (p88.euronet.nl [193.67.112.248]) by mail.euronet.nl (8.6.4.1/A/UX 3.1) with SMTP id KAA16727 for ; Thu, 23 Mar 1995 10:33:16 +0100 Date: Thu, 23 Mar 1995 10:33:16 +0100 Message-Id: <199503230933.KAA16727@mail.euronet.nl> X-Sender: jg@mail.euronet.nl Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: questions@FreeBSD.org From: jg@euronet.nl (Jan_Guldemond) Subject: Automating SLIP with slattach X-Mailer: Sender: questions-owner@FreeBSD.org Precedence: bulk Hi, According to the docs I can let slattach redial when connection is lost. This looks just like what i need. But when i type: slattach -a -r 'kermit /usr/internet/scripts/kermit.dialup.dial' -s 115200 -z /dev/modem_dialup Slattach seems to call kermit quite nice (according to ps). When I redirect the kermit output (> /dev/console) I see: host# Mar 23 10:30:49 host slattach[104]: SIGHUP on /dev/modem_dialup (sl-1); running kermit /usr/internet/scripts/kermit.dialup.dial > /dev/console ?Sorry must SET LINE first verbreken telefoon-verbinding The last line is an echo-line from the kermit-scripts. It's in the middle of the script. It looks like the rest of the script is executed ok. But because of the missing SET LINE the modem doesn't responf with OK, zo the script comes into an infinte loop looking for the OK-response. The kermit scripts does begin with appr. 10 set... commands among which a 'set line'. When I execute the kermit /usr/in.... command from the prompt manualy the modem dials ok and logs in. My question is: Why isn't the kermit scripts executed completely (espacialy the beginning) when run from slattach?