Wednesday, November 6, 2013

How to Install Optware and SAMBA on the Pogoplug

In this tutorial, I'm going to show you how to install optware and samba on your Pogoplug to create a cheap and simple NAS.

Last Updated - 4/22/2015

Why do you want to do this?

I'm a big fan of the my.pogoplug.com service that comes with the Pogoplug. It allows you to easily access your files from the web or your mobile device and even allows you to share your content with friends and family. Not to mention, the great automatic iPhone/Android photostream backup feature and remote mp3 playback.

However, one thing the Pogoplug lacks is a simple and fast way to access your content on your local network; you need to install additional software on your MAC/PC and content can be slow to access and upload because the data go through the Pogoplug cloud.

This tutorial will show you how to extend the functionality of the Pogoplug (existing my.pogoplug.com service is not affected), adding SAMBA (Windows File Sharing) support which doesn't require additional software to be installed on your PC/MAC and faster access to your content.

What is optware?

Optware is a package manager that allows you to install additional software on your embedded linux device such as the Pogoplug (think of it as a free little "App Store"), while maintaining the stock my.pogoplug.com functionality.

Requirements:

1) Pogoplug - V2 such as the E02, V3 (oxnas) such as the Pogoplug P21/P22/Pogoplug Pro or the V4, also known as the Series 4 and Mobile. Pretty much any existing Pogoplug model is supported.
2) USB Hard Drive - 2TB or less recommended.

Outline of Steps:

1) SSH into Pogoplug
2) Partition and Format USB Hard Drive
3) Install Optware
4) Install SAMBA
5) Make sure everything works after a reboot

SSH into Pogoplug

In some cases, you can directly ssh into your Pogoplug. In other cases, you have to activate the Pogoplug on my.pogoplug.com and then enable SSH via their website. For the Pogoplug E02 (and potential other models), if you haven't activated your Pogoplug (new out of the box), you should be able to SSH into it using root/ceadmin as the username/password. If you have activated it, you'll need to enable SSH via my.pogoplug.com and set your own username and password. On the Pogoplug Mobile, I had to activate and then enable SSH. If you don't see the option to enable SSH, try rebooting your Pogoplug.

For the Pogoplug V4 (Mobile and Series 4) and the Pogoplug Pro, you can use the backdoor method documented in my other blog post here versus activating on the my.pogoplug.com site - http://blog.qnology.com/2014/07/hacking-pogoplug-v4-series-4-and-mobile.html.

SSH into Pogoplug using Putty or similar app

Partition and Format USB Hard Drive

Plug in your USB Hard Drive to your Pogoplug.

#stop my.pogoplug.com service
killall hbwd

#partition drive
#create two partitions, a small 4GB partition
#for optware and the rest for your data
busybox fdisk /dev/sda

# Type in the following commands to erase
# and re-partition the USB Hard Drive 
#(WARNING - USB HARD DRIVE WILL BE COMPLETELY WIPED)

# p # list current partitions
# o # to delete all partitions
#
# Create 1st Partition for Optware
#
# n # new partition
# p # primary partition
# 1 (one) # first partition
# <enter> # default start block
# +4G # to create a 4GB partition

# Create 2nd Partition for Data
#
# n       # new partition
# p       # primary partition
# <enter> # default to second partition
# <enter> # default start block
# <enter> # default end block #use the whole flash drive
# w       # write new partition to disk

#download mke2fs to format partition
cd /tmp
chmod +x mke2fs

#format and label partition
./mke2fs -L optware -j /dev/sda1
./mke2fs -L data -j /dev/sda2

#remount root to be writable
mount -o remount,rw /

#create /opt folder
mkdir /opt

#mount usb drive as /opt
mount /dev/sda1 /opt


Install Optware

###########################################
# Install optware ipkg (package manager)
# Assumes /opt is mounted at this point
###########################################

#download ipkg
cd /opt
tar -xzvf plug.tar.gz
rm plug.tar.gz

# Setup profile
cd /etc
chmod 755 profile
source /etc/profile

#update available packages
ipkg update


Install Samba

ipkg install samba36 libnsl nano

#download example smb.conf
cd /opt/etc/samba

#Edit smb.conf (optional)
#to add additional samba shares
#nano /opt/etc/samba/smb.conf

#Start SAMBA
/opt/etc/init.d/S08samba start

You should now be able to access your Pogoplug's USB Hard Drive by \\pogoplug\usb or \\IPAddress\usb


Make sure everything works after a reboot

#backup original rcS startup file
#restore the rcS.original file to revert
cp /etc/init.d/rcS /etc/init.d/rcS.original

#download mount script and make it executable
cd /etc/init.d
chmod +x mount_optext3

#add mount script to rcS file so it 
#runs automatically after a reboot
#this script will mount /opt
#the data partition is automatically mounted by the pogoplug software
echo "/etc/init.d/mount_optext3" >> /etc/init.d/rcS

#start samba on reboot
echo "/opt/etc/init.d/S08samba start" >>  /etc/init.d/rcS

reboot

Adding an Additional/Second USB Hard Drive

1) Attach additional USB Drive to Pogoplug.

2) Partition additional USB Drive. See "Partition and Format USB Hard Drive" section, but just create one partition.

  busybox fdisk /dev/sdb

3) Format and Label additional USB Drive

    ./mke2fs -L data2 -j /dev/sdb1

4) Remount root to be writable

   mount -o remount,rw /

4) Edit the smb.conf file and add an additional section that is similar to the "[usb]" section.

   nano /opt/etc/samba/smb.conf

[usb2]
  path = /tmp/.cemnt/mnt_sdb1/
  read only = no
  public = yes
  writable = yes
  guest ok = yes

5) Reboot. You should now be able to access the additional drive as \\pogoplug\usb2


Miscellaneous Notes

On the Pogoplug V2 (E02) and Pogoplug v4 (Mobile and Series), you can actually use one of the internal flash partition for /opt. Only recommended for more advanced users.

Edit 4/22/2015 - The below instructions for the Pogoplug V4 will also work on the Pogoplug Pro.

Pogoplug V4 - Optware and SAMBA on NAND (Internal Flash)

The below instructions are for the E02.

The E02 has a small partition (~90MB) that isn't used - MTD3, which is just enough for Optware and SAMBA.

####################################
# Pogoplug V2 - Use internal flash partition for /opt
####################################
#remount root to be writable
mount -o remount,rw /

#create /opt folder
mkdir /opt

#erase mtdblock3
cd /tmp
wget http://download.doozan.com/uboot/flash_eraseall
echo "/dev/mtd0 0xc0000 0x20000 0x20000">/etc/fw_env.config
/tmp/flash_eraseall /dev/mtd3


#mount internal flash partition as /opt
mount /dev/mtdblock3 /opt



Changes to above instructions if using internal flash for /opt
- only one partition needed on your USB hard drive
- "Install Optware" and "Install Samba" instructions unchanged
- modify the smb.conf file for correct partition
     path = /tmp/.cemnt/mnt_sda1/
- In the "Make sure everything works after a reboot" section, you don't need the mount_optext3 script
- Add the "mount /dev/mtdblock3 /opt" command before the "/opt/etc/init.d/S08samba start" command in the /etc/init.d/rcS file.

Troubleshooting

/opt not mounting - check the content of the /etc/init.d/rcS file and make sure /etc/init.d/mount_optext3 is called. Also double check that the /etc/init.d/mount_optext3 file exist and is executable. Minimize the number of attached USB drives

samba not working (\\pogoplug\usb not accessible) - double check that /opt is mounted correctly. Make sure that "/opt/etc/init.d/S08samba start" is the last line in the /etc/init.d/rcS file. Verify that the /opt/etc/samba/smb.conf exist.

data partition not mounted - the data partition is automatically mounted by the pogoplug software to something like /tmp/.cemnt/mnt_sda2. Run the "df -h" command to see what's mounted. Check the /etc/init.d/rcS file to make sure the pogoplug software start command ("/etc/init.d/hbmgr.sh start") isn't commented out (begins with #).


Future Updates

I'll be flushing this tutorial with additional howtos in the near future. Please leave a comment and what you would like to see added.


166 comments :

  1. Thanks for the tutorial. I was able to get it working on a 2gb flash drive. Now I would like to attach an external hard drive so that it also shows up under Pogoplug on the network, how would I do that? Thanks

    ReplyDelete
    Replies
    1. My recommendation would be to skip using the 2GB flash drive and following the tutorial.

      Delete
    2. This tutorial for a series 4, optware/samba shows how to install to a flash drive:
      http://www.powerbasic.com/support/pbforums/showthread.php?t=51706
      There's a section that shows his smb.conf file - i was able to use that to make all the harddrives show up through samba after booting from the sdcard.

      Delete
  2. Thanks, I able to install samba, how do I install a web server without formatting the usb drive

    ReplyDelete
    Replies
    1. Hi Danilo,

      Great question. Take a look at the available optware packages here - http://www.nslu2-linux.org/wiki/Optware/Packages?from=Unslung.Packages

      I don't have experience running a webserver installed via optware, so I can not recommend any particular one.

      This link might help you - http://www.nslu2-linux.org/wiki/HowTo/DeployPHPWebAppUsingFastCGI

      Delete
    2. I do not know UNIX, but could you post how to add additional usb drives without formatting the existing ones. Thank you for all your help.

      Delete
  3. Thanks for your tutorial!
    I installed optware on my external hard disk. since it was preformatted for NTFS, I preferred having an extra 100GB Linux native partition for local data, since I didn't know how well this would work out with NTFS for local Unix usage.

    Do you have any experience with using Paragon's NTFS driver for local unix usage, including all the Unix details - case sensitivity, permissions, etc.?

    ReplyDelete
    Replies
    1. Sorry no I don't have any experience with the Paragon's NTFS driver.

      However, I believe the Pogoplug includes the opensource NTFS-3G drivers out of the box.

      Delete
  4. Thanks for this. Followed it and got my pogoplug running. Did it mainly for installing rsync but may consider samba since its available now.

    ReplyDelete
  5. Great tutorial again from Qui Hong! Did anyone try this on a oxnas with the internal SATA already? I am thinking about using a USB stick for the optware and a SATA HDD for data. That´d make a very nice little fileserver. Side question: does anyone know if the stock pogo software recognize the SATA and the files show up on the pogo iphone/android app?

    ReplyDelete
    Replies
    1. Hey Dirk, Thanks! The stock Pogoplug software should have no issues recognizing the SATA attached hard drive.

      Delete
  6. I can see my Pogoplug in my networks on my Windows computer. I click on it and there is a folder called "usb". So far so good, but when I click on the folder "usb" it says "Windows cannot access \\POGOPLUG\usb". Do I need to edit the smb.conf file?

    ReplyDelete
    Replies
    1. Hi Jason,

      No you should not need to modify the smb.conf (it's optional if you want to secure/rename, etc).

      \\pogoplug\usb is mapped to /tmp/.cemnt/mnt_sda2 - second partition on the first hard drive. Did you follow my tutorial exactly? Thanks

      Qui

      Delete
    2. Yeah I followed everything to the "t". I tried to go to the location /tmp/.cemnt/mnt_sda2 and I get
      -bash: /tmp/.cemnt/mnt_sda2: No such file or directory
      How would I mount that again?

      Delete
    3. Hi Jason,

      Sounds like you have an issue with your formatting/partitioning of your USB Hard Drive (you are using a USB HD right?).

      The tutorial instructs you to create two partitions on your HD and format them. The first partition (sda1) is for optware (mounted as /opt by the mount_optext3 script added to the rcS startup file, and also mounted as /tmp/.cemnt/mnt_sda1 by the pogoplug software). We know that this is properly mounted and working because SAMBA is running.

      However, it doesn't sound like the second partition for your data is mounted. The data partition should be automounted by the Pogoplug software.

      My recommendation would be to confirm that you partition your USB Drive correct and that it's formatted correctly.

      Run "fdisk /dev/sda -l" - you should see two partitions listed, /dev/sda1 and /dev/sda2.

      The simple solution here is to re-do "Partition and Format USB Hard Drive" section.

      Delete
    4. I got it all to work. I think since I followed other instructions and removed the pogoplug software the hard drive wasn't mounting to /tmp/.cemnt/mnt_sda1. I was able to edit the smb.conf file and mount the hard drive to a different location and now I can access it. I was even able to map my printers scan folder to the drive and can scan directly to the shared drive.

      Thanks Qui!

      Delete
  7. I have a 3tb drive that I'm trying to use but it only shows 1.96tb in windows. After some searching, it seems the drive needs to be GPT formatted but I have very little Linux experience and cant figure it out. Any help on how to GPT format the drive or using a different way to access the entire drive?

    ReplyDelete
    Replies
    1. Sorry I don't have a 3TB USB drive. I'm sure there are plenty of instructions out there on how to properly format the drive properly.

      Delete
  8. Works great! One question, how do I add an additional external usb (3.0) hard drive? Thank you for the tutorial!

    ReplyDelete
    Replies
    1. I've added instructions on adding an additional drive. I'll flush it out in the near future. Please let me know if it's clear enough for you.

      Delete
    2. Thank you so much, now I have some ideal storage capacity. Thank you for teaching us all and the instructions were great.

      Delete
  9. Hi Qui Hong,
    I am a newbie and feel a bit confused : I plan to use my pogoplug E2 as a simple NAS.
    I see 2 different tutorials to have SAMBA installed :
    - The archlinux install (long way, seems difficult to me)
    - The optware install (easier way, if I understand, that keeps the pogoplug built in "linux")
    What are the pro and cons of these 2 methods?

    ReplyDelete
    Replies
    1. Hi Vincent,

      Great question!

      It really comes down to what you want to do with your Pogoplug, how much effort you want to put into it and if you have a supported Pogoplug model.

      The optware tutorial, as you pointed out is "easier" and meant for people looking for the simplest way to add SAMBA or "simple NAS" support to their Pogoplug and/or for people who don't have a Pogoplug that is supported by Arch Linux (V3/Oxnas).

      Since you have a E02, my recommendation would be to go with Arch Linux. Even though it's a little bit more involved, Arch Linux provides more features and worth the additional effort required. You can always fall back to optware if Arch Linux ends up being too complex.

      Delete
    2. Thank you very much for the quick answer,
      I'll go with ALARM as soon as I receive my 1TB usb hard drive...
      Thanks to your excellent tutorials :)

      Delete
  10. I would like to see a HowTo on how yo add additional USB drives without having to format. Especially 3 TB hard drives. I have a 3TB HD and I want it on a NAS but I do not want to format it and I have no where to move all its data to.

    ReplyDelete
    Replies
    1. Try following the instructions for adding an additional usb drive, but skip the partitioning/formatting part. In theory it should work. Let me know how it goes.

      Delete
    2. I was able to get it working without reformatting (after much trial and error). Thanks for the great tutorial. One other thing I would like to see if to make the USB shares password protected and disable guest access. To disable guest access I think we would just go to the smb.conf file and change the "guest ok =" to "no". But I do not know how to make it password protected so only I could access it.

      Delete
  11. I love the tutorial and it worked great for one HD that I attached. However, when I attempted to add a second drive to the sdc1 slot, updated the smb.conf file appropriately, and rebooted, it cycles through all the attached drives, does not recognize the flash drive that had the /opt and therefore, doesn't recognize and startup samba.

    However, if I remove all HD drives, leave the flash drive in, then reboot, it will load Samba. And only then can I attach the 1st and 2nd hard drives back in which will allow it to be recognized appropriately.

    I have gone so far as to repeat the tutorial several times and reformatting the USB flash drive, but without success. Obviously, I would like to not have to plug and unplug the HD drives when the power goes out and the system has to reboot. (This decreases the wife-acceptability-factor (WAF), especially if she needs to load a movie for the kids and it is non-functioning.)

    I feel that maybe the rCS file may be the culprit. Do you have a link to show me how the rCS file is supposed to look? Any other clues? I admittedly know nothing about Linux, but appreciate any help!

    Thanks!

    ReplyDelete
    Replies
    1. The content of the rCS file is simple. It should have two additional lines, one to mount /opt (mount_optext3) and one start samba.

      If samba isn't starting, then most likely you're having issues mounting the /opt folder which is handled by the "/etc/init.d/mount_optext3" script. I didn't write the script, but it's fairly simple logic.

      My recommendation would be to simplify things by removing your USB flash drive and follow the tutorial to setup the /opt partition on one of your USB Hard Drives.

      Please keep me updated on your progress.

      Delete
    2. Thanks for the advice.

      What I ended up doing is switching around the USB flash drive to a different USB port and playing around with the sda1, sda2, sdb1, etc., distinctions. For whatever reason, it doesn't seem like the pogoplug reads the USB ports in the same order or at the same speed. It seems odd, but by putting the USB flash drive in a certain port, and the USB HD in the other ports, upon reboot, it will mount the sda1 properly as /opt and the SAMBA will load. Change it around, and no such luck.

      Anyway to get it to load consistently the same way through a certain command?

      Delete
    3. Correct, the Pogoplug reads the USB port in different order and that can't be controlled, hence my recommendation to simplify things by removing the USB flash drive.

      The bottom usb port (closest to the Ethernet port) typically is the first port to be scanned, however that is not guaranteed.

      Delete
    4. Hi,

      I hate to rehash an old subject, but I found a tutorial on keeping the USB mounts persistent on the Pogoplug. However, I am by no way an expert around Linux, so I wouldn't even know where to start when it comes to these instructions. Have you seen this tutorial, and if so, are you able to simply or modify the instructions to fit your tutorial? Perhaps this may not even work.

      http://www.leeandcathy.com/2011/10/persistent-usb-mount-locations-on.html

      Also, I have found that after several days of both the Pogoplug and SAMBA working well, the SAMBA will stop working, and I find myself having to go back to "terminal" to restart SAMBA. The problem is not getting the Samba to start or the Opt to mount, but it keeping it working. I don't know if uploading the pogoplug via web or smartphone/iPhone or uploading a large file shuts off or kills the samba program. Is it an indexing function that causes it to kill SAMBA? Any insight would be appreciated! (As it certainly reduces the "wife-acceptability-factor" when it comes to streaming movies to various parts of the house.)

      Thanks.

      Delete
  12. So I had my PogoPlug V4 running Samba and two logitech hard drives attached w/ a total of 5TB of space and the Samba software mounted on the top USB port with the Sandisk USB drive. Everything was going well for about over a month but now all of the sudden I can no longer access the drive on the usual smb://pogoplug location. I can still access it using the my.pogoplug website though. Any idea what the problem might be and how I can fix it?

    ReplyDelete
    Replies
    1. Most likely your /opt partition isn't mounting and hence samba isn't starting.

      Please read my comments above for hints.

      Delete
    2. I've updated the "Miscellaneous Notes" section. You may want to give it a try.

      Delete
  13. i have installed samba n optware.
    i now want to be able to connect my USB printer to pogoplug adn access it over network.
    also, if i wish to use another HDD, cant i just plug and play?

    ReplyDelete
    Replies
    1. Sorry, printing is not covered in this tutorial. I'll consider updating the tutorial to include it in the future.

      For adding an additional hard drive please see the "Adding an Additional/Second USB Hard Drive" section.

      Delete
  14. HI,
    I've pogoplug V4-A1-01 which i've followed this tutorial with 2TB seagate disk. but nothing is happening with my PP. i'm not seeing my USB drive when I do \\pogoplug\usb from my computer. I exactly followed your tutorial.

    ReplyDelete
    Replies
    1. Sorry for the late reply. Please check the Troubleshooting section.

      Delete
  15. Hi Qui, thanks again. I finally found the time to dig out my Oxnas and was following these steps and also have problems with mounting the data partition. Samba is running and Pogoplug shows up. Will investigate more and report here. One thing that came to my mind was, that some users might be interested in how to revert back to stock by deleting all unneccessary stuff on the internal flash and editing the rcS.

    ReplyDelete
    Replies
    1. Hi Dirk,

      I've added a troubleshooting section. Please take a look. Note that the data partition is automatically mounted by the Pogoplug software. Reverting back to stock is a simple procedure, just delete the modified rcS file and rename the rcS.original file to rcS.

      Delete
  16. Hi Qui!

    Do you know is possible to upload files from a Pogoplug Attached USB DISK to Pogoplug's Cloud via ssh? My purpose is to backup some huge video files without needing to have PC turned on all day long.

    ReplyDelete
  17. Hello,
    I keep getting " HTTPS support not compiled in." when I try to download "http://dl.dropbox.com/u/42238/pogoplug/optware/mke2fs
    HTTPS support not compiled in."
    Has something changed recently?

    ReplyDelete
    Replies
    1. Yes something did change. Dropbox is now redirecting http urls to https urls. However, the wget provided by busybox in the default Pogoplug OS doesn't support https. I need to find a new place to host the files that is http only. Will look at using one of my VPS later this week. For now, you can download the files locally and run a http web server like mongoose on your PC and then wget it from your local pc.

      Delete
    2. Qui,
      Thanks for the quick reply, I will try that. I really appreciate all the work you have put in to this. I'm new to Linux and have been looking for something to run a server on that I can just leave hooked up to a router. These plug boxes seem to be just what I'm looking for. I have hooked a couple of them up with usb and it is interesting to see all the processes going on.
      Rob

      Delete
    3. FYI - I've updated all the links which now points to my own webserver versus dropbox.

      Delete
    4. Thank you very much. I'm so new at some of this if something goes wrong I'm not sure if it is me not doing something right or something else. I see my files showing up in a Z drive on a network share. With these devices (at least the mobile one) being so cheap right now, looks like lots of projects in my future with them. I did manage to screw up one of them, so one of those projects is to figure out how to reinstall the boot program.

      Delete
  18. Thank you so much! I was able to get my Pogoplug visible on my network following this tutorial, and I know nothing about SAMBA or optware. My next question is, is it possible to access the drive now attached to the Pogoplug over the internet? Is there anything I have to do besides forward some ports? And if not, how do I figure out what ports need to be forwarded? Thanks again!

    ReplyDelete
    Replies
    1. You're welcome. What this tutorial does is provide you a better way of access your hard drive locally. It has no effect on the functionality of the Pogoplug over the internet. That remains the same. I don't believe forwarding any ports is needed. Just read the Pogoplug manual or whatever documentation they provide. That is outside the scope of this tutorial.

      Delete
  19. Hi Qui,

    thanks for your tutorial.

    I am a newbie but still managed to install Optware and Samba on my Pogo and was able to access the HDD via LAN.
    Yesterday evening I unplugged my Pogo since it is in my sleeping room and LED of my HDD is pretty bright. This morning I plugged it in again and left for work. At work I opened pogoplug.com only to see that my HDD is not recognized by the Pogo even though it is attached.

    Have I done somethiong wrong? Is it neccessary to attach the HDD for booting or could I attach it after booting and still use SAMBA and the LAN access?

    Thx,
    Tim

    ReplyDelete
    Replies
    1. First, I wouldn't recommend randomly powering off the Pogoplug (or any computer) without properly shutting it down so that the hard drive can be unmounted cleanly. I believe the my.pogoplug.com webpage has a "eject" or "unmount" option somewhere. Sorry I never unmount my drive so not totally sure.

      So yes, you did something wrong. You might have corrupted your HD by not correctly powering down your Pogoplug. SAMBA is installed on the hard drive, so yes, the hard drive would need to be attach before booting for SAMBA/LAN access to work.

      Delete
  20. Hi, great tutorial. I was able to get samba. I had following questions/dobuts-

    1. How is samba performance on native OS vs ALARM OS ?
    2. The pogoplug is connected to a Belkin N150 Wireless Router over base 100 ethernet. A laptop connected to same router shows 400 kB/s transfer speeds, when laptop is just 6 feet away. However at the same distance, WiFi Adapter Settings report 150Mbps stable link with full bars. Also if I do an internet speedtest, I get 30 - 50 Mbps for comcast. So despite of 150 Mbps link between Laptop-Router, why samba speeds are in kB/s ?
    3. If I move closer to router, like sit right next to it, speed bumps upto 3 MB/s
    4. If I connect laptop with ethernet, speed goes up to 11.6 MB/s, pleasant maximum of 100 base!

    So what's wrong with wireless, I should at least get 6-8 MB/s, right ? Anything you can suggest to improve ?

    ReplyDelete
    Replies
    1. One more thing I noticed-
      If I get disconnected from network, then connect back and then do a refresh in //pogoplug/samba or //ip_address/samba, takes quite a while to refresh :(

      Delete
    2. ALARM using SAMBA4 which is slightly faster versus SAMBA3 on optware.

      Delete
  21. Help needed with NTP/Date!
    All files I copied over samba had 1999 year date, weird. Google search told me that pogoplug does not have RTC. Tried to follow half a dozen tutorials on setting up ntp / ntpd but could not get it to set date :( please please help.

    At the moment, used date -s to setup manually, but need automatic update !

    ReplyDelete
    Replies
    1. Does your device have internet access. I'm fairly certain time would be set automatically. SAMBA would use the system time, so contact Pogoplug/Cloud Engine Support for you issue.

      Delete
  22. One to make this boot via SD card I have made some suggestions here, right now updating with use of USB hub. This also solves problem around flaky Pogoplug s/w which many times errors out....

    Install Samba on Pogoplug SD card USB hub

    ReplyDelete
    Replies
    1. Not sure what the point would be. If you're install SAMBA, then you're using a hard drive so why not put optware on the hard drive? Otherwise, just install optware on the internal flash.

      Delete
    2. This comment has been removed by the author.

      Delete
    3. This is what i see as benefits:

      1. Keeps packages separate from data, allowing space for further packages such as aria see (internal flash is to less) : Dedicated server for downloading
      2. Allows use of SD card slot
      3. Easy to format / change hard drives without affecting packages(sometimes i need to carry one of the hard drives with me and when I get back i can plug it in)
      4. No need to mess with partitions..

      It's just convenience and separation, technically you don't need to though... i agree

      Delete
  23. Thank you Qui for the post!

    I installed using a PNY 16GB micro thumb drive. I was able to see the PogoPlug device and USB from a Windows PC when I mounted /opt and loaded Samba manually. However, they would not load from the /etc/init.d/rcS file. Being more adventurous than smart, I thought the PogoPlug software may be hindering /opt from mounting and Samba from loading in /etc/init.d/rcS, so I commented out "/etc/init.d/hbmgr.sh start" and rebooted. Now the green light is flashing and I cannot ssh into the PogoPlug. The PogoPlug appears to be up and running at the same IP address on my LAN as before and I can ping it by IP address. Any thoughts on how to regain ssh access so I can uncomment "/etc/init.d/hbmgr.sh start"?

    Thank you in advance for your thoughts, comments, advice and words of wisdom!

    ReplyDelete
    Replies
    1. What Pogoplug model exactly?

      Delete
    2. Hi Scott,

      Try the backdoor method mentioned in my other tutorial - http://blog.qnology.com/2015/04/hacking-pogoplug-v3oxnas-proclassic.html

      Delete
    3. Forgot to mention, otherwise setup a serial connection - http://blog.qnology.com/2013/10/pogoplug-e02-v2-serial-connection.html

      Delete
    4. This comment has been removed by the author.

      Delete
    5. I tried the backdoor method but I got a "could not connect" message, so I am going to try the serial connection. This will make it the system console, correct?

      Delete
    6. Qui, I got my USB Serial device and Soundblaster cable today. I hooked them up to the PogoPlug and the computer and I was able to directly connect using Putty. I uncommented the "/etc/init.d/hbmgr.sh start" line in /etc/init.d/rcS and reooted. My PogoPlug is back up and running! Thank you for your help!

      Delete
  24. Is the announcement by Cloud that they are ending free pogoplug accounts going to impact the operations of these SAMBA servers?

    ReplyDelete
    Replies
    1. Good question. No. The announcement was regarding the free online cloud storage (typically 5GB). We're using our own local storage (USB Hard Drive).

      Saying that, I think the online storage is great for remote backup or for mp3 streaming.

      Delete
  25. This one work great for me on the mobile. No problems. It reboot and still show up. Now if you can just help me add a webserver and a dlna server . Btw kodi.tv has or working on a headless server and another option may be universal http://www.universalmediaserver.com/ which i know runs as a server on windows.
    Thanks
    Nick

    ReplyDelete
    Replies
    1. I know what pogoplug need but didnt know what it was called a http file server. i was looking at the hack for WD my book http://mybookworld.wikidot.com/hacks-and-howto and remember. WIndows has one called HFS (http://www.rejetto.com/hfs/) Basically it a small file server that you give a person your IP address and port and the can log in via the web.
      we can do this now with pogo plug. but the advantage here is pogoplug.com wont be able to see what your sharing you be anonymous and you can remove the device from pogoplug. Also i didnt know pogoplug had a built in dlna client but i would love to be more anonymous on the web.

      Delete
    2. forgot to ask is there a way to add a network drive to pogoplug

      Delete
  26. This comment has been removed by the author.

    ReplyDelete
  27. Thanks a lot for the instructions, I was successfully able to install samba on my pogoplug v2's internal partition. Now, I would like to setup multiple users and groups to secure the samba server, is there a GUI tool to configure the samba server, or do I have to do it with commands through SSH?

    ReplyDelete
  28. So I followed these instructions and got everything so Samba should have worked but now the USB drives do not automount under /tmp/.cemnt/*. Everything was working fine before, and automounting. Then I did the above and now they don't. I tried reverting the changes and moved the changes out from under /etc/init.d/ but still they don't auto mount after reboot. And I don't know how to force them to mount in the original way manually, perhaps I could see what was wrong. And error logs don't seem to show anything.

    ReplyDelete
    Replies
    1. The Pogoplug service mounts the drive to /tmp/.cemnt/. Make sure it's running (hbwd process). Otherwise the issue is most likely with your hard drive.

      Delete
  29. I'm not 100% sure I am understanding everything here ... Do you have to format the drives that you hook up to the P21? ... I mean I have several 2TB drives that already have my files on them ... I am looking to hook them up and be able to access the drives on my local network ... I am not crazy about adding anything else to the drives I already have ... I did notice that the needed software/addons can be installed on the P21 unit and not a connected drive .... If it's done this way do you still have to format the drive connected?

    ReplyDelete
  30. I tried with Arch and Debian but for some reason like the opware path better. I'm running Samba and Transmission which was the main point of getting the Pogoplug Mobile in the first place (after reading your guides). However, now after having everything running from plogoplug's internal I'm wondering if the /opt/ could be moved to an external SD. Will moving the files and mounting the ext3 SD as /opt/ suffice?

    ReplyDelete
  31. This comment has been removed by the author.

    ReplyDelete
    Replies
    1. How to restore /etc/init.d/rcS backup without ssh access?

      Delete
    2. Posted question here: http://forum.doozan.com/read.php?8,30929

      Delete
  32. Hi Qui Hong,

    Thanks for the awesome step by step tutorial! I just installed optware ipkg on my pogoplug v4 mobile. I had to jump through some hoops and seems I may have skipped a few steps after rereading. I have only one partition no my USB drive.

    I had to set up a local network file server, webfs (because of the onboard wget not able to https) on my Arch desktop, then find and install the packages you mention that I couldn't download. Everything was working well until I screwed up /etc/init.d/rcS. I can no longer ssh into the pogoplug, and I'm pretty sure it's no longer booting. I did save a backup of original rcS but how do I get in to restore it?

    I have installed systools among many other packages with optware, and they are all installed under /opt.

    I just ordered a USB to Serial TTL cable today. http://www.newegg.com/Product/Product.aspx?Item=9SIA27C3GX9504

    If my only option is picocom / minicom and a USB to serial cable, what will the functionality be? Will I be in a shell like environment and can I navigate the partitions / filesystem? Is there a tutorial on this?

    Thanks, Jeff



    ReplyDelete
  33. Hi-

    Is download.qnology.com still active? I was unable to "wget http://download.qnology.com/pogoplug/optware/mke2fs". The connection attempt timed out. I cannot ping download.qnology.com from the PogoPlug Pro but I can ping blog.qnology.com.

    Thank you,

    Scott

    ReplyDelete
  34. mke2fs是比较常用的软件,应该有其他镜像网站可以找到

    最主要的文件在这里可以找到,这个可以用
    http://www.teqlog.com/install-samba-pogoplug-sdcard-usb-hub.html
    这个帖子里面有这个optware
    http://www.teqlog.com/wp-content/custom/Optware.tar.gz

    抱歉,英语不行,只好打中文.我看这个教程也是用翻译机一点点看的.....

    ReplyDelete
  35. paragon ntfs for mac I’m thankful for the article. I’m not sure why but this website is loading very slowly for me.

    ReplyDelete
    Replies
    1. You Can Download FM WhatsApp For Android And Start Using This Revolutionary MOD right away.

      Delete
  36. If you have all the requirements for Denny's Pays attention Survey. mybkexperience.me/ It is the best method to share with Burger King concerning your current experience

    ReplyDelete
  37. Your paintings is 2927099c7129e5e67b031f9eb65b6349 and i value you and jumping for a few greater instructional posts. plenty obliged to you for sharing extremely good data to us. Gmod game

    ReplyDelete
  38. Uptime is one of the most important factors in maintaining an effective online presence. Outages of any duration can be costly. Downtime can impact your organization directly by causing lost sales, signups, etc., or indirectly by hurting your reputation and brand image.Mens Shoes

    ReplyDelete
  39. Hey, I’m David. I’m a web developer living in New York. I am a fan of technology, web development, and fashion. I’m also interested in writing and photography. You can visit my company website with a click on the button above.
    geeksquad.com
    geek squad tech support

    ReplyDelete
  40. Hi,
    Freelance Cisco Wireless LAN Design Specialist
    Cisco systems are one of the most popular networking systems in the world so we are sure you have clients using them. If so, then you may find they want to set up a Cisco wireless LAN network. This provides a way to keep a whole network connected across one business which is fantastic.

    ReplyDelete
  41. I Am Rudra, work as a marketing specialist and staff author at Externetworks which is a pioneer in Managed Technology Services with over 17+ years of experience in providing end-to-end solutions featuring design, deployment and 24*7 support to top IT companies. We offer world-class managed services for businesses to stay agile & profitable. Our services include 24/7 Network Monitoring, Uptime maintenance, NOC Support, IT Helpdesk services.it help desk companies

    ReplyDelete
  42. it is a great post.

    Dynamics 365 Business Central is cloud accounting software that will help your business streamline its finance, sales, service and operation.

    ReplyDelete
  43. This comment has been removed by the author.

    ReplyDelete

  44. My name is David Robert. I am a Digital Marketing Specialist. A Computer Science graduate with expertise knowledge in SEO, SMO ONpage, & Google ads. I have enthusiast who seeks to learn about trending technologies in digitial field and implement the same.

    Read More: https://helpdesktechno.blogspot.com/

    ReplyDelete
  45. Outsourced help desk

    There are many additional benefits from what is a higher and more comprehensive Help Desk Services. Take advantage of effective remote support from our state-of-the-art facilities that manage incidents with a superior level of user satisfaction at dramatically lower cost than site-level support.

    ReplyDelete
  46. generate what is considered a trait or trend, a value, an opinion, etc. However, the brand does not contain the cognitive structures to be extroverted, to have trends. The people who wear or direct it do have them, but the marks are seen in a singular way, not as a set of subjects or minds of subjects.  
    https://failfake.com/pl/  

    ReplyDelete
  47. This comment has been removed by the author.

    ReplyDelete
  48. Therefore, the number of lottery tickets are sold out every day. Thus, people spend money on tickets and expect to win cash prizes through these lucky draws. lotterysambad today result

    ReplyDelete
  49. Wonderful information! I found amazing information on the blogs i suggest everyone to follow the links below to get download files from this website.
    how to hack casino online

    ReplyDelete
  50. Thank you for sharing this instruction. I want to share with you site https://viplikes.net/ where you can buy youtube views if you publish your video on youtube

    ReplyDelete
  51. تنزيل واتساب الذهبي
    يتميز بالعديد من الميزات والإضافات غير الموجودة في إصدار آخر وهذا هو السبب في أنه يتمتع بشعبية كبيرة بين العديد من المستخدمين. تم تطوير تطبيق WhatsApp Gold هذا من قبل المطور الشهير أبو عرب الذي اشتهر في بداية عام 2015 واستمر هذا العام 2021 ، وازداد عدد مستخدمي WhatsApp Gold بسبب إعجابهم بهذا WhatsApp وأيضًا بسبب الميزات العديدة في مثل إخفاء المظهر ، تجميده ، تغيير المظهر ، زيادة حجم العلبة لأكثر من ساعة ، والكثير من الإضافات

    مدونة المحترف أحمد خالد للمعلوميات
    واتساب الذهبي WhatsApp Gold
    أندرو ويب

    واتساب الذهبي هذا الإصدار من WhatsApp Abu Arab يتميز بالعديد من الميزات والإضافات غير الموجودة في إصدار آخر وهذا هو السبب في أنه يتمتع بشعبية كبيرة بين العديد من المستخدمين ، تم تطوير WhatsApp Gold هذا بواسطة المطور الشهير أبو عرب الذي اشتهر في بداية 2015 واستمر هذا العام 2021 ، وازداد عدد مستخدمي WhatsApp Gold بسبب إعجابهم بهذا الواتس اب ، وأيضاً بسبب الميزات العديدة الموجودة فيه ، كإخفاء المظاهر وتجميدها ، وتغيير الثيمات ، وزيادة حجم الـ WhatsApp. القضية لأكثر من ساعة والكثير من الاضافات التي سنتحدث عنها في هذا الموضوع من WhatsApp Gold.

    ReplyDelete
  52. Hоw dо ореn-ѕоurсе рrоduсtіvіtу ѕuіtеѕ compare tо MS Office www.office.com/setup www.office.com/setup

    ReplyDelete
  53. In the process of making money quickly and without effort. mostly peoples get destroyed in betting. If you are not sure, then you ask an elderly person who has played betting. He will speak to you here, never play speculative. You will be destroyed in this. Playing betting is also illegal in India. Avoid it and earn money by hard work.
    satta king result
    black satta king 786
    gaziyabad satta online chart 2021

    ReplyDelete
  54. The world wide web (W3) is a vast frontier for those within whom the web-preneurial spirit burns brightly. To open a brick and mortar business on Main Street is going to cost a pile of capital, and in this economy, who wants a second (or third) mortgage to roll the dice and fund a new gift shop downtown. Australian Domain Name Registration

    ReplyDelete
  55. I’d must talk to you here. Which isn’t something Which i do! I love to reading an article that can make people believe. Also, thanks for allowing me to comment! SEO에 대한 백 링크 구매

    ReplyDelete
  56. We stumbled over here coming from a different web page and thought I might check things out. I like what I see so now i’m following you. Look forward to exploring your web page yet again. free backlink

    ReplyDelete
  57. تنزيل واتس اب بلس تحميل تطبيق whatsapp plus أخر إصدار بديل وأتساب الذهبي و الأزرق بلس ضد الحظر. يدعم إخفاء الظهور ومشاهدة الحالات شبيه لتطبيق عمر الجديد يتوفر لجميع المستخدمين مجان من خلال موقعنا.
    تطبيق apk تعمل على هواتف أندرويد ويمكن تثبيت تحديث النسخ الزرقاء بدون فقدان المحادثات. ابو صدام الرفاعي أول مطور واتس اب بلس لذلك يعد التطبيق معدل من اصدار whatsapp الرسمي .

    واتساب بلس
    واتس اب بلس

    ReplyDelete
  58. With havin so much content and articles do you ever run into any problems of plagorism or copyright violation? My site has a lot of unique content I’ve either authored myself or outsourced but it appears a lot of it is popping it up all over the web without my permission. Do you know any techniques to help stop content from being ripped off? I’d genuinely appreciate it. desktop compters

    ReplyDelete
  59. My neighbor and I have been simply debating this specific topic, he’s usually seeking to prove me incorrect. Your view on that is nice and precisely how I really feel. I simply now mailed him this website to indicate him your personal view. After looking over your website I e book marked and can be coming back to learn your new posts! casino game strategy

    ReplyDelete
  60. Learn how to install optware ans samba online here - CentumSpot

    ReplyDelete
  61. I wanted to leave a little comment to support you and wish you a good continuation. Wishing you the best of luck for all your blogging efforts. Unique Dofollow Backlinks

    ReplyDelete
  62. UFABET เว็บพนันออนไลน์ โดย UFASTAR168 หากคุณกำลังมีปัญหาว่า เว็บพนัน เว็บไหนดีเยี่ยมที่สุดในเวลานี้ และกำลังมองหา เว็บพนัน ดีๆเล่นสักเว็บ UFASTAR168.biz เป็นคำตอบ UFA BET ของเราเราเป็นเว็บที่มีบริการ พนันออนไลน์ ครบวงจร ไม่ว่าจะเป็น.

    ReplyDelete
  63. Know "How to do Burger King Survey" online, and express all your feedback, suggestion, opinions, and complaints only at the official site. in return, participants will be rewarded with free whopper burger on their next visit.

    ReplyDelete
  64. KFC introduced a customer satisfaction survey, Upon submission of your www.mykfcexperience.com survey answers, you stand a chance of winning KFC survey coupon and rewards.

    ReplyDelete
  65. Algebra, known as quite possibly the main parts of math, is principally founded on the accompanying regions: amount, connection, and construction. Aside from the number circle, a wide scope of set components, factors, and images are canvassed in this branch. Being exceptionally perplexing, Algebra for the most part makes a few troublesome issues students who in a split second look for the appropriate responses. In case you are in such a circumstance, our algebra help homework can prove to be useful. assignment help australia

    ReplyDelete
  66. Definitely, what a fantastic website and revealing posts, I definitely will bookmark your site.Have an awsome day!

    Click here to chceck my blog :: 대구오피

    (freaky)

    ReplyDelete
  67. Mechanical watches have seen a huge uptick in popularity in the last several years, and this considering that battery-powered quartz movements are more cheap and ubiquitous than ever, and smartwatches are seen on more and more wrists as time goes by.

    ReplyDelete
  68. The top rated luxury brands of sunglasses for women offer the best collections of womens sunglasses of all ages. The light weight materials of the finest quality sunglasses not only make them comfortable but also the perfect choice from day to day.

    ReplyDelete
  69. This comment has been removed by the author.

    ReplyDelete
  70. If you are running on a specific budget or you never want to spend a lot on getting these knives, this Tojiro Knives Review is meant for you. As compared to Shun knives, the best Tojiro knives are one of the greatest economically.

    ReplyDelete
  71. We all want good grades in Assignment but when we stuck in some questions we need help. Every student can take help from the Abc team expert who are available anywhere and any time. assignment help

    ReplyDelete
  72. Astonishing post! Thank you for creating such a wonderful collection of content
    Go to www.office.com/setup for Office Setup. Sign In to your Microsoft Office Account.Find your Office Product Key.Enter your Microsoft Office Product Key. Officecom is a way where you can save you file in OneDrive and you can share and update online.

    ReplyDelete
  73. Right away this website will probably unquestionably usually become well known with regards to most of website customers, as a result of meticulous accounts and in addition tests.

    토토사이트
    온라인카지노
    파워볼사이트
    카지노사이트

    ReplyDelete
  74. I like the way you write this article, Very interesting to read. I would like to thank you for the efforts you had made for writing this awesome article.

    토토사이트
    온라인카지노
    파워볼사이트
    카지노사이트

    ReplyDelete
  75. Very informative blog. It gives me the very detailed information related to installing process. If you need an my assignment help services, kindly visit us.

    ReplyDelete
  76. This is a cool piece of equipment. You can hook any USB hard drive or thumb drive to it and it's on your network. I'm using it for movies, music, and photos on my network(LAN) Works great. It wouldn't be good for back-up as it is too slow for that I think. I even messed around with accessing photos and music from it while I was at work and it worked great.og whatsapp

    ReplyDelete
  77. Microsoft recently released a new version of the Office app, so there are two ways to get the suite on your iPhone. You can install a single, integrated app that combines many of the features of the individual Word, Excel, and PowerPoint apps, or you can choose to install each app individually.
    The advantage of installing the single Microsoft 365 setup app is that it takes up less space on your phone, and blends the various apps together in a way that you might find more convenient.

    ReplyDelete
  78. Excellent And Awesome Post! So Thanks for Sharing Reported calls

    ReplyDelete
  79. I have read your POST its very attractive and impressive. I like it your blog.Write For Us Telemarketing

    ReplyDelete
  80. Dynamics 365 business central is an all-in-one business management solution that makes managing finances, operations, sales and customer service a breeze. Its intuitive interface is easy to use and offers a comprehensive outlook of business proceedings for smart business decisions.

    ReplyDelete
  81. MS power bi has all the advantages of a modern BI platform, and unique benefits that distinguish it from the array of competing tools on the market today. View a demo and testing, features and pricing to see if it is right for you.

    ReplyDelete
  82. Mybkexperience executed a connected with the WWW review to take an arrangement about Mybkexperience Helpline notwithstanding your support level thereafter visiting service For more info Mybkexperience.com

    ReplyDelete
  83. Download worms zone io mod apk Unlimited money, no death – Mod for Android to get an epic Slither.io style game that will have addicted in no time at all.

    ReplyDelete
  84. Your blog is great. Download beat ly mod apk app to edit videos and photos for free

    ReplyDelete
  85. All features integrate well with Excel and Outlook, allowing you to manage leads, opportunities, accounts, and contacts from within those programs. Scanning business cards and creating a record in Dynamics 365 can also help you save time with manual data entry.

    Microsoft Dynamics 365 support

    Dynamics 365 Business Central support

    ReplyDelete
  86. Thank you for your contribution. This blog has a wealth of important information. A beautiful article; I am appreciative and hopeful that you will write many more like it in the future.
    here is super cool trick for those who want to play or download premium games for free
    if you want to download for free simply go there

    ReplyDelete
  87. Very Informational article you shared!
    Attractive Web Solutions is the Best Website Designing Company in Delhi NCR that delivering impressive results that will help you grow your business exponentially.

    ReplyDelete