Wednesday, March 31, 2010

Healthy backs and laptops

OK. I so I am affected and I concede that I am human after all.

http://www.nhs.uk/Livewell/workplacehealth/Pages/Laptophealth.aspx

Safari crashes with only four tabs

grr!

mplayer crashes on MBP

mplayer http://www.djchus.com/podcast/InStereoRadioshowWeek13_10%20Tropicasa.m4a
MPlayer UNKNOWN-4.2.1 (C) 2000-2009 MPlayer Team
141 audio & 304 video codecs

Playing http://www.djchus.com/podcast/InStereoRadioshowWeek13_10%20Tropicasa.m4a.
Resolving www.djchus.com for AF_INET6...
Couldn't resolve name for AF_INET6: www.djchus.com
Resolving www.djchus.com for AF_INET...
Connecting to server www.djchus.com[87.98.225.53]: 80...
Cache size set to 320 KBytes
Cache fill: 0.00% (0 bytes)
libavformat file format detected.
Resolving www.djchus.com for AF_INET6...
Couldn't resolve name for AF_INET6: www.djchus.com
Resolving www.djchus.com for AF_INET...
Connecting to server www.djchus.com[87.98.225.53]: 80...
Resolving www.djchus.com for AF_INET6...
Couldn't resolve name for AF_INET6: www.djchus.com
Resolving www.djchus.com for AF_INET...
Connecting to server www.djchus.com[87.98.225.53]: 80...
[mjpeg @ 0x1018aa600]error count: 64
[mjpeg @ 0x1018aa600]error y=12 x=41
Resolving www.djchus.com for AF_INET6...
Couldn't resolve name for AF_INET6: www.djchus.com
Resolving www.djchus.com for AF_INET...
Connecting to server www.djchus.com[87.98.225.53]: 80...
Resolving www.djchus.com for AF_INET6...
Couldn't resolve name for AF_INET6: www.djchus.com
Resolving www.djchus.com for AF_INET...
Connecting to server www.djchus.com[87.98.225.53]: 80...
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x102801a00]max_analyze_duration reached
[lavf] Audio stream found, -aid 0
[lavf] Subtitle stream found, -sid 0



MPlayer interrupted by signal 11 in module: enable_cache
- MPlayer crashed by bad usage of CPU/FPU/RAM.
Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug

Centos updates

=======================================================================================================================================
Package Arch Version Repository Size
=======================================================================================================================================
Installing:
kernel i686 2.6.18-164.15.1.el5.centos.plus centosplus 17 M
Updating:
cyrus-sasl i386 2.1.22-5.el5_4.3 updates 1.2 M
cyrus-sasl-lib i386 2.1.22-5.el5_4.3 updates 127 k
cyrus-sasl-md5 i386 2.1.22-5.el5_4.3 updates 46 k
cyrus-sasl-plain i386 2.1.22-5.el5_4.3 updates 27 k
gnutls i386 1.4.1-3.el5_4.8 updates 351 k
kernel-headers i386 2.6.18-164.15.1.el5.centos.plus centosplus 1.0 M
nspr i386 4.8.4-1.el5_4 updates 120 k
nss i386 3.12.6-1.el5.centos updates 1.1 M
nss-tools i386 3.12.6-1.el5.centos updates 1.2 M
openssl i686 0.9.8e-12.el5_4.6 updates 1.4 M
subversion i386 1.6.9-0.1.el5.rf rpmforge 6.5 M
subversion-perl i386 1.6.9-0.1.el5.rf rpmforge 2.3

Tuesday, March 30, 2010

Big software update available for Snow Leopard


Supposed to be 48 bug fixes in this one.

port install watch

watch is one of those GNU tools that I can hardly live without.
watch -d 'df'
Is an example. Let's get this installed on the MBP, (Snow Leopard).
sudo port install watch -d
Password:
---> Computing dependencies for watch
---> Fetching watch
---> Verifying checksum(s) for watch
---> Extracting watch
---> Configuring watch
---> Building watch
---> Staging watch into destroot
---> Installing watch @3.2.8_0
---> Activating watch @3.2.8_0
---> Cleaning watch

Monday, March 29, 2010

The Zen of python

Run this on your machine.

python -c 'import this'
The Zen of Python, by Tim Peters

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!

Awesome python documentation downloads

Yessir!
Grab 'em!

Tuesday, March 23, 2010

fixing a broken mplayer port

sudo port outdated
The following installed ports are outdated:
bash-completion 1.1_5 < 1.1_6
cmake 2.8.0_0 < 2.8.1_0
emacs 23.1_0 < 23.1_1
glib2 2.22.4_1 < 2.22.5_0
mp4v2 1.9.1_1 < 1.9.1_2
python26 2.6.4_0 < 2.6.5_0
taglib 1.6.1_1 < 1.6.1_2
zlib 1.2.4_0 < 1.2.4_1

sudo port upgrade outdated

---> Computing dependencies for bash-completion
---> Fetching bash-completion
---> Verifying checksum(s) for bash-completion
---> Extracting bash-completion
---> Applying patches to bash-completion
---> Configuring bash-completion
---> Building bash-completion
---> Staging bash-completion into destroot
---> Deactivating bash-completion @1.1_5
---> Computing dependencies for bash-completion
---> Installing bash-completion @1.1_6
---> Activating bash-completion @1.1_6

To use bash_completion, add the following lines at the end of your .bash_profile:
if [ -f /opt/local/etc/bash_completion ]; then
. /opt/local/etc/bash_completion
fi

---> Cleaning bash-completion
---> Computing dependencies for zlib
---> Fetching zlib
---> Verifying checksum(s) for zlib
---> Extracting zlib
---> Applying patches to zlib
---> Configuring zlib
---> Building zlib
---> Staging zlib into destroot
---> Deactivating zlib @1.2.4_0
---> Computing dependencies for zlib
---> Installing zlib @1.2.4_1
---> Activating zlib @1.2.4_1
---> Cleaning zlib
---> Computing dependencies for cmake
---> Fetching cmake
---> Attempting to fetch cmake-2.8.1.tar.gz from http://lil.fr.distfiles.macports.org/cmake
---> Verifying checksum(s) for cmake
---> Extracting cmake
---> Applying patches to cmake
---> Configuring cmake
---> Building cmake
---> Staging cmake into destroot
---> Deactivating cmake @2.8.0_0
---> Computing dependencies for cmake
---> Installing cmake @2.8.1_0
---> Activating cmake @2.8.1_0
---> Cleaning cmake
---> Computing dependencies for emacs
---> Fetching emacs
---> Verifying checksum(s) for emacs
---> Extracting emacs
---> Applying patches to emacs
---> Configuring emacs
---> Building emacs
---> Staging emacs into destroot
---> Deactivating emacs @23.1_0
---> Computing dependencies for emacs
---> Installing emacs @23.1_1
---> Activating emacs @23.1_1
---> Cleaning emacs
---> Computing dependencies for glib2
---> Fetching glib2
---> Attempting to fetch glib-2.22.5.tar.bz2 from http://ftp.belnet.be/mirror/ftp.gnome.org/sources/glib/2.22/
---> Verifying checksum(s) for glib2
---> Extracting glib2
---> Applying patches to glib2
---> Configuring glib2
---> Building glib2
---> Staging glib2 into destroot
---> Deactivating glib2 @2.22.4_1+darwin
---> Computing dependencies for glib2
---> Installing glib2 @2.22.5_0+darwin
---> Activating glib2 @2.22.5_0+darwin
---> Cleaning glib2
---> Computing dependencies for mp4v2
---> Fetching mp4v2
---> Verifying checksum(s) for mp4v2
---> Extracting mp4v2
---> Applying patches to mp4v2
---> Configuring mp4v2
---> Building mp4v2
---> Staging mp4v2 into destroot
---> Deactivating mp4v2 @1.9.1_1
---> Computing dependencies for mp4v2
---> Installing mp4v2 @1.9.1_2
---> Activating mp4v2 @1.9.1_2
---> Cleaning mp4v2
---> Computing dependencies for python26
---> Fetching python26
---> Attempting to fetch Python-2.6.5.tar.bz2 from ftp://ftp.python.org/pub/python/2.6.5/
---> Attempting to fetch Python-2.6.5.tar.bz2 from http://www.python.org//ftp/python/2.6.5/
---> Verifying checksum(s) for python26
---> Extracting python26
---> Applying patches to python26
---> Configuring python26
---> Building python26
---> Staging python26 into destroot
---> Deactivating python26 @2.6.4_0+darwin
---> Computing dependencies for python26
---> Installing python26 @2.6.5_0+darwin
---> Activating python26 @2.6.5_0+darwin

To fully complete your installation and make python 2.6 the default, please run:
sudo port install python_select
sudo python_select python26

---> Cleaning python26
---> Computing dependencies for taglib
---> Fetching taglib
---> Verifying checksum(s) for taglib
---> Extracting taglib
---> Configuring taglib
---> Building taglib
---> Staging taglib into destroot
---> Deactivating taglib @1.6.1_1
---> Computing dependencies for taglib
---> Installing taglib @1.6.1_2
---> Activating taglib @1.6.1_2
---> Cleaning taglib


Selecting version "python26" for python
sudo python_select python26

sudo port upgrade outdated bash-completion cmake emacs glib2 mp4v2 python26 taglib zlib

sudo port install mplayer-devel
---> Computing dependencies for mplayer-devel
---> Fetching mplayer-devel
---> Verifying checksum(s) for mplayer-devel
---> Extracting mplayer-devel
---> Applying patches to mplayer-devel
---> Configuring mplayer-devel
---> Building mplayer-devel
---> Staging mplayer-devel into destroot
---> Installing mplayer-devel @29701_3+darwin+macosx
---> Activating mplayer-devel @29701_3+darwin+macosx
---> Cleaning mplayer-devel

Saturday, March 20, 2010

todo:- fix MBP's noisy fan

Grr! It's whirring like crazy. OK, I do have a few apps running but it's very annoying. Time to take action and look at this suggestion http://nofilmschool.com/2009/02/how-to-fix-a-noisy-macbook-pro-fan/

Friday, March 19, 2010

This network sucks

In the Center of Town :-<

ping -c 5 av.com
PING av.com (206.190.60.37): 56 data bytes
64 bytes from 206.190.60.37: icmp_seq=0 ttl=49 time=373.792 ms
64 bytes from 206.190.60.37: icmp_seq=1 ttl=49 time=178.511 ms
64 bytes from 206.190.60.37: icmp_seq=2 ttl=49 time=127.305 ms
64 bytes from 206.190.60.37: icmp_seq=3 ttl=49 time=330.681 ms
64 bytes from 206.190.60.37: icmp_seq=4 ttl=49 time=128.300 ms

--- av.com ping statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 127.305/227.718/373.792/104.237 ms

OpenVZ set up on laptop "freedom"

I've set up OpenVZ on the "server laptop" that I call freedom.

uname -n && sudo vzlist
freedom
CTID NPROC STATUS IP_ADDR HOSTNAME
150 17 running 192.168.1.150 dns1
199 16 running -


I'll now be able to run more virtual servers with much lower overhead on IO and CPU load. Prolly better for a laptop, eh?

Note that when you've installed OpenVZ, one needs to edit /etc/sysctl.conf so that your containers, (virt machines) are ready for the network and can be unleashed to the public.

jayeola@freedom ~ ^_^ sudo sysctl -p
net.ipv4.ip_forward = 1
net.ipv4.conf.default.proxy_arp = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 1
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.shmmax = 4294967295
kernel.shmall = 268435456
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0


Don't need to reboot when you've set the file up, just restart the service vz ;-)

service vz status
OpenVZ is running...


I like to make my logging quite verbose, until I get under the hood, configured stuff and ironed out any wrinkles and glitches that may turn up.

Note how I have specified a default template to use, which will be a CentOS 5 template.
cat /etc/vz/vz.conf

## Global parameters
VIRTUOZZO=yes
LOCKDIR=/vz/lock
DUMPDIR=/vz/dump
VE0CPUUNITS=1000

## Logging parameters
LOGGING=yes
LOGFILE=/var/log/vzctl.log
LOG_LEVEL=9
VERBOSE=9

## Disk quota parameters
DISK_QUOTA=yes
VZFASTBOOT=no

# Disable module loading. If set, vz initscript do not load any modules.
#MODULES_DISABLED=yes

# The name of the device whose IP address will be used as source IP for CT.
# By default automatically assigned.
#VE_ROUTE_SRC_DEV="eth0"

# Controls which interfaces to send ARP requests and modify APR tables on.
NEIGHBOUR_DEVS=detect

## Template parameters
TEMPLATE=/vz/template

## Defaults for containers
VE_ROOT=/vz/root/$VEID
# Disable module loading. If set, vz initscript do not load any modules.
#MODULES_DISABLED=yes

# The name of the device whose IP address will be used as source IP for CT.
# By default automatically assigned.
#VE_ROUTE_SRC_DEV="eth0"

# Controls which interfaces to send ARP requests and modify APR tables on.
NEIGHBOUR_DEVS=detect

## Template parameters
TEMPLATE=/vz/template

## Defaults for containers
VE_ROOT=/vz/root/$VEID
VE_PRIVATE=/vz/private/$VEID
CONFIGFILE="vps.basic"
DEF_OSTEMPLATE="centos-5-i386-default"

## Load vzwdog module
VZWDOG="no"

## IPv4 iptables kernel modules
IPTABLES="ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length"

## Enable IPv6
IPV6="no"

## IPv6 ip6tables kernel modules
IP6TABLES="ip6_tables ip6table_filter ip6table_mangle ip6t_REJECT"

Tuesday, March 16, 2010

Fixed: macport md5sum mismatch for wget

From original post to the macports mailing list:-
port install wget is broken for me on Snow Leopard. here's the tail
end of `sudo port install -d wget` shown below. Anything that I can do
to help myself here?


---> Verifying checksum(s) for wget
DEBUG: Executing org.macports.checksum (wget)
---> Checksumming wget-1.12.tar.gz
Error: Checksum (md5) mismatch for wget-1.12.tar.gz
Portfile checksum: wget-1.12.tar.gz md5 141461b9c04e454dc8933c9d1f2abf83
Distfile checksum: wget-1.12.tar.gz md5 5564057108b14087262d9e5d7561300e
Error: Checksum (sha1) mismatch for wget-1.12.tar.gz
Portfile checksum: wget-1.12.tar.gz sha1
50d4ed2441e67db7aa5061d8a4dde41ee0e94248
Distfile checksum: wget-1.12.tar.gz sha1
50e76811aa248a2e22dfff890c9a4c0e76bb344b
Error: Checksum (rmd160) mismatch for wget-1.12.tar.gz
Portfile checksum: wget-1.12.tar.gz rmd160
232d0aa6fb36731c162d2b7374aa9ab59e671b7d
Distfile checksum: wget-1.12.tar.gz rmd160
3039244639db66fe23084ece7807ac7e10d9c54e
The correct checksum line may be:
checksums md5 5564057108b14087262d9e5d7561300e \
sha1 50e76811aa248a2e22dfff890c9a4c0e76bb344b \
rmd160 3039244639db66fe23084ece7807ac7e10d9c54e
Error: Target org.macports.checksum returned: Unable to verify file checksums
DEBUG: Backtrace: Unable to verify file checksums
while executing
"$procedure $targetname"
Warning: the following items did not execute (for wget):
org.macports.activate org.macports.extract org.macports.checksum
org.macports.patch org.macports.configure org.macports.build
org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.


This suggestion seemed to fix it.
sudo port sync
sudo port clean --all wget
sudo port instal wget


The community over at the macports mailing list respond very quickly and are too patient ;-) Not once did anyone suggest me to RTFM ^_^

Monday, March 15, 2010

installing kismet on OS X Snow Leopard

quick post to remind myself to get this up and running. Easy on Linux and wonder how it's gonna work here
sudo port install kismet
---> Computing dependencies for kismet
---> Fetching kismet
---> Verifying checksum(s) for kismet
---> Extracting kismet
---> Applying patches to kismet
---> Configuring kismet
---> Building kismet
---> Staging kismet into destroot
---> Installing kismet @2010-01-R1_0
Read /opt/local/share/doc/kismet-2010-01-R1/README and edit /opt/local/etc/kismet.conf
In /opt/local/etc/kismet.conf set source=darwin,en1,airport_extreme
and replace your_user_here in suiduser with your username
---> Activating kismet @2010-01-R1_0
---> Cleaning kismet

Thursday, March 11, 2010

Ubuntu's new CEO

http://tinyurl.com/ydjv8te

Thursday, March 4, 2010

installing graphviz for snow leopard

http://www.graphviz.org/Download_macos.php

Wednesday, March 3, 2010

eject CD rom from MBP when stuck?

boot the MBP. whilst it is booting press and hold the trackpad. the CDROM should be spat out. Source is here

yum check-update

Have not used this Dell E6400 for about two days as I've been playing with the aluminium MBP. Those Fedora boys are working HARD!

yum check-update
ModemManager.x86_64 0.3-2.git20100211.fc12 updates
NetworkManager.x86_64 1:0.7.998-2.git20100106.fc12 updates
NetworkManager-glib.x86_64 1:0.7.998-2.git20100106.fc12 updates
NetworkManager-gnome.x86_64 1:0.7.998-2.git20100106.fc12 updates
NetworkManager-pptp.x86_64 1:0.7.997-3.git20100120.fc12 updates
eclipse-cdt.x86_64 1:6.0.1-8.fc12 updates
gdb.x86_64 7.0.1-33.fc12 updates
ghostscript.x86_64 8.71-4.fc12 updates
google-chrome-beta.x86_64 5.0.307.11-39572 google-chrome
gvfs.x86_64 1.4.3-6.fc12 updates
gvfs-archive.x86_64 1.4.3-6.fc12 updates
gvfs-fuse.x86_64 1.4.3-6.fc12 updates
gvfs-gphoto2.x86_64 1.4.3-6.fc12 updates
gvfs-obexftp.x86_64 1.4.3-6.fc12 updates
gvfs-smb.x86_64 1.4.3-6.fc12 updates
kdebase.x86_64 6:4.4.0-5.fc12 updates
kdebase-libs.x86_64 6:4.4.0-5.fc12 updates
kdebase-workspace.x86_64 4.4.0-8.fc12 updates
kdebase-workspace-libs.x86_64 4.4.0-8.fc12 updates
kdm.x86_64 4.4.0-8.fc12 updates
ksysguardd.x86_64 4.4.0-8.fc12 updates
libXrandr.i686 1.3.0-5.fc12 updates
libXrandr.x86_64 1.3.0-5.fc12 updates
libXrandr-devel.x86_64 1.3.0-5.fc12 updates
libselinux.i686 2.0.90-5.fc12 updates
libselinux.x86_64 2.0.90-5.fc12 updates
libselinux-python.x86_64 2.0.90-5.fc12 updates
libselinux-utils.x86_64 2.0.90-5.fc12 updates
libvorbis.i686 1:1.2.3-4.fc12 updates
libvorbis.x86_64 1:1.2.3-4.fc12 updates
mc.x86_64 1:4.7.1-1.fc12 updates
mysql-connector-java.x86_64 1:5.1.12-1.fc12 updates
nmap.x86_64 2:5.21-1.fc12 updates
papyon.noarch 0.4.4-1.fc12 updates
podofo-libs.x86_64 0.7.0-4.fc12 updates
poppler.x86_64 0.12.4-1.fc12 updates
poppler-glib.x86_64 0.12.4-1.fc12 updates
poppler-utils.x86_64 0.12.4-1.fc12 updates
qt.i686 1:4.6.2-3.fc12 updates
qt.x86_64 1:4.6.2-3.fc12 updates
qt-mysql.x86_64 1:4.6.2-3.fc12 updates
qt-sqlite.i686 1:4.6.2-3.fc12 updates
qt-sqlite.x86_64 1:4.6.2-3.fc12 updates
qt-x11.i686 1:4.6.2-3.fc12 updates
qt-x11.x86_64 1:4.6.2-3.fc12 updates
telepathy-haze.x86_64 0.3.1-4.fc12 updates
thunderbird.x86_64 3.0.3-1.fc12 updates
thunderbird-lightning.x86_64 1.0-0.20.20090916hg.fc12 updates
transmission-common.x86_64 1.91-1.fc12 updates
transmission-gtk.x86_64 1.91-1.fc12 updates
tzdata.noarch 2010c-1.fc12 updates
tzdata-java.noarch 2010c-1.fc12 updates
vlgothic-fonts-common.noarch 20100126-1.fc12 updates
xorg-x11-drv-vesa.x86_64 2.3.0-1.fc12 updates
xscreensaver.x86_64 1:5.10-6.1.fc12.1 updates
xscreensaver-base.x86_64 1:5.10-6.1.fc12.1 updates
xscreensaver-extras.x86_64 1:5.10-6.1.fc12.1 updates
xscreensaver-gl-base.x86_64 1:5.10-6.1.fc12.1 updates
xscreensaver-gl-extras.x86_64 1:5.10-6.1.fc12.1 updates
yum-plugin-downloadonly.noarch 1.1.26-1.fc12 updates
yum-plugin-versionlock.noarch 1.1.26-1.fc12 updates
yum-utils.noarch

Tuesday, March 2, 2010

OS X dmesg

I've seen the dmesg so many times from a Linux box that I can almost recite the lines. This is different on OS X.

6 AppleUSBHubPort: Port 1 of Hub at 0x1d000000 about to terminate a busy device (Nokia E71) after waiting 10 seconds
USBF: 9953.233 [0x4bf1900] The IOUSBFamily has successfully enumerated the device.
USBMSC Identifier (non-unique): 352924028889710 0x421 0xaa 0x100
USBF: 9963.336 AppleUSBUHCI[0x4950000]::Found a transaction past the completion deadline on bus 0x1d, timing
out! (Addr: 50, EP: 4)
USBF: 9974.337 AppleUSBUHCI[0x4950000]::Found a transaction past the completion deadline on bus 0x1d, timing
out! (Addr: 50, EP: 4)
USBF: 9985.337 AppleUSBUHCI[0x4950000]::Found a transaction past the completion deadline on bus 0x1d, timing
out! (Addr: 50, EP: 4)
USBF: 9996.338 AppleUSBUHCI[0x4950000]::Found a transaction past the completion deadline on bus 0x1d, timing
out! (Addr: 50, EP: 4)
USBF: 10007.338 AppleUSBUHCI[0x4950000]::Found a transaction past the completion deadline on bus 0x1d, timing
out! (Addr: 50, EP: 4)
USBF: 10013.338 AppleUSBUHCI[0x4950000]::Found a transaction which hasn't moved in 5 seconds on bus 0x1d, tim
ing out! (Addr: 50, EP: 0)
USBF: 10019.339 AppleUSBUHCI[0x4950000]::Found a transaction which hasn't moved in 5 seconds on bus 0x1d, tim
ing out! (Addr: 0, EP: 0)USBF: 10019.442 [0x4bf1900] The IOUSBFamily is having trouble enumerating a USB device that has been plugged
in. It will keep retrying. (Port 1 of hub @ location: 0x1d000000)
USBF: 10029.748 AppleUSBHubPort: Port 1 of Hub at 0x1d000000 about to terminate a busy device (Nokia E71) aft
er waiting 10 seconds
USBF: 10030.234 [0x4bf1900] The IOUSBFamily has successfully enumerated the device.
USBMSC Identifier (non-unique): 352924028889710 0x421 0xaa 0x100
PM notification cancel (pid 13, configd)
PM notification cancel (pid 247, Spotify)
IOPMrootDomain: idle cancel
IOUSBMassStorageClass[0x5d54a00]: The device is still unresponsive after 6 consecutive USB Device Resets; it will be
terminated.
AppleYukon2 - en0 link down
Ethernet [AppleYukon2]: Link up on en0, 1-Gigabit, Full-duplex, No flow-control, Debug [796d,acc0,0de1,0200,c1e1,7800
smb_iod_reconnect: Retrying connection to ACTIVITI1 error = 65
smb_iod_reconnect: Retrying connection to ACTIVITI2 error = 65
smb_iod_reconnect: Retrying connection to ACTIVITI1 error = 65
smb_iod_reconnect: Retrying connection to ACTIVITI2 error = 65
smb_iod_reconnect: Retrying connection to ACTIVITI1 error = 65
smb_iod_reconnect: Retrying connection to ACTIVITI2 error = 65
smb_iod_reconnect: Retrying connection to ACTIVITI1 error = 65
smb_iod_reconnect: Retrying connection to ACTIVITI2 error = 65
smb_iod_reconnect: Retrying connection to ACTIVITI1 error = 65
smb_iod_reconnect: Retrying connection to ACTIVITI2 error = 65
smb_iod_reconnect: Retrying connection to ACTIVITI1 error = 65
smb_iod_reconnect: Retrying connection to ACTIVITI2 error = 65
smb_iod_reconnect: Retrying connection to ACTIVITI1 error = 65
smb_iod_reconnect: Retrying connection to ACTIVITI2 error = 65
USBMSC Identifier (non-unique): 352924028889710 0x421 0xaa 0x100
IOUSBMassStorageClass[0x4ee9e00]: The device is still unresponsive after 6 consecutive USB Device Resets; it will be terminated.
AppleUSBCDCWCM: Version number - 4.0.1
AppleUSBCDCWCM: Version number - 4.0.1
0 3 AppleUSBCDCACMData: start - Find CDC driver for data interface failed
0 5 AppleUSBCDCACMData: start - Find CDC driver for data interface failed
0 7 AppleUSBCDCACMData: start - Find CDC driver for data interface failed
0 9 AppleUSBCDCACMData: start - Find CDC driver for data interface failed
Warning - com.apple.driver.InternalModemSupport declares no kernel dependencies; using com.apple.kernel.6.0.
AppleUSBCDCACMData: Version number - 4.0.1, Input buffers 8, Output buffers 16
AppleUSBCDCACMData: Version number - 4.0.1, Input buffers 8, Output buffers 16
0 f AppleUSBCDCACMData: start - Find CDC driver for data interface failed
USBMSC Identifier (non-unique): 352924028889710 0x421 0xaa 0x100
IOUSBMassStorageClass[0x4e41000]: The device is still unresponsive after 6 consecutive USB Device Resets; it will be terminated.

Monday, March 1, 2010

installing tuntap for OS X via macports

sudo port install tuntaposx
Password:
---> Computing dependencies for tuntaposx
---> Fetching tuntaposx
---> Attempting to fetch tuntap_20090913_src.tar.gz from http://kent.dl.sourceforge.net/tuntaposx
---> Verifying checksum(s) for tuntaposx
---> Extracting tuntaposx
---> Applying patches to tuntaposx
---> Configuring tuntaposx
---> Building tuntaposx
---> Staging tuntaposx into destroot
---> Creating launchd control script
###########################################################
# A startup item has been generated that will aid in
# starting tuntaposx with launchd. It is disabled
# by default. Execute the following command to start it,
# and to cause it to launch at startup:
#
# sudo launchctl load -w /Library/LaunchDaemons/org.macports.tuntaposx.plist
###########################################################
Note: tuntaposx installs files outside the common directory structure.
---> Installing tuntaposx @20090913_1+darwin_10+universal
---> Activating tuntaposx @20090913_1+darwin_10+universal
---> Cleaning tuntaposx

my ~/.gitconfig

This summary is not available. Please click here to view the post.

change hostname of OS X laptop dynamically

here you go. no reboot/restart required. tested and works.

sudo scutil --set ComputerName "newcompname"
sudo scutil --set LocalHostName "newhostname"


original source is here

hello debian, goodbye fedora

jayeola@fire:~$ cat /etc/issue
Debian GNU/Linux 5.0 \n \l