Chit chat

————–

Working on the Rpi pc. more details at: http://www.instructables.com/id/Raspberry-Pi-Jack-of-all-trades/

———————————————————————-

Printing on linux is so much fun. Used a web browser for accessing Cups to set up a printer on my server from my desktop.  The Cups software easily found the network printer. and after I chose a driver, the driver was installed without ever having to load a single cd or restart a computer. Was printing in just a few minutes.
You need to change a  few settings. First back up your settings file.
# Only listen for connections from the local machine.
Listen localhost:631
Listen /var/run/cups/cups.sock
Listen 192.168.1.41:631 
# Listen on the LAN interface, Port 631 (IPP) local host  address
# Show shared printers on the local network.
Browsing Off
BrowseOrder allow,deny
BrowseAllow all
BrowseLocalProtocols CUPS dnssd
BrowseAddress @LOCAL

# Default authentication type, when authentication is required...
DefaultAuthType Basic

# Web interface setting...
WebInterface Yes

# Restrict access to the server... (to local network)
Order allow,deny
Allow from 192.168.1.*
$ sudo cp /etc/cups/cupsd.conf /etc/cups/cupsd.conf.original
Then you need to write protect the file.
$ sudo chmod a-w /etc/cups/cupsd.conf.original
And lastly you need to add settings in the settings file to let the interface be accessible.

Just change whatever you need to. Theun with your browser go to 192.168.1.41:631

———————————————————————-

The E02 Pogoplug and Archlinux.

Became tired of the Pogoplug cloud, so I decided that I could make more use of it as a local server. There a few lines to type in which frustrates a lot of people. I decided to takke a shortcut and use the web and the command lone together to make things easier.

You will go to the page where the commands are. Copy a command at a time and then paste it in the terminal that is connected to the pogoplug.

Once you finnish the install, you may want to add other softwareto mkae the unit more usable. here is a basic install I sort of used.

Warning: do this at your own risk, There are several models of the pogoplug. this only works on one version only of the unit. Will not be responcible for any or all issues.

Pogoplug v2 (Pink/Gray)

  • Overview and Installation
The Pogoplug v2 is the second device from CloudEngines to feature Pogoplug software. It excelled where the original Pogoplug was lacking by including 4 USB ports and a more noticeable hardware profile.The gray Pogoplug was introduced at a later time to better fit in with users’ existing components, which were not as pink as the original Pogoplug v2.

Recently, Cloud Engines has began shipping new Pink Pogoplugs with model numbers POGO-B01/02/03/04/P21 – these are completely different devices and you should NOT follow the guide on the installation tab above. Look in the “ARMv6” section for these models, or click here.

Supported Model Numbers:

POGO-E02

POGO-E02G

  • VERIFY YOUR MODEL NUMBER! These instructions only apply to models POGO-E02 and POGO-E02G.
  • These instructions will void your warranty. While every precaution is taken to ensure nothing bad happens, all actions are at your own risk.
  • my.pogoplug.com, the mobile applications, and the desktop Pogoplug connector will no longer work.
  1. With the device on and online, attempt to SSH to the IP the device received through DHCP. If you are unable to SSH, register and enable SSH through my.pogoplug.com. The default login (unless changed through my.pogoplug.com) is root/ceadmin.
  2. Stop the Pogoplug software, so it doesn’t interfere with the install process:killall hbwd You only need to kill the Pogoplug service the first time you SSH in. Running the installer in the following steps disables it completely.
  3. While connected via SSH to your plug, copy, paste, and run the following commands to download a bootloader that can boot from USB drives:cd /tmp wget http://jeff.doozan.com/debian/uboot/install_uboot_mtd0.sh chmod +x install_uboot_mtd0.sh ./install_uboot_mtd0.sh After the new bootloader is installed, you will need to use fdisk to partition a storage device. Plug in a 1GB or bigger USB drive. REMOVE ALL OTHER DRIVES. Move everything you need off of the Arch Linux ARM drive and back it up. Everything on the USB drive with be deleted and replaced with Arch Linux ARM.
  4. Set the U-Boot variable to tell the kernel to use ext3:/usr/sbin/fw_setenv usb_rootfstype ext3
  5. Start fdisk on the USB drive:/sbin/fdisk /dev/sda
  6. At the fdisk prompt, delete old partitions and create a new one:
    1. Type o. This will clear out any partitions on the drive.
    2. Type p to list partitions. There should be no partitions left.
    3. Now type n, then p for primary, 1 for the first partition on the drive, and then press ENTER, accepting default values.
    4. Exit by typing w.
  7. Now create the ext3 filesystem:wget http://archlinuxarm.org/os/pogoplug/mke2fs chmod 755 mke2fs ./mke2fs -j /dev/sda1 mkdir usb mount /dev/sda1 usb
  8. Download and install Arch Linux ARM:cd usb wget http://archlinuxarm.org/os/ArchLinuxARM-armv5te-latest.tar.gz tar -xzvf ArchLinuxARM-armv5te-*.tar.gz # This will take a long time rm ArchLinuxARM-armv5te-*.tar.gz sync # Takes a while when using a flash drive
  9. Clean up and reboot. Cross your fingers and hope for the best.cd .. umount usb /sbin/reboot
  10. The SSH key of your device will be different, so you need to tell Mac OS X or Linux to remove it from ~/.ssh/known_hosts before using SSH again:ssh-keygen -R 192.168.1.123 # Use your device’s IP
  11. Log back in after your Pogoplug reboots using username root and password root.

or

With the device on and online, attempt to SSH to the IP the device received through DHCP. If you are unable to SSH, register and enable SSH through my.pogoplug.com. The default login (unless changed through my.pogoplug.com) is root/ceadmin. Stop the Pogoplug software, so it doesn’t interfere with the install process:killall hbwd You only need to kill the Pogoplug service the first time you SSH in. Running the installer in the following steps disables it completely.     While connected via SSH to your plug, copy, paste, and run the following commands to download a bootloader that can boot from USB drives:

# cd /tmp

# wget http://jeff.doozan.com/debian/uboot/install_uboot_mtd0.sh

# chmod +x install_uboot_mtd0.sh

# ./install_uboot_mtd0.sh

After the new bootloader is installed, you will need to use fdisk to partition a storage device. Plug in a 1GB or bigger USB drive. REMOVE ALL OTHER DRIVES. Move everything you need off of the Arch Linux ARM drive and back it up. Everything on the USB drive with be deleted and replaced with Arch Linux ARM. Set the U-Boot variable to tell the kernel to use ext3:

# /usr/sbin/fw_setenv usb_rootfstype ext3

Start fdisk on the USB drive:

# /sbin/fdisk /dev/sda

At the fdisk prompt, delete old partitions and create a new one:

Type o. This will clear out any partitions on the drive.

Type p to list partitions. There should be no partitions left.

Now type n, then p for primary, 1 for the first partition on the drive, and then press ENTER, accepting default values.

Exit by typing w.

Now create the ext3 filesystem:

# wget http://archlinuxarm.org/os/pogoplug/mke2fs

# chmod 755 mke2fs

# ./mke2fs -j /dev/sda1

# mkdir usb

# mount /dev/sda1 usb

Download and install Arch Linux ARM:

# cd usb

# wget http://archlinuxarm.org/os/ArchLinuxARM-armv5te-latest.tar.gz

# tar -xzvf ArchLinuxARM-armv5te-*.tar.gz

This will take a long time

# rm ArchLinuxARM-armv5te-*.tar.gz

# sync

Takes a while when using a flash drive Clean up and reboot. Cross your fingers and hope for the best.

# cd ..

# umount usb

# /sbin/reboot

The SSH key of your device will be different, so you need to tell Mac OS X or Linux to remove it from ~/.ssh/known_hosts before using SSH again:

# ssh-keygen -R 192.168.1.123

Use your device’s IP.  Log back in after your Pogoplug reboots using username root and password root.

Installation FAQ

  • I ran through the installer, have everything where it should be on the USB drive, but it’s still not working.Try booting again. This often does the trick. If that does not help, try using a different USB drive. Flash drives have proven to not work well with running a full operating system, a USB hard drive is the best option.
  • fw_printenv/fw_setenv is no longer working.Run the install_uboot_mtd0.sh script from within Arch Linux ARM. It will install the applications for you.

Architecture

ARMv5te

Processor

Marvell Kirkwood 1.2GHz

RAM

256MB

NAND

128MB

USB

4

Ethernet

Gigabit

———————————————————————-

Just a little circuit I was thinking of using as a power supply for low voltage applications

Screenshot from 2013-11-03 22:17:36

———————————————————————-

An author had a circuit for a temp sensor as seen here (from http://www.instructables.com/id/DIY-Miniature-Thermometer/) :

So I redid it to see if I could make more sense of it,

Here is the author’s code if you wnat to try it.

http://www.mediafire.com/view/qn615bapt9t91a2/PocketThermometer.ino

——————————————————————–

Never hurts to have a backup computer if your main computer has problems.

chillit

Computing sure has changed.

Screenshot from 2013-11-08 17:09:10

——————————————————————–

Update to megaphone add-on.

Screenshot from 2013-11-14 03:10:51

——————————————————————–

Turkeyroni?

SUNP0053

Good day.

Advertisements