From owner-freebsd-questions Thu Mar 28 9:52:53 2002 Delivered-To: freebsd-questions@freebsd.org Received: from zebra.siol.net (zebra.siol.net [193.189.160.16]) by hub.freebsd.org (Postfix) with ESMTP id EF91337B405 for ; Thu, 28 Mar 2002 09:52:46 -0800 (PST) Received: from sandi ([193.189.174.20]) by zebra.siol.net (InterMail vK.4.03.04.00 201-232-130 license 5ac1ec526f2360901e54ffce7671dc4c) with SMTP id <20020328175156.TRXW6894.zebra@sandi>; Thu, 28 Mar 2002 18:51:56 +0100 From: "Sandi Rakovec" To: Subject: Mgetty,callback and multiple modems! Date: Thu, 28 Mar 2002 18:52:16 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello group! I have succesfully establish callback with freebsd and ppp, with a lot of help from the grup memebers. I use mgetty and ppp from /usr/share/examples/ppp.conf.sample callback-server: and I use 3COM ISDN PRO TA on (cuua1). The line is ISDN and it works fine. But now the tricky question. On the other port cuua0 I would like to connect analog modem which will wait on the different phone number becouse my users also have analog lines at home. How can I specify in a ppp.conf that ppp will use a device that was called at. Here I have my ppp.conf now. =================================================== server: enable pap passwdauth enable proxy set ifaddr 192.168.0.1 192.168.0.100-192.168.0.150 accept dns callback-server: load server allow internet set callback cbcp set cbcp set log +cbcp set redial 10+10-5.3 7 set device /dev/cuaa1 set speed 115200 set dial "TIMEOUT 15 \"\" AT OK-AT-OK ATDT\\T CONNECT" ==================================================== in ppplogin I have =============================================== exec /usr/sbin/ppp -direct callback-server =============================================== and in login config of mgetty i have =============================================== /AutoPPP/ - - /etc/ppp/ppplogin =============================================== My question is how do specify in a ppplogin file that if a call in device is cuua1 goto callback-server-isdn if a call in device is cuaa0 the call callback_server_analog which will be identical as callback-server-isdn one only difference will be in set device line? Best regards! Sandi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message