Re: [BackupPC-users] One more time

2011-02-17 Thread David Williams


  
  
Can anyone help me with the samba issue?
  Will also try another group thanks.


  
  David Williams
  Check
  out our WebOS mobile phone app for the Palm Pre and
  Pixi:

Golf
  Caddie | Golf
Caddie Forum | Golf
  Caddie FAQ by DTW-Consulting, Inc.
  
  


On 2/15/2011 9:36 AM, David Williams wrote:

  
  Ryan,

Thanks for the info. Tried what you suggested and here is what
happened.

smbclient -L laptop1 -U dwilliams
Enter dwilliams's password:
session setup failed: SUCCESS - 0

mount -t cifs //192.168.15.50/c$ /mnt/test/ -o
username=dwilliams
Password:
mount error(13): Permission denied

dwilliams is setup as an admin user on laptop1.

smbfs did not work and I got the following message: "smbfs is
deprecated and will be removed from the 2.6.27 kernel. Please
migrate to cifs"

Perhaps this is a windows 7 security issue, not sure. I know
several years ago I was using SMB to backup an XP machine and
didn't have these issues.
I'm not familiar with rsync so would have to look into that.
  
  

David Williams
Check out our WebOS mobile phone app for
the Palm Pre and Pixi:
   Golf
Caddie | Golf

  Caddie Forum | Golf

Caddie FAQ by DTW-Consulting, Inc.


  
  
  On 2/15/2011 9:29 AM, Ryan Blake wrote:
  


David,

Being a "mobile warrior," I
believe you would be best fitted with using rsync (cwRsync
for Windows)instead of smb. You also need to keep in mind that your system will need
to transfer all files across the pipe to check their
checksum. If you are connected via wireless when you are
home, I would not suggest it, unless your drive is
practically unused.

With that said, if you still would
prefer to use smb, I would suggest doing some basic
troubleshooting from another PC (if possible) by simply
connecting to the \\laptop1 device (you will
want to connect to the c$ share). If you can connect
successfully or if you don't have another device to test, I
would suggest running the following command on your linux
box:

smbclient -L ComputerName -U
Administrator*

If the system comes back with your
open network shares, then good. If it does not, then
something is wrong and you'll need to look into the error
message it gives back. If it does work, you can try one
last thing, actually mounting the drive to your server to
ensure that works.

1. Create a folder in /mnt using
mkdir /mnt/test
2. Run this command: mount -t cifs
//IP.AddressOrHostName.Of.Computer/c$ /mnt/test/ -o
username=Administrator*
3. If that does not work, exchange
cifs for smbfs. mount -t cifs
//IP.AddressOrHostName.Of.Computer/c$ /mnt/test/ -o
username=Administrator*

You should be able to cd to
/mnt/test and do a ls -aL to see all the data in the root of
your C: on your laptop. If that works, it *should* work
assuming your credentials are correct in BackupPC's configs.

P.S. Once you test mounting,
you'll probablywant to unmount with umount /mnt/test

* [Or whatever username you want
to use to connect]

~Ryan

  
  
  
From: David
Williams 
Sent: Tuesday, February 15, 2011 8:49 AM
To: General

list for user discussion,questions and support 
        Subject: Re: [BackupPC-users] One more time
  



On 2/7/2011 3:49 PM, Tyler J. Wagner wrote:

  On Mon, 2011-02-07 at 12:39 -0500, Ryan Blake wrote:

  
However, if that's not an option for whatever reason, the only other option 
would be to ensure that your dhcpd service is properly connected/integrated 
with bind [named] (assuming you are using these).

  
  That's what I do at my office. However, I use dnsmasq at home, which
provides both DNS and DHCP. It automatically integrates them, so when
you supply your hostname with the DHCP request (as most clients do), it
gets added to the local DNS domain 

Re: [BackupPC-users] One more time

2011-02-17 Thread Ryan Blake
David,

