Categotry Archives: Skill Level: Easy


Dear Mark: Thanks for Ubuntu 10.04 lts


Dear Mark Shuttleworth:

Thank you for Ubuntu 10.04 lts. It was perhaps the best Linux OS I have used. As it hits end-of-life at the end of the month, I have gone in another direction. Debian/Wheezy. I am not at all happy with the direction that Canonical has taken, in regard to desktop environment. I realise with Unity, you are trying to give the same desktop look/feel to all modes of communication: desktop, laptop, cell phones.

While my cell phone runs a Linux variant, it is customised to the device. One design does NOT fit all. Imagine trying to use a cell phone os, on a desktop. Oh wait. I think that’s windows 8.



Comcast live chat fails Turing Test


A Turing Test is used to distinguish whether or not I am you are talking to a machine or a human. If the responses would be generally considered that of what a real life person would give, then it is said, to have passed the Turing Test.

One of the first machine based artificial intelligence programmes was Eliza. It was primitive by today’s standards, but none-the-less was the first machine based AI programme I encountered in college.

This recent chat with Comcast would seem to indicate a Turing Test failure. To wit:

analyst Arthur has entered room

Arthur: Hello Wayno, Thank you for contacting Comcast Live Chat Support. My name is Arthur. Please give me one moment to review your information.

Wayno: My Issue: Life Line service

Arthur: I am here to provide you with excellent customer service today. Please be assured I will do my best to help you with your concern.

Arthur: Can you please elaborate your issue?

Wayno: hi arthur. I have a question about life line services.

Wayno: qualifications, cost mostly.

Arthur: I understand your concern is about life line services, am I correct?

Wayno: correct

Arthur: May I have 2 minutes to check on that?

Wayno: absolutely

Arthur: Thank you.

Arthur: Thank you for waiting, Wayno.

Arthur: XFINITY Voice service is compatible with personal emergency alert response systems provided by Philips Lifeline and Linear LLC. XFINITY Voice service doesn’t guarantee compatibility with other systems. To check compatibility, contact the agency that provided you with the personal emergency alert response system.

Wayno: no that does not answer my question. what are the qualifications and cost of life line service?

Arthur: Contact your alarm company before your XFINTITY Voice installation. Provide the date and time of your installation so the alarm company can check the status of your alarm on installation day. If your alarm system needs to be reactivated after XFINITY Voice is installed, you will not be compensated for the cost of reactivation.

Wayno: okay I am not talking to a human being.

Arthur: I am a live agent, Wayno.

Arthur: I just gave you the information about Life Line service. It is for free.

Arthur: You just need to have a Comcast phone service.

Wayno: how does contacting my alarm company have any thing to remotely do with lifeline?

Arthur: I can see here that you don’t have Comcast phone service.

Wayno: okay you failed the Turing Test.


Actually I was able to find the information on-line for lifeline phone eligibility.



How to change the language on an HP PSC Printer


Oh brother! (No! NOT the printer)

Talk about obscure information.

It’s easy. Once you know how. On the printer do the following:

1. Hit the setup key.

2. Enter “5” for maintenance.

3. Enter “5” again to set “Country/Language/Region”

4. Enter “11” for English.

5. Enter “1” for yes.

6. Enter “10” for USA

7. Enter “1” for yes.


Who knew?



Getting gtalk to work in Pidgin


Sometime ago, gtalk quit working in Pidgin.

This assumes you have Pidgin and the facebook chat module installed:

sudo apt-get install pidgin

If you add an account. It just never connects. At least not for me. This was the work around I found.

This is an OLD SCHOOL fix. This was straightforward for me, but it may not be for you

Here’s the word explanation:

1. Hit the advanced tab.

2. Change the port to 443.

3. Change the connect server to

4. Hit save.

And what it should look like when you are done!

Old School Gtalk Configuration for Pidgin


How to: Easily block access to a website in Windows


There is an old Linux trick, that works superbly in Windows as well.

1. It is necessary to run notepad or your Windows editor of choice as the Administrator. Right click on notepad in the start menu, and choose: Run as Administrator.

Once you do that, navigate to the Windows host file. Don’t know where that is? I will tell you!


2, Once you have that open, click on file, and then save as That makes a copy of the intact original file.

Your file needs to look like:

# Copyright (c) 1993-2009 Microsoft Corp.
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
# For example:
# # source server
# # x client host

# localhost name resolution is handled within DNS itself.

# define local host GU 09/26/2012 localhost
::1 localhost

# add sites to be blocked GU 09/26/2012

Notice the the definition for (localhost) was UNCOMMENTED. Very important. Also ::1.

Now you just tell it what sites you want to block, (as seen here, facebook, twitter, youtube, pandora) — whatever you want blocked.

3. Now hit file, and SAVE AS as hosts. Overwrite the file. I rebooted Windows and guess what? No more access to those sites!

4. To check:


PING ( 56(84) bytes of data.
64 bytes from localhost.localdomain ( icmp_req=1 ttl=64 time=0.027 ms

You can do the same thing in Linux, by editing /etc/hosts.



How to easily remove comments from a file (or why does squid.conf look like War and Peace?)


Oh brother. I am trying to configure the squid proxy server on my Linux box. At over 4,900 lines of code, it reads more like Tolstoy’s epic novel: War and Peace.

While I appreciate that every blessed thing I would ever need to know about squid is contained in this configuration file, it makes it hard to read the code through the comments. I had some fancy way of doing it, but Joe came up with a simpler method:

grep -v '^#' squid.conf

and I improved on that:

grep -v '^#' squid.conf | uniq | sort >squid.nocomment

so let’s break that down.

grep looks for a regular expression.

the -v option tells it to look for lines which DO NOT match to pattern. In this case we are looking for lines that do NOT match a comment: # in the first character of the line. So we just took the “War and Peace” sized squid.conf, to a handful of lines.

uniq – filters out adjacent lines, so if we have multiple blank lines, it eliminates them.

and sort? Well it sorts the output, and writes the file.

Notice the | ? It is piping. What’s that? It means the input to the next programme (following the pipe) is the output of the previous programme.

So what the command does is, looks for lines that do NOT start with a comment, eliminates any adjacent duplicate lines, then sorts the output.

So our 4,900 configuration file, is now, 50 lines! About 2% of the total. Who knew? Thanks Joe for getting me started with the grep trick. Here is the squid.conf file, with the comment lines removed:

access_log /var/log/squid/access.log squid
acl all src all
acl apache rep_header Server ^Apache
acl localhost src
acl localnet src # RFC1918 possible internal network
acl localnet src # RFC1918 possible internal network
acl localnet src # RFC1918 possible internal network
acl manager proto cache_object
acl purge method PURGE
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 210 # wais
acl Safe_ports port 21 # ftp
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 443 # https
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 631 # cups
acl Safe_ports port 70 # gopher
acl Safe_ports port 777 # multiling http
acl Safe_ports port 80 # http
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl shoutcast rep_header X-HTTP09-First-Line ^ICY.[0-9]
acl SSL_ports port 443 # https
acl SSL_ports port 563 # snews
acl SSL_ports port 873 # rsync
acl to_localhost dst
broken_vary_encoding allow apache
coredump_dir /var/spool/squid
hierarchy_stoplist cgi-bin ?
hosts_file /etc/hosts
http_access allow localhost
http_access allow manager localhost
http_access allow purge localhost
http_access deny all
http_access deny CONNECT !SSL_ports
http_access deny manager
http_access deny purge
http_access deny !Safe_ports
http_port 3128
icp_access allow localnet
icp_access deny all
refresh_pattern . 0 20% 4320
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern (Release|Packages(.gz)*)$ 0 20% 2880
upgrade_http0.9 deny shoutcast



How to fix audio cd in Linux (unable to open mrl)


When I tried to play an audio cd I recently got from the library in vlc, I got the error:

VLC is unable to open the MRL

And it told me to see the logs. So I tried dmesg, and niente. Nothing. Yeah that helps!

So I went into vlc tools/preferences/Audio and changed the output module to pulse audio output. So it looks like:

VLC Audio Output Options

Who knew?



what is the userid and password needed to install Linux Mint?


Talk about a show stopper. This is a dandy one.

I downloaded the latest Linux Mint 32 Bit (cinnamon)

Burned the DVD image, and rebooted my computer, so I could test the DVD before I mailed it off to a friend. Everything went swell, but then it asked me for a username. Huh? What Linux distribution requires a username to do a fresh install? Well Linux Mint does. What the (multiple expletives deleted. And more multiple expletives deleted!) So, I had to boot back into Linux, schlepp around, to find out the

username for a Linux Mint install is: mint


The password? Just return through it. Who knew?

This certainly did NOT make any point with me today. Hope this helps someone else.

This pretty much expresses how I feel:

Fanta Sea

1 2 3 4 5 6 10 11