A completely non-technical post to end the year on -- highlighting two albums i'm almost sure nobody reading this has ever heard, but are definately worth the listen.
Lazyboy TV - Lazyboy
Angles - Dan le Sac versus Scroobius Pip
A place for Paul to post random smatterings of code & technical information on the web -- unbiased, unedited and occasionally unmaintained too.
A completely non-technical post to end the year on -- highlighting two albums i'm almost sure nobody reading this has ever heard, but are definately worth the listen.
Lazyboy TV - Lazyboy
Posted by Paul at 1:02 PM 0 comments
Labels: musical tastes, opinions of the funk
note: This article is intended for a technical audience -- you should use caution when modifying a production system -- caveat emptor.
This is more of a collaboration of other people's posts, with some additions of my own for performance-related issues.
Basically, I manage a bunch of WD MyBook Network Drive (World Edition) boxes for various people -- typically, these are hooked up via SMB shares to various types of Linux install for redundant network backups over the LAN.
After various hacks, from mounting as part of a cronjob to modifying /etc/rc.local -- I decided to attempt automatic fstab mounting under the christmas break and figured i'd document my findings here.
First off, to automatically mount the filesystems on the MyBook -- you need to add lines similar to the following to your /etc/fstab file.
//[SMB SHARE]/[sharename] /media/[mountpoint] cifs credentials=/root/.smbcredentials,rw,iocharset=utf8,uid=[username],gid=groupname,file_mode=0664,dir_mode=0775 0 0
username=winuser
password=winpassword
ln -s /etc/init.d/umountnfs.sh /etc/rc0.d/K15umountnfs.sh
ln -s /etc/init.d/umountnfs.sh /etc/rc6.d/K15umountnfs.sh
Posted by Paul at 10:01 PM 0 comments
Labels: community service announcement, linux, samba
Earlier, I was asked if I had any good solutions for scripting a user account generator in bash -- asking the user what they had already, I received:
useradd -n -g users -p [password] -s /bin/false [username]
-p -- The encrypted password, as returned by crypt(3).
#!/bin/bash
clear="[password]"
crypt="openssl passwd -crypt $clear"
success="0"
failure="1"
useradd -n -g users -p $crypt -s /bin/false [username]
exit $?
Posted by Paul at 2:26 AM 0 comments
Labels: linux, openssl, shell programming
Oh, December seems to be rant month.
Some Swinburne University students asked me for a little more clarification on why the proposed Australian Labour Government's filtering idea is a bad one.
I'll be writing my concerns up at length and back-posting them here as they are finished. However, because tomorrow is protest day, i'll post an couple of interesting links you may wish to read:
Posted by Paul at 1:37 AM 0 comments
Labels: censorship, the interschnitzel
I stumbled across this article on Wired a few days ago. US-centric as it is -- but the same drop-outs seem to happen here in Australia, whenever the phone switches from 3G to the older GSM network.
Two bars on 3G on my Nokia E66 or N73 versus 4 bars on the iPhone, less than 3 inches away from each from each other when the phones are idle, yet the Nokia's complete the calls and the iPhones drop out.
Back in August, Optus (SingTel) offered 'Goodwill Credits' to users who suffered woeful network performance following the launch of the iPhone, which they're not doing now -- yet the latest firmware update doesn't seem to make a scrap of difference.
Perhaps that's why I saw a paper-printed advert in my local Optus dealership that said 'iPhones available for pre-paid plans, $799 AUD for 8GB, $899 for 16GB - while stocks last.'
Does anyone else have similar issues with providers here, or is this just another case of 'never buy G1 hardware' coupled with 'if it isn't broken, don't replace it?'
Posted by Paul at 11:54 PM 0 comments
Labels: mobile telephony, opinions of the funk, the interschnitzel
It's not often that politics gets my back up about something that I feel the need to post it here, but while watching Question Time in the Senate last night, the topic of the great firewall of Australia came up -- again.
For International Readers: This isn't exactly new, compulsory ISP-level filtering was tried in closed-quarters in 1999 and 2001 -- however, these were opt-out and focused on guarding against underaged illicit content.
For Local Readers: There's a protest going on in the state capitals for the weekend of the 13th and 14th of December, if you care -- you should be there.
For everyone: The EFA has a very well researched document into why said filtering of this type is a flawed exercise, which you should read.
This time around, there's at least two lists -- one banning underaged illicit content and the other banning 'undesirable content'.
Couple this with the fact both of these lists are privately built, without public consultation -- and the fact -- there's no ability to opt-out.
"Canberra, We may have a problem."
(oh, and the rest of the world is laughing at you, just by the by.)
Anyway...
While Conroy was discussing porn and blocked keyword sites that the ACMA list comprises of during the trial run (beginning on December 24th).
Senator Bernardi said:
I note that the minister failed miserably to answer that question, which was specifically about the number of people needed for a trial to be credible. I also note that in the expression of interest documents the second stream of the trial includes a filtering of other unwanted content. I ask the minister:
Has this unwanted content been identified, and by whom?
The list could contain 10,000 [potential sites].
When you look around the world at Interpol, the FBI, Europol and other law enforcement agencies and you look at the size of the lists that they are actually using at the moment, 1,300 would not be sufficient to cover the URLs that we would have supplied to us with the purpose of blocking.
Posted by Paul at 3:15 PM 0 comments
Labels: censorship, opinions of the funk, politics, the interschnitzel