Did you make sure you have File and Printer sharing enabled on the computer 
(right click on your network device and choose properties and look for File and 
Printer sharing to be checked) and have the firewall open to allow traffic (you 
may even want to temporarily disable it when doing the testing you did 
earlier)?  Also, I am guessing the dwilliams account is not an account from 
part of a domain at work?  If it is, you'll need to use 
username=domain\\username (note the \\).  Your other option would be to create 
a local admin account on your workstation for backup and recovery.  You should 
also right click on your C drive and ensure that under the Sharing tab that 
the C$ share shows up.  You can do a more thorough check if you go into your 
Control Panel, select Small Icons (top left of window), and find Folder 
Options.  From there, hit the View tab and under Advanced Settings, 
uncheck Simple file sharing.  Now go back and check for that c$ share.  It 
would also be a good time to see what permissions are set on it.

Those few steps should at least get you started towards finding your solution.

~Ryan


From: David Williams 
Sent: Thursday, February 17, 2011 8:30 AM
To: General list for user discussion,questions and support 
Subject: Re: [BackupPC-users] One more time


Can anyone help me with the samba issue?
Will also try another group thanks.




David Williams
Check out our WebOS mobile phone app for the Palm Pre and Pixi:
   Golf Caddie | Golf Caddie Forum | Golf Caddie FAQ by DTW-Consulting, Inc.





On 2/15/2011 9:36 AM, David Williams wrote: 
  Ryan,

  Thanks for the info.  Tried what you suggested and here is what happened.

  smbclient -L laptop1 -U dwilliams
  Enter dwilliams's password:
  session setup failed: SUCCESS - 0

  mount -t cifs //192.168.15.50/c$ /mnt/test/ -o username=dwilliams
  Password:
  mount error(13): Permission denied

  dwilliams is setup as an admin user on laptop1.

  smbfs did not work and I got the following message: smbfs is deprecated and 
will be removed from the 2.6.27 kernel. Please migrate to cifs

  Perhaps this is a windows 7 security issue, not sure.  I know several years 
ago I was using SMB to backup an XP machine and didn't have these issues.
  I'm not familiar with rsync so would have to look into that.


--

  David Williams
  Check out our WebOS mobile phone app for the Palm Pre and Pixi:
 Golf Caddie | Golf Caddie Forum | Golf Caddie FAQ by DTW-Consulting, Inc.





  On 2/15/2011 9:29 AM, Ryan Blake wrote: 
David,

Being a mobile warrior, I believe you would be best fitted with using 
rsync (cwRsync for Windows) instead of smb.  You also need to keep in mind that 
your system will need to transfer all files across the pipe to check their 
checksum.  If you are connected via wireless when you are home, I would not 
suggest it, unless your drive is practically unused.

With that said, if you still would prefer to use smb, I would suggest doing 
some basic troubleshooting from another PC (if possible) by simply connecting 
to the \\laptop1 device (you will want to connect to the c$ share).  If you can 
connect successfully or if you don't have another device to test, I would 
suggest running the following command on your linux box:

smbclient -L ComputerName -U Administrator*

If the system comes back with your open network shares, then good.  If it 
does not, then something is wrong and you'll need to look into the error 
message it gives back.  If it does work, you can try one last thing, actually 
mounting the drive to your server to ensure that works.

1. Create a folder in /mnt using mkdir /mnt/test
2. Run this command: mount -t cifs //IP.AddressOrHostName.Of.Computer/c$ 
/mnt/test/ -o username=Administrator*
3. If that does not work, exchange cifs for smbfs. mount -t cifs 
//IP.AddressOrHostName.Of.Computer/c$ /mnt/test/ -o username=Administrator*

You should be able to cd to /mnt/test and do a ls -aL to see all the data 
in the root of your C: on your laptop.  If that works, it *should* work 
assuming your credentials are correct in BackupPC's configs.

P.S. Once you test mounting, you'll probably want to unmount with umount 
/mnt/test

* [Or whatever username you want to use to connect]

~Ryan


From: David Williams 
Sent: Tuesday, February 15, 2011 8:49 AM
To: General list for user discussion,questions and support 
Subject: Re: [BackupPC-users] One more time


On 2/7/2011 3:49 PM, Tyler J. Wagner wrote: 
On Mon, 2011-02-07 at 12:39 -0500, Ryan Blake wrote:
However, if that's not an option for whatever reason, the only other option 
would be to ensure that your dhcpd service is properly connected/integrated 
with bind [named] (assuming you are using these).
That's what I do at my office. However, I use

Re: [BackupPC-users] One more time

2011-02-15 Thread David Williams

