{"id":24,"date":"2010-02-09T23:08:00","date_gmt":"2010-02-10T04:08:00","guid":{"rendered":"http:\/\/www.nycnyne.net\/blog\/?p=24"},"modified":"2012-11-15T14:57:49","modified_gmt":"2012-11-15T19:57:49","slug":"a-good-night-of-geeking","status":"publish","type":"post","link":"https:\/\/matthannan.net\/blog\/a-good-night-of-geeking\/","title":{"rendered":"A Good Night of Geeking!!!"},"content":{"rendered":"<p>For some reason tonight, I decided to not play around with beer and mead too much. They are doing their thing quite happily. Sometimes after a rough day in the saltmines, I&#8217;ll come home and drink a beer or three. Sometimes I will sit down to geek out. Very therapeutic, me thinks. Well tonight was all about geeking out.<\/p>\n<p>The first thing I set about doing was moving all of My Documents from my XP machine out to the server via <a href=\"http:\/\/www.samba.org\/\">SAMBA<\/a>. SAMBA is a server daemon that runs on Linux boxes to allow Windows machines to share files and printers&#8230;and authentication and such stuff. I am not using SAMBA for anything but simple file sharing with my server, where all of my MP3s and movies and such live. It is just me in this apartment with a bunch of computers and a couple cats. The cats are not that into computers, but Stanley has been enjoying watching all the beer and mead bubble away. Anyway, I fixed up my SAMBA config file to include &#8220;<b>security = user<\/b>&#8221; rather than &#8220;<b>security = share<\/b>&#8221; which had set for some long forgotten reason. Since the last time I rebuilt the server, SAMBA has always been kind of slow and temperamental. Well, not anymore! It is screaming fast now! w00t! Such a simple fix!<\/p>\n<p>I then had access to my home directory on the server (I did not have that before the above fix), so I right-clicked My Documents on my XP desktop and changed its location out to the server. Then I moved all the files out there. In the process, I freed up about 20GB of space. Very good! DropBox complained a little, but I killed it and then restarted it. It instantly saw its folder out on the server. Very nice.<\/p>\n<p>But then it hit me. I was going to have to figure a way to back all these files up now! A few weeks back, I started hacking around with <a href=\"http:\/\/samba.anu.edu.au\/rsync\/\">rsync<\/a> as a simple backup tool from the main server to a backup machine. I made decent progress with it, but put it down when it came time to trying to figure out easily passing files over the LAN without having an NFS share mounted. Tonight I picked up where I left off and after about an hour of searching, I finally had all of my syntax and switch options picked out. I&#8217;ve recently added some new CDs to my collection, so I ripped them out to the server. They hadn&#8217;t been backed up yet, so I played around with getting them copied to the backup server. This was working fine, but I was being asked for a password, which was surely not going to work if I wanted this stuff to happen automatically&#8230;which I did.<\/p>\n<p>So, after some more searching, I found that the easiest way to do this was with <a href=\"http:\/\/blogs.sun.com\/jkini\/entry\/how_to_scp_scp_and\">this guy&#8217;s tutorial<\/a>. Sure, those are blank ssh keys, but I am not passing this data over the Internet, so I feel mostly safe. Hell, the backup server doesn&#8217;t even have a default route (gateway) set, so it&#8217;s travels are going no further than my local subnet. <\/p>\n<p>I then set up a couple of cron jobs to first, change the owner and group of all my multimedia files to &#8220;nobody&#8221;, then backup the multimedia files and then finally all my documents. These are set to run overnight and with very few changes, should happen within seconds&#8230;the beauty of rsync.<\/p>\n<blockquote><p>rsync -vaurz -e &#8220;ssh -p ##&#8221; Server.IP.Add.ress:\/multimedia \/space\/backups\/server_name<\/p>\n<p>rsync -vaurz -e &#8220;ssh -p ## &#8220;Server.IP.Add.ress:\/home\/user_name\/space\/backups\/server_name<\/p><\/blockquote>\n<p>The next step in this process is to figure out how to do this My Documents thing with Vista (yes, I am still running Vista&#8230;it does what it needs to do) out on the home theater PC. I have another Vista partition on my workstation that will need the same treatment. After that, I want to finally tackle moving my Ubuntu \/home directory out to the server, as well. Ultimately, what this will do is allow me access to the files currently trapped in all of those operating systems from any machine on my network, regardless of what operating system I happen to boot into. Very nice.<\/p>\n<p>I do have one overshadowing issue that perhaps you can help me out with. It really is giving me a headache. I own two domain names: <b>nycnyne.net<\/b> and <b>matthannan.net<\/b>. nycnyne only exists out on the Internet. On my LAN, everything is matthannan. For some reason, <b>matthannan.net<\/b> is resolving to a parked DNS server. I keep trying to kill any record of it from the public Internet, but it keeps popping up. This is causing me some massive internal DNS issues! Seriously, any ideas?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For some reason tonight, I decided to not play around with beer and mead too much. They are doing their thing quite happily. Sometimes after a rough day in the saltmines, I&#8217;ll come home and drink a beer or three. &hellip; <a href=\"https:\/\/matthannan.net\/blog\/a-good-night-of-geeking\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5],"tags":[69,30,81,129,88,89,172,92],"class_list":["post-24","post","type-post","status-publish","format-standard","hentry","category-geek","tag-backup","tag-dns","tag-linux","tag-routing","tag-rsync","tag-samba","tag-ssh","tag-windows"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2NxlE-o","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":2162,"url":"https:\/\/matthannan.net\/blog\/onedrive-on-linux-revisited\/","url_meta":{"origin":24,"position":0},"title":"OneDrive on Linux, Revisited","author":"matthannan","date":"6 January 2021","format":false,"excerpt":"You may recall that I managed to get OneDrive running on my main Pi with the goal of uninstalling the OneDrive client from the Windows machines and just running everything via a mapped drive to a SAMBA share. This has been...mostly working. Certainly not well enough to uninstall OneDrive on\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2014,"url":"https:\/\/matthannan.net\/blog\/how-to-connect-to-smb-shares-from-iphone-ipad-with-files-app\/","url_meta":{"origin":24,"position":1},"title":"How to Connect to SMB Shares from iPhone &#038; iPad with Files App","author":"matthannan","date":"22 August 2020","format":false,"excerpt":"Have you ever wished you could connect to an SMB share from an iPhone or iPad? If you work with file servers, be it for work or pleasure, you\u2019ll be excited to learn that connecting to SMB sha\u2026 Source: How to Connect to SMB Shares from iPhone & iPad with\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1725,"url":"https:\/\/matthannan.net\/blog\/onedrive-on-linux-take-3\/","url_meta":{"origin":24,"position":2},"title":"OneDrive on Linux: Take 3","author":"matthannan","date":"22 March 2020","format":false,"excerpt":"I wrote about rclone yesterday, which claims to sync your OneDrive files to your Linux host. This is something that Microsoft has failed to provide to the Linux community. I was hoping to gather all of my files, and then Jenny's files, to one main source in the house, and\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2020\/03\/image-2.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2020\/03\/image-2.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2020\/03\/image-2.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":2153,"url":"https:\/\/matthannan.net\/blog\/pi4-nas\/","url_meta":{"origin":24,"position":3},"title":"Pi4 NAS","author":"matthannan","date":"4 December 2020","format":false,"excerpt":"I just bought a 4GB Pi4B kit!I went with\u00a0a Labists kit\u00a0this time, rather than the standard CanaKit. I recently discovered that I had \"earned\" a $50 Amazon gift card on one of the HR sites at work, so that came in wicked handy. I like the case in this Labists\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2259,"url":"https:\/\/matthannan.net\/blog\/synology-nas-vpn-server\/","url_meta":{"origin":24,"position":4},"title":"Synology NAS VPN Server","author":"matthannan","date":"9 May 2021","format":false,"excerpt":"It has been a long while since I wrote about VPN servers. This is because of the change of job, and then working from home for over a year because of COVID-19. But I have kept playing with the technology over the years. The old SoftEther VPN is long gone.\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2021\/05\/image-2.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2021\/05\/image-2.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2021\/05\/image-2.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":1704,"url":"https:\/\/matthannan.net\/blog\/rclone-cloud-storage-glue-for-linux\/","url_meta":{"origin":24,"position":5},"title":"rclone: Cloud Storage Glue for Linux","author":"matthannan","date":"21 March 2020","format":false,"excerpt":"Man! My last post was in November!?!?! I have been on quite the ride since then. Someday, I will get you caught up. What I want to document today is a new toy that I just discovered, called rclone. Basically, it runs on Linux boxes and allows syncing with Cloud\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/posts\/24","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/comments?post=24"}],"version-history":[{"count":2,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/posts\/24\/revisions"}],"predecessor-version":[{"id":298,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/posts\/24\/revisions\/298"}],"wp:attachment":[{"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/media?parent=24"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/categories?post=24"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/tags?post=24"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}