From owner-freebsd-questions Mon Mar 17 20:16:09 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA00358 for questions-outgoing; Mon, 17 Mar 1997 20:16:09 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA00327 for ; Mon, 17 Mar 1997 20:15:58 -0800 (PST) Received: from sergio.lenzi ([200.247.23.108]) by who.cdrom.com (8.8.5/8.6.11) with ESMTP id UAA26830 for ; Mon, 17 Mar 1997 20:14:46 -0800 (PST) Received: (from lenzi@localhost) by sergio.lenzi (8.8.3/8.8.3) id AAA04657; Tue, 18 Mar 1997 00:58:38 GMT Date: Tue, 18 Mar 1997 00:58:37 +0000 () From: "Lenzi, Sergio" X-Sender: lenzi@sergio To: Aleksei Davidenko cc: freebsd-questions@freebsd.org Subject: Re: About Leased Line on FreeBsd In-Reply-To: <33292E88.46D0@anet.ee> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Fri, 14 Mar 1997, Aleksei Davidenko wrote: > Hi! > I have Leased Line between FreeBsd 2.1.5 and WINN 95 > and 2 modem configured for autoconnect. > How I can configured Freebsd for permanent connect machines for > INTERNET on WIN95 > - SLIP or PPP and how setup???? > - what about com-port config on FreeBSD? > Help,Please!!! OK. 1) enable pppd on kernel /usr/src/sys/i386/conf/xxx where xxx is name name of a kernel config file with an entry : pseudo-device ppp 4 2) compile the kernel, install, reboot. 3) in directory /etc/ppp create file "options" options -> modem crtscts netmask 0xfffffffe mtu 296 4) create a file named win1 (ex). win1-> #!/bin/sh /usr/sbin/pppd -detach passive ip1:ip2 38400 /dev/cuaa1 ip1 and ip2 are the local and remote ips... make it executable (mode 755) 5) change the ttyd1 on the /etc/ttys file to point to that file (win1). ttyd1 "/etc/ppp/win1" cons25 on 6) reboot the machine or: kill -1 1 Should work. Sergio Lenzi. Unix consult.