From owner-freebsd-questions Sun Jan 9 4:52:19 2000 Delivered-To: freebsd-questions@freebsd.org Received: from typhoon.mail.pipex.net (typhoon.mail.pipex.net [158.43.128.27]) by hub.freebsd.org (Postfix) with SMTP id 27BBF1592D for ; Sun, 9 Jan 2000 04:52:07 -0800 (PST) (envelope-from mark@dogma.freebsd-uk.eu.org) Received: (qmail 24126 invoked from network); 9 Jan 2000 12:52:05 -0000 Received: from userbe97.uk.uudial.com (HELO marder-1.) (62.188.142.19) by smtp.dial.pipex.com with SMTP; 9 Jan 2000 12:52:05 -0000 Received: (from mark@localhost) by marder-1. (8.9.3/8.9.3) id MAA00716; Sun, 9 Jan 2000 12:49:40 GMT (envelope-from mark) Date: Sun, 9 Jan 2000 12:49:40 +0000 From: Mark Ovens To: John Indra Cc: FreeBSD Questions List Subject: Re: /etc/ppp/ppp.linkup not working Message-ID: <20000109124940.C327@marder-1> References: <20000109160531.A529@bigfoot.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <20000109160531.A529@bigfoot.com> Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Jan 09, 2000 at 04:05:31PM +0700, John Indra wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi list readers... > > Since yesterday, I've managed to get my FreeBSD box connected to the > net (that's why I can post to this list ;) ). > Really easy I must say, compared to the time when I tried to get my > Red Hat box hooked up... > > I have default: and cbn: section in my /etc/ppp/ppp.conf. Dialed to my > ISP (CBN) with ppp -auto cbn as user john (on my FreeBSD box) > > # cat /etc/ppp/ppp.conf > default: > set device /dev/cuaa0 > set speed 115200 > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATL0 OK-AT-OK > ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" > set timeout 0 > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 > add default HISADDR > enable dns > set reconnect 5 5 > > cbn: > set phone "25537500|25507500|57989000" > set login > set authname mylogin > set authkey mypassword > allow user john > > # cat /etc/ppp/ppp.linkup > cbn: > ! /usr/local/bin/maildirsmtp ~alias/pppdir alias-ppp- 202.158.3.6 > `hostname` Try changing it to ``bg! /usr/local/bin/maildirsmtp........'' > > < The second line is indented 1 space and the commands are all in 1 line, > this is wrapped by vim > > > But everytime I connect, the /etc/ppp/ppp.linkup is not working. The > contents of the file tells maildirsmtp to send all my outgoing message > to 202.158.3.6 which is my ISP's SMTP server > > # ls -l /etc/ppp/ppp.linkup > - -rw------- 1 root wheel 83 Jan 8 20:10 /etc/ppp/ppp.linkup ^^^^^^^^^^^^^^^^^^^^^^^^^ You say that you are running ppp(8) as user john. Change the perms to 644 > > Where's the mistake? > > Thanks... > > Regards, > John Indra -- ICQ UIN #26095019 > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.0 (FreeBSD) > Comment: Be the best! > > iD8DBQE4eE9bxcp0HIxafmQRAsc3AJ99LyZ+SqBKUxdjoQQsaGWMmtNHlgCgqnJh > d64Y6ZHiez1XSkYGlTUL5BY= > =a6XC > -----END PGP SIGNATURE----- > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- "there's a long-standing bug relating to the x86 architecture that allows you to install Windows too" -Matthew D. Fuller ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message