Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jan 2000 12:49:40 +0000
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        John Indra <m4v3r1ck@bigfoot.com>
Cc:        FreeBSD Questions List <freebsd-questions@freebsd.org>
Subject:   Re: /etc/ppp/ppp.linkup not working
Message-ID:  <20000109124940.C327@marder-1>
In-Reply-To: <20000109160531.A529@bigfoot.com>
References:  <20000109160531.A529@bigfoot.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000109124940.C327>