From: Fatih A. <fth...@gm...> - 2009-04-04 09:40:30
|
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 |
From: David L. <da...@al...> - 2009-04-04 16:06:22
|
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:fth...@gm...] Sent: Saturday, April 04, 2009 2:40 AM To: bac...@li... 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 Bac...@li... List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ |
From: Fatih A. <fth...@gm...> - 2009-04-04 19:14:11
|
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 <da...@al...> 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:fth...@gm...] > Sent: Saturday, April 04, 2009 2:40 AM > To: bac...@li... > 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 > Bac...@li... > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > > > ------------------------------------------------------------------------------ > _______________________________________________ > BackupPC-users mailing list > Bac...@li... > 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 |
From: Adam G. <mai...@we...> - 2009-04-05 00:41:42
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Fatih Arslan 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. I suspect your problem is related to backuppc not being able to talk nmb to your windows machine. I think you need to look at the firewall/filtering on the windows machine, and also ensure file/print sharing is enabled. Follow those basics, if you can, make sure you can see it from another windows machine before getting back to backuppc. Hope that helps. Regards, Adam -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknX/isACgkQGyoxogrTyiV3cACfTey2n64VpHiHpkO8/hSwTiNc 2DIAoMqIupj4fkQi4HnYlibDiOKBcz/m =l0pF -----END PGP SIGNATURE----- |
From: Tom B. <tb...@ri...> - 2009-04-06 21:29:34
|
There is an alternative solution. It is not elegant, but it works. If the server is the GNU/Linux box, add the IP addresses of your network hosts to /etc/hosts. There is a similar file in Windows XP and probably Vista. On the GNU/Linux host open /etc/hosts with your favorite text editor. Add the following lines and save the file. I don't know what the IP address of each host is, but I will use 192.168.1.1 for faith-pardus and 192.168.1.101 for Samsung. 192.168.1.1 fatih-pardus 192.168.1.101 samsung In Windows XP, the hosts file is located at C:\WINDOWS\SYSTEM32\DRIVERS\ETC, and the format is the same as Linux. The format is identical because the hosts file system predates GNU/Linux and Windows and was adopted by each. The drawback of this solution is: If your IP addresses change, you must edit the hosts file on each (every) machine. Since your network is probably small, you are unlikely to have a problem. If you do, the fix is simple. Tom -----Original Message----- From: Adam Goryachev [mailto:mai...@we...] Sent: Saturday, April 04, 2009 20:41 To: General list for user discussion,questions and support Subject: Re: [BackupPC-users] Nmblookup doesn't find anything, host can't be found -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Fatih Arslan 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. I suspect your problem is related to backuppc not being able to talk nmb to your windows machine. I think you need to look at the firewall/filtering on the windows machine, and also ensure file/print sharing is enabled. Follow those basics, if you can, make sure you can see it from another windows machine before getting back to backuppc. Hope that helps. Regards, Adam -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknX/isACgkQGyoxogrTyiV3cACfTey2n64VpHiHpkO8/hSwTiNc 2DIAoMqIupj4fkQi4HnYlibDiOKBcz/m =l0pF -----END PGP SIGNATURE----- ---------------------------------------------------------------------------- -- _______________________________________________ BackupPC-users mailing list Bac...@li... List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ |
From: David L. <da...@al...> - 2009-04-04 21:06:33
|
That looks correct. What is BackupPC_dump -v saying now? Dave On Apr 4, 2009, at 12:13 PM, Fatih Arslan <fth...@gm...> 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 <da...@al...> > 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:fth...@gm...] >> Sent: Saturday, April 04, 2009 2:40 AM >> To: bac...@li... >> 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 >> Bac...@li... >> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users >> Wiki: http://backuppc.wiki.sourceforge.net >> Project: http://backuppc.sourceforge.net/ >> >> >> --- >> --- >> --- >> --------------------------------------------------------------------- >> _______________________________________________ >> BackupPC-users mailing list >> Bac...@li... >> 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 > Bac...@li... > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ |
From: Fatih A. <fth...@gm...> - 2009-04-04 21:22:59
|
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 |
From: David L. <da...@al...> - 2009-04-05 00:56:15
|
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:fth...@gm...] 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 Bac...@li... List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ |
From: Fatih A. <fth...@gm...> - 2009-04-05 07:53:13
|
I've now configured my server and client to user static-ip's My server(Linux) has an ip with 192.168.1.2 My client(also linux) has an ip with 192.168.1.3 I've set the option in hosts file from 1 to 0 (for static ip) Well applying the command gives me: **************************************************************** backuppc@fatih-pardus bin $ ./BackupPC_dump -v -f -d 192.168.1.3 cmdSystemOrEval: about to system /usr/bin/ping -c 1 -w 3 192.168.1.3 cmdSystemOrEval: finished: got output PING 192.168.1.3 (192.168.1.3) 56(84) bytes of data. 64 bytes from 192.168.1.3: icmp_seq=2 ttl=64 time=1.94 ms --- 192.168.1.3 ping statistics --- 2 packets transmitted, 1 received, 50% packet loss, time 999ms rtt min/avg/max/mdev = 1.940/1.940/1.940/0.000 ms cmdSystemOrEval: about to system /usr/bin/ping -c 1 -w 3 192.168.1.3 cmdSystemOrEval: finished: got output PING 192.168.1.3 (192.168.1.3) 56(84) bytes of data. 64 bytes from 192.168.1.3: icmp_seq=1 ttl=64 time=1.80 ms --- 192.168.1.3 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 1.807/1.807/1.807/0.000 ms CheckHostAlive: returning 1.807 cmdSystemOrEval: about to system /usr/bin/nmblookup -A 192.168.1.3 cmdSystemOrEval: finished: got output Looking up status of 192.168.1.3 No reply from 192.168.1.3 NetBiosInfoGet: failed: can't parse return string Exiting because NetBiosInfoGet(192.168.1.3) returned '', an invalid host name backuppc@fatih-pardus bin $ nmblookup -A 192.168.1.3 Looking up status of 192.168.1.3 No reply from 192.168.1.3 **************************************************************** I've no software firewall installed, nor i have a Hardwadre firewall. I've locked at my router, which is Linksysy Wag325N, all firewall options are disabled. There must be a way to solve it, something is corrupting my config but I don't no what is it. I've searced for "Linksys Wag325n netbios" but i didn't any solution. Anyway thanks for helping On Sun, Apr 5, 2009 at 3:55 AM, David Lasker <da...@al...> wrote: > 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:fth...@gm...] > 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 > Bac...@li... > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > > > ------------------------------------------------------------------------------ > _______________________________________________ > BackupPC-users mailing list > Bac...@li... > 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 |
From: Fatih A. <fth...@gm...> - 2009-04-05 09:06:48
|
Thanks all for helping. I've just figured out where the problem is. On my client(which is ubuntu 8.04), i thought that Samba was pre-installed. But this is not the case, thus I've installed Samba trough synaptic. Now nmblookup is able to see my client, I've just started to take a backup. But i thought that for a Linux Client, samba is not needed? Am I wrong with this assumption ? Regards On Sun, Apr 5, 2009 at 10:52 AM, Fatih Arslan <fth...@gm...> wrote: > I've now configured my server and client to user static-ip's > > My server(Linux) has an ip with 192.168.1.2 > My client(also linux) has an ip with 192.168.1.3 > > I've set the option in hosts file from 1 to 0 (for static ip) > > Well applying the command gives me: > > > **************************************************************** > backuppc@fatih-pardus bin $ ./BackupPC_dump -v -f -d 192.168.1.3 > cmdSystemOrEval: about to system /usr/bin/ping -c 1 -w 3 192.168.1.3 > cmdSystemOrEval: finished: got output PING 192.168.1.3 (192.168.1.3) > 56(84) bytes of data. > 64 bytes from 192.168.1.3: icmp_seq=2 ttl=64 time=1.94 ms > > --- 192.168.1.3 ping statistics --- > 2 packets transmitted, 1 received, 50% packet loss, time 999ms > rtt min/avg/max/mdev = 1.940/1.940/1.940/0.000 ms > > cmdSystemOrEval: about to system /usr/bin/ping -c 1 -w 3 192.168.1.3 > cmdSystemOrEval: finished: got output PING 192.168.1.3 (192.168.1.3) > 56(84) bytes of data. > 64 bytes from 192.168.1.3: icmp_seq=1 ttl=64 time=1.80 ms > > --- 192.168.1.3 ping statistics --- > 1 packets transmitted, 1 received, 0% packet loss, time 0ms > rtt min/avg/max/mdev = 1.807/1.807/1.807/0.000 ms > > CheckHostAlive: returning 1.807 > cmdSystemOrEval: about to system /usr/bin/nmblookup -A 192.168.1.3 > cmdSystemOrEval: finished: got output Looking up status of 192.168.1.3 > No reply from 192.168.1.3 > > > NetBiosInfoGet: failed: can't parse return string > Exiting because NetBiosInfoGet(192.168.1.3) returned '', an invalid host name > backuppc@fatih-pardus bin $ nmblookup -A 192.168.1.3 > Looking up status of 192.168.1.3 > No reply from 192.168.1.3 > **************************************************************** > > > I've no software firewall installed, nor i have a Hardwadre firewall. > I've locked at my router, which is Linksysy Wag325N, all firewall > options are disabled. > There must be a way to solve it, something is corrupting my config but > I don't no what is it. I've searced for "Linksys Wag325n netbios" but > i didn't any solution. > > Anyway thanks for helping > > > > On Sun, Apr 5, 2009 at 3:55 AM, David Lasker <da...@al...> wrote: >> 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:fth...@gm...] >> 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 >> Bac...@li... >> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users >> Wiki: http://backuppc.wiki.sourceforge.net >> Project: http://backuppc.sourceforge.net/ >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> BackupPC-users mailing list >> Bac...@li... >> 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 > -- Fatih ARSLAN blog.arsln.org |
From: Adam G. <mai...@we...> - 2009-04-05 13:51:36
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Fatih Arslan wrote: > Thanks all for helping. I've just figured out where the problem is. > > On my client(which is ubuntu 8.04), i thought that Samba was > pre-installed. But this is not the case, thus I've installed Samba > trough synaptic. > Now nmblookup is able to see my client, I've just started to take a backup. > > But i thought that for a Linux Client, samba is not needed? Am I wrong > with this assumption ? Just change your backup method to rsync instead of smb, but you will also need to work out the passwordless keys etc... Check the wiki for a walk through. Regards, Adam - -- Adam Goryachev Website Managers www.websitemanagers.com.au -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknYt1oACgkQGyoxogrTyiUnMgCeLPIQ/FWbulFsVR1znIPNrFdo ak0AnAi6pM0K0752Q2q4R4cUMOOR59HQ =hXli -----END PGP SIGNATURE----- |
From: Holger P. <wb...@pa...> - 2009-04-05 14:52:43
|
Hi, Fatih Arslan wrote on 2009-04-05 12:06:27 +0300 [Re: [BackupPC-users] Nmblookup doesn't find anything, host can't be ?found]: > Thanks all for helping. I've just figured out where the problem is. > > On my client(which is ubuntu 8.04), i thought that Samba was > pre-installed. But this is not the case, thus I've installed Samba > trough synaptic. > Now nmblookup is able to see my client, I've just started to take a backup. > > But i thought that for a Linux Client, samba is not needed? Am I wrong > with this assumption ? installing Samba for NMB is definitely overkill. There are two points to note: - the DHCP code in BackupPC is targetted at Windoze hosts (because Unix hosts generally prefer fixed IPs, though there are exceptions). 'nmblookup' is for finding out the name of a Windoze machine. For Unix machines, you use DNS (even with DHCP), /etc/hosts or maybe something like 'telnet $ip hostname' or 'ssh $ip hostname'. You *can* use Samba and nmblookup, but the other options are more elegant. - Using the '-d' option on BackupPC_dump is about the same as setting the DHCP option to '1' in the hosts file. Since you switched to fixed IPs, everything is probably working as it should even without Samba. If you want to test, omit the '-d' option to BackupPC_dump. One more thing to note is that you should reload the server after changing the hosts file. Regards, Holger |