BackupPC-users

Re: [BackupPC-users] Nmblookup doesn't find anything, host can't be found

2009-04-04 20:58:40
Subject: Re: [BackupPC-users] Nmblookup doesn't find anything, host can't be found
From: "David Lasker" <dave AT altosdesign DOT com>
To: "'General list for user discussion, questions and support'" <backuppc-users AT lists.sourceforge DOT net>
Date: Sat, 4 Apr 2009 17:55:53 -0700
I am home now and looking at the BackupPC code. I see in BackupPC_dump
script line 144 that it expects the command:

nmblookup -A <ip address> 

to return the name of your host when configured for DHCP. So you need to
figure out how to make that work in order for BackupPC to work. 

Is there firewall software running on your PC's that is blocking nmblookup?
Or is there a hardware firewall that is blocking it?

This is now a moot point, but for DHCP clients, BackupPC_dump is called by
main BackupPC script with '-d' parameter and IP address, not the host name.

So you should have been using this call:

./BackupPC_dump -v -f -d 192.168.1.101

But that won't work until you make nmblookup -A work.

However, once you figure out why netbios isn't working, you can probably
turn off DHCP mode, and go back to using netbios name resolution.

Hope that helps...

Dave

-----Original Message-----
From: Fatih Arslan [mailto:ftharsln AT gmail DOT com] 
Sent: Saturday, April 04, 2009 2:23 PM
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Nmblookup doesn't find anything, host can't be
found

It's saying the same again:

backuppc@fatih-pardus bin $ ./BackupPC_dump -v -f samsung
Name server doesn't know about samsung; trying NetBios
cmdSystemOrEval: about to system /usr/bin/nmblookup samsung
cmdSystemOrEval: finished: got output querying samsung on 192.168.1.255
name_query failed to find name samsung

NetBiosHostIPFind: couldn't find IP address for host samsung
host not found


-- 
Fatih ARSLAN
blog.arsln.org

----------------------------------------------------------------------------
--
_______________________________________________
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/


------------------------------------------------------------------------------
_______________________________________________
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/