Category Archives: Podcast

Episode-014

Play

Ep-014Honkeymagoo

Reusing old hardware as either limited or single purpose devices

Gateway solo 5300 (700 MHz pentium III)
Tiny Core Linux http://distro.ibiblio.org/tinycorelinux/welcome.html
• Abiword http://www.abisource.com/
• Gnumeric http://www.gnumeric.org/

Macpup http://macpup.org/
• Gimp (2.7.1)
• Openoffice (3.4)
• Python (2.7.2)
• Mumble (1.2.3)

FiftyOneFifty

Netflix on Linux and ChromeCast Fail

Netlix on Linux (probably failed cause I’m running Debian Stable)

• I couldn’t get the Chromecast app on my phone, probably due to space taken up by the Dalvik cache, so I tried installing Netflix to my CrunchBang laptop
• It should be noted all the instructions say you need Ubuntu 14.04
• Install Google Chrome Beta or Developer version (link for 32bit Beta) https://www.google.com/chrome/browser/?platform=linux&extra=betachannel
• Upgrade libnss3 to the version from 14.10 OMGUbuntu article links to an archive with the three files, you can extract the .debs and run sudo dpkg -i libnss3*
• Alternatively, there is a WebUpt8 aticle with a ppa http://www.webupd8.org/2014/08/how-to-enable-html5-playback-for.html
• Now you need to install the User Agent Switcher extension for Chrome https://chrome.google.com/webstore/detail/user-agent-switcher-for-c/djflhoibgkdhkhhcedjiklpkjnoahfmg. You are going to use it to tell the Netflix site that you are running Firefox on Windows
• Right click on the icon wearing a mask and select “Options”
• Add a new agent and enter the following values into the fields Name: Netflix Linux String: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2114.2 Safari/537.36 Group: (is filled in automatically) Append?: Select ‘Replace’ Flag: IE **Note: OMGubuntu thanks Mat Enders for providing the correct field entries**
• If you don’t want to have to click the User Agent Switcher icon, select Chrome, then Netflix Linux every time you visit Netflix.com, then right click the icon, go to Options, and add Netflix.com to the Permanent Spoof List.
• If you want to send videoes to your Chromecast, you will also need the Google Cast extension
• Unfortunately, I get the following error when I try to view a video, Chrome asks me to visit chrome://components, locate the WidevineCdm and click “check for updates”. I have no such component, and while a handfull of others have posted about this problem, I can’t fing anything about installing WidevineCdm
Links: http://www.omgubuntu.co.uk/2014/08/netflix-linux-html5-support-plugins

Setting up Chromecast from a Linux laptop

• When you change the source on your TV to the ChromeCast, you are instructed to visit google.com/chromecast/setup. If you do so with any browser but Chrome, you will be asked to install Chrome
• Following the instructions for setup via a laptop, you are givena link to download chromecastinstaller.exe
• I tried running the installer in WINE, but got a “No Internet Connection” error
• I tried running the installer on an XP machine with a WiFi card, and got the enegmatic “Error Number 1”
• I found postings saying the Chromecast gets confused if there are both 2.4 and 5Ghz wifi signals present, so I disabled the unused 5Ghz on my Netgear repeater.
• It’s possible the Chromecast is confused by two 2.4Ghz signals (the original uplink and the repeater). The articles I found reminded me I should be seeing my SSID on the bottom right of my TV screen.
• Googling Chromecast setup Linux, I ran accross an article (http://www.libregeek.org/2013/12/12/how-to-setting-up-googles-chromecast-under-linux/) that told me I might be able to set up the Chromecast by using the method for Chromebooks (after all, ChromeOS hardly runs .exe’s)
• Right click the Google Cast button and select Options, then add the device. Again, I got “No Google Device Found”.

Episode-013

Play

Ep-013Kwisher

Simple Samba server

Following how-to was done on Ubuntu Server & Xubuntu 14.04
1) Install samba – [ sudo apt-get install samba ]
2) make a backup copy of default smb.conf – [ sudo mv (or cp) /etc/samba/smb.conf /etc/samba/smb.conforig ]
3) add all linux user accounts that will be accessing server – [ sudo useradd ‘username’ ]
4) create all linux user passwords – [ sudo passwd ‘username’ ] – you will have to enter the user’s password twice
5) create Samba user accounts & passwords – [ smbpasswd -a ‘username’ ] – this will prompt for the Samba password also
6) create new samba.conf file – [ sudo nano /etc/samba/smb.conf ]

