All posts by Philip Shaffer

Episode-51

Play

lugcast 51

 

Listener Feedback

Kwisher shares NagiosPi
tutorial
(http://www.linuxuser.co.uk/tutorials/monitor-your-local-network-with-nagiospi)
Image
(https://drive.google.com/folderview?id=0B6d-JruA2JInbW5NSkZqZ3NLTTg&usp=sharing)

Show Topics

FiftyOneFifty
Installing and configuring pfSense https://doc.pfsense.org/index.php/Installing_pfSense  on an Intel mini PC
http://www.hystou.com/products/fanless-computers/celeron-1037u-mini-pc/mini-itx-pc-intel-nuc-mini-computer
https://doc.pfsense.org/index.php/VLAN_Trunking
https://www.nagios.com/downloads/nagios-log-server/
https://doc.pfsense.org/index.php/Setup_Squid_as_a_Transparent_Proxy -celeron-1037u-4g-ram-64g-ssd-build-in-300m-wifi-1121.html

How I solved glitches installing Steam under Ubuntu 15.10. http://stackoverflow.com/questions/8545291/opengl-glx-extension-not-supported
http://askubuntu.com/questions/614422/problem-with-installing-steam-on-ubuntu-15-04/614458#614458

Fweeb
Little personal announcement. I was invited to give one of the Lightning Talks at the Great Wide Open conference in Atlanta on March 17th (http://greatwideopen.org/talks/lightning-talks-hosted-by-opensource-com/). If you’re going to be there, perhaps you can drop by and watch me flail about for 5 minutes.

If there’s time (probably not ;), I’d like to talk about doing secure offsite back-ups. Right now, the solution with the greatest appeal looks to be Duplicity or Duply pushing to Amazon S3 (reference tutorial: http://old.blog.phusion.nl/2013/11/11/duplicity-s3-easy-cheap-encrypted-automated-full-disk-backups-for-your-servers/). I’d love to hear other solutions that anyone has used or is using. Let’s discuss it more on the mailing list.

Episode-50

Play

Listener Feedback
Arch Pi setup guide https://github.com/phortx/Raspberry-Pi-Setup-Guide (Kevin Wisher)

Show Topics

FiftyOneFifty
SaveWiFi.org revisited.  Chris Waid responded to an e-mail I wrote back in November where I linked an article.  The article said the EFF no longer feared the FFC would force manufacturers of routers to lock out third party firmware.  Chris’ response was that he is still unimpressed with the response from the FCC and sent me this link http://wwahammy.com/seriously-the-fcc-might-still-ban-your-operating-system/    Also, Claudio Miranda posted this link to Facebook yesterday: http://ml.ninux.org/pipermail/battlemesh/2016-February/004379.html

Command Line Tip:  This last week, I installed Samba on my server so my shared storage could be accessed by a customer’s Windows machine.  I got the error:
:: File /var/cache/pacman/pkg/smbclient-4.3.4-1-armv6h.pkg.tar.xz is corrupted (invalid or corrupted package (checksum)).
Do you want to delete it? [Y/n]   I tried again and got the same error, so I searched the web for the filenameand found it on http://us.mirror.archlinuxarm.org/armv6h/extra/  I manually downloaded the file and copied it into /var/cache/pacman/pkg/, re-ran “sudo pacman -S samba” andthis timeI was successful.
https://www.samba.org/samba/news/symlink_attack.html

Starship Tux
used lets encrypt to encrypt his site
https://www.starshiptux.com/

Fweeb
There’s a big ol’ bug in glibc. Update your machines!
http://arstechnica.com/security/2016/02/extremely-severe-bug-leaves-dizzying-number-of-apps-and-devices-vulnerable/

HonkeyMagoo
Pcduino
http://www.linksprite.com/linksprite-pcduino/

pcduino2
http://www.linksprite.com/linksprite-pcduino2/

pcduino3 nano lite
http://www.linksprite.com/linksprite-pcduino3-nano/
debian for pcduino3
http://www.armbian.com/pcduino3/

Piclock
https://hackaday.io/project/6184-piclock-a-raspberry-pi-clock-weather-display

My piclock monitor
http://www.amazon.com/gp/product/B00Z9NN7OO?psc=1&redirect=true&ref_=nav_timeline_asin

Next recording date: Mar. 4, 2016

Episode-49

Play

episode 49

 

Listener Feedback

Kevin Wisher, Ken Fallon, Sam, Fweeb’s mini-pc (https://learn.adafruit.com/mini-raspberry-pi-handheld-notebook-palmtop, ZipIt 2)

Dave Morriss’ link to small computer bits (SBCs – Small Board Computers… 64 of them!): http://linuxgizmos.com/ringing-in-2016-with-64-open-spec-hacker-friendly-sbcs/

And a link from Thomas Naser: http://n-o-d-e.net/post/107977286006/how-to-create-a-handheld-linux-terminal

Kwisher asked in the mailing list “How to process an entire folder of scans and have the output saved to another folder with the same file name as the source.”
ANSWER:
for f in ~/Pictures/scans/*.jpeg; do new=${f##*/}; convert $f -crop +0-20 +repage $new; done

Show Topics

FiftyOneFifty
Successfully ran “Chrome OS” on a regular PC. http://arnoldthebat.co.uk/wordpress/chromium-os/ was fail on all the systems I tried it on, but thanks to Linux For The Rest Of Us, I found Cloudy Ready OS http://www.neverware.com/freedownload  Unfortunately, there appairs not to be an easy way to install Crouton.

Progress on the home security project; I bought this to install pf-Sense on: http://www.hystou.com/products/fanless-computers/celeron-1037u-mini-pc/mini-itx-pc-intel-nuc-mini-computer-celeron-1037u-4g-ram-64g-ssd-build-in-300m-wifi-1121.html

Two new mini PC Podcasts: http://podnutz.com/category/minipc/ http://liliputing.com/2016/02/introducing-the-lpx-show-podcast.html

Fweeb
For reference on where I’m at on my writing appliance: http://termux.com

Next recording date: Feb. 19, 2016

Episode-048

Play

lugcast_48

Listener Feedback

kwisher:
ubuntu on the rpi2
https://wiki.ubuntu.com/ARM/RaspberryPi
FreeNX
https://help.ubuntu.com/community/FreeNX

Sam from Gecko Linux
http://geckolinux.github.io/

Show Topics

FiftyOneFifty
PoE hat for the Pi
https://www.pi-supply.com/product/pi-poe-switch-hat-power-over-ethernet-for-raspberry-pi/?v=7516fd43adaa

Fweeb
A question (if there’s time): How would you go about building an ultra low-power writing appliance?
Requirements:
Capable of running ssh, vim, mercurial, and possibly pandoc

Small form-factor (no larger than a full-sized keyboard without numeric keypad)

Minimum 4×40 characters of text visible on screen

Useable without a flat surface (i.e. your lap)

Runs from battery, but with a life measurable in days or weeks

Next recording date: Feb. 5, 2016

Episode-046

Play

 

Listener Feedback

email:

kwisher: The AUR has no packages for ARM, yaourt -A can force ignore, Debian/Ubuntu Nagios package is nagios3

acremaker: using vlc to stream video “to play encrypted bluray (movies) with linux … to install Makemkv and its modified libaacs
library (from AUR for Arch users)”

Dave Morris: more about Nagios  and running a pi off a drive not an sdcard: https://learn.adafruit.com/external-drive-as-raspberry-pi-root/overview

Ilan Rabinovitch: SCALE announcement
http://www.socallinuxexpo.org/

mailing list:
monsterb: let’s encrypt
https://letsencrypt.readthedocs.org/en/latest/intro.html
ssl cert checkers:
sslscan (available in most repos)
https://www.ssllabs.com/index.html

G+ community page:
Mark Rice: owncloud or seafile

Monsterb: world’s first commercial remote-controlled drone powered by ubuntu
http://fossbytes.com/worlds-first-commercial-remote-controlled-drones-powered-ubuntu/

Show Topics

FiftyOneFifty
Nagios progress: Evaluation of Snappy Core as a platform. Chose Ubuntu Mate for ARM instead, attempting terminal only mode
install grub2-common, sudo update-grub http://askubuntu.com/questions/16371/how-do-i-disable-x-at-boot-time-so-that-the-system-boots-in-text-mode
ChromeOS evaluation:  Google doesn’t produce images for installation on generic systems.  While there are several ChromeOS skinned versions of Ubuntu,  the only true ChromiumOS based images are available here: http://arnoldthebat.co.uk/wordpress/chromium-os/
Quickrevue: Fluke Networks MicroMapper  (Ethernet Cable Tester)

HonkeyMagoo
x11vnc
https://wiki.archlinux.org/index.php/X11vnc

Episode-045

Play

<!doctype html>

episode 45Showtopics

FiftyOneFifty
More on Nagios.  Version of hardware monitoring modules has the wrong syntax for Python 3.  Original source in the AUR is now missing.  When you eliminate the outdated source, you find the source has not been ported to ARM.  There is a possibility of installing Nagios from Debian/Ubuntu repros (thanks Dave Morris).  https://www.howtoforge.com/instdiaalling-nagios-on-debian-lenny-and-monitoring-a-debian-lenny-server Chromecast wired adapter on Raspberry Pi, does not automatically show up as a new interface.  Ideas for multimedia streaming across a network, i.e., “casting” DVDs to TVs on my home network.

HonkeyMagoo
Mediatomb: MediaTomb is an open source (GPL) UPnP MediaServer with a nice web user interface, it allows you to stream your digital media through your home network

http://mediatomb.cc/

configuring mediatomb to work with ps3

https://help.ubuntu.com/community/MediaTomb

Also a long discussion on what Linux OS to put new users on

Next recording date: Dec. 18, 2015

Episode-004

Play
chattr: xy problems: when someone says they’re having trouble downloading and compiling glibc, see if it’s an xy problem.
  • User wants to do X.
  • User doesn’t know how to do X, but thinks they can fumble their way to a solution if they can just manage to do Y.
  • User doesn’t know how to do Y either.
  • User asks for help with Y.
  • Others try to help user with Y, but are confused because Y seems like a strange problem to want to solve.
  • After much interaction and wasted time, it finally becomes clear that the user really wants help with X, and that Y wasn’t even a suitable solution for X.
chattr: a user asks in irc: ‘anybody experienced in enabling posix shared memory in mint 13 ? … I have added the fstab line and mounted … but returns none and tmpfs returns both ?’ This question got me to thinking about the difference between what the mount command outputs and what’s in /etc/fstab. Poking around search results lead me to the kernel source code documentation and the Linux from Scratch book: 7.4. Device and Module Handling on an LFS System [udev] (and maybe 7.5. Creating Custom Symlinks to Devices )
Honkeymagoo: Raspberry Pi Server
I had installed too much crap on my regular server (Owncloud, Elgg, WordPress, Plex etc.) and thought it was time to wipe it and start over. I figured in the mean time I would try and use one of my Raspberry Pis as a file sharing server. I had talked to serveral people about using Owncloud on the Raspberry Pi using Nginx as opposed to Apache so I shut down my server and started this project.
  • started with a minimal Raspbian based distro called MinibianMinibian is basically Raspbian without X and ssh already set up.
  • Next I installed Samba for file sharing (2 quick hints always always always make a back up of your smb.conf file before doing anything. Second pay attention to file permissions. Things like chmod and chown are your friends. Also if anyone can give a good explanation of the difference between chmod and chown I would like to hear it. I know there is a difference I’m just not sure what exactly it is.
  • Next I WAS going to install Owncloud with Nginx but Kwisher told me about a little program called Seafile. Seafile is a web based file sharing program.
  • Some quick thoughts about Seafile. It runs real smooth. Better than Owncloud did on my old server. I don’t like the fact that files that are uploaded to the server are not saved in a way that would make them easily accessible to the server admin. I think they are encrypted on the server side. I want to play with it more because they have a command line client for linux and I want to try syncing files and see if that might solve my problem of not having the files accessible on the server.
  • Next I had heard about a web based email client called Roundcube. I first heard about this program on a podcast called SourceTrunk, a great podcast where the host reviews and tests out open source software (episode 096, released 2014-01-30). I thought I could benefit from a web based email client because I had a desire to run an email client but I am not always able to be at my computer, though I can sometimes get internet access. So I thought this might be fun to try out.
  • Roundcube is in the raspbian repos so I tried just a straight apt-get install roundcube. It stalled out midway through because it saw sqlite. so I had to install the rest by apt-get install mysql. Then I had to download the latest package of roundcube off there site and compile it.
fiftyonefifty: Automatically Launch Applications in Linux
  • Of course, the traditional way is to put it in /etc/rc.local (note, in some distros you might have to make rc.local executable).  But this won’t work for a application that needs to run under X, like a mixer.
  • Most desktops have their own way of autolaunching apps, but if you move between desktops, you may want to configure autostart only once.
  • Find the dot desktop file for the application. (Most applications that appear in you menus will have a .desktop file in /usr/share/applications/. I found kmix.desktop in /usr/share/applications/kde4/).
  • Copy it to ~/.config/autostart/ or /etc/xdg/autostart (depending on the values in $XDG_CONFIG_HOME and $XDG_CONFIG_DIRS).
  • Use chmod to make it executable.
  • Solution: We solved this during the show.  Apparently, there is not good autostart for every desktop, because desktop apps should load after the window manager.  For lxde, autostart is /etc/xdg/lxsession/LXDE/autostart

Episode-003

Play

-FiftyoneFifty talks about how he fixed his display manager issues after a recent Debian Sid dist-upgrade.

-chattr gives an update of his RockBox and some recent troubles. Plus, apt-get or aptitude: in debian, while the advice used to be ‘use aptitude or use apt-get but don’t switch back and forth’ that’s no longer the case: you can use both. apt-get-or-aptitude-pick-the-right-debian-package-manager-for-you. Hertzog is one of the maintainers of dpkg in debian: Packages overview for Raphaël Hertzog which lends his view great weight, imo.

Log files: aptitude writes /var/log/aptitude (yes, no filename extension) and /var/log/dpkg.log and /var/log/apt/term.log and /var/log/apt/history.log

apt-listchanges and apt-listbugs: these are scripts which run after apt-get install or aptitude install downloads the .deb files: apt-listchanges can compare a new version of a package with the one currently installed and show what has been changed, by extracting the relevant entries from the Debian changelog and NEWS files. apt-listbugs lists critical (chattr was mistaken when he said severe, grave and important) bug reports from the Debian Bug Tracking System. It runs after downloading the .deb files to see if an upgrade or installation is known to be unsafe

-Listener feedback gives us a good tip on how to fix clicking wheel troubles for Sansa e260 devices.

http://forums.rockbox.org/index.php?topic=14064.945

http://www.anythingbutipod.com/forum/showthread.php?t=29155

-Honkeymagoo gives us a quick look at fstab and how he mounted a USB drive to his server.

https://wiki.archlinux.org/index.php/fstab