Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jan 2000 16:05:31 +0700
From:      John Indra <m4v3r1ck@bigfoot.com>
To:        FreeBSD Questions List <freebsd-questions@freebsd.org>
Subject:   /etc/ppp/ppp.linkup not working
Message-ID:  <20000109160531.A529@bigfoot.com>

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

< 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

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




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