Basic smb.conf file to get you going with one share

[global]
workgroup = home
server string = garage
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
preferred master = Yes
hosts allow = 10.1.
dns proxy = no
security = user
username map = /etc/samba/smbusers
encrypt passwords = true
guest ok = no
guest account = nobody

[sharename]
path = /pathtosharedfolder
writeable = yes
valid users = user1,user2,user3,user4 – you can also use groups with ‘ @groupname ‘
read list = user3,user4
write list = user1,user2

7) restart samba dameon for any changes to take effect – [ sudo service smbd start/stop/restart ]
8) Samba share file permissions, I use [ sudo chown myusername:group -R /pathtoshare
9) I place all Samba users in the ‘ Users ‘ group, including my account

Honkeymagoo

How to watch Netflix in Linux: https://plus.google.com/u/0/104912707432334684242/posts/1gnbmo63xVa (origanlly shared by Nathan VanCamp on G+)• Google Chrome 37 or higher: https://www.google.com/chrome/browser/beta.html
• User-agent switcher for Chrome plugin: https://chrome.google.com/webstore/detail/user-agent-switcher-for-c/djflhoibgkdhkhhcedjiklpkjnoahfmg
• add a new user-agent string: ( Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2049.0 Safari/537.36 )
• Then navigate to Netflix.com and watch movies

If you have any troubles getting it to work for you check out the link to the original G+ posting some distros are missing a key componet
• libnss3
• libnss3-1d

Episode-010

Play

Ep-010Kwisher

Thanks to flipsidecration & jlinday from IRC for the help with this command.

rsync command to save a users data files from Windows Vista or 7 while booted from a live Linux environment

rsync -v -a -z –delete -h -i –progress –stats –exclude-from=[FILENAME] [/source] [/destination]

I created a text file listing all the folders in the users “home” folder using:
ls -la [source path] > [destination path/foo]

excludes sample file for Windows 7 (should work for Vista also)
http://kwisher.dyndns-at-home.com/owncloud/public.php?service=files&t=bf80aebe1a9da179fb813968abf63f22

Refernces:
http://en.wikipedia.org/wiki/Rsync
rsync man page

Openspeak server address change:
ch1.teamspeak.cc

5150

New podcast: Blue Drava with Stephen Ward “A rambling Brit talks tech, gaming and fatherhood with some Free Culture thrown in for good measure.” http://podcast.bluedrava.com/

In Arch, you can use “pacman -Syyuu” to rollback packages that create dependancy incompatibilities. While doing additional research, I found this great Arch Wiki article that explains to origins of the Arch repositories. https://wiki.archlinux.org/index.php/official_repositories

Distrowatch.com has gone to Distrowatch.org

Fatherfinch

Vim resources

Vim.org Wiki http://vim.wikia.com/wiki/Vim_Tips_Wiki

Stack Exchange Vim tagged posts http://stackoverflow.com/questions/tagged/vim

Episode-008

Play

Ep-0085150

Report on OggcastPlanet Live 2014 – https://plus.google.com/u/0/events/c2go4gtul5cc7rqr16cecrkf0hg?authkey=CPjH0ZW63ZKREA www.knoebels.com

fatherfinch

PuTTY from within LinuxThe PuTTY client is a well known xterm client that was designed to work inside of Windows to connect to Unix-Like systems. Did you know that the client is available in a number of Linux distributions as well? Here are some of my uses and thoughts on this tool.

Putty Homepage – http://www.chiark.greenend.org.uk/~sgtatham/putty/

One-liner to call up a group of putty sessions based on ip address range.

In this script we are opening a single connection on the default port of 23 to each host in the range of $i. As soon as the the first session is killed the next one will start as it iterates through the list. This script will also change the background color to blue and the foreground color to white. To adapt this to your use you will need to adjust the first 3 octets of the network address to the networks you are trying to reach. The range of $i represents the hosts 192.168.100.200 through .225.

for i int $(200…225); do putty -telnet -fg white -bg blue “192.168.100.$i”; done

One-liner to call up a group of putty sessions based on tcp port range.

In this script we are opening telnet sessions on port 2034, 2035, 2036, 2037, 2038 through the terminal server foo.bar. These sessions will run as background processes, so each putty instance will be displayed at the same time.

for i in $(2034…2038); do putty -telnet -P “$i” “foo.bar”& done

Kwisher

glabels – http://glabels.sourceforge.net/
Find duplicate files – http://tinyurl.com/p3uw8c4

Episode-007

Play

Ep-007Honkeymagoo talks about using a Pi as an automobile PC

First step on this journey: GPS

Hardware:• Raspberry Pi
• 7 in touch screen monitor (brand is unknown bought it cheap off amazon about 5 years ago)
• Battery “EZO Power” http://www.ezopower.com/ProductPageDetail.aspx?ProductID=14
• mini keyboard with touch pad “Gear Head kb3700tp” http://www.pcgearhead.com/keyboards.php
• USB GPS puck “usglobalsat bu-353” http://www.usglobalsat.com/p-62-bu-353-w.aspx#images/product/large/62.jpg

Software:• Raspbian http://www.raspbian.org/
• Navit http://www.navit-project.org/

http://www.raspberrypi.org/forums/viewtopic.php?f=41&t=57978http://www.usglobalsat.com/forum/index.php?topic=1187.0

Kwisher

fail2ban – authentication failure monitor

References:
Official Wiki – http://www.fail2ban.org/wiki/index.php/Main_Page
Good How-To – http://www.pontikis.net/blog/fail2ban-install-config-debian-wheezy

sSMTP – Sending Email From Your System with sSMTP

References:
Debian Package Page – https://packages.debian.org/stable/mail/ssmtp
Good How-To – http://tombuntu.com/index.php/2008/10/21/sending-email-from-your-system-with-ssmtp/
Arch Wiki – https://wiki.archlinux.org/index.php/SSMTP

5150

Betty – a “Siri” like command line utility
• Usage examples and installation instructions at http://www.webupd8.org/2014/05/betty-is-like-siri-or-google-now-for.html

Problems:
error1: Failed to fetch http://http.debian.net/debian/pool/main/r/rubygems-integration/rubygems-integration_1.6_all.deb
• Thanks to http://kevinlocke.name/bits/2012/12/06/debian-ruby-gems/ I found a solution
• apt-get install rubygems-integration
error2: Kept getting file notfund errors
• If I CD’d into ~/betty , I could make it work with ruby main.rb +arguements, so it was a path error.
• Tried in ~/.bashrc, replacing alias betty=\”~/betty/main.rb\” with alias betty=\”ruby\ ~/betty/main.rb\”
• What worked, chmod +x ~/betty/main.rb , then in .bashrc use the full path to main.rb

Configuration
• <install dir>/lib/config.rb

Broam joins us to discuss the creation of the Downright tune we use for our into & outro.

Episode-006

Play

Ep-006Honkeymagoo talks about Shred, MakuluLinux & users and groups

Shred “when you absoluytely have to kill everything on your hard drive.” This program will overwrite a hdd or partition with all 1’s so that all data is unreadable
http://linux.about.com/library/cmd/blcmdl1_shred.htm
• as root shred -n 2 -z -v /dev/sda
• the -n defines how many times you want it to write to the hdd. The default is 25.
• -z is to do one last overwite with zeros.
• -v is for verbose and shows progress.

MakuluLinux: http://www.makululinux.com/
• MakuluLinux is a Debian-based distribution providing a sleek, smooth and stable user experience on any computer. It includes pre-installed multimedia codecs, device drivers and software for everyday use. (I figured this would save me the time of doing all the work myself)
• You can download it in Xfce, Kde, Mate, Enlightenment
• I downloaded the Enlightenment version. It came preloaded with many themes, wallpapers, start up graphics, etc.
• the best part is the Sources.list file. its pulling from:
• Debian Testing
• Debian multimedia
• Linux mint Debain main
• Solydxk main upstream (an unoffical LMDE variant)
• Then ones for Opera, Google Chrome, Google Earth, Google Talk, Google Music, and Skype

users and groups:
• Makulu is nice but it comes with a pre setup user “makulu” and password for both user and root “makulu”. This of course is no good so I had to create a new user, give it sudo permission. Change the root password. Then I when I logged into e17 I found out that the created user could not shut down the system in e17. I had to log out then shut the system down from the login screen. So I had to create a group called “power add”, give the group permission in the /etc/enlightenment/sysactions.conf to halt, reboot, hibernate, and suspend.
• to add a user, as root type: adduser username
• to give a user sudo access it is simplle just as root or with root permission type: adduser username sudo (of course this assumes that you already have sudo installed or setup on your system)
• now to change the root password is very easy just type in: su root to switch to the root user than type in passwd and then enter in your new root password
• now I can’t say for other DE but in e17 a default new user does not have permission to do things in elightenment like shutdown or reboot the system. So this is what I had to do http://wiki.bodhilinux.com/doku.php?id=user_-_shutdown_privileges
• first as root or with sudo create a new group called power by typing: groupadd power
• then just like when you added a user to the group sudo what you want to do is add your new user to the group power by typing (once again make sure you have root permission): adduser username power
• Then using your favorite text editor edit the /etc/enlightenment/sysactions.conf file like this:
sudo nano /etc/enlightenment/sysactions.conf
• then go down to the part of the file that says group: plugdev allow: * add to the next line group: power allow: halt reboot suspend hibernate
• then reset the machine and log in as username and you will now be able to shutdown reboot etc
• Finnaly now that you have your new user added with sudo and power permission and the default root password has been changed it is time to clean up and kill the old default user.
• with root permission type userdel -r username this will delete the user and the users home directory

FiftyOneFifty discusses the IRC bots Phenny & Madcow

• Phenny (by Sean B. Palmer, who has now moved on to saxo, ) is the template for most, if not all, Python based IRC bots
Download and extract http://inamidst.com/phenny/phenny.tar.bz2, run downloaddir/phenny
• Edit ~/.phenny/default.py
• edit nick =, You will need an unque nick, not registered to anyonre else
• host = ‘server’ ie irc.freenode.net
• channels = [‘#channelname’, ‘#otherchannelname’]
• owner = ‘yournick’
• password = ‘yourIRCpwd’
• admins = [‘yournick’,’friendsnick’]
• launch bot with ~/phenny/phenny
• set cronjob to reload phenny on reboot of local server
• We tried phenny on my server for a while, but it proved unreliable on rejoin after netsplits (we set up the IRC during a period of frequent DDoS against Freenode)
• We tried MadCow, but it was unreliable delivering messages — Botname tell user <message>

Kwisher talks about the IRC bot Jenni

Jenni IRC Bothttps://github.com/myano/jenni – provided by Michael Yanovich
Jenni Wikihttps://github.com/myano/jenni/wiki

Installation:
• download & extract zip file from jenni Github – I chose to do this in my /home, not recommended to run as root
• cd to the jenni-master folder and view the file README.md
• run the script file with ./jenni
• edit the main config file – ~/.jenni/default.py
• to start jenni run ~/jenni-master/jenni
• LugB0t is running on a Raspberry Pi

Automation:
• Tony Beemus provided a script that will start the bot at boot and check that it stays connected after a netsplit
• Delwin wrote us a python module to display the next show recording – type .ns in the irc chat input