8.06.2014

find number of lun paths for emc devices hpux 11.31

here's one way to find the count or total lun paths for each emc device on hpux 11.31 without powerpath.  all it requires is emc solutions enabler or you might be able to adopt this to syminq as well

/usr/symcli/bin/sympd list | grep -i rdisk | awk '{print $1,$2,$3}' | while read dev sym saport
do
echo lun: $sym  sa-port: $saport  dev: $dev
scsimgr get_info -D $dev | grep -i "LUN path" | grep -E 'LUN path count|Active|Standby|Failed'
echo;echo
done | mailx -r example@example.com -s "`hostname` - Lun Path counts for each device"  me@example.com

6.11.2014

fix CDE / XDM after upgrades

fix XDM (XDMCP query)

to fix change the DESKTOP variable to CDE otherwise dtlogin will not start
ch_rc -l -p DESKTOP
ch_rc -a -p DESKTOP=CDE


Also to get the dtlogin process to listen for incoming XDM connections
you need to comment out the Dtlogin.requestPort line (see the comments
in the Xconfig file)

vi /etc/dt/config/Xconfig
#Dtlogin.requestPort: 0

then start it:
/sbin/init.d/dtlogin.rc start

5.24.2014

copy depot software to single depot file

swpackage -s /path/to/depot -x target_type=tape -d
/tmp/singledepotfile.depot bundle_or_product_name

Where:

-s = source directory path (on depot server)

-d =output file

bundle_or_product_name = bundle / product / patch / depot being
retrieved from the source

4.16.2014

cool way to send sms messages from command line

http://dan.rossiters.org/sms-on-command-line/

seriously cool way to send text messages via command line, a perl script

getting clipboard sync to work across both chromeOS and crouton

http://jeanlouisnguyen.blogspot.com/2014/01/guide-how-to-install-elementary-os-on.html

see the part about installing the chrome extension. I can't find it
by using anything other than the direct link. searching the chrome
web store doesn't turn it up.

direct link:
https://chrome.google.com/webstore/detail/crouton-integration/gcpneefbbnfalgjniomfjknbcgkbijom

3.27.2014

script itanium ILO

to change a large number of itanium ILOs - you will have to create an
"expect" script to power this. You can send ssh command to the ILO
like this:
ssh Admin@iloname.company.com uc -change Admin -password [NEW PASSWORD] -nc

but unfortunately you are still prompted for the ILO password every
connection. Therefore to get this really scripted you need to use
expect.


The cpqlocfg utility only works on the proliant ILOs. I didn't think
there was a difference between the Proliant ILO and Integrity ILOs,
but it seems there is quite a bit.

This kind of explains the options:
http://h50146.www5.hp.com/products/software/oe/hpux/developer/document/pdfs/4AA2-6329ENW.pdf
Scripting Techniques: Integrated Lights Out (iLO & iLO 2) for
Integrity and HP9000 Entry-Level Servers

3.20.2014

determine if samba server has registered with wins server

see if the netbios name or alias gets registered:

/opt/samba/bin/nmblookup -R -U wins-server-name netbios-name-to-check

-U is for the wins server name and the last parameter is the netbios
name you are looking for.

2.17.2014

chromebook / chrome os switch tabs

Three finger swipe to left or right switches tabs in the browser.

2.14.2014

transition from Windows to chromebook keyboards for Chrome remote desktop

transitioning from Windows keyboards to chromebook keyboard is somewhat problematic if you use the windows key when doing chrome remote desktop.

some of this was found by trial and error - others found via the "View Keyboard Overlay":  control + alt + /  somewhere on a native chrome screen.

Here's the deal - on the chromebook keyboard when connected via remote desktop:
the right control key is the "windows" key
use the right control and right alt keys in combination with tab to do the windows "ALT - TAB" sequence
finally to issue the F-keys: use the search key.  For example:  to do a windows ALT-F4 to close an app/window, push this combo:  ALT + search + full screen (or number 4)

Another issue I found was doing page up / page down / home / end keys.  in Chrome Remote Desktop use the search key + right arrow for home ; search + left arrow for end ; search + up for page up ; search + down for page down.

Also to make the remote desktop viewing better I suggest you use "curtain mode" which will require you add the following registry keys and entry:

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome]
"RemoteAccessHostRequireCurtain"=dword:00000001

1.23.2014

openvpn and windows 8 fix for "Route: Waiting for TUN/TAP interface to come up..."

