From owner-freebsd-questions Wed Feb 3 15:37:58 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA17482 for freebsd-questions-outgoing; Wed, 3 Feb 1999 15:37:58 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gamma.aei.ca (gamma.aei.ca [206.123.6.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA17472 for ; Wed, 3 Feb 1999 15:37:53 -0800 (PST) (envelope-from malartre@aei.ca) Received: from aei.ca (ppp-110-175.mtl.aei.ca [207.107.110.175]) by gamma.aei.ca (8.8.5/8.8.5) with ESMTP id SAA01800 for ; Wed, 3 Feb 1999 18:37:51 -0500 (EST) Message-ID: <36B8C09B.9C008D82@aei.ca> Date: Wed, 03 Feb 1999 16:33:15 -0500 From: Malartre X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 2.2.8-RELEASE i386) X-Accept-Language: fr, en MIME-Version: 1.0 To: questions@FreeBSD.ORG Subject: dyndns account and dialup access: what's wrong with ppp.linkup? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ok, I have apache, I'm on a dialup access and I have a Dynamic DNS account at nws.net (my address is "9.nws.net". When I dial, I would like that ppp.linkup sync with Dynamic DNS and then reload httpd to make him know my new address(I think I hardlinked my address in httpd.conf to 9.nws.net): # vi /etc/ppp/ppp.linkup MYADDR: !bg sh -c "/usr/home/dyndns/regaddr 9 MYPASS" !bg sh -c "/usr/local/sbin/httpd" or # vi /etc/ppp/ppp.linkup MYADDR: !bg sh -c "/usr/home/dyndns/regaddr 9 MYPASS && /usr/local/sbin/httpd" But when I try to browse my site, it say that the server is not up and running. The only thing I need to do is to reload httpd on the command line: # /usr/local/sbin/httpd And then everything work. What's the problem? -- [Malartre][malartre@aei.ca][French piss me off - Cartman, South Park] [The FreeBSD User Guide][http://www.aei.ca/~malartre/freebsd/] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message