20101213

drool of the day

goosh.org

xscf: accessing console

XSCF>
Display all 150 possibilities? (y or n)

XSCF> showdomainstatus -a
DID Domain Status
00 Running
01 -

XSCF> console -d 00
Connect to DomainID 0?[y|n] :

20101130

view and increase semaphores on "solaris 9"

# sysdef | grep -i s[eh]m

to edit, edit the /etc/system and reboot.

20101121

Failed to retrieve method context for the ... method of instance... Could not interpret ... property.

hint: svcprop

Nov 22 06:41:42 myhost inetd[27129]: [ID 702911 daemon.error] Failed to retrieve method context for the inetd_start method of instance svc:/network/omni/tcp:default: Could not interpret group property.

# svcprop network/omni/tcp | grep group
inetd_start/group astring root

# grep root /etc/group
other::1:root
bin::2:root,daemon
sys::3:root,bin,adm
adm::4:root,daemon
mail::6:root
tty::7:root,adm
lp::8:root,adm
daemon::12:root


root group is missing, so simply append to the 1st line..

root::0:

20101114

iphone error 3014

remove gs.apple.com line in hosts file

20101104

write: you have write permission turned off

root@aidil:~# mesg
is n
root@aidil:~# mesg y
root@aidil:~# mesg
is y

20101012

20100831

HPUX identify the 9th lun

N1# scsimgr lun_map -D /dev/rdisk/disk88 \
| tail | grep Instance
Instance = 83

N1# scsimgr get_attr -C lunpath -I 83 -a lunid \
| grep '#'
current =0x4009000000000000 (LUN # 9, Flat Space Addressing)

N1# ioscan -m dsf /dev/rdisk/disk88
Persistent DSF Legacy DSF(s)
========================================
/dev/rdisk/disk88 /dev/rdsk/c5t1d1
/dev/rdsk/c7t1d1
/dev/rdsk/c9t1d1
/dev/rdsk/c11t1d1
/dev/rdsk/c13t1d1
/dev/rdsk/c15t1d1
/dev/rdsk/c17t1d1
/dev/rdsk/c19t1d1

20100824

Kerajaan jimat RM200 juta guna perisian sumber terbuka

Sent to you via Google Reader

Kerajaan jimat RM200 juta guna perisian sumber terbuka

KEPALA BATAS 23 Ogos – Kerajaan menjimatkan sehingga RM200 juta selepas lebih 95 peratus agensi kerajaan mengaplikasikan perisian sumber terbuka (OSS) sektor awam sejak dilancarkan pada 2004.

20100819

What do you call a Unix guy who loves Microsoft Outlook? :-P

Nornikman Abdul Rahim has just left a comment on your network update:

"Unix guy with no dignity? Wakaka"

20100818

20100813

windows uptime

sometime net statistics server gives weird info:

Statistics since 1/1/1980 12:00:00 AM

use net statistics workstation

20100729

I need a few more brains.

I have a good idea that can benefit from the readability concept and Safari Reader. Now I need extra brains.

20100713

Some alteration to Mike's Sidebar Login code

Mike is a brilliant guy. He developed a WordPress plugin which place a login widget on to the sidebar. I loved it the first time I used it.

Not to disrespect, but I want it to look more compact and clean. So I made some modification to the input text area. It would be nice if the labels are inside the text area and disappear when they are clicked upon.

From to .

Worn Out

It is scary, you're coming to an end baby.
Do not worry, I'll replace with a nuclear energy.

20100712

Customize Time Machine Intervals


Why? You don't want Time Machine to backup your data too frequently that it fills up your backup disk quickly. Unless you are someone who works in a production area or your files moved and altered very frequently in one day.


What happen when your backup disk is full? This is what happened to my mom. It automatically removes the oldest files until the latest backup made it's way safely to the backup disk. You don't want that. The worst thing is, it doesn't ask for your permission. Or make it this way. It doesn't ask a question that can be understand by a non geek user.

When you restore a large files to the current time, Time Machines will do hourly backup in the next hour. This will fill up your backup disk fast. What happen if the large file that you just restore isn't the file that you want? Some people will go back in time and restore another one. And they forget to remove the earlier files.

Time Machine users should know how this thing works before they start using it. Unless they have a super huge disk or unlimited storage, they should aware of their backup disk usage. So if needed, you can customize your backup interval using TimeMachineEditor.


20100513

Linux Ubuntu & Maxis Broadband Huawei E220 or E1762

first install usb-modeswitch

/etc/usb_modeswitch.conf must exists & contain everything below:

DefaultVendor= 0x12d1
;DefaultProduct= 0x1003
DefaultProduct= 0x1446
;DetachStorageOnly=1
;HuaweiMode=1
MessageEndpoint=0x01
MessageContent="55534243000000000000000000000011060000000000000000000000000000"


/etc/udev/rules.d/15-huawei-e1762.rule also must exists with this content:

SUBSYSTEM=="usb", SYSFS{idProduct}=="1446", SYSFS{idVendor}=="12d1", RUN+="/usr/sbin/usb_modeswitch"

finally, run usb_modeswitch

Flash doesn't work in Ubuntu Chromium

sudo apt-get install flashplugin-nonfree

make sure libflashplayer.so sits inside /usr/lib/chromium-browser/plugins/

USB printer greyed out dim on virtualbox windows

make sure you are in vboxusers & lp group

Ubuntu 10.04 Lucid Lynx on HP Mini 5101 Setup


This week I 'ubuntunized' - there goes a new word! - my sister's netbook. She frowned about the viruses. I spilled the offer. Time has come baby!

Since 5101 doesn't come with a disc drive, I've created a Ubuntu bootable USB using Startup Disk Creator which comes pre-installed with 10.04 under System > Administration menu.

Installation and setup wasn't quite a breeze. Now everything is working - broadband modem, webcam, printer, functional buttons and power management. Wireless driver doesn't work right away but Lucid will prompt you to activate the 'proprietary drivers'. If not, just manually find it under Administration > Hardware Drivers menu.

Well I am going to tell you my actual story. There was a few things that didn't work properly or didn't work at all - webcam, Gwibber, broadband - but to my surprise, everything solved after I figure out the keyring issue. But this is just a blind theory.

What is it? Well if you authorized Lucid to remember passwords, keyring is where he stores them.

All started when Gwibber - an app that update social network status simultaneously - did not respond on different Ubuntu account. So I ran it from the terminal and saw an error mentioning keyring daemon.

I also notice something in the Passwords and Encryption Keys under the Application > Accessories menu - "can't communicate with keyring daemon".

So I googled. I discovered that some people edit the Certificate and Key Storage in the Startup Application Preferences. Remove all arguments. Leave it as "gnome-keyring-daemon".

I'm not sure how but it also solved my broadband problem. My webcam suddenly happen to work too. Also worth to mention on the broadband issue if you're experiencing it, once I disconnect the modem, I can never simply reconnect it. I have to reboot with the modem plugged in.

My wild guess is, something to do with keyring & permissions. So if you happen to read this in an attempt to 'ubuntunize' your netbook, go for it! Lucid is awesome!

...but wait. You might want to consider UNE instead of full fledge Ubuntu. Adios :)