On 2/7/2011 3:49 PM, Tyler J. Wagner wrote:

On Mon, 2011-02-07 at 12:39 -0500, Ryan Blake wrote:

However, if that's not an option for whatever reason, the only other option
would be to ensure that your dhcpd service is properly connected/integrated
with bind [named] (assuming you are using these).

That's what I do at my office. However, I use dnsmasq at home, which
provides both DNS and DHCP. It automatically integrates them, so when
you supply your hostname with the DHCP request (as most clients do), it
gets added to the local DNS domain automatically.

Also, consider Bonjour/Avahi. Then you can use hostname.local as your
name/alias and it will work. Ubuntu and Macs will support this out of
the box. On Windows it's easy to install.

Regards,
Tyler


All,

I have now gotten to the point whereby the backup is at least starting.  
It is also stopping very quickly with the following errors:


full backup started for share \\laptop1
Xfer PIDs are now 28877,28876
Exec failed for
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 
filesTotal, 0 sizeTotal
Got fatal error during xfer (No files dumped for share \\laptop1)
Backup aborted (No files dumped for share \\laptop1)
Not saving this as a partial backup since it has fewer files than the prior one 
(got 0 and 0 files versus 0)

I suspect that I don't have some of the smb parameters setup correctly.  
I have done the following:


XferMethod = smb
SmbShareName = \\laptop1  (have also tried C$)
SmbShareUserName and SmbSharePasswd have both been set.
BackupFilesOnly = \users\dwilliams

How can I troubleshoot this issue further?  Are there any command line 
commands that I can use to ensure I can connect to laptop1 via smb?  I 
have Windows7 64-bit on the laptop.


Any additional help will be much appreciated.
--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
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/


Re: [BackupPC-users] One more time

2011-02-15 Thread Ryan Blake
David,

Being a mobile warrior, I believe you would be best fitted with using rsync 
(cwRsync for Windows) instead of smb.  You also need to keep in mind that your 
system will need to transfer all files across the pipe to check their checksum. 
 If you are connected via wireless when you are home, I would not suggest it, 
unless your drive is practically unused.

With that said, if you still would prefer to use smb, I would suggest doing 
some basic troubleshooting from another PC (if possible) by simply connecting 
to the \\laptop1 device (you will want to connect to the c$ share).  If you can 
connect successfully or if you don't have another device to test, I would 
suggest running the following command on your linux box:

smbclient -L ComputerName -U Administrator*

If the system comes back with your open network shares, then good.  If it does 
not, then something is wrong and you'll need to look into the error message it 
gives back.  If it does work, you can try one last thing, actually mounting the 
drive to your server to ensure that works.

1. Create a folder in /mnt using mkdir /mnt/test
2. Run this command: mount -t cifs //IP.AddressOrHostName.Of.Computer/c$ 
/mnt/test/ -o username=Administrator*
3. If that does not work, exchange cifs for smbfs. mount -t cifs 
//IP.AddressOrHostName.Of.Computer/c$ /mnt/test/ -o username=Administrator*

You should be able to cd to /mnt/test and do a ls -aL to see all the data in 
the root of your C: on your laptop.  If that works, it *should* work assuming 
your credentials are correct in BackupPC's configs.

P.S. Once you test mounting, you'll probably want to unmount with umount 
/mnt/test

* [Or whatever username you want to use to connect]

~Ryan


From: David Williams 
Sent: Tuesday, February 15, 2011 8:49 AM
To: General list for user discussion,questions and support 
Subject: Re: [BackupPC-users] One more time


On 2/7/2011 3:49 PM, Tyler J. Wagner wrote: 
On Mon, 2011-02-07 at 12:39 -0500, Ryan Blake wrote:
However, if that's not an option for whatever reason, the only other option 
would be to ensure that your dhcpd service is properly connected/integrated 
with bind [named] (assuming you are using these).
That's what I do at my office. However, I use dnsmasq at home, which
provides both DNS and DHCP. It automatically integrates them, so when
you supply your hostname with the DHCP request (as most clients do), it
gets added to the local DNS domain automatically.

Also, consider Bonjour/Avahi. Then you can use hostname.local as your
name/alias and it will work. Ubuntu and Macs will support this out of
the box. On Windows it's easy to install.

Regards,
Tyler

All,

I have now gotten to the point whereby the backup is at least starting.  It is 
also stopping very quickly with the following errors:


full backup started for share \\laptop1
Xfer PIDs are now 28877,28876
Exec failed for 
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 
filesTotal, 0 sizeTotal
Got fatal error during xfer (No files dumped for share \\laptop1)
Backup aborted (No files dumped for share \\laptop1)
Not saving this as a partial backup since it has fewer files than the prior one 
(got 0 and 0 files versus 0)
I suspect that I don't have some of the smb parameters setup correctly.  I have 
done the following:

XferMethod = smb
SmbShareName = \\laptop1  (have also tried C$)
SmbShareUserName and SmbSharePasswd have both been set.
BackupFilesOnly = \users\dwilliams

How can I troubleshoot this issue further?  Are there any command line commands 
that I can use to ensure I can connect to laptop1 via smb?  I have Windows7 
64-bit on the laptop.

Any additional help will be much appreciated. 





--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb 





___
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 ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
BackupPC-users mailing list

Re: [BackupPC-users] One more time

2011-02-15 Thread David Williams


  
  
Ryan,
  
  Thanks for the info. Tried what you suggested and here is what
  happened.
  
  smbclient -L laptop1 -U dwilliams
  Enter dwilliams's password:
  session setup failed: SUCCESS - 0
  
  mount -t cifs //192.168.15.50/c$ /mnt/test/ -o username=dwilliams
  Password:
  mount error(13): Permission denied
  
  dwilliams is setup as an admin user on laptop1.
  
  smbfs did not work and I got the following message: "smbfs is
  deprecated and will be removed from the 2.6.27 kernel. Please
  migrate to cifs"
  
  Perhaps this is a windows 7 security issue, not sure. I know
  several years ago I was using SMB to backup an XP machine and
  didn't have these issues.
  I'm not familiar with rsync so would have to look into that.


  
  David Williams
  Check
  out our WebOS mobile phone app for the Palm Pre and
  Pixi:

Golf
  Caddie | Golf
Caddie Forum | Golf
  Caddie FAQ by DTW-Consulting, Inc.
  
  


On 2/15/2011 9:29 AM, Ryan Blake wrote:

  
  
  David,
  
  Being a "mobile warrior," I believe
  you would be best fitted with using rsync (cwRsync for
  Windows)instead of smb. You
  also need to keep in mind that your system will need to
  transfer all files across the pipe to check their checksum.
  If you are connected via wireless when you are home, I would
  not suggest it, unless your drive is practically unused.
  
  With that said, if you still would
  prefer to use smb, I would suggest doing some basic
  troubleshooting from another PC (if possible) by simply
  connecting to the \\laptop1 device (you will
  want to connect to the c$ share). If you can connect
  successfully or if you don't have another device to test, I
  would suggest running the following command on your linux box:
  
  smbclient -L ComputerName -U
  Administrator*
  
  If the system comes back with your
  open network shares, then good. If it does not, then
  something is wrong and you'll need to look into the error
  message it gives back. If it does work, you can try one last
  thing, actually mounting the drive to your server to ensure
  that works.
  
  1. Create a folder in /mnt using
  mkdir /mnt/test
  2. Run this command: mount -t cifs
  //IP.AddressOrHostName.Of.Computer/c$ /mnt/test/ -o
  username=Administrator*
  3. If that does not work, exchange
  cifs for smbfs. mount -t cifs
  //IP.AddressOrHostName.Of.Computer/c$ /mnt/test/ -o
  username=Administrator*
  
  You should be able to cd to
  /mnt/test and do a ls -aL to see all the data in the root of
  your C: on your laptop. If that works, it *should* work
  assuming your credentials are correct in BackupPC's configs.
  
  P.S. Once you test mounting, you'll
  probablywant to unmount with umount /mnt/test
  
  * [Or whatever username you want to
  use to connect]
  
  ~Ryan
  



  From: David Williams
  
  Sent: Tuesday, February 15, 2011 8:49 AM
  To: General
  list for user discussion,questions and support 
      Subject: Re: [BackupPC-users] One more time

  
  
  
  On 2/7/2011 3:49 PM, Tyler J. Wagner wrote:
  
On Mon, 2011-02-07 at 12:39 -0500, Ryan Blake wrote:


  However, if that's not an option for whatever reason, the only other option 
would be to ensure that your dhcpd service is properly connected/integrated 
with bind [named] (assuming you are using these).


That's what I do at my office. However, I use dnsmasq at home, which
provides both DNS and DHCP. It automatically integrates them, so when
you supply your hostname with the DHCP request (as most clients do), it
gets added to the local DNS domain automatically.

Also, consider Bonjour/Avahi. Then you can use "hostname.local" as your
name/alias and it will work. Ubuntu and Macs will support this out of
the box. On Windows it's easy to install.

Regards,
Tyler


  
  All,

I have now gotten to the point whereby the backup is at least
starting. It is also stopping very quickly with the following
errors:

  
  full backup started for share \\laptop1
Xfer PIDs are now 28877,28876
Exec failed for 
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 sizeTotal
Got fatal error during xfer (No files dumped for share \\laptop1)
Backup aborted (No fi

Re: [BackupPC-users] One more time

2011-02-07 Thread Carl Wilhelm Soderstrom
On 02/03 01:45 , David Williams wrote:
 Got a little free time so thought that I would try again to see how I 
 can back up my laptop.
 It's set to DHCP and is connected to the same network as the BackupPC 
 server.

Is there any hope you can get a static IP address assignment for your
laptop, so that the BackupPC server doesn't have to 'hunt' for it?

This is what we do everywhere, and it solves the problem perfectly.

-- 
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com

--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
___
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/


Re: [BackupPC-users] One more time

2011-02-07 Thread David Williams


  
  
The problem that I have is that I travel
  everyweek and hook my laptop onto clients networks so DHCP is
  needed.
  That said, perhaps there is a way (I think there is) that I can
  force my DHCP server at home to always provide the same internal
  IP address to my laptop right, by specifying the MAC address or
  something?


  
  David Williams
  Check
  out our WebOS mobile phone app for the Palm Pre and
  Pixi:

Golf
  Caddie | Golf
Caddie Forum | Golf
  Caddie FAQ by DTW-Consulting, Inc.
  
  


On 2/7/2011 10:49 AM, Carl Wilhelm Soderstrom wrote:

  On 02/03 01:45 , David Williams wrote:

  
Got a little free time so thought that I would try again to see how I 
can back up my laptop.
It's set to DHCP and is connected to the same network as the BackupPC 
server.

  
  
Is there any hope you can get a static IP address assignment for your
laptop, so that the BackupPC server doesn't have to 'hunt' for it?

This is what we do everywhere, and it solves the problem perfectly.



  

--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb___
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/


Re: [BackupPC-users] One more time

2011-02-07 Thread Carl Wilhelm Soderstrom
On 02/07 11:38 , David Williams wrote:
 That said, perhaps there is a way (I think there is) that I can force my 
 DHCP server at home to always provide the same internal IP address to my 
 laptop right, by specifying the MAC address or something?

That's what I was suggesting, tho perhaps not clearly enough.

-- 
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com

--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
___
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/


Re: [BackupPC-users] One more time

2011-02-07 Thread Les Mikesell
On 2/7/2011 11:38 AM, David Williams wrote:
 The problem that I have is that I travel everyweek and hook my laptop
 onto clients networks so DHCP is needed.
 That said, perhaps there is a way (I think there is) that I can force my
 DHCP server at home to always provide the same internal IP address to my
 laptop right, by specifying the MAC address or something?

Yes, all DHCP servers should have a way to reserve an IP by MAC address, 
and most will give the same MAC the same IP for some reasonable length 
of time anyway unless there is a big turnover with the lease expired. 
Anyway, if you just connect to the backuppc web interface from the 
laptop itself and request the backup, it will find you - and keep 
working at least until the IP changes.

-- 
   Les Mikesell
lesmikes...@gmail.com

--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
___
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/


Re: [BackupPC-users] One more time

2011-02-07 Thread David Williams


  
  
Ok,
  
  I will take a look into that. I'm not a networking person by any
  means and tend to stumble through these things :)


  
  David Williams
  Check
  out our WebOS mobile phone app for the Palm Pre and
  Pixi:

Golf
  Caddie | Golf
Caddie Forum | Golf
  Caddie FAQ by DTW-Consulting, Inc.
  
  


On 2/7/2011 12:19 PM, Carl Wilhelm Soderstrom wrote:

  On 02/07 11:38 , David Williams wrote:

  
That said, perhaps there is a way (I think there is) that I can force my 
DHCP server at home to always provide the same internal IP address to my 
laptop right, by specifying the MAC address or something?

  
  
That's what I was suggesting, tho perhaps not clearly enough.



  

--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb___
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/


Re: [BackupPC-users] One more time

2011-02-07 Thread David Williams


On 2/7/2011 12:32 PM, Les Mikesell wrote:

On 2/7/2011 11:38 AM, David Williams wrote:

The problem that I have is that I travel everyweek and hook my laptop
onto clients networks so DHCP is needed.
That said, perhaps there is a way (I think there is) that I can force my
DHCP server at home to always provide the same internal IP address to my
laptop right, by specifying the MAC address or something?

Yes, all DHCP servers should have a way to reserve an IP by MAC address,
and most will give the same MAC the same IP for some reasonable length
of time anyway unless there is a big turnover with the lease expired.
*Anyway, if you just connect to the backuppc web interface from the
laptop itself and request the backup, it will find you - and keep
working at least until the IP changes.*

I do connect to the web interface from the laptop itself and request the 
backup and I get the following message:


laptop1 is a DHCP host, and I don't know its IP address. I checked the 
netbios name of 192.168.15.155, and found that that machine is not laptop1.


Until I see laptop1 at a particular DHCP address, you can only start 
this request from the client machine itself.


That's my issue, but will look into trying to reserve a specific address 
for this laptop as that's probably an easier solution to the problem, at 
least for me :)



--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb___
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/


Re: [BackupPC-users] One more time

2011-02-07 Thread Les Mikesell
On 2/7/2011 12:41 PM, David Williams wrote:

 The problem that I have is that I travel everyweek and hook my laptop
 onto clients networks so DHCP is needed.
 That said, perhaps there is a way (I think there is) that I can force my
 DHCP server at home to always provide the same internal IP address to my
 laptop right, by specifying the MAC address or something?
 Yes, all DHCP servers should have a way to reserve an IP by MAC address,
 and most will give the same MAC the same IP for some reasonable length
 of time anyway unless there is a big turnover with the lease expired.
 *Anyway, if you just connect to the backuppc web interface from the
 laptop itself and request the backup, it will find you - and keep
 working at least until the IP changes.*

 I do connect to the web interface from the laptop itself and request the
 backup and I get the following message:

 laptop1 is a DHCP host, and I don't know its IP address. I checked the
 netbios name of 192.168.15.155, and found that that machine is not laptop1.

That doesn't mean it can't find you. It means it didn't like the name it 
found.

 Until I see laptop1 at a particular DHCP address, you can only start
 this request from the client machine itself.

 That's my issue, but will look into trying to reserve a specific address
 for this laptop as that's probably an easier solution to the problem, at
 least for me :)

The check could be case sensitive.  What do you see if you do:
nmblookup -A 192.168.15.155

or from windows, 'nbtstat -A 192.168.15.155'?

Also, a quick brute-force fix would be to set ClientAlias to the current 
IP address of the box, changing as needed.

-- 
   Les Mikesell
lesmikes...@gmail.com




--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
___
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/


Re: [BackupPC-users] One more time

2011-02-07 Thread Tyler J. Wagner
On Mon, 2011-02-07 at 12:39 -0500, Ryan Blake wrote:
 However, if that's not an option for whatever reason, the only other option 
 would be to ensure that your dhcpd service is properly connected/integrated 
 with bind [named] (assuming you are using these).

That's what I do at my office. However, I use dnsmasq at home, which
provides both DNS and DHCP. It automatically integrates them, so when
you supply your hostname with the DHCP request (as most clients do), it
gets added to the local DNS domain automatically.

Also, consider Bonjour/Avahi. Then you can use hostname.local as your
name/alias and it will work. Ubuntu and Macs will support this out of
the box. On Windows it's easy to install.

Regards,
Tyler

-- 
... that your voice is amplified to the degree where it reaches from
one end of the country to the other does not confer upon you greater
wisdom or understanding than you possessed when your voice reached only
from one end of the bar to the other.
   -- Edward R. Murrow


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
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/