*With DHCP set to 0:*
$ ./BackupPC_dump -v -f vostro1400
cmdSystemOrEval: about to system /bin/ping -c 1 vostro1400
cmdSystemOrEval: finished: got output PING vostro1400 (63.251.179.13) 56(84)
bytes of data.
*With DHCP set to 1:*
$ ./BackupPC_dump -v -f vostro1400
cmdSystemOrEval: about to system /bin/ping -c 1 vostro1400
cmdSystemOrEval: finished: got output PING vostro1400 (8.15.7.117) 56(84)
bytes of data.
It seems that, regardless of how the DHCP flag is set, BackupPC is going to
ping the hostname. In that case, why bother with nmblookup at all? Where
is the result of nmblookup used? I don't understand.
Most of my clients have dynamic IPs, so clientAlias isn't going to work for
me.
On Tue, Jul 27, 2010 at 4:28 PM, Les Mikesell <lesmikes...@gmail.com> wrote:
> 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
> lesmikes...@gmail.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@lists.sourceforge.net
> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki: http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
------------------------------------------------------------------------------
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@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/