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

Re: ppp daemon 0dns-up fails!



On Sat, Oct 04, 2003 at 08:58:47PM -0800, J Y wrote:
> And this ( which returned exit status 1) from 0dns-up: 
>   
> deblnx:/home/john# plog  
> Oct  4 23:25:39 deblnx pppd[1354]: rcvd [IPCP ConfAck id=0x2 <addr
> 67.75.62.202> <compress VJ 0f 01> <ms-dns1  
> 209.244.0.3> <ms-dns3 209.244.0.4>]  
> Oct  4 23:25:39 deblnx pppd[1354]: Cannot determine ethernet address for
> proxy ARP  
> Oct  4 23:25:39 deblnx pppd[1354]: local  IP address 67.75.62.202  
> Oct  4 23:25:39 deblnx pppd[1354]: remote IP address 63.215.27.33  
> Oct  4 23:25:39 deblnx pppd[1354]: primary   DNS address 209.244.0.3  
> Oct  4 23:25:39 deblnx pppd[1354]: secondary DNS address 209.244.0.4  
> Oct  4 23:25:39 deblnx pppd[1354]: Script /etc/ppp/ip-up started (pid
> 1395)  
> Oct  4 23:25:39 deblnx pppd[1354]: Script /etc/ppp/ip-up finished (pid
> 1395), status = 0x1  
> deblnx:/home/john#  
>   
> I guess from what i have  learned that 0dns-up is the file that is
> failing. What do I/we do about it now?  

Looks like it!

> I'm including my 0dns file here. Much, much thanks for all your help.  

OK. There are two places where you can get an exit status of 1 from
this script:

> cd "$ETC" || exit 1  

... which would mean that root couldn't cd to /etc - I think we can
eliminate this possibility as you'd be seeing plenty of other stuff
not working!

> if test -L $RESOLVCONF; then  
>     # Assume GNU cp.  
>     /bin/cp -dp $RESOLVCONF $RESOLVBAK || exit 1  
> elif test -f $RESOLVCONF; then  
>     /bin/ln $RESOLVCONF $RESOLVBAK || exit 1  
> elif test -e $RESOLVCONF; then  
>     exit 1  

... /etc/resolv.conf doesn't exist, or is somehow weird.

So, does /etc/resolv.conf actually exist - if so what does 'ls -l
/etc/resolv.conf' report, and what's in the file?

-- 
Pigeon

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

Attachment: pgpp4gbMI2Qf4.pgp
Description: PGP signature


Reply to: