Wednesday, 11 April 2012

Fix for Google+ preventing Iceweasel usage

As a Debian user, you may choose to adopt the distro-managed rebuild of the world's greatest web browser.  But, by doing so, you may not be able to use G+.  Don't worry, the answer is at hand.

Visit the Firefox add-on page for User Agent Switcher:

https://addons.mozilla.org/en-US/firefox/addon/user-agent-switcher/

Install the add-on and restart your browser.

Now, go to Tools > User Agent Switcher > User Agent Switcher > Options...

Add a new User Agent, call it Firefox 11.

Add the following text in the fields:
  • Description: Firefox 11
  • User Agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0
  • App Code Name: Mozilla
  • App Name: Netscape
  • App Version: 5.0 (X11
  • Platform: Linux i686
If you're running an amd64 build, plonk that in the Platform field instead (it'll probably already be populated).

Make sure there is no reference to Iceweasel in the User Agent field.

Make sure this user agent is active, and then browse to Google+.

Have fun! :-)

Debian, my netbook and minimalism

Minimalism & Debian

Less is more, as the saying goes.

While I love using Fedora in my daily work, sometimes when I want to relax I find using an alternative distribution is good therapy.  Fedora is fabulous with its GNOME Shell finery, but occasionally I hanker for something simpler and more lightweight.  It's also good to see how the other half lives :-)

So, I decided to put Debian on my netbook.  With no GUI.  Everything I do on it must be by the command line, including web research.  Compared to Fedora, Debian's system requirements are practically non-existent, which is especially good if you want your system to still run nice and quick.

First steps...

  1. Firstly, I had of course to grab the distribution.  I'm not over-fussed about running cutting edge stuff on this machine.  For me, the most important thing is a low-maintenance base where I don' t need to think much about the distribution changing every 6 months.

    I visited the Debian Mirror List and grabbed a NetInst CD image.
  2. Next off, I plugged in the USB CD/DVD drive and installed the software, making sure I didn't overwrite my XP partition.  Well, you need a reminder every so often how awful life used to be.. ;-)
  3. I won't go into the installation process here - there's plenty of documentation elsewhere which covers that.  So, once installed, I really wanted to keep the installed software as trim as possible.  That is, with one or two exceptions...
     
    1. Firstly, I have tried and tried it again but I just can't/don't/won't do vi, vim or anything similar.  It's just not my bag.  It's emacs for me.  I also want to keep my mail inside emacs, so it's goodbye to mutt - even if it does suck less, apparently ;-)
    2. Also, Exim4.  The servers I manage don't use it (generally it's Postfix or QMail) and I already have a tiny smattering of Sendmail knowledge - so I have no desire to pick up on this.  I'm sure it's a fine MTA and undoubtedly there are many technical reasons why I should keep it on my netbook... but even so, no thanks.

      Therefore, my software changes are:

      $ sudo aptitude remove exim4 exim4-base exim4-config exim4-daemon-light vi mutt

      $ sudo aptitude install emacs w3m-el sendmail
  4. So far so good.  However, I was still stuck with a chunky 80x25 character screen when booting up, which is real ugly.  Through much searching and grub configuration editing, I found that my answer was actually to install the intel video package.

    $ sudo aptitude install xserver-xorg-video-intel

    You're on to a winner here, because Debian Squeeze is already set up for Kernel Mode Setting.  In other words, as soon as your system starts booting up, the video drivers get loaded and the optimal video mode is enabled (or, at least, that's the intention).

    Whether or not it's worth specifying screenmode in grub is open for debate.  FWIW, I put this in /etc/default/grub:

    GRUB_GFXMODE=1024x600
    GRUB_GFXPAYLOAD=1024x600x16


    ... And in /etc/grub.d/40_custom:

    set gfxpayload=1024x600x16

    Then, I simply updated grub with the new config:

    $ sudo update-grub

    Please note that this step relates to my Intel-based netbook.  Yours may vary.
  5. The only significant piece of the puzzle remaining was to get wireless sorted out and connect to my server:

    $ sudo aptitude install wireless-tools iw wpasupplicant autofs nfs-common

    ** PLEASE NOTE: this step assumes your wireless network device doesn't require firmware or that you already have the firmware installed in /lib/firmware. **

    Once done, you need to uncomment the /net line in /etc/auto.master and restart autofs:

    $ service restart autofs

    If you want to refer to server by hostname and are not running a DNS server, add the hostname to /etc/hosts (somewhere below the localhost lines):

    111.222.333.444      myserver.mydomain.com  myserver

    At this point, assuming all went well, you can cd to /net/ in either the shell or a file manager such as nautilus (if running a GUI).

    So, this takes care of a basic local network configuration, but we still need to actually get connected to it on wifi.  So, there is, in my /etc/network/interfaces:

    # The loopback network interface
    auto lo
    iface lo inet loopback

    # The primary network interface
    allow-hotplug eth0
    iface eth0 inet dhcp

    # Wireless
    auto wlan0
    iface wlan_mynet inet dhcp
    wpa_ssid my-network-ssid
    wpa-psk  my-network-key


    Once done, save this file and change the permissions for extra security:

    $ sudo chmod 0600 /etc/network/interfaces

    - and connect up, like this:

    $ sudo ifup wlan0=wlan_mynet

Voila!  With luck, maybe a little patience, and possibly an extra step or two (which you can hopefully figure out, if needed) these are the key set up steps which will make your netbook/laptop nice and lean, and perhaps more fun to play with.

Next time, I'll go through a few tools I use for 'net stuff.

Thursday, 15 March 2012

Totally OT: Internet Radio that likes my speakers

So, from time to time (read: most of the time) when I'm working I listen to music.  More often than not, it's electronic in one form or another.

The point of this post is simply to list a few stations I like listening to, to build up my collection.  If it grows over time, I'll probably divide into genres or something.

Here's a few to get started with.


Radio Schizoid : http://78.46.73.237:8000/schizoid

PsyRadio.fm : http://streamer.psyradio.org:8010/

Chromanova : http://85.25.86.69:8000/

Digitally Imported Goa-Psy Trance : http://scfire-dtc-aa06.stream.aol.com:80/stream/1008

After Hours - Trance : http://fr3.ah.fm:9000

PsyMusic UK : http://www.psymusic.co.uk:8010/

Bassdrive : http://shouthostdirect12.streams.bassdrive.com:8200

Thursday, 1 March 2012

Google's new responsibility towards privacy?

Google is undoubtedly suffering from some adverse PR in respect of its new privacy policy.  While it may have considered itself on to a PR "winner" with its "privacy made simple" approach, there has been considerable backlash in opinion and re-consideration of the use of its services.

So, what could Google do to demonstrate that it still takes on-line security seriously?

How about setting up its own Certificate Authority, and issuing free SSL certificates?

Google has the infrastructure, manpower and, I'd argue, interest in doing such a thing.  In fact, in many ways, it already offers the flesh around this missing skeleton.

Perhaps it could support the CACert effort with funding and enough energy to get it through the audits required to have their root certificate included in Mozilla's Firefox, as-shipped?  And, while Google are at it (restoring their image of benevolence, that is), they could include that root certificate in Chrome too.

Just saying...

Thursday, 9 February 2012

Jeri Ryan demonstrates the future of social networking

Strong headline maybe, but if you're not on Google+ then you might consider your stance after reading this.

Jeri Ryan, best known as borg escapee "Seven of Nine" in Star Trek:Voyager, hosted a Hangout today on Google+, in celebration of having over 1 million fans subscribing to her feed.

Someone lucky enough to participate
in Jeri Ryan's hangout!
There was a lot of buzz around it, with hundreds of comments flying around under the Hangout post, updating in real time.  It was pretty hard to get a video stream from Google, such were the number of simultaneous subscriptions.

In many ways, this reminded me of the excitement of the early internet, where we learned about things such as bandwidth... The kids today, they have everything!

Still, the excitement wasn't only in the new broadcast/interaction (intercast?!) method through G+ hangouts, it was the realisation that, should they choose, celebs can now use a nice, safe way of engaging with their fan base.  Directly.  Over time, this may disarm broadcast controllers and empower people, be they celebrities or fans, into collaboration through constructive, enriching dialogue.

Wil Wheaton, self-confessed geek and well-known actor likewise, was notably impressed with hangouts.  It was refreshing to see people observing great netiquette while chatting with Jeri.  How much more enjoyable, this, than suffering typically mundane updates as you might in another social networking system.

As Google measures and expands upon functionality in G+, I hope they'll see fit to bring more interactive tools to the table.  I get the feeling that hangouts are just the start of the next revolution.  As Android gathers increasing momentum and Google+ apps appear on both major mobile platforms, we could see real-time social networking emerge as the number one communication method.

People, known and unknown to each other, will communicate, partly in mimicry, utilising all tools at their disposal.  And, with open source platforms gathering adoption, they will inevitably add both their biological and technological distinctiveness to our own. 

Resistance, my friends, is futile.

UPDATE - here's the recording: