Category Archives: Podcast

Episode-025

Play

Ep-025Follow-up from last week:

Project pegwole mentioned but forgot:
http://pi.worldpossible.org/

5150

Read-only filesystem issues:
http://askubuntu.com/questions/269856/dpkg-error-unable-to-access-dpkg-status-area-read-only-file-system

A podcast I just started listening to, The Open Source Creative Podcast:
http://monsterjavaguns.com/podcast/

Other TV apps, and apps to bridge streams to Chromecast
www.ustvnow.com

Honkeymagoo

AUR and PPA’s
http://askubuntu.com/questions/4983/what-are-ppas-and-how-do-i-use-them
https://wiki.archlinux.org/index.php/Arch_User_Repository
http://www.ubuntuupdates.org/ppa/google_chrome
https://wiki.manjaro.org/index.php/Arch_User_Repository

Updating Raspbian for Raspberry Pi-2:
http://thepihut.com/blogs/raspberry-pi-tutorials/16982376-updating-raspian-on-your-microsd-for-the-raspberry-pi-2

Episode-024

Play

Ep-024Kwisher & fatherfinch

screen & irssi

irssi customization:
http://www.antonfagerberg.com/texts/my-perfect-irssi-setup/

scripts I am using:
nicklist.pl — xchatnickcolor.pl

irssi themes:
http://irssi.org/themes

Brief screen how-to:
http://www.rackaid.com/blog/linux-screen-tutorial-and-how-to/

Screencap of my irssi:
https://www.dropbox.com/s/d7sjs3z5aud37gx/Screenshot-irssi.png?dl=0

GNUScreen Project Page:
http://www.gnu.org/software/screen/

FiftyOneFifty

5150 discusses the downfalls of using Linux with Cable TV web services. This provides fodder for the rest of the crew in a lively discussion of the various way to “cut the cord”.

Episode-023

Play

Ep-023Listener Feedback

Richard Gordon:
Asks about using a single home directory for multilple distros
Honkeymagoo replied:
Matt McGraw did an HPR episode on this subjuect and also did write up of it for Knightwise.com
http://hackerpublicradio.org/eps.php?id=1567
http://knightwise.com/the-perfect-partition-setup-for-a-multibooting-system/
Going Linux epidsode 229- Dual Booting Advanced
http://www.archive.org/download/glp229/glp229.ogg

Chris Harris:
Asked about possibly using a RPI or other low powered devices for a firewall.
Chris, this has come up on KernelPanicOggcast.net. JLindsay was of the opinion a Pi could be a bottle neck as the single network interface is actually connected to the slower USB bus. Of course, the required second NIC would have to be on the USB anyway. A better option might be the BannaPi model B, which was designed to be a router, or an ODroid C1 from hardkernel.com. Another consideration is that I’ve not heard of any firewall distribution, like mOnOwall, being ported to ARM, so you might have to use ipTables. -5150

Show Topics

FiftyOneFifty

Debian NoRoot for Android

Debian NoRoot ( https://play.google.com/store/apps/details?id=com.cuntubuntu&hl=en ) install a working Debian desktop running XBMC inside an app, and as the name implies, does not require root, but must be installed on internal storage. It installs under a compatibility layer, which differs from an emulator in the the host must be running compatible hardware and from a virtual machine in that a compatibility layer uses binaries from the underlying OS wherever possible.

The first time you run the app after installation, it will ask you to comfirm that you really want to download 600Mb of files necessarry to run the app and warns you it will take some time. The second time the app is run you will have to wait until the files are extracted,then you will se an XFCE desktop. The desktop is not touch aware, so you use the whole screen as a touchpad to move the mouse. A single tap on the screen is left mouse click, a two finger tap is a right mouse click, and a two finger drag is a scroll. Bringing up the virtual keyboard obscures half the desktop, so a Bluetooth keboard and mouse would be recomended. If you want sound support, there is script on the desktop to install another 100Mb of binaries. By default, there are no pawwords, but you go have user and root terminals. I’ve seen comments that recomend you install packages with apt-get as Synaptic can be unstable.

As you might expect, very few applications are included, in fact they are pretty much limited the teminals, Synaptic, and Thunar (the file manager does have access to the internal SD as well as the virtual hard disk. You will have to install your own browser. I have installed openssh-server, but external connections are refused, probably because of the lack of user passwords (I didn’t want to change passwords until after this show). I was able to install Mumble, but the Play Store page says all audio is laggy, so while I may try it during the show, I don’t expect much.

fatherfinch

SteamOS Beta Requirements
http://store.steampowered.com/steamos/buildyourown

Ken Starks Update
http://fossforce.com/2015/01/get-well-ken-and-firefox-gets-an-update/

Episode-022

Play

Ep-022FatherFinch

Command Line Subnet Calculators – Much Easier than Adding
ipcalc (non-rel)
Important switches
-b removes all of the bianry output
-s n where n is the number of hosts you would like in a network

examples
all network information for address 192.168.100.12
ipcalc 192.168.100.12/26
same as
ipcalc 192.168.100.12 255.255.255.192
If I wanted to find the smallest network possible to have 88 hosts I can enter the following
ipcalc -s 88 10.30.0.0

ipcalc (rehl based)
Important switches
-b display brodcast address
-m display subnet mask
-p display prefix
-n display network

examples
display the subnet mask for the following cidr notation
ipcalc 192.168.100/28 -m
display the broadcast address, prefix, and network of the following address
ipcalc 172.16.20.122 255.255.252.0 -bpn

Honkey Magoo

OpenMediaVault
http://www.openmediavault.org/

Raspberry Pi Images
http://sourceforge.net/projects/openmediavault/files/Raspberry%20Pi%20images/

Virtual Images
http://sourceforge.net/projects/openmediavault/files/vm/

FiftyOneFifty

Photo project with Gimp
How to crop a photo in Gimp so it exactly matches the dimensions of the output media. I had some snapshots infamily albums I wanted to blow up for framing. If you are working fom a 3×5 snapshot, you will probably want to scan it a nearly the highest resolution your scanner is capable of, if the original media is allready 8×10, you will want to use a more manageable resolution like 800dpi.

If the original media has a different aspect ratio than the output media, say 8×10 (though I was using 8.5×11, because that’s size of my photo printer paper), you may want to crop the photo rather than leaving whitespace at the sides or on the top and bottom. Often, there is material at the edges of photos that can be left off and still make a god picture. If so, you can make your rectangular selection tool have the same aspect ratio as the target media by clicking on the selection tool in the Toolbox, then below under Tool Option, checking the tickbox for “Fixed”, select “Aspect Ratio” from the dropdrown, and then filling in the aspect ratio. For 8.5×11 photographic printer paper, you would use 8.5:11 for portrait or 11:8.5 for landscape.

You with have to position the selection tool by grabbing the corners. Once you have placed it where only unimportant parts of the picture are outside the selection area, go to the Edit menu and select “Copy”, then select “paste as new image”. Now, select “Print” from the file menu. Select the appropriate Orientation from the “Page Setup” tab. Next, on the “Image Settings” tab, uncheck “Ignore Margins” and decrease either the X or the Y resolution (as long as you leave them chained) until the image fills the Preview. On the other hand, if you are printing an 8×10 photo on 8.5×11 paper, set your margins appropriately.

Episode-021

Play

Ep-021Kwisher

Arch Pi Image
http://archlinuxarm.org/platforms/armv6/raspberry-pi

Resizing disk images , .iso , .img
http://softwarebakery.com/shrinking-images-on-linux

Honkeymagoo

Openbox: ways to customize openbox
http://www.maketecheasier.com/configure-andcustomize-openbox/
https://wiki.debian.org/Openbox#Wallpapers
http://urukrama.wordpress.com/openbox-guide/#Autostart
http://openbox.org/wiki/Help:Applications
https://code.google.com/p/tint2/wiki/Configure#Clock
https://plus.google.com/u/0/109502200836255777959/posts/5cCQwPZRM7n

FiftyOneFifty

OMXPlayer is a resource conserving video player specifically for the Raspberry Pi
http://elinux.org/Omxplayer

The youtube-dl in the Raspian repositories is broken. It works, but because it is a from 2012, as soon as you update with sudo youtube-dl -U, the binary is overwritten with a file of nul length. Solution from https://github.com/rg3/youtube-dl/issues/3908

sudo rm /usr/bin/youtube-dl # or apt-get remove -y youtube-dl
sudo wget https://yt-dl.org/latest/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+x /usr/local/bin/youtube-dl

Next time on LLC http://www.raspians.com/raspytube-an-openvg-front-end-for-youtube-dl/

The TabHunter extension for Firefox finds text in all open tabs

Episode-019

Play

Ep-019Listener Feedback

Email from Bert Yerke

Announcements

New LinuxLugCast G+ community
https://plus.google.com/u/0/communities/101183999294924142060

HPR New Year Show
http://hackerpublicradio.org/

Show Topics

FiftyOneFifty

LADSPA plug-ins for Audacity and what you can do with them

YouTube video:
https://www.youtube.com/watch?v=B5eC6D1YWaM

Debian packages:
https://packages.debian.org/wheezy/ladspa-plugin

fatherfinch

Think Penguin 3rd Generation Wee review
https://www.thinkpenguin.com/gnu-linux/penguin-wee-3rd-gen-gnu-linux-desktop

dnsmasq – simple DNS redirection on Debian
https://wiki.debian.org/HowTo/dnsmasq

Episode-018

Play

Ep-018Kwisher

SSD Trim for Linux
enabled email notifications on my Pi AP and received the following notification:
/etc/cron.daily/fstrim:
fstrim: /: FITRIM ioctl failed: Operation not supported
run-parts: /etc/cron.daily/fstrim exited with return code 1

Googled for fstrim and found:
http://man7.org/linux/man-pages/man8/fstrim.8.html
http://blog.neutrino.es/2013/howto-properly-activate-trim-for-your-ssd-on-linux-fstrim-lvm-and-dmcrypt/

copied the script to /usr/sbin/trim.sh:

#!/bin/sh
#
# To find which FS support trim, we check that DISC-MAX (discard max bytes)
# is great than zero. Check discard_max_bytes documentation at
# https://www.kernel.org/doc/Documentation/block/queue-sysfs.txt
#
for fs in $(lsblk -o MOUNTPOINT,DISC-MAX,FSTYPE | grep -E ‘^/.* [1-9]+.* ‘ | awk ‘{print $1}’); do fstrim “$fs”

done

Made the script executable:
chmod u+x /usr/sbin/trim.sh

Added it crontab for weekly execution:
0 1 * * 1 /usr/sbin/trim.sh

Honkeymagoo

Using Qemu to emulate the Raspberry Pi *SUCCESS*

http://www.raspberrypi.org/forums/viewtopic.php?f=29&t=37386

How to use qemu to expand the size of your .img = qemu-img resize 2013-10-13-wheezy-minibian.img +4G

Then to expand you’re rootfs you can use = fdisk /dev/sda
then type p to show the partition table
then type d to delete a partition
then 2 for the linux partition
then n to create a new partition
then p for primary
then you should just be able to hit enter to use both the default start sector, and the default last sector
then w to write the changes to the drive on the next reboot

Example: qemu-system-arm -kernel kernel-qemu -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append “root=/dev/sda2 panic=1” -hda ~/qemu_vms/2013-10-13-wheezy-minibian.img -redir tcp:5022::22 -redir tcp:5080::80

how to ssh into your new emulated machine = ssh -p5022 root@localhost

If you install a webservice on your .img how to navigate to it = http://localhost:5080

FiftyOneFifty

Goodbye Linux Outlaws

Future project – Hacking a first gen Xbox

Amazon Echo – can we do this on a Pi with https://github.com/benoitfragit/pocketVox ?

Episode-016

Play

Ep-016Honkeymagoo / Kwisher

NFS
http://www.tldp.org/HOWTO/NFS-HOWTO/server.html
http://www.howtoforge.com/install_nfs_server_and_client_on_debian_wheezy
http://nfs.sourceforge.net/nfs-howto/

/etc/fstab nfs mount example
[server IP]:[/path of share on server] [/local mount point] nfs nfsvers=4,rsize=8192,wsize=8192,nosuid,soft 0 0

/etc/export example
[/path of share] [IP of clients](rw,no_root_squash,async)

fatherfinch

Bash sort
http://www.skorks.com/2010/05/sort-files-like-a-master-with-the-linux-sort-command-bash/

FiftyOneFifty

Actiontec My Wireless TV WiFi / HDMI Multi-Room Wireless HD Video Kit
http://www.amazon.com/Actiontec-Wireless-WiFi-Multi-Room-Video/dp/B005L9ZZ32/ref=sr_1_1?ie=UTF8&qid=1412282301&sr=8-1&keywords=actiontec+wifi+TV
• Works spectaularly well, especially for being in a WiFi cluttered environment. Pretty much plug & play, comes with IR remote signal repeater. Only two glitches, when the cable box is off, ghost signal bands flash on the screen, sometmes accompanied by a snapping noise, so I turn the TV off when I’m not watching. Then I have to unplug the sending unit and plug it back in to re-establish the connection.

ARandR Graphical front end for XRandR included in CrunchBang
• Set up resolution and orientation of multiple monitors and then Activate. Configuration can be saved as a shell script so you can include it in your Autostart sequence.