Windows 8 and OpenVPN client - doesn't make a true, successful
connection (can't ping, etc). Typically the log file will show
something like this: "Route: Waiting for TUN/TAP interface to come
up..."

first, be sure to run the gui as Administrator (shortcut properties
"Advanced" button).

The fix is easy, just open the "Network and Sharing Center" (use the
search function if necessary). Just open it and leave it open -
nothing needs to be done inside it. You can minimize it and continue
to work. Disconnect/re-connect openvpn to test. Is strange, but
works - until the bugs in openvpn or the TAP driver is fixed.

1.16.2014

netbackup unix client restore debug log

create a /usr/openv/netbackup/logs/bpcd if it doesn't exist. debug
logs will appear there (not the "status" bplog, but more technical
ones).

10.04.2013

windows 7 error recovery options

bcdedit /set {default} bootstatuspolicy ignoreallfailures

You can crash as often as you like and you will not be prompted for
the Startup Repair.

To restore things to normal, simply issue the following command:

bcdedit /set {default} bootstatuspolicy displayallfailures

this will prevent that "start windows normally" or windows recovery
screen if the machine crashes or whatever - useful for unattended
remote machines.

10.01.2013

disable windows 7 recovery options completely.

from: http://www.sevenforums.com/general-discussion/11336-disable-windows-startup-repair-default-option.html

to prevent the windows 7 recovery options screen from appearing after
a crash, do this:

bcdedit /set {default} bootstatuspolicy ignoreallfailures

You can crash as often as you like and you will not be prompted for
the Startup Repair.

To restore things to normal, simply issue the following command:

bcdedit /set {default} bootstatuspolicy displayallfailures

9.22.2013

find where the path to which vimrc

find the path to where the vimrc is located in the currently running vim session:


use the following commands in vim:

:script
:version

9.12.2013

how to process outlook rules on Lync IM missed conversations

Outlook (at least the 2007 version) will not process rules which might run against Lync IM "missed converation" messages for some reason - probably because it doesn't see them as "incoming" messages and rather "stored" messages.  If you manually run the outlook rule it will process those messages.

So a round-about way of having outlook process rules on those types of messages is to run these rule via a VBS script run by the a scheduled task in windows.  The VBS script you're looking for is here:
http://www.windowsreference.com/ms-office/how-to-schedule-outlook-2007-rules-to-run-at-specific-time/

for constant, UNREAD_MSGS_ONLY see below
'Name Value Description
'olRuleExecuteAllMessages 0 Executes a rule against all messages in the specified folder or folders.
'olRuleExecuteReadMessages 1 Executes a rule against messages that have been read in the specified folder or folders.
'olRuleExecuteUnreadMessages 2 Executes a rule against messages that have not been read in the specified folder or folders.

7.11.2013

view / display / see wireless connections

If you want to remove a wireless access point / connection in windows
8 and you are out of range of it; or you just want to view a list of
the wireless APs you've connected to, you're out of luck if you want a
built-in gui.

There are other options like the netsh wlan command. Here's a good listing:
http://www.thesysadminhimself.com/2012/10/delete-wireless-profile-in-windows-8.html

4.02.2013

boot animations for android

http://androidbootanimation.com

good stuff -- fav:  apple vs andy 

stock ics rom for atrix 2 (mb865)


http://goo.gl/J1gDC.qr

loop android boot sound

in the desc.txt file  if there's a sound listed as indicated by "s filename.ogg"  you can make that sound loop by editing / adding the metadata tags for the ogg file (in audacity or another tag editor). 

the tag name to be added is: "ANDROID_LOOP"  it's value should be "true".

For example: In audacity under file, "open metadataeditor editor", then add the tag above.

There are some other tags I've seen used in ogg files, but none of them made any difference: LOOPSTART  LOOPLENGTH 

android boot animation factory

android boot animation factory



3.19.2013

window 8, juniper ssl vpn, rdp connection issues

connection drops every 30 seconds or so with Juniper SSL VPN RDP terminal services client.  Using the full VPN and the native windows 8 remote desktop client, I had no problems.

The problem ended up being a HP wireless printer/scanner issue.  I remove the printer from windows 8 and don't have any problems any longer.  I also did not have any issues when the printer was turned on.  It seems that the driver does a broadcast every 30 seconds that interrupts the Juniper rdp client.  Maybe stopping the spooler would have fixed it?

See this thread:

I also turned off UDP transmission for RDP, but I don't think that was my issue at all:

HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client\

Create a dword and assign a value of 1 to:  tofClientDisableUDP dword:00000001

2.23.2013

change boot option in uefi boot menu

http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?prodSeriesId=3257036&objectID=c03017717

see the bcfg command.

UEFI shell F-keys

at least on HP integrity bl860c i2 blades using putty:  the f-keys can be simulated using ESC - and the f-key number.

example to simulate F3 for exit in the efi edit command editor press ESC then 3.

1.19.2013

upgrade Solutions Enabler - getting symcfg discover error message

if you get this message after upgrading solutions enabler and trying to refresh the database via symcfg discover, then do the following:

# /usr/symcli/bin/symcfg discover
The SYMAPI database file cannot be used because it was written by a version of SYMAPI that is no longer supported

then do this:
> /var/symapi/db/symapi_db.bin

That's the same as doing: cat /dev/null > /var/symapi/db/symapi_db.bin

Now you can do the symcfg discover without errors.

11.19.2012

long hostname - kernel tuneable.

Long hostname - longer than 8 characters:

If a server is not properly configured for long host names, the kernel tunable  expanded_node_host_names  needs to be set to1 and the server may need to be rebooted (even though the kernel tunable parameter is dynamic).

I believe this only works if you have certain patches installed or at 11.31 or something, not sure.

10.11.2012

how to install apk on andriod device

beside using a file explorer or something like that to install and apk, here's a free user friendly service to install an apk:

archived versions of Flash player for Android

Since it's no longer available via google play/andrioid market -- Archived versions of Flash Player for Android (and others):  http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html

c7000 enclosure health degraded

if you see this in the OA system log: Kernel: Communication to an I2C device was lost temporarily, retrying...
 
but then you only see the enclosure health was "degraded" but nothing pointing to anything specific.
then you probably have a bad interconnect.  Try transitioning from Active to Standby OAs and the bad interconnect might show itself.

watch hulu on android by editing flash library via app

 
watch hulu by editing (automatically via app) the flash libraries to make it appear that the flash player is windows

10.10.2012

find the destination for DFS shares

find destination of DFS server/share name:
dfscmd /view \\domain\DFSshare /full
 
 
dfscmd *might* be from the support tools

10.04.2012

individual umask in sftp/scp

For HPUX (at least some of the 11.31 versions) the following can be used in sshd_config to set the umask for individual users or groups:
Add the following two lines at the end of the file to configure the sftp umask for a group of users.

Match Group  <group name>
ForceCommand  internal-sftp  -u 73

Or, add the following two lines at the end of the file to configure the sftp umask for a single user.

Match User   <user name>
ForceCommand  internal-sftp -u 73
of course you'll need to restart ssh by doing:  kill -HUP $(cat /var/run/sshd.pid)   or /sbin/init.d/secsh stop ;  /sbin/init.d/secsh start
from:

9.28.2012

syslogd cores

 HP-UX syslog crashes with a core file in /var/adm/syslog.   file /var/adm/syslog/core:  ELF-32 core file - IA64 from 'syslogd' - received SIGXFSZ
 
if none of your files in /var/adm/syslog are over 2GB, then change the LOG_SIZE to NOLIMIT in /etc/default/syslogd  like this:
 
query value:
ch_rc -l -p LOG_SIZE /etc/default/syslogd
 
set to NOLIMIT:
ch_rc -a -p LOG_SIZE=NOLOMIT /etc/default/syslogd
 
what happened is that OVO (HPOM) process opcle had syslog.log open and it hit 2GB so when syslog was recycled, the opcle process didn't release and the system still thinks that syslog.log is over 2GB.  That's the theory anyway.  I guess if that's the case you probably could just restart OVO/HPOM and that might fix it.

8.17.2012

Windows 7 enable lpr/lpq

enable lpr and lpq commands in Windows 7; by default it's not enabled
or turned on.

go into control panel and "turn windows features on or off" and under
"print and document services" turn on "lpr port monitor"

8.13.2012

EMC Open Migrator

move / sync data transparently to end user - better than rsync cause
it's synced real time via dynamic kernel module. it works on raw
logical volumes. Here's how it works. you configure new logical
volumes of the exact same size as the old ones using new LUNs (and a
new VG of course, which is a good time to maybe change the VG details
- max PE, etc). then create session files which "pair" up the old LV
to new LV. Once the sync is complete and you can take an outage,
unmount the old LV and VG and new ones too. Then stop the session and
mount the new stuff.

Open Migrator (OpenMigrator or OM) details:

create session file, /tmp/session1_pairs contents:
/dev/vg00/rlvol11 /dev/new-vg00/rlvol1


/sbin/stormigrate create -file /tmp/session1_pairs -session u01
/sbin/stormigrate list
/sbin/stormigrate activate -s u01
/sbin/stormigrate show -s u01
/sbin/stormigrate copy -s u01
/sbin/stormigrate query -s u01
/sbin/stormigrate query -i 5 -s u01
/sbin/stormigrate query -miostat -s u01


/sbin/stormigrate tune -ceiling 40
/sbin/stormigrate tune -mio_recover_action log
/sbin/stormigrate tune -mio_recover_action term

higher IO:
/sbin/stormigrate tune -iosize 128 -mio_perf_ratio 500


umount /u01
vi /etc/fstab -- update to san-np01
then deactivate session:
/sbin/stormigrate deactivate -s u01
/sbin/stormigrate delete -session u01

mount /u01
bdf /u01 -- verify using new VG and lvol

8.08.2012

dbprofile/​lanboot and PXE-E18 error

Use dbprofile and lanboot on an Itanium server but get this:
PXE-E18: Server response timeout.

and this shows up in the ignite server's syslog:
tftp: client does not accept options
receive: RRQ /opt/ignite/boot/hpux.efi octet blksize 16384
send: OACK  blksize 16384
send_file: recv: Can't assign requested address
receive: RRQ /opt/ignite/boot/hpux.efi octet blksize 16384
send: OACK  blksize 16384
send_file: recv: Can't assign requested address
receive: RRQ /opt/ignite/boot/hpux.efi octet blksize 16384
send: OACK  blksize 16384
Transfer timed out


Then add the following option to the tftpd entry in inetd.conf:
-s -r blksize

so something like this:
tftp        dgram  udp  wait   root /usr/lbin/tftpd    tftpd -s -r blksize /opt/ignite /var/opt/ignite


See this for full instructions:
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&taskId=110&prodSeriesId=4077173&prodTypeId=18964&objectID=c03083630

7.16.2012

get model nuber of SAS drive in RAID1 config

How to get the product number for a drive in a RAID1 mirror on a qlogic LSI SAS controller, typically on the first Gen BL860c (and other model) blades
 
You can get the product or model number for the individual drives:
sasmgr get_info -D /dev/sasd0 -v -q lun=all -q lun_locate
 
 
interestingly, I still can't find a way to turn on the UID/attention LED on an individual drive within a RAID1 set.

7.12.2012

change title bar in putty programmatically

here's some code for a shell script that will change the title bar text in putty (or other terminal/ssh apps):
 
title_bar.sh
params=$*
echo "\033]0;$params\007"
 
then call the shell script with whatever you want in the title bar:  ./title-bar.sh hello my friends     "hello my friends" will appear in putty's title bar.

7.09.2012

grocery shopping list on kindle touch

There's no notepad or writing app built-in on the kindle touch.  But there's a free checklist app from amazon that would make a good grocery or shopping list.
 
Search for "My Checklist" by Amazon Digital Services on the kindle store of amazon  It's not bad and free to boot.

6.21.2012

memory details on HPUX

echo "selclass qualifier memory;info;wait;infolog" | /usr/sbin/cstm > /tmp/cstmramlog.txt


For i2 blades run:  /opt/propplus/bin/cprop -summary -c "Memory"

6.14.2012

ssh errors

sshd[20015]: Accepted publickey for USER from IP  port 3891 ssh2
sshd[20032]: wtmp_get_entry: problem opening /var/adm/wtmp: Permission denied
sshd[20015]: error: openpty: Device busy
sshd[20032]: error: session_pty_req: session 0 alloc failed
if you get this, then something is holding some device files open.  Close all ssh sessions and do a ps -ef | grep ssh.  kill any sessions you find, then restart ssh:  /sbin/init.d/secsh stop / start

newer versions probably do not have this problem - this was on 11.11 using T1471AA                               A.03.81.002    HP-UX Secure Shell

6.13.2012

ECC agent install issues on HPUX

if you have file systems listed in fstab that won't mount, dont think you can get away by doing an -x mount_all_filesystems=false.  You'll probably need to comment them out of fstab.  ECC is sometimes bundled and kicks off a secondary swinstall that doesn't get any options passed to it.
 
also if you get the following message in swagent.log:

An unsupported version of Master Agent was found.  Please uninstall from /usr/ecc to continue.
./install_native.sh[372]: /usr/ecc/install_native.log: Cannot create the specified file.
 
but yet, there is no /usr/ecc.....    it's finding a file in /var/emc/.eccrc and thinks there's a previous version installed - just delete that file and try again.

OnlineJFS not installed on HPUX 11.31 (or newer versions)

fsadm command to extend a file system online wasn't working – got this error:

UX:vxfs fsadm: ERROR: V-3-25255: fsadm: You don't have a license to run this program

I then checked and did not see the OnlineJFS product, so I did the following steps to fix it and was able to then extend the file system:

swinstall -x autoreboot=true -x mount_all_filesystems=false -s DEPOTSERVER:/depot/11.31 B3929EA

Then see if the license is installed:
/usr/sbin/vxlicrep
 
enable license:
/sbin/vxenablef –a

then you should b able to extend.

 

6.07.2012

hpux 11.23 panic lo_realvfs

Panic string: lo_realvfs
 
if you have automountd or autofs turned on and an application or someone tries to access the local machine via /net/HOSTNAME, autofs creates a LOFS mount it since it's a local file sytem.  This rarely cuases problems but there is a known issue with the LOFS code that causes a panic, with Panic string: lo_realvfs in the /etc/shutdownlog
 
The work-around is to add the -L option to AUTOMOUNTD_OPTIONS in the nfsconf file:
check the options first:
ch_rc -vlp AUTOMOUNTD_OPTIONS
 
add the -L option:
ch_rc -ap AUTOMOUNTD_OPTIONS=-L
 
reboot the box or restart NFS:   (you may only have to restart nfs.client, but I have not tested that)
/sbin/init.d/nfs.client stop
/sbin/init.d/nfs.server stop
/sbin/init.d/nfs.core stop
 
/sbin/init.d/nfs.core start
/sbin/init.d/nfs.server start
/sbin/init.d/nfs.client start

6.04.2012

ADS - alternate data streams on NTFS and batch files

run a batch file (.bat or .cmd) from a network share or downloaded to your local drive without the security dialog
filename:Zone.Identifier

ADS

sending vcards to LG420G (straighttalk)

Had a bugger of a time transferring vcard phone contacts from lg220c to lg420g.  it appears that the format used by lg420g (straight talk) expects


vcf format for LG220C to LG420G:
the email records of each contact needs at two fields: EMAIL and HOMEor (whatever) 

sed -e '/^EMAIL/d' ContactA.vcf > ../ContactA.vcf

disabling browser back button in windows

disable the browser back button

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,00,00,6a,e0,00,00,69,e0,\
  00,00,00,00


This will also (inadvertently) prevent Windows Update KB2686509 from installing with the following message:
Some updates could not be installed.
Security Update for Windows XP (KB268509)


to install the patch, delete the Scancode Map, reboot (Necessary) and re-install the patch or run Windows Update.

2.16.2012

HP SmartArray controller disk replacement steps on HP i2 blades

This is for the BL860c i2 blades (and other i2 models):


Replace a failed LVM mirror disk that is attached to a SmartArray SAS controller.

 

Notes:  For this example /dev/disk/disk2 is the failed disk and /dev/disk/disk4 is the new device that was created because the SAS controller identified a new disk.

Notes:  For this example the SAS controller device is /dev/ciss0

Notes:  The failed disk is in volume group vg00

 

Identify the disk by serial number.  Give the Bay number to the HP CE so they know which disk to replace:

sautil /dev/ciss0 -s

scsimgr get_info -D /dev/rdisk/disk2

 

Deactivate the PV:

pvchange -a n /dev/disk/disk2

 

Replace the failed disk.

 

Activate the WWID of the new disk.  The Error can be ignored.  A new disk device should be created:

scsimgr -f replace_wwid -D /dev/rdisk/disk2 dsf

scsimgr: ERROR: Cannot convert hardware path to an IO tree node

 

Find the new disk device that was created:

ioscan -fNnC disk

 

Create a description file to create the EFI partitions:

# cat >> /tmp/idf << EOF

3

EFI 500MB

HPUX 100%

HPSP 400MB

 

Use idisk to setup the disk partitioning on the new disk device:

idisk -wf /tmp/idf  /dev/rdisk/disk4

insf -e –C disk

 

Assign the old instance number to the replacement disk:

io_redirect_dsf -d /dev/disk/disk2 -n /dev/disk/disk4

 

Verify that /dev/disk/disk2 is in a claimed state:

ioscan –fnNC disk

 

Use mkboot to format and populate the newly created EFI partition:

mkboot -e -l /dev/disk/disk2

 

Change the AUTO file contents to the proper mode:

mkboot -a "boot vmunix -lq" /dev/rdisk/disk2

 

Restore the LVM reserved areas (PVRA/VGRA):

vgcfgrestore –n vg00 /dev/rdisk/disk2_p2

 

Reattach the new disk:

pvchange -a y /dev/disk/disk2_p2

 

Sync volume group:

vgsync vg00

 

Use lvlnboot to ensure that the LVM logical volumes are prepared:

lvlnboot -R

lvlnboot -v

SAS controller on HPUX itanium disk replace

The SAS controller in the first generation BL860C (and other models) has some special commands in order to replace a failed disk.  I would recommend using the built-in RAID-1 capabilities of this controller - that way you no longer need to worry about LVM mirroring.  But if you need to use LVM mirroring then, add the couple steps below to your standard LVM mirror root/boot disk procedure:

#get the SAS controller dsf:
saslist get_info ctrl sasd

#get info on the disks:
sasmgr get_info -D /dev/sasd0 -q raid

#if the disk is working enough to turn on the attention LED:
sasmgr set_attr -D /dev/sasd0 -q lun=/dev/dsk/c0t1d0 -q locate_led=on

AFTER the disk is replaced:
#since each disk will have a unique WWID, the server will assign a new HW path and persistent dsf
#to change them first change the hardware path (legacy style)
sasmgr replace_tgt -D /dev/sasd0 -q old_tgt_hwpath=0/2/1/0.0.0.1.0 -q new_tgt_hwpath=0/2/1/0.0.0.2.0

#then change the persistent dsf
io_redirect_dsf -d /dev/disk/disk3 -n /dev/disk/disk8

1.26.2012

sas commands (Hardware mirroring) hp-ux

HPUX SAS controller commands - hardware mirroring (only on some controllers)

status of serial attached SCSI raid set:
sasmgr get_info -D /dev/sasd0 -q raid

get controller HW path and device file
saslist get_info ctrl sasd

get list of LUNs being controlled by the sasd driver
saslist get_info lun sasd

status all physical drives
sasmgr get_info -D /dev/sasd0 -q phy=all

statistics of HBA (for problems)
sasmgr get_stat -D /dev/sasd0

track down disk problems
sasmgr get_stat -D /dev/sasd0 -q phy=all

clear statistics on PHY 1
sasmgr clear_stat -D /dev/sasd0 -q phy_in_port=1

1.12.2012

start a search when opening a file in vi

To start a search when opening a file: vi +/Search_string /tmp/filename
It'll open a vi session placing your cursor at the start of the line containing the first match of the keyword.   You can hit 'n' to continue the search like normal

1.09.2012

cimprovagt using too much memory

if cimprovagt is using too much memory, you can restart it by restarting the whole cimserver ( /sbin/init.d/cim_server stop / start  OR cimserver -s ; cimserver ).  Or you can just disable then re-enable the module.  There seems to be lots of memory leaks in the modules, or upgrade if possible.

- Identify the provider:
# ps -ef | grep cimprovagt
# cimprovider -l -s

- Disable provider sample:

#cimprovider -d -m MODULE

#cimprovider -l -s

or shutdown/start the module:
#cimprovider -d -m MODULE
#cimprovider -e -m MODULE

12.07.2011

excessive dots during HPUX startup

two ways to mitigate a bunch of dots during the startup script process on HP-UX:
Change the GSP/MP/iLO "asynchronous" port to the correct terminal
type: vt100 verses HPTERM. usually you can get in and do a "CA"
(configure asynchronous) and change the console terminal type there.

OR:
One suggestion I've seen on the HP forums is to try setting
"LIST_MODE=1" in /etc/rc.config.d/list_mode, rather than the default
value of zero. This forces the startup to use the same line-oriented
mode regardless of the terminal type. It might be worth a try.

11.29.2011

HPUX LVM logical volume size limit

2TB is the max size for a logical volme and file system on 11.23,
unless some patches are installed:
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&taskId=110&prodSeriesId=459574&prodTypeId=18964&objectID=c02742533

with the patches or on 11.31 it's 16TB

9.20.2011

AT&T vs T-mobile sim card in straight talk phone

difference between att and tmobile sim card in a straghttalk phone or service:

look at the SIM card numbers. If it starts with 890126 its T-mobile. 890141 for AT&T.
OR  check bottom of packaging of the phone. Look for the white label. Look on the right for an "A" or "T" (AT&T or T-mobile)

Packet tracing in HPUX

quick primer to packet tracing/logging/sniffing in hpux.  "nettl" network tracing and logging, no need for tcpdump (even though it's probably better).

get status on trace or logging:
/usr/sbin/nettl -status [log |trace |all]


start/stop trace:
nettl -tn pduin pduout loopback -e all -tracemax 65536 -f /tmp/me
nettl -tf -e all

the output file can be opened in wireshark/ethereal.

format commands
netfmt -vf nettl.LOG000 > /tmp/nettl.txt
netfmt -nl1f me.TRC000 > me.out


combine both nettl and netfmt to filter results:
add a filter to ~/.netfmtrc like the following for dns
filter tcp_sport 53
filter tcp_dport 53
filter udp_sport 53
filter udp_dport 53

then start the trace (be sure to turn off):
nettl -tn pduin pduout -e ns_ls_ip | netfmt -1
or
nettl -tn pduin pduout -e ns_ls_ip -m 250 -ks 10M -us 30M -nk 5 -nu 5 | netfmt -1

turn it off again, even if control-c (intr) was used:
nettl -tf -e all


tui/gui:
nettladm

9.14.2011

enable CDE on hpux

uncomment in inetd.conf:
dtspc stream tcp nowait root /usr/dt/bin/dtspcd /usr/dt/bin/dtspcd
rpc xti tcp swait root /usr/dt/bin/rpc.ttdbserver 100083 1 /usr/dt/bin/rpc.ttdbserver
cde rpc dgram udp wait root /usr/dt/bin/rpc.cmsd 100068 2-5 rpc.cmsd
rpc dgram udp wait root /usr/dt/bin/rpc.cmsd 100068 2-5 rpc.cmsd

then inetd -c (of course)

should be commented out in /etc/dt/config/Xconfig and /usr/dt/config/Xconfig:
#Dtlogin.requestPort: 0


update inetd.sec if it exists, change hostname to the server's hostname
dtspc allow 127.0.0.1 hostname

make the DESKTOP=CDE, either manually or through this: /usr/dt/bin/dtconfig -e

OR

$ ch_rc -a -p DESKTOP=CDE
$ grep -i desktop /etc/rc.config.d/desktop
DESKTOP=CDE


finally start CDE:
$ /sbin/init.d/dtlogin.rc start

check if running properly:
ps -ef | grep dt and netstat -an | grep 177
dtlogin should be running and UDP port 177 should be listening (for XDMCP traffic)

diagnostics command: /usr/contrib/bin/X11/dr_dt

not a tech topic - the real reason why they hate us

Be honest with yourself, they (the terrorists) don't hate and want to kill us because we're free and our culture is different from their's.  If that was true, then why haven't we been attacked earlier than the 1990's; why isn't Canada, Switzerland, and the Netherlands being attacked?

The real reason, which might be hard for some to accept, is that we have military bases, occupy their "holy land", and invade their country.  Violence is not acceptable, but put yourself in their shoes and ask what you would do if that was happening in your country.

8.29.2011

HPUX 11.31 native multipathing

to see the lun path status, this give you the number of paths and if they are active/alive/dead:

scsimgr lun_map -D /dev/rdisk/diskXXX

8.26.2011

swinstall strange errors - check your hosts file for correct IP

if you get any of the following weird errors doing sdux command, then make sure your hosts file has the correct IP address for the hostname.

swacl, swreg, swinstall 
ERROR:   There is no "depot" ACL at "XXXXXXXXXXX".  The object is, or is part of, a read-only depot.

ERROR:   Could not open remote depot/root
         "XXXXXXXXXXXXXXXX".  The remote daemon failed to
         create the remote agent process:  You do not have the proper
         permissions to perform the requested operation.  Generally,
         this either means the ACL protecting the software object does
         not grant you the permission required for this operation, or
         the software object is part of an unregistered depot.  Use
         "swacl -v" to list and/or edit the ACL, use "swlist -l depot"
         to list registered depots, and use "swreg -l depot" to
         register an unregistered one
ERROR:   Cannot open source.  Check above for errors, as well as the
         daemon logfile on the source host (default location:
         /var/adm/sw/swagentd.log

Verizon Mifi Diags page - force EVDO/3g mode only

to get to the diags page on a Verizon MiFi, open up VZAccess Manager,  do NOT connect.  do: control-D, enter password: diagvzw, hit settings and there you go.

8.18.2011

samsung GSM A687 (Strive) factory reset -- in case you don't have password

dial this:  *2767*3855#   be careful - this erases everything, including the sim card and sd card, I think.

7.24.2011

Garmin Nuvi Issue - "updating GPS Firmware"

Updating GPS Firmware  and  GPS Firmware update complete - if these messages show up on your Garmin Nuvi 260 (or other Garmin GPS devices) consistently when you turn it on, or while it's running, then you may have to delete the contents of the garmin\RemoteSW folder.  Just plug the gps into a PC using a usb cable and it should show up like a storage device/flash drive.  Go into the garmin\remotesw folder/directory and delete the contents.

see the following thread:
https://forums.garmin.com/showthread.php?t=3375

7.01.2011

no powerpath and getting LUN ID

If you don't have powerpath and need to get the LUN ID to device special file (dsf)/ disk device on HP-UX, try using the following switch on the syminq command (part of Solutions Enabler):

syminq -identifier device_name

example:
syminq -identifier device_name | head

Device Device
------------------------- ----------------------- ----------------
Name Num Vendor Array ID Name
------------------------- ----------------------- ----------------

/dev/rdisk/disk428 09B8 EMC *redacted* N/A
/dev/rdisk/disk429 09B9 EMC *redacted* N/A


Actually I think the default syminq output (without any switches) shows the lun id, but it’s hidden in the “device” “serial Number” column. Skip the first 3 digits in the column (part of the array ID). The next 4 digits (or so) are the Lun ID.

Example (lun ID in bold):
Device Product Device
-------------------------- --------------------------- ---------------------
Name Type Vendor ID Rev Ser Num Cap (KB)
-------------------------- --------------------------- ---------------------
/dev/rdisk/disk437 EMC SYMMETRIX 5874 93009C1000 35692800

4.27.2011

Symbolic links on HP CIFS/Samba 3.5.4

using symlinks on HP CIFS/Samba 3.5.4 can be an issue if the parameter unix extensions = yes (which is the default). Look up the man page for smb.conf for more info on it.

use the testparm -v command (-v = verbose), this will show ALL settings (built-in defaults) along with all the custom settings from your config file.

Since "unix extensions" only helps when using HP CIFS clients, IMO it should be disabled by default. so do this in the global section of smb.conf

unix extensions = no

4.19.2011

dbprofile on Itanium servers (and 4.0+ HPVM)

at EFI shell:
display dbprofile:
dbprofile

add/update profile named "ignite" providing only one parameter: dhcp
dbprofile -dn ignite -dhcp

when modifying the profile, only the parameters that are changing need to be listed; you don't need to re-do the entire syntax

three ways that work: first two only work if the ignite server and client are in the same ethernet broadcast domain (subnet).
  - last option gives fast boot time, first and second options requires less administration.

1. dbprofile -dn ignite -dhcp
2. dbprofile -dn ignite -dhcp -b "/opt/ignite/boot/nbp.efi"
3. dbprofile -dn ignite -sip IGNITE.IP.ADDRESS -cip CLIENT.IP.ADDRESS -gip GATEWAY.IP.ADDRESS -m NETMASK -b "/opt/ignite/boot/nbp.efi"

example - ignite IP 192.168.1.2,  client IP 192.168.0.2, gateway/router IP 192.168.0.1, netmask 255.255.255.0
dbprofile -dn ignite -sip 192.168.1.2 -cip 192.168.0.2 -gip 192.168.0.1 -m 255.255.255.0 -b "/opt/ignite/boot/nbp.efi"

to actually use the dbprofile:
lanboot -dn ignite
or to pick a specific NIC to boot from: lanboot select -dn ignite

to find list of NICs, run:
lanaddress

sometimes on NPARS, not all NICs show up, so do the following to re-connect the EFI drivers:
reconnect -r

4.18.2011

HPUX 11.31 lvm2

Wow LVM2 found in HPUX 11.31 has lifted a lot of burdensome limits on volume groups.  vgcreate automatically creates the  device group file; VGs are only limited by the MAX VG size you specify when creating the VG, using the -S option; hitting the max VG size is the only case where a backup/recreate/restore is needed.  Here's a list of helpful commands:

LVMP_CONF_PATH_NON_BOOT  found in /etc/lvmrc  (in March 2010 release)  allows lvm2 vg configuration file backups to an alternate location because of the large size of VG 2.X backups

lvmadm - (-t) displays limits of LVM1 and LVM2 VG 1.0 and VG 2.0 and up;  (-l) also lists the contents of /etc/lvmtab and lvmtab_p

lvmadm -l
--- Version 1.0 volume groups ---
VG Name /dev/vg00
PV Name /dev/disk/disk3_p2
        /dev/disk/disk2_p2

--- Version 2.1 volume groups ---
VG Name /dev/vgXX
PV Name /dev/disk/diskXXX


convert from legacy to persistent DSF: use vgdsf
/usr/contrib/bin/vgdsf –c vgXX

vgcreate using the new LVM2 VG2.0+ notation:
vgcreate -V 2.1 -s 16 -S 4t vgXXX /dev/disk/diskxxx /dev/disk/diskxxx

convert from VG1.0 to VG2.0+
The -r does a "review" to make sure the VG can be converted.
vgversion -V 2.1 -r vgXX

before the convert will run the VG has to be deactivated:
vgchange -a n vgXX
vgversion -V 2.1 vgXX


ioscan new options for persistent dsfs:
ioscan -m dsf /dev/disk/disk127
Persistent DSF           Legacy DSF(s)
========================================
/dev/disk/disk127        /dev/dsk/c5t5d0
                         /dev/dsk/c6t5d0

10.05.2010

turn off modline support in vim

I can see a number of security issues with this feature turned on (on by default in Win versions)
 
set modelines=0
set nomodeline

9.22.2010

9.10.2010

HPUX verses Solaris

An SA's comparison of HP-UX verses Solaris: 
 
I'm still biased to HPUX, although this guy makes some compelling arguments: DTrace, p*/process command tools, hardware (path) identification, log rotation, shadow file, patch numbering.  especially the Dtrace and /usr/proc/bin tools.
 
 

8.27.2010

ssh without being prompted for password

if you have public keys on most of your boxes but not all and are
running a script against all of them, but don't want the script to
just pause at the password prompt, then specify the
"PreferredAuthentications" option:

ssh -o PreferredAuthentications=hostbased,publickey

I couldn't get the PasswordAuthentication=no option to work, so the
above saved me

8.05.2010

making skype portable

To make skype run on a usb flash drive or some other portable device follow the following:
 
 
  • First...Download the NEWEST version of Skype (Older versions won't work) and install it on any computer as normal.
  • Find the Skype.exe from where it was installed.
    (Usually C:\Program Files\Skype\Phone\Skype.exe )
  • Copy the Skype.exe file to any directory on your USB Drive
  • In that new directory create a directory called "data"
  • Now create a file (with notepad) called "skype.bat"
  • Edit the "skype.bat" file and place the following line there:
    skype.exe /datapath:"Data" /removable
  •  

    7.28.2010

    /tmp on Solaris 10

    On Sun Solaris 10, /tmp is a tmpfs type file system.  It is supposed to make reads/writes to the temp filesystem fast, but there are some caveats:
     

    Swap Space and the TMPFS File System
    The TMPFS file system is activated automatically in the Solaris environment by an entry in the /etc/vfstab file. The TMPFS file system stores files and their associated information in memory (in the /tmp directory) rather than on disk, which speeds access to those files. This results in a major performance enhancement for applications such as compilers and DBMS products that use /tmp heavily.
    The TMPFS file system allocates space in the /tmp directory from the system's swap resources. This means that as you use up space in /tmp, you are also using up swap space. So if your applications use /tmp heavily and you do not monitor swap space usage, your system could run out of swap space.
    Use the following if you want to use TMPFS but your swap resources are limited:
    Mount the TMPFS file system with the size option (-o size) to control how much of the swap resources TMPFS can use.
    If you are close to running out of swap space, you can use your compiler's TMPDIR environment variable to point to a larger, real directory.
    Using your compiler's TMPDIR variable only controls whether the compiler is using /tmp or not. It has no effect on other programs' use of /tmp.

     

    7.20.2010

    hyperlink formulas in excel

    to add a hyperlink formula in excel:
    =HYPERLINK("#sheetname!"&CELL("address",A999))
     
    where 'sheetname' is the name of the worksheet and
    'A999' is the the cell to link to
     
    the pound sign, # is _Necessary_
     
     

    7.07.2010

    allow control D keyboard sequence to work

    the EOF key (generally control D) gets trapped/ignored by the shell on some systems.  Here's how to turn that off:
     
     
    hit control-D
    server$ Use 'exit' to logout

    server$ set -o | grep ignoreeof
    ignoreeof        on

    server$ set +o ignoreeof

    server$ set -o | grep ignoreeof
    ignoreeof        off

    server$ hit cntl-D
    logout

    7.01.2010

    automatically adding ssh keys to known hosts file

    automatically adding host's ssh fingerprint to the known_hosts file:
    -o StrictHostKeyChecking=no
     
    example:
    ssh -o StrictHostKeyChecking=no SecretServername

    5.25.2010

    putty command sender

    Putty Command Sender:  http://www.millardsoftware.com/puttycs

    Sends keystrokes to putty windows.  Filters allow selection of putty sessions/windows to which the commands are sent.  You can exclude/include and use wildcards in the filter.  I don't think it supports regular expressions other than * and ?  Allows arrow keys, control characters, and a lot more.

    Be real careful when using this, experiment first on lab systems.

    how to add a bulk load of putty sessions

    add bunch of putty sessions.  This requires cygwin base install which includes the sed command.  Be sure to add \cygwin\bin to the path:
    create a "template" putty session with all the settings you want.  go into the registry and export the session: HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\session_name

    put a list of machine names in test.txt

    then in dos:

    for /f %a in (test.txt) do type m.reg | sed -e 's/Template_NAME/%a/g'>> all.reg


    These sessions can then be used in putty session manager or any of the other putty related tools.

    5.12.2010

    free SSH client for iPhone / ipod touch

    a truly free SSH client for the iphone or ipod touch:  "The Rove Mobile Admin Client" aka "Mobile Admin"; search for it in the app store.  Not too many features, but it's the only free SSH client I've seen for the itouch.

    5.07.2010

    disable password aging HP-UX

    HPUX password aging disable:

    passwd -x -1 user_id

    for i in user1 user2 user3
    do
    passwd -x -1 $i
    done


    3.29.2010

    differences trying to retain ownership/permissions on HP-UX and nfs

    on HP-UX (by default anyway), you can change ownership of a file as a normal, non-root user. This means you can do a cp -p to copy files retaining permissions and ownership on HP-UX file systems. However, if using NFS, be aware that the underlying NFS server's operating system controls privileges to file ownership. Therefore most Linux/Solaris/NAS boxes that are NFS servers and mounted on HP-UX, will not allow a successful cp -p for retaining ownership (or chown by a normal non-root user).

    Specifically it can be an issue on EMC Celerra NAS servers, but there's a way to change it:
    To change this behavior you can change the Celerra server parameter, rstchown to 0, the default is 1.

    Here's a copy someone posted: http://www.scribd.com/doc/6116381/Celerra-Network-Server-Parameters-Guide-5639-A03

    contents:
    Sets restricted file ownership.0 = Allow the owner of a file to change the file ownership or group ID to any other owner or group because chown and chgrp follow the less restrictive POSIX semantics.1 = Allow only the superuser to change the owner of a file. The current owner can change the group ID only to a group to which the owner belongs.This parameter applies to NFS, but not to CIFS.

    3.24.2010

    how to determine if usb alfa awus036h is 500mw or 1 watt

    Ways to tell the difference between 500mw and 1W version of the awus036h:
    from: http://forums.remote-exploit.org/general-discussion/28841-how-test-alfa-awus036h-500mw-1w.html (forums appear to be down now)

    The Alfa 1000mW(1W) has a 1 in cased in a circle stamped on the front the 500mW does not
    shine light on LED, the PCB will be blue

    3.01.2010

    adding secondary IP interface and IP index number to APA

    just put the IP in netconf using the Physical PPA lan port (like normal), then when APA starts, it will bind it to the APA port
    INTERFACE_NAME[1]=lan0:1
    IP_ADDRESS[1]=1.2.3.4
    SUBNET_MASK[1]=255.0.0.0
    INTERFACE_STATE[1]=up

    if adding a secondary IP once APA is already running: bind it to the APA PPA (lan900)  as follows:
    ifconfig lan900:1 1.2.3.4 255.0.0.0 up


    HPUX routing and the ip_strong_es_model network tunable

    A "graypaper" on  understanding HP-UX routing including details on ip_strong_es_model tunable: http://www.mayoxide.com/presentations/Understanding_hpux_routing.pdf

    Best description of the ip_strong_es_model tunable via this ITRC link: http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1267461248860+28353475&threadId=1126880
    ip_strong_es_model is used when you want to configure multiple, physical NICs in the same IP subnet, and/or want the functional equivalent of per-source IP routes.

    2.11.2010

    truecrypt rescue disk on usb

    http://forums.truecrypt.org/viewtopic.php?t=18882&postdays=0&postorder=asc

    and to skip iso check use the /noisocheck or /n  switches on truecrypt or mount the ISO using a virtual cd driver


    contents of first link:
    Here is how:

    1. Format your USB stick from Windows: FAT, Quick, Default Allocation Size.

    2. Download Grub4DOS from: http://download.gna.org/grub4dos/
    Choose latest version. Here is the one I got: http://download.gna.org/grub4dos/grub4dos-0.4.4-2009-06-20.zip

    3. Download Grub Installer from: http://download.gna.org/grubutil/
    Choose latest version. Here is the one I got: http://download.gna.org/grubutil/grubinst-1.1-bin-w32-2008-01-01.zip

    4. Extract them on your hard disk. Run: grubinst_gui.exe

    5. Click DISK. Choose your USB stick. Go 2 boxes down and click REFRESH. On the PART list, choose "WHOLE DISK (MBR)". Make sure everything else is unchecked below.

    If it says something about --skip-mbr-test, type: "--skip-mbr-test" without quotes in EXTRA box.

    Click INSTALL. DOS box should pop up and tell you it transfered MBR.

    6. Copy: file "grldr" from your extracted files to your USB stick.

    7. Create a text file in the root of your USB stick and name it: menu.lst

    Put inside:

    title TRUECRYPT RESCUE DISK
    find --set-root /tc.iso
    map --mem /tc.iso (hd32)
    map (hd0) (hd1)
    map (hd1) (hd0)
    map --hook
    root (hd32)
    chainloader (hd32)

    And save the file.

    8. Copy TrueCrypt Rescue Disk (the iso you created during system encryption) to root of USB and rename it to: tc.iso

    If you don't have the iso, go to TrueCrypt program: SYSTEM > CREATE RESCUE DISK... Follow hte prompts and copy that file to USB and rename it to tc.iso

    That is all.

    1.15.2010

    disable negative dns caching

    Sprint Novatal 2200 mifi devices seems to produce a lot of negative (unsuccessful) dns responses, so just disable the negative caching on windows XP.....

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters]
    "MaxNegativeCacheTtl"=dword:00000000


    1.12.2010

    eFax - Free trial - not really free

    eFax offers a "free" 30 day trial.  Though the signup process you are not told how many pages can be sent or received for free.....

    I got two charges for sending over 30 pages ($10 in overages).  When I went to cancel, they said they'd only refund the normal fee ($10).

    Decide for yourself if it's worth dealing with a company that isn't up-front with their terms......

    1.07.2010

    EMC ECC and Naviagent problems and fixes

    Cloning or renaming a system can have some consequences on EMC products like EMC Control Center/ECC  or Navisphere agent for Clarrion arrays:

    ecc fix:
    rm -rf /var/ECC
    cd /usr/ecc/exec && rm -f *.COMFILE *.comfile *.uid *.port *.lck


    Navisphere agent / Naviagent fix:
    stop naviagent and delete HostIdFile.txt:
    /sbin/init.d/agent stop ; rm /etc/log/*

    11.19.2009

    HP-UX sendmail won't start

    if unable to start sendmail and get the following error messages in syslog, the fix is at the bottom:

    Nov 19 15:13:06 HOSTNAME /sbin/init.d/sendmail[11536]: Unable to start Sendmail.
    Nov 19 15:13:06 HOSTNAME /sbin/init.d/sendmail[11536]:
    Nov 19 15:13:06 HOSTNAME /sbin/init.d/sendmail[11536]: The sendmail.cf file is configured for send_only feature.
    Nov 19 15:13:06 HOSTNAME /sbin/init.d/sendmail[11536]: Modify the /etc/rc.config.d/mailservs file with the send_only feature.
    Nov 19 15:13:07 HOSTNAME /sbin/init.d/sendmail[11536]: To disable the send_only feature:
    Nov 19 15:13:07 HOSTNAME /sbin/init.d/sendmail[11536]: - Run the gen_cf file to generate the sendmail.cf file.
    Nov 19 15:13:07 HOSTNAME /sbin/init.d/sendmail[11536]: - Merge your site-specific customizations with the /usr/newconfig/etc/mail/cf/cf/sendmail.cf.gen file.
    Nov 19 15:13:06 HOSTNAME /sbin/init.d/sendmail[11536]:
    Nov 19 15:13:07 HOSTNAME /sbin/init.d/sendmail[11536]: - Copy the /usr/newconfig/etc/mail/cf/cf/sendmail.cf.gen file as /etc/mail/sendmail.cf.
    Nov 19 15:13:07 HOSTNAME /sbin/init.d/sendmail[11536]: - Change the /etc/rc.config.d/mailservs file accordingly.
    Nov 19 15:13:07 HOSTNAME /sbin/init.d/sendmail[11536]: - Restart Sendmail.


    in /etc/mail/sendmail.cf change the following (or similar line)

    from:
    O DaemonPortOptions=Port=smtp,Addr=127.0.0.1,Name=MTA

    to:
    O DaemonPortOptions=Name=MTA

    then restart sendmail:   /sbin/init.d/sendmail start     it should start fine.

    10.01.2009

    Alltel and Sprint mobile broadband

    Windows XP
    Pantech PX-500

    to get on alltel evdo from certain areas, I needed to choose the following settings:

    mode: EVDO
    roaming: AUTO  unchecking Roam guard
    important:  eject and plug card at least once

    It seems important to eject/reinsert the card to get it to connect.  It also took a long time (20+ seconds) when opening connection manager after inserting the card for the first time; searching for service, connecting/disconnecting automatically until it connected to an EVDO signal on the alltel network.

    HP-UX 11.23 to 11.31 update

    some of my notes:
    agile:
    ioscan option -m (mapping)
    -m hwpath -H $hw_path  -- shows hardware paths
    -m lun  -H $hw_path   -- show agile addressing
    -m dsf $device_file  -- maps legacy to agile


    upgrading from v2 to v3 will leave legacy references in lvmtab, etc.. to fix:
    vgscan -N  or  vgdsf
    NOT necessary, but optional:
    rmsf -L  insf -L   --  removes or installs legacy device files from box


    iofind command scans ascii files and converts legacy to agile addresses


    8.18.2009

    use motorola phone as tethered modem on verizon network

    motorola vu204 drivers

    download motorola drivers at http://motorola.com
    create DUN connection using only PAP for security
    password:  vzw
    domain:  blank
    number to dial:#777

    might need reboot phone first.

    8.07.2009

    Backtick grave accent ` iPhone

    The backtick (grave accent) ` character is missing from the iPhone and iPod touch normal keyboard layouts. ( as of OS 3.0 ) To use it, go into the mail app and in the email to/cc/bcc fields you should see the backtick in the upper left on the symbols virtual keyboard. Then just copy and paste it wherever you need it.

    It might be helpful if a bunch of us complained about this missing key on the iPhone and iPod touch keyboards - leave feedback about the missing backtick/grave accent character at: http://www.apple.com/feedback/iphone.html

    Really stupid for them to have it on the email address fields even though it's an invalid char for email addresses.