Listen to 'On The Telephone' by Robin Crosbie
http://bln.kr/YWQ/Tuesday 25 January 2011
Thursday 12 August 2010
link specific facebook link
problem: went on a posting spree, wanted to promote a particular post. how do you do this?
what im not doing: using any 3rd party services, or searching through the notifications, it might not even be there if no-ones posted.
ok, so first i found a post by someone that had enough comments to get its own page. this was the post (link takes you to)
http://www.facebook.com/LimmyDotCom?v=wall&story_fbid=119754138073776#!/LimmyDotCom?v=wall&story_fbid=119754138073776
but, if you copy and paste this it reduces to
http://www.facebook.com/LimmyDotCom?v=wall&story_fbid=119754138073776
but, where to find the story_fbid? well, if you go to your own profile and right click the 'remove' post, and copy the link address. example here
http://www.facebook.com/ajax/minifeed/remove_confirm.php?story_id=div_story_990355814_142328365798594&profile_id=100000228722293&story_key=5504271594602596862&story_type=22&app_link=%3Ca+href%3D%22http%3A%2F%2Fapps.facebook.com%2Fpingdotfm%2F%22%3EPing.fm%3C%2Fa%3E&handler=prof
story_id, from the 3rd underscore is the story_fbid. so, the url (using my own username would be)
http://www.facebook.com/thefamousnomo?v=wall&story_fbid=142328365798594
job done!
Tuesday 1 June 2010
clearos5.1 migration, cont
problem: continuing migration
what im not doing: worrying
as a domian with clearos as pdc is would be considered a big upgrade, and the charge is to get this network back to production im sticking with wins the now. there is loads via google about your smb.conf and entries to make it wins server, but im going with the web admin panel for this one. so, enabling wins adds the following to /etc/samba/smb.conf
# WINS
wins support = Yes
wins server =
this isnt quite right yet, as one of the workstations doesnt always show up in 'net view'. may have to revisit and experiment as i suspect the server and workstation are battling for browse master status. also, added this to /etc/nsswitch.conf to enable wins resolution for the server, just to keep remote admin a wee bit easier until i migrate to full domain
hosts: wins files dns
:D
Wednesday 19 May 2010
clearos5.1 migration, cont
problem: continuing migration
what im not doing: worrying
ran into some issues with fetchmail. to save time i copied the config file (/etc/fetchmail) from the old clarkconnect4.2 server and ran into problems straight away. seems the new server wants pop usernames, password and local usernames in quotes now! fixed file, but got the following error
client/server protocol error while fetching from blah-blah-blah
not much help! so, ssh'd in and ran the following
service fetchmail stop
fetchmail -v -f /etc/fetchmail -L ~/fetch
which is running fetchmail verbosely with the config file outputting to log in my home called fetch. i was able to note the following error
opportunistic upgrade to TLS failed, trying to continue.
obviously, not able to continue. to i googled around and found a few fixes that never worked. i then modified one of the fixes found by adding the following to the end of each account entry in the config file
sslproto ""
and all is well again!
Thursday 13 May 2010
clearos5.1 migration, cont
problem: continuing migration
what im not doing: worrying
although the web interface allows the sharing of users homes, it doesnt allow for a public shared folder as clarkconnect4.2 did... as i was used to this i copied the relevant section of the old smb.conf (/etc/samba/smb.conf) and appended it to the new servers config file. this also features a wee addendum for sharing the servers dvd drive as the small form factor client machines in the office are cd-rom only.
[shared]
comment = Public shared folder
path = /home/shared
browseable = yes
guest only = yes
writeable = yes
public = yes
[dvd]
comment = DVD
path = /mnt/hdd
writeable = no
locking = no
then the usual
service smb restart
at the moment im still having to manually mount dvds after insertion, but will get around to autofs or similar.
Tuesday 27 April 2010
clearos5.1 migration, cont
problem: continuing migration
what im not doing: giving in
now that i had a bootable system i selected all required packages from the web interface. after a while, all the expected options were available and we were getting somewhere! while scanning through all the new options i found that the mail-antispam page was blank... a bit of googling returned that this is a bit of a bug (undocumented) that arises if the package is installed post-os-install. seems that
Postgrey.class.php
is missing. found the following fix
wget http://download1.clearfoundation.com/clearos/enterprise/5.1/System/RPMS/app-greylisting-5.1-20.i386.rpm
rpm -Uvh app-greylisting-5.1-20.i386.rpm
but this is where i met an old problem. for some reason our router resolves some internet addresses to
1.0.0.0
and i have had limited success when removing ipv6 on the host. as a deb head, this is done by appending
install ipv6 /bin/true (always returns 0)
to
/etc/modprobe.conf
then updating / adding
NETWORKING_IPV6=no
IPV6INIT=no
to
/etc/sysconfig/network
then
service network restart
rmmod ipv6
(didnt work, had to reboot)
but, alas... problem remained. so, changed the dns address in
/etc/resolv
service network restart
to an open dns address, and all went well. mail-antispam was all good. however, i recalled with clarkconnect4.2 when the host dns address didnt match the auto-supplied router dns address for pptpd (still stuck on wins, no local dns), although remote connection was fine, it caused an issue with routing and the remote lan wasnt available from the remote host. so, some remote testing was next.
remote tests proved fine, must have been an issue with clarkconnect4.2!
now to setting the server up for production...
Subscribe to:
Posts (Atom)