Create a VPN with the Raspberry Pi. One possible scenario for wanting a cheap server that you can leave somewhere is if you have recently moved away from home and would like to be able to easily access all of the devices on the network at home, in a secure manner. This will enable you to send files directly to computers, diagnose problems and other useful things. You’ll also be leaving a powered USB hub connected to the Pi, so that you can tell someone to plug in their flash drive, hard drive etc and put files on it for them.
This way, they can simply come and collect it later whenever the transfer has finished. We’ll be using Arch Linux as the operating system for our VPN server, since it is lightweight and has only the minimum packages required for a working system. If it’s been a while since you’ve used Arch Linux, the distro has recently moved to a new service management framework called systemd, so it’ll be good to get up to speed on that also. Our VPN server will be made up of the following software components: to . . . . Backup Programs. This wiki page contains information about various backup programs. It's a good idea to have regular backups of important data, most notably configuration files (/etc/*) and the local pacman database (usually /var/lib/pacman/local/*).
Introduction Before you start trying various programs out, try to think about your needs, e.g. consider the following questions: What backup medium do I have available? Incremental backups Applications that can do incremental backups remember and take into account what data has been backed up during the last run and eliminate the need to have duplicates of unchanged data. Rsync-type backups The main characteristic of this type of backups is that they maintain a copy of the directory you want to keep a backup of, in a traditional "mirror" fashion.
Certain rsync-type packages also do snapshot backups by storing files which describe how the contents of files and folders changed from the last backup (so-called 'diffs'). Console || rsync. [How-To] install my.pogoplug.com service on any armv5 device. I managed now to get my hard drive working. I think there was a difference between /usr/local/cloudengines/hbplug.conf and /usr/local/cloudengines/bin/hbplug.conf.
However, the harddrive is recognized now. If i want to add another harddrive, I will have to edit the hbplug.conf file in /usr/local/cloudengines again I guess. WIll it work if i add it with the line showing vfsdir0=plugdata,/media/FILES? I solved the problem. 1. 2. I changed it to:vfsdir0=WD_Elements_500,/media/WD_Elements_500, now it shows the name in mypogoplug.com as WD_Elements_500.WD_Elements_500 is the name of my first drive which you can define right after the equal sign If you want to attach a second drive, just add another line looking like this:vfsdir1=name of your harddrive,/media/name of your harddrive 3.
That's it. I have now 2 harddrives connected, working great. Guys, thanks a lot for all your help, this guide is really great. [How-To] install my.pogoplug.com service on any armv5 device. Updated: February 10, 2014Thanks to:spooky2012 for 3.4.1spooky2012 for 3.3.5greyman4hire for 3.3.2rummy for 3.3.0 for source links - Changed location of hbplug.conf (now it's copied to /usr/local/cloudengines/ and not /usr/local/cloudengines/bin)- I found no reliable way to generate the service id, so now on you have to do it manually. There's no default /etc/pogoplug.conf Install with: Code: Select all pacman -U Note: Since package signing is enforced now, either edit /etc/pacman.conf and uncomment and change the line RemoteFileSigLevel = Required to RemoteFileSigLevel = Optionalor download locally with wget and install with pacman -U PKGBUILD for this package: pull requests are welcome.
Getting service ID and a proper CRYPTO KEY:There are several ways to do this, I'll explain one here: If you are copying the svcid from the bottom of the device skip this step.1. Troubleshooting:1. 1. Cd . . Pacman. The pacman package manager is one of the major distinguishing features of Arch Linux. It combines a simple binary package format with an easy-to-use build system. The goal of pacman is to make it possible to easily manage packages, whether they are from the official repositories or the user's own builds. Pacman keeps the system up to date by synchronizing package lists with the master server. This server/client model also allows the user to download/install packages with a simple command, complete with all required dependencies. Pacman is written in the C programming language and uses the .pkg.tar.xz package format. Tip: The official pacman package also contains other useful tools, such as makepkg, pactree, vercmp and more: run pacman -Ql pacman | grep bin to see the full list.
Configuration Pacman's settings are located in /etc/pacman.conf. General options General options are in the [options] section. Skip package from being upgraded IgnorePkg=linux Skip package group from being upgraded Usage. Booting Pogoplug From The Correct USB Disk | Moustafa Hassan. Monitoring Hard Drive Health on Linux with smartmontools | Random Bits.
S.M.A.R.T. is a system in modern hard drives designed to report conditions that may indicate impending failure. smartmontools is a free software package that can monitor S.M.A.R.T. attributes and run hard drive self-tests. Although smartmontools runs on a number of platforms, I will only cover installing and configuring it on Linux. Why Use S.M.A.R.T.? Basically, S.M.A.R.T. may give you enough of a warning that you can safely backup all your data before your hard drive dies. There is some amount of conflicting information on the internet about how reliable the warnings are. A good source for more information is the S.M.A.R.T. wikipedia page. Installation On Debian or Ubuntu systems: $ sudo apt-get install smartmontools On Fedora: $ sudo yum install smartmontools Capabilities and Initial Tests smartmontools comes with two programs: smartctl which is meant for interactive use and smartd which continuously monitors S.M.A.R.T.
. $ sudo smartctl -i /dev/sda $ sudo smartctl -d TYPE -i /dev/sda. Deluge. Deluge is a lightweight but full-featured BitTorrent application written in Python 2. It has a variety of features, including but not limited to: a client/server model, DHT support, magnet links, a plugin system, UPnP support, full-stream encryption, proxy support, and three different client applications. When the server daemon is running, users can connect to it via a console client, a GTK+-based GUI, or a Web-based UI.
A full list of features can be viewed here. Installation deluge is available from the official repositories. The GTK+ UI requires additional dependencies as does the Web UI. Python2-notify: libnotify notifications pygtk: needed for gtk ui librsvg: needed for gtk ui python2-mako: needed for web ui Daemon setup Warning: If multiple users are running a daemon, the default port (58846) will need to be changed for each user. Deluge comes with a daemon called deluged. System service A system service will allow deluged to run at boot without the need to start Xorg or a client.
Or: [SOLVED] Samba help - can't access share via windows clients. Goal: Make the pogoplug a simple file server accessible by all my windows clients (I use Windows exclusively, no Linux clients)I want to eventually install 3 USB external drives, formatted as EXT2, and shared to the various Windoze clients for their useI decided to use EXT2 instead of NTFS because I understand that EXT2 is faster over the LAN than NTFS (and besides, I need to learn) I am a total Linux noob.....but figured the pogo is cheap and I need to learn.
Have been reading up on the Arch wiki, samba, etc for the last 3 days for 20 hours each to try to get started. The Samba wiki is mostly like Greek to me! So I setup a pogoplug V2 (pink) with Arch as per (excellent!) Guide.Stumbled my way through Samba setup (eventually got SWAT working, which helped a lot.) This is where I'm stuck.... Questions! My smb.conf below (edited to remove the deprecated "security = share" option) # Samba config file created using SWAT# from UNKNOWN (192.168.1.85)# Date: 2011/12/27 14:32:11. Samba. Samba is a re-implementation of the SMB/CIFS networking protocol, it facilitates file and printer sharing among Linux and Windows systems as an alternative to NFS. Some users say that Samba is easily configured and that operation is very straight-forward.
However, many new users run into problems with its complexity and non-intuitive mechanism. It is strongly suggested that the user stick close to the following directions. Server configuration To share files with Samba, install samba, from the official repositories. The Samba server is configured in /etc/samba/smb.conf. . # cp /etc/samba/smb.conf.default /etc/samba/smb.conf Creating a share Edit /etc/samba/smb.conf, scroll down to the Share Definitions section. There are a number of commented sample configurations included. On Windows side, be sure to change smb.conf to the Windows Workgroup. Be sure that your machine is not named Localhost, since it will resolve on Windows to 127.0.0.1. Starting services Creating user share path ... Sharename. How to edit and understand /etc/fstab.
How to install Pogoplug software on V2 Plug. Thank you very much Moonman! I got it to work but my Pogoplug V2 (E02) rebooted by itself twice after that (over a period of 1-2 hours). I did replace the xce.ko in /usr/localengines/bin with yours. In your previous post, you mentioned about a patch. Any patch script I have to run? By the way, both random reboot events took place with my SSH terminal session active and my webbrowser displaying disk content over Mypogoplug.com. Here are some of my observations on my V2 (E02): 1. I created one and filled in as follows Code: Select all #example below: vfsdir<number>=<name>,<path>vfsdir0=plugdata,/publicinstalldir=/usr/local/cloudenginesdatadir=.nohotplug=1 I left the svcid line out as WarheadSE suggested. 2. Pogoplug 4 = Alarm + Samba + Transmission + Nginx-Php-MySQL + CloudEngine + phpMyAdminPogoplug E02 = Alarm+Samba+MiniDLNA+rTorrent+ Nginx+Php+MariaDb+CloudEngine+phpMyAdminSeagate Goflex Home = Alarm + Samba + Transmission + CloudEngine.
Pogoplug v2 (Pink/Gray) Pogoplug POGO-E02 | The New Tech. Have you ever needed a small power efficient Linux server? Just something simple to run a Apache, Samba, NFS, irssi, screen, tmux, or maybe even your own personal cloud? Good. Now that you’ve answered yes to either of those questions then let’s get to it. First though, let’s take a look at a few different devices that I’ve tried.
While there are thousands of embedded Linux devices on the market, and most of them are hackable to some degree, not all of them really fit my personal needs. For example the late great Buffalo LinkStation HD-HLAN v2 with a 400MHz MIPS processor, 64MB. While it did exactly what it was suppose to, once loaded with additional software it really brought the processor to it’s knees.
The Insignia Infocast 3.5 is also another really inexpensive choice. So here I was, back on the hunt for an inexpensive hackable embedded Linux device. Installing Arch on the device really is a painless process. In short. Install Hamachi VPN on the PogoPlug USB Device | Matt McCormick. Update: A newer version of this article has recently been posted. The information in this post may be obsolete! I picked up the Seagate FreeAgent DockStar USB PogoPlug-enabled network adapter off of Woot! The other day with hopes off putting some of the unused external hard drives in this house to good, network-attached use. Since I’m away at school for about 75% of the year, our home network lives and breathes LogMeIn Hamachi. First, you need to enable SSH access on your PogoPlug-enabled device. Our file system should now writable. Next, we need to unpack these archives and copy the library files to their respective locations on the PogoPlug device.
The libraries should now be installed on our PogoPlug. Now that all of the pieces of this puzzle are in place, its time to set things in motion. For some reason the Nokia N770 build of the Hamachi client has a tendency to fall asleep, after which the device won’t be reachable over the Hamachi network. • View topic - [How-To] Boot Entirely from SATA. ReasoningMany of you have run into some wonky behaviors, or caused something to go wrong with your oxnas based units, and there will only be more to come, so this method will try to solve it. As an aside, this is a way to boot from Arch Linux ARM without modifying NAND at all, but requiring an eSATA housing, and the appropriate case modifications to go along with that. note: I am doing this with a Tt BlacX.
There are reports that this does not work with some other eSATA docks. Prerequisites StepsConfigurationOur first step will be to edit the `disk_create` script to ensure it is going to write this information to the disk we want. Next, if you `ls -l` you will see the contents of the tarball, and there are 3 symlinks. If at any time in the future, you want to replace any of these parts, you may do so by removing the symlinks to the parts you do not want to replace, and re-run the script.
PartitioningFor the purposes of these instructions, I will use fdisk. Hacking the POGOplug. The definitive guide in progress. [PT2] « joepetruska.com. GOAL:Install all system updates and a handful of useful tools as well as the Webmin utility. Pogoplug that has been hacked from Part 1 Fire up your terminal program. We will do a little maintenance and install a few apps you may want/need down the line. Copy and paste the following code boxes in order, one at a time.Make sure to read the content as not all boxes are copy paste.
Step 1: Updates and Tools: Lets start by making sure the system is totally up to date with all installed packages Next lets update the pacman installer. Followed by some zip and archive tools And then two popular terminal based text editors Step 2:Fixing the clock From here we are going to edit a file to fix the system clock. At the top find TIMEZONE Scroll down to the bottom, and find DAEMONS Find hwclock replace with ntpd Hit control+x, follow by “y”, follow by enter. You have now successfully fixed your system time. Step 3: Webmin Install Start by downloading webmin Once installed you can start the server with. Pogoplug Pro/Video/v3. These devices are no longer officially supported. Due to the age of the kernel, the new packages on Arch Linux ARM will not completely support this device.
Once again, if you have not yet purchased this device, we recommend DON'T. You may still get some support on our forums if you're still intent on using this device. VERIFY YOUR MODEL NUMBER! These instructions only apply to models listed below.DO NOT re-run the installer script if you have already done so. These instructions will install the kernel to NAND (safely) and the root file system 'rootfs' to a USB drive. Supported OXNAS 7820 BoardsWith PCIe POGO-P01 (Pro)Without PCIe POGO-P21 POGO-P24 POGO-P25 POGO-B01 POGO-B02 POGO-B03 POGO-B04 Overview and Caveat Unlike it's Marvell based brethren, a modern U-Boot has not been created for the OXNAS line as of this time. Installation With the device on and online, register and enable SSH through my.pogoplug.com. Help! Run Linux on your Dockstar, GoFlex, or Pogoplug NAS. Update uBoot on your Dockstar, GoFlex, or Pogoplug NAS.
Pogo Plug Pink Serial Connection - hack247. Pogoplug Pro/Video/v3.