BackupPC-users

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

2009-04-04 17:10:31
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 14:06:10 -0700
That looks correct. What is BackupPC_dump -v saying now?

Dave

On Apr 4, 2009, at 12:13 PM, Fatih Arslan <ftharsln AT gmail DOT com> wrote:

> Hi Dave,
>
> I've just configured it to 1, but i've earlier tried every possible
> combination, that means i've tried 0,1 and dhcp without any sucees.
>
>
> In config.pl, I've wrote this:
>
> $Conf{DHCPAddressRanges} = [
>  {
>    'first' => '100',
>    'ipAddrBase' => '192.168.1',
>    'last' => '150'
>  }
> ];
>
> My Gateway is 192.168.1.1. I own a Linksys router, which i have
> configured to be in DHCP mode.
> This mode begins with 192.168.1.100 and 50 machines can connect.
>
> Regards
>
> On Sat, Apr 4, 2009 at 7:06 PM, David Lasker <dave AT altosdesign DOT com>  
> wrote:
>> It appears that netbios name resolution is not working from your  
>> BackupPC
>> server to your clients. Your choices are to debug and fix that, or to
>> configure BackupPC for DHCP. Have you configured DHCP correctly in  
>> BackupPC?
>>
>> What is the value of the DHCP flag (2nd parameter) for the host  
>> entries in
>> your /etc/backuppc/hosts file? It needs to be 1.
>>
>> What is the value of $Conf{DHCPAddressRanges} in your config.pl?
>>
>> Dave
>>
>> -----Original Message-----
>> From: Fatih Arslan [mailto:ftharsln AT gmail DOT com]
>> Sent: Saturday, April 04, 2009 2:40 AM
>> To: backuppc-users AT lists.sourceforge DOT net
>> Subject: [BackupPC-users] Nmblookup doesn't find anything, host  
>> can't be
>> found
>>
>> Hi,
>>
>> I'm trying to setup backuppc on my desktop pc. I'm using Pardus  
>> Linux.
>>
>> I've installed Backuppc from the sources and everything has been
>> setup. I can access CGI, and from the log's I can see that Backuppc
>> has  started.
>>
>> But the problem is, i can't find the host. I've tried several  
>> method's
>> but none of them has worked.
>>
>> My server's hostname is : fatih-pardus
>> My client's hostname is : samsung
>>
>> I'm using dhcp to apply ip's on the machines. The ip's began with
>> 192.168.1.100
>>
>> Now the following commands give these outputs:
>>
>> **********Pinging the client (samsung)******************
>>
>> fatih@fatih-pardus ~ $ ping -c 3 192.168.1.101
>> PING 192.168.1.101 (192.168.1.101) 56(84) bytes of data.
>> 64 bytes from 192.168.1.101: icmp_seq=1 ttl=64 time=10.5 ms
>> 64 bytes from 192.168.1.101: icmp_seq=2 ttl=64 time=1.95 ms
>> 64 bytes from 192.168.1.101: icmp_seq=3 ttl=64 time=7.05 ms
>>
>> --- 192.168.1.101 ping statistics ---
>> 3 packets transmitted, 3 received, 0% packet loss, time 2003ms
>> rtt min/avg/max/mdev = 1.959/6.518/10.540/3.525 ms
>>
>>
>> **********************************************************
>> fatih@fatih-pardus ~ $ nmblookup -A 192.168.1.101
>> Looking up status of 192.168.1.101
>> No reply from 192.168.1.101
>>
>>
>> ************************************************
>> fatih@fatih-pardus ~ $ nmblookup samsung
>> querying samsung on 192.168.1.255
>> name_query failed to find name samsung
>>
>>
>> *************** Doing this as backuppc user gives:*****************
>>
>> 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
>>
>> ********************************************************************
>> backuppc@fatih-pardus bin $ nmblookup -A samsung
>> Looking up status of 0.0.0.0
>> No reply from 0.0.0.0
>>
>> *******************************************************************
>> backuppc@fatih-pardus bin $ nmblookup -B 192.168.1.255  samsung
>> querying samsung on 192.168.1.255
>> name_query failed to find name samsung
>> backuppc@fatih-pardus bin $ nmblookup -B 192.168.1.101  samsung
>> querying samsung on 192.168.1.101
>> name_query failed to find name samsung
>> backuppc@fatih-pardus bin $ nmblookup -B 192.168.1.1  samsung
>> querying samsung on 192.168.1.1
>> name_query failed to find name samsung
>>
>>
>>
>>
>> You see that none of them shows my host. What can i do ? Which
>> procedure shall i follow ?
>>
>> Thank's in advance
>>
>>
>>
>> --
>> 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/
>>
>
>
>
> -- 
> 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/