BackupPC-users

Re: [BackupPC-users] nmblookup = good; ping = enemy

2010-07-27 16:30:19
Subject: Re: [BackupPC-users] nmblookup = good; ping = enemy
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Tue, 27 Jul 2010 15:28:13 -0500
On 7/27/2010 1:46 PM, Frank J. Gómez wrote:
> I have a new instance set up, and BackupPC is not initiating backups
> because pings keep failing.  The behavior is really quite strange;
> please read on:
>
> "nmblookup vostro1400" gives me 10.10.10.102.  This is correct.
>
> "nmblookup -A 10.10.10.102" gives me vostro1400.  This, too, is correct.
>
> My config file tells me: $Conf{PingCmd} = '$pingPath -c 1 $host';
>
> The command "ping -c 1 vostro1400" gives:
>
>     PING vostro1400 (8.15.7.117) 56(84) bytes of data.
>
>
>     --- vostro1400 ping statistics ---
>
>     1 packets transmitted, 0 received, 100% packet loss, time 0ms
>
>
> What's up with that crazy IP address?  Why isn't ping resolving
> vostro1400 to 10.10.10.102?  (Shouldn't we be pinging the IP address
> instead of the hostname, anyway?)
>
> Any insight would be much appreciated.

That IP address is what a DNS lookup returns, so it depends on your dns 
server and domain search list (as configured on the backuppc server).  I 
thought it would use nmblookup if you checked the dhcp box in the 
backuppc hosts config.  If it is a static IP, you can use the 
ClientAlias setting to supply the IP if DNS doesn't work.

-- 
   Les Mikesell
    lesmikesell AT gmail DOT com



------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/