Guide for installing a Full Debian install on a $33 PogoPlug

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

TBSN

Senior member
Nov 12, 2006
925
0
76
I got mine in the mail today, I'm installing debian to it right now. I have to say honestly I'm a little overwhelmed, I don't know if I'll be able to set up samba/file-sharing/ etc. I might try the stock software first (when I'm done installing debian) and see what I can do with that. If I run into limits there I'll switch to debian. Maybe, we'll see. :shrug:
 

chuck2002

Senior member
Feb 18, 2002
467
0
0
I think the main thing you may find with the stock pogo is that you can't create multiple users that can all share their own files.
You can manage Samba from Webmin once you install it, so you will have a nice GUI for configuring your file shares, etc..
 

chuck2002

Senior member
Feb 18, 2002
467
0
0

chuck2002

Senior member
Feb 18, 2002
467
0
0
Ok I got LAMP going on the Pogo and have a joomla sample site working on it if anyone wants to see it in action.
I figured Joomla would be a good test for the box. I do not have Joomla's built in caching enabled for the site, so it is doing the database querys and building the page for each visitor.
This is coming off of my comcast connection.
http://chuckdickey.com/joomla/

It is also serving the html compressed, so that is another little hit on the device to compress the page before delivering it.
Apache and php do this html compression by default nowadays. If you want to learn more about it, here is a company that sells http compression for older Windows servers:
http://pipeboost.com They have a realtime acceleration report where you can view the benefits of html compression with a web site that you choose.

--Incidentally, I learned about html compression way back when -from the anandtech web page. Anandtech was a high profile customer of Pipeboost.

Using htop to monitor the CPU of the Pogo, (more informative than the standard linux top utility) I get a 100% utilization spike when accessing a joomla page for about 1 second and then the CPU goes back to 1-2% utilization.

I now have 100 MB of ram utilized of the 256 megs thus far.
 
Last edited:

TBSN

Senior member
Nov 12, 2006
925
0
76
I'm trying to get samba share working with windows on this thing but haven't had luck. I am using this tutorial: http://www.unixmen.com/linux-tutorials/1524-standalone-samba-in-debian-squeeze

The shared directory isn't visible on my windows machine, and I'm not sure what I have to do to see it. It also isn't able to connect by putting in the IP address that's mentioned in the article.

I have webmin installed but for some reason samba share is listed under unused modules. I'm pretty sure that it is running however.

Any help at all would be appreciated!
 

skyking

Lifer
Nov 21, 2001
22,220
5,083
146
win 7 needs some tweaking to play with samba. That may be your problem. IF not,
open a shell and type in ps ax
Near the bottom you should see nmbd and smbd. If not, then samba is not running.
 

TBSN

Senior member
Nov 12, 2006
925
0
76
maybe I will start a new thread for my samba issues, I don't want to clutter this one up. Thanks I'll look into the issues it has with win7
 
Last edited:

chuck2002

Senior member
Feb 18, 2002
467
0
0
Keep in mind that this model you linked may, or may not work with the guide I posted. You will want to do some research first to be sure that it will boot Debian off of a flash drive.
 

AnonymouseUser

Diamond Member
May 14, 2003
9,943
107
106
Is this device capable enough without installing Debian? It looks like one could install Optware on it just fine, so maybe Debian won't be far behind. At any rate, if it's decent in it's original configuration, I could use it like that until debian is possible, or may even consider Optware.

FWIW, this device is selling for $111 shipped on Buy.com.
 

AnonymouseUser

Diamond Member
May 14, 2003
9,943
107
106
Went ahead and ordered one. According to some reports, this model (P02) is WiFi-capable, though the descriptions on Ebay and Buy.com don't mention it. I guess I'll know in a couple of weeks.
 

chuck2002

Senior member
Feb 18, 2002
467
0
0
Took a look at Optware. I think this sounds interesting with the exception of the the fact that this method makes extensive modifications to the core OS as you make it work and install packages.
The Debian installation method I went through just changes the boot priority of the device, and then all changes are only done to the USB flash drive. Reversal of changes is a simple matter of removing the USB flash drive.
There is no firmware reset button on these devices that I know of, so going back to stock firmware will be difficult and the risk of bricking your pogo extremely high.

The device is quite useful stock though.
 

AnonymouseUser

Diamond Member
May 14, 2003
9,943
107
106
There is some hope for the Pro!

We've found that you can boot directly from the SATA port with a little magic, including stage1 bootloader, uboot and kernel in a series of specially marked places, and appropriate partitioning. I am doing this now with my "broken" Pro (more like NAND failure while on vacation). It now boots right up, and fires into ALARM. Makes swapping kernel a cake walk.

Will definitely being playing with this when I get it.
 

TBSN

Senior member
Nov 12, 2006
925
0
76
I just got samba to work with the pink version, which was exciting! It could use some configuration though its still pretty basic. It is a pretty little device and it would be more awesome if I were a linux guru, but alas... I'll keep trying to tweak it. Good luck fellas.
 

TBSN

Senior member
Nov 12, 2006
925
0
76
Ok I got LAMP going on the Pogo and have a joomla sample site working on it if anyone wants to see it in action.
I figured Joomla would be a good test for the box. I do not have Joomla's built in caching enabled for the site, so it is doing the database querys and building the page for each visitor.
This is coming off of my comcast connection.
http://chuckdickey.com/joomla/

It is also serving the html compressed, so that is another little hit on the device to compress the page before delivering it.
Apache and php do this html compression by default nowadays. If you want to learn more about it, here is a company that sells http compression for older Windows servers:
http://pipeboost.com They have a realtime acceleration report where you can view the benefits of html compression with a web site that you choose.

--Incidentally, I learned about html compression way back when -from the anandtech web page. Anandtech was a high profile customer of Pipeboost.

Using htop to monitor the CPU of the Pogo, (more informative than the standard linux top utility) I get a 100% utilization spike when accessing a joomla page for about 1 second and then the CPU goes back to 1-2% utilization.

I now have 100 MB of ram utilized of the 256 megs thus far.


That is pretty impressive that it all runs on that little pogoplug. I was wondering if it is possible to get access to your drives from outside of the network and what it takes to accomplish that? Do you have to setup a LAMP server to do that? IF so I'll just stay with Samba, which I'm still trying to figure out anyway. Thanks for sharing your stuff
 

chuck2002

Senior member
Feb 18, 2002
467
0
0
Sure. I can access them via SSH along with run any commands. You will need to open whatever port you are using for ssh into your pogo from outside of your home firewall. The default is 22.
Then you can run commands, or if you would like a nice GUI interface, download and install the free Filezilla, which will allow you to transfer files to and from any directory on your pogo without the commandline work.
You will want to choose FTPS or SSH as your transfer method.
You can place a portable version of filezilla onto a USB flash drive if you would like to access these files from various computers without the filezilla installation.
Download it from portableapps.com
You will then extract it to your usb flash drive and can run it from any windows computer. Filezilla is also available for Linux and is in the Ubuntu repositories if you are using an Ubuntu desktop.
While you are there, download portable putty as well to use for a portable SSH client without needing to install it.
 

TBSN

Senior member
Nov 12, 2006
925
0
76
How do you find the external IP address of the pogoplug? I usually access it via SSH on the LAN at 192.168.1.100
 

chuck2002

Senior member
Feb 18, 2002
467
0
0
How do you find the external IP address of the pogoplug? I usually access it via SSH on the LAN at 192.168.1.100

Ok no problem. You will find out your IP address by going here:
http://www.whatismyip.com/

Now, how I do my domain name redirection is through the free afraid dns service:
http://freedns.afraid.org/

If you don't have a domain name, no problem. Just sign up for one of their dynamic domains and then run a dynamic dns updater so that your IP address is always up to date even if your ISP changes it. All the information to do this is available on their site.
Once you are all set, you will need to open your SSH port in your home router. Use a different port than 22 if you want by changing your Debian server's config and then opening whatever port you configured on your router, but either way, be sure your root user (or any user) has a nice long password.
So on your router, allow port 22 (or whatever port you configured on your Debian server) to port forward from any IP to your server at IP 192.168.1.100. Be sure this IP is not DHCP, or that you have made a static assignment for it in your DHCP server so that this number doesn't change.

Then you will enter this dynamic domain into your Filezilla client and you will be able to hit your server from anywhere.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |