vendredi 24 juin 2016

The great home network

Again, some changes

[Provider router]
  • wi-fi
  • eth1 - free
  • eth0 - blue cable downlink to switch BR604
  •  [Switch B4R 604]
    • Downlink towards permanently connected Desktop computer
    • Daisy Chain to Alcatel Speedtouch 510v4
      • Setup as Bridged, will be used as a dumb hub/switch
      • Disabled DHCP
      • Disabled DNS
      • Downlinks towards 3 unused RJ45 cables in two bedrooms and TV room
    • Daisy Chain to Wifi AP Dlink towards the back of the house
      • DHCP disabled
      • DNS Disabled? 
      • Wifi enabled WPA2
      • Downlink to backup server in same room
      • Downlink to Wifi AP Sitecom towards the garden
        • Sitecom Wifi AP
          • Fixed IP 192.168.3.1
          • DHCP enabled, range restricted 3.100...3.200
          •  No further RJ45 downlinks
Equipment removed: Dlink DI614+ due to no support for WPA2 and couldn't get it to work anymore.  Kept the power adapter and Wifi antenna.

mercredi 15 juin 2016

Switching backuppc from SMB to rsyncd on Windows

SMB performance was poor so I figured I'd try the rsyncd method like I do on linux clients.  That turned out to be a little bit hairy so here are some notes;
  • This is based on https://doc.ubuntu-fr.org/backuppc#sauvegarder_des_postes_windows_via_rsyncd
  • Installed cygwin-rsyncd from Sourceforge
  • Tweaked rsyncd.conf to allow access to the cDrive module from my backup host only and for the backuppc user only.  Also calling this module "Users" and pointing it to C:\Users
  • Added backuppc to rsyncd.secrets
  • Took some time to find out how to stop/start the rsyncserver service (cmd must be started as administrator for this to work)
  • Open port 873 with a new rule in Windows Firewall (or any other FW software running).
  • Tweaked my client configuration in backuppc using the GUI (use rsync, point to the correct module, etc...)
  • Now a full backup is running.  If that works I know I'll probably still need to tweak the include/exclude stuff

lundi 13 juin 2016

New backuppc host - using SMB


  • Created new local Windows user for backuppc (admin, set a password)
  • Add the new host to backuppc server using the web GUI
  • Share c:\users on Windows level.  Authorize only backuppc (full control)
  • Test with smbclient from the backup server: 
    • /usr/bin/smbclient \\\\run12\\Users -Ubackuppc  -E -d 1 -c tarmode\ full -Tc -
  • Changed some global XFER options (name of SMB share=Users)
  • Changed permissions on Windows level to give Administrators "full control" on the share.  That seems to cure the NT_STATUS_ACCESS_DENIED errors on all kinds of directories.


New laptop

Today I bought a new (used) laptop -- Dell Latitude E6220 with 6GB RAM, 500GB HD, Windows 7 Pro 64bits, Core i-5 2520M @ 2.50 GHz and I can't see an SSD in there.
Installed Windows Security Essentials, Windows Live ID.
The plan is to split the disk and install Xubuntu in dualboot anytime soon.

The laptop itself is pretty nice, small 12" screen WXGA resolution, the battery humps on the back but should hopefully support the faster-than-average-for-its-era CPU.  The graphics are basic Intel HD 3000 or something.  Ports for HDMI, USB (2.0 only), eSATA, VGA, SD, eID and ExpressCard.  So far so good.  No SCSI, RS-232 or parallel port though? That's how I know it's recent enough for me :-)

Next step: Configure Backuppc for this.