[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ppp daemon ip-up.d perm +



On Fri, Oct 03, 2003 at 10:06:57PM -0800, J Y wrote:
> Hi, Permissions of ip-up.d:
> deblnx:/home/john# ls -l /etc/ppp/ip-up.d 
> total 28 
> -rwxr-xr-x    1 root     root         1306 Apr 25  2002 00-ipppd 
> -rwxr-xr-x    1 root     root          962 Apr  2  2002 000usepeerdns 
> -rwxr-xr-x    1 root     root         2460 Jan  4  2002 0dns-up 
> -rwxr-xr-x    1 root     root          825 Mar 17  2002 1wwwoffle 
> -rwxr-xr-x    1 root     root           84 Mar  4  2002 exim 
> -rwxr-xr-x    1 root     root          240 Jun 30  2002 fetchmail 
> -rwxr-xr-x    1 root     root          224 Mar 21  2002 leafnode

All good. You don't need 00-ipppd unless you're using ISDN, which it
seems you're not. Probably a good idea to uninstall ipppd.

  apt-get remove --purge ipppd

> All scripts in ip-up.d (except fetchmail & leafnode) had "exit 0" added
> to the 2nd uncommented line in the script. 
>  
> deblnx:/home/john# plog 
> Oct  4 00:42:08 deblnx pppd[1755]: rcvd [IPCP ConfAck id=0x2 <addr
> 67.75.63.1> <compress VJ 0f 01> <ms-dns1 209.244.0.3> <ms-dns3
> 209.244.0.4>] 
> Oct  4 00:42:08 deblnx pppd[1755]: Cannot determine ethernet address for
> proxy ARP 
> Oct  4 00:42:08 deblnx pppd[1755]: local  IP address 67.75.63.1 
> Oct  4 00:42:08 deblnx pppd[1755]: remote IP address 63.215.27.34 
> Oct  4 00:42:08 deblnx pppd[1755]: primary   DNS address 209.244.0.3 
> Oct  4 00:42:08 deblnx pppd[1755]: secondary DNS address 209.244.0.4 
> Oct  4 00:42:08 deblnx pppd[1755]: Script /etc/ppp/ip-up started (pid 1796) 
> Oct  4 00:42:08 deblnx pppd[1755]: Script /etc/ppp/ip-up finished (pid
> 1796), status = 0x0 
>  
> After removing the "exit 0" from the script exim then plog produced this: 
> deblnx:/home/john# plog 
> Oct  4 00:45:14 deblnx pppd[1889]: rcvd [IPCP ConfAck id=0x2 <addr
> 67.75.63.97> <compress VJ 0f 01> <ms-dns1 209.244.0.3> <ms-dns3
> 209.244.0.4>] 
> Oct  4 00:45:14 deblnx pppd[1889]: Cannot determine ethernet address for
> proxy ARP 
> Oct  4 00:45:14 deblnx pppd[1889]: local  IP address 67.75.63.97 
> Oct  4 00:45:14 deblnx pppd[1889]: remote IP address 63.215.27.34 
> Oct  4 00:45:14 deblnx pppd[1889]: primary   DNS address 209.244.0.3 
> Oct  4 00:45:14 deblnx pppd[1889]: secondary DNS address 209.244.0.4 
> Oct  4 00:45:14 deblnx pppd[1889]: Script /etc/ppp/ip-up started (pid 1930) 
> Oct  4 00:45:14 deblnx pppd[1889]: Script /etc/ppp/ip-up finished (pid
> 1930), status = 0x1 
>  
> This is what's in exim: 
> #!/bin/sh 
>  
> # Flush exim queue 
> if [ -x /usr/sbin/exim ]; then 
> 	/usr/sbin/exim -qf 
> fi 
>  
> I don't know if this is the problem file or not. Does exim have anything
> to do with dns?

No, exim is a Mail Transport Agent and that script is to send your
outgoing mail.

Do you mean that you removed the additional 'exit 0' from the exim
script before having removed it from any of the others? Perhaps I
wasn't clear enough. Put it back into the exim script, then remove it
from each script in turn *in the order given by ls -l*.

The scripts that set up DNS are 000usepeerdns (which won't actually do
anything as long as the 0dns-up script and /usr/sbin/pppconfig both
exist - is /usr/sbin/pppconfig there?) and 0dns-up.

If 0dns-up isn't failing, what do you get in /etc/resolv.conf after
it's run?

-- 
Pigeon

Be kind to pigeons
Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F

Attachment: pgpJ6WHQPqpSt.pgp
Description: PGP signature


Reply to: