/etc/hosts has entries only for 127.0.1.1.
/etc/resolv.conf points to local nameservers which don't have records for
these hosts.  The hosts in question are laptops, so it doesn't make much
sense to stick them in DNS.

hostname gives backuppc.  hostname -f gives backuppc.loc.

I'd like to be able to solve this problem without having to change the name
of every laptop in the organization, so the other suggestions are headed in
the wrong direction for me.

Thanks!
-Frank

On Tue, Jul 27, 2010 at 5:40 PM, Leen Besselink <l...@consolejunky.net>wrote:

> On 07/27/2010 10:28 PM, Les Mikesell 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.
> >
> >
> So you should check your:
> /etc/resolv.conf
> /etc/hosts
>
> Possible use a fully qualified domainname:
> volstrol400.office
>
> An other tip, maybe add a . at the end, so that search from
> /etc/resolv.conf is not used
>
> Also have a look at the output of:
>
> $ hostname
>
> That should give you an idea of what it might be looking for and what it
> might find. :-)
>
>
>
> ------------------------------------------------------------------------------
> 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/

Reply via email to