From owner-freebsd-questions Sun Jan 9 5:33:59 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dart.sr.se (dart.SR.SE [193.12.91.98]) by hub.freebsd.org (Postfix) with ESMTP id 965D214EB9 for ; Sun, 9 Jan 2000 05:33:37 -0800 (PST) (envelope-from gunnar@pluto.sr.se) Received: from honken.sr.se ([134.25.128.27]) by dart.sr.se (8.9.3/8.9.3) with ESMTP id OAA80637 for ; Sun, 9 Jan 2000 14:33:36 +0100 (CET) (envelope-from gunnar@pluto.sr.se) Received: from pluto.sr.se (pluto.SR.SE [134.25.193.91]) by honken.sr.se (8.9.3/8.9.3) with ESMTP id OAA39785 for ; Sun, 9 Jan 2000 14:33:36 +0100 (CET) (envelope-from gunnar@pluto.sr.se) Received: (from gunnar@localhost) by pluto.sr.se (8.9.3/8.9.3) id OAA07017 for freebsd-questions@FreeBSD.org; Sun, 9 Jan 2000 14:33:36 +0100 (CET) (envelope-from gunnar) Date: Sun, 9 Jan 2000 14:33:35 +0100 From: Gunnar Flygt To: FreeBSD Questions Subject: Re: /etc/ppp/ppp.linkup not working Message-ID: <20000109143335.A6814@sr.se> Reply-To: Gunnar Flygt References: <20000109160531.A529@bigfoot.com> <20000109124940.C327@marder-1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000109124940.C327@marder-1>; from mark@dogma.freebsd-uk.eu.org on Sun, Jan 09, 2000 at 12:49:40PM +0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Jan 09, 2000 at 12:49:40PM +0000, Mark Ovens wrote: > 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........'' Sorry to interfere, but it should be !bg shouldn't it?! > > > > > < 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 -- __o regards, Gunnar ---_ \<,_ email: flygt@sr.se ---- (_)/ (_) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message