Mostly work related stuff which I would've entered into my "Log book". Instead of hosting it on an intranet site, outsourcing the hosting to blogger!
Wednesday, February 18, 2009
Miranda IM
Saturday, February 14, 2009
mp3 and wav as WinAmp Media File
- Remove the mp3 and wav files associations from WinAmp preferences (Ctrl-P in WinAmp to reach preferences, File Types on left pane).
- In Windows Explorer, Tools -> Folder Options -> File Types tab, Click New, Enter mp3 extension. Here, if it is already associated with some other app, it will complain. Then you need to remove the association from the other app...
- Click Advanced button at the bottom, delete all the Actions, create two new actions - Action Play with Application used to perform field set as
"C:\Program Files\Winamp\winamp.exe" "%1"
and Action Enqueue in WinAmp with the field set as"C:\Program Files\Winamp\Winamp.exe" /ADD "%1"
- Note of course that you need to put in the correct path to winamp.exe on your system, and that if the %1 is not within quotes, you will come to grief with any long filenames!
Thursday, February 12, 2009
multilingual show notices in Google docs
Wednesday, February 11, 2009
krishna on dell t100 setup continues
- automysqlbackup.sh script from krishna used to backup and restore mysql databases. It gives two ways to restore:
# mysql --user=username --pass=password --host=dbserver database < /path/file.sql
The latter method fails with ERROR 1064 (42000) at line 1: Luckily the former method works, tho' while importing SI db, it gave an error ERROR 1298 (HY000) at line 2410: Unknown or incorrect time zone: 'NULL' the db seems to be working. After the database import, phplist said database needs to be upgraded. As given in the docs, went to Main Page -> System Functions -> upgrade and it took less than a second.
# or
# mysql --user=username --pass=password --host=dbserver -e "source /path/file.sql" database - Next, the php files were being served as MIME type application/x-trash. Not sure what exactly was wrong, but now it is working after
(a) DirectoryIndex index.php index.html added to /etc/apache2/apache2.conf
(b) index.html.old moved to another directory.
(c) Subscription page configured properly. - Commandline php had to be installed, with apt-get install php5-cli as given at ubuntuforums.org
- getmail downloaded from http://pyropus.ca/software/getmail/ and extracted from tar.gz.
- apachemails added to webserver's group with
useradd -G {group-name} usernameas given here. Listed users and groups seeing /etc/group,ps -eo euser,ruser,suser,fuser,f,comm,label
showed that apache was being run as www-data so didchown apachemails:www-data apachebounces
- Later found (after many attempts, testing pop with and without notls option) that this version of phplist (2.10.9) would not read arbitrary files as mbox files (like the earlier 2.10.5 on the older krishna could!) .
Cannot open mailbox file Can't open mailbox /var/www/bounces/apachebounces: no such mailbox
So had to change mbox location to /var/mail/username for a valid username. - Before that, sendemaillib edited as given in PB's earlier post. Since I copied the scripts from the old krishna, did not have any user problems with running the scripts.
- Running processbounces gave
Error: IMAP is not included in your PHP installation, cannot continue
Installed imap module with apt-get install php5-imap - Now to lock up the system using the techniques given here, but passwd -l causes the message
Your account has expired; please contact your system administrator
probably due to this bug. So, did the editing of /etc/ftpusers and /etc/ssh/sshd_config instead.
Sunday, February 08, 2009
more on vm and finally not virtualizing after all
- Added gpm to use mouse if necessary on the local terminal.
- removed many daemons like bluetooth from /etc/rc3.d
- Was giving error on boot of vm, "Use of uninitialized value $uni in pattern match (m//) at /usr/bin/ckbcomp 3109." etc. Apparently this was due to a missing dependency and adding perl solves the problem. sudo apt-get install perl solved the issue.
- Cannot redir from lower ports as unprivileged user. So, 5080 redirected to port 80 and so on.
- Way to port-forward only a limited number of ports for passive ftp is discussed in experts-exchange. The syntax for vsftpd is given here, for example, specifying pasv_max_port and pasv_min_port
- Changed /etc/hostname and /etc/hosts so that each vm has it's own name.
- While starting the vms using kvm, use -daemonize -nographic and not & to put into background. Otherwise becomes a zombie or something.
- ftp server running on the vm was accessible from outside with firefox, not with filezilla or IE. Reason was probably that FF was rolling over to active mode.
- Packet sniffed with wireshark, it gave all out-going packets tcp checksum errors due to checksum offload, so disabled checking in wireshark. Edit -> Preferences -> TCP
- PASV ip address and port are specified as given here: http://en.wikipedia.org/wiki/File_Transfer_Protocol
"PORT 192,168,0,1,192,2". first 4 numbers are ip address, The port fields should be interpreted as p1×256 + p2 = port192x256+2 - Since qemu's natting was mangling the pasv packets, changing the ip to 10.0.2.2 - probably we have to go with ftp on raw server. This is in spite of setting the pasv_address in vsftpd.conf. After the packets leave the vm, the change is made by the NAT.
- Since ftp is on bare metal, phplist being on a single vm is more convenient, so why have a vm at all - hence, going with a bare metal install. Install itself took only 10 minutes!
Friday, February 06, 2009
removing X from server
building virtualized servers on a dell T100
- The lights 1 2 3 4 on the front panel are only for diagnostics according to the Dell manual and do not indicate hard disks or anything like that.
- Warning message "Alert! cover was previously removed" and not booting till F1 or F2 is pressed. Solution as given here - Bios setup -> System Security -> Chassis Intrusion -> Enabled Silent.
- Much later, while installing KVM, found virtualization needs to be enabled in Bios as given here. So, as mentioned in the dell manual, went into Bios setup -> CPU Information -> Virtualization -> Enable. Also enabled the CPU info reporting to OS, which also was disabled by default.
- PB wanted to do JeOS as given here, the installation on the base machine was Ubuntu server 8.10 Intrepid amd64 build.
- Installed gui with sudo apt-get install ubuntu-desktop since I wanted to try out virt-manager. The installation of ubuntu-desktop stalled at 99% after downloading files for more than an hour, probably due to some network glitch. Did Ctrl-C, again ran the same command, this time it downloaded a few kB more and then finished the install with no more problems. The install itself took around 6 minutes. 4 GB RAM, amd64 kernel. Did apt-get remove gdm so that it would not boot into X.
- While installing virtual machines from CD with virt-manager as given here, wizard would not proceed until CD was unmounted in host OS. Then, the CD could be selected.
- Had to install qemu, without which install of virtual machines was failing. Listed in Ubuntu docs here, here and here.
sudo apt-get install kvm libvirt-bin ubuntu-vm-builder qemu bridge-utils - Trying to install from the same Ubuntu server CD using virt-manager was hanging at the point where it installs and configures grub. Tried the install in expert mode and installed Lilo instead, this works. For expert mode, hit F4 when booting from CD after choosing English (language of install).
- Virtual machines created with network options with virt-manager were not able to access the network. Only later did I know that all these machines needed was to be set to DHCP. QEMU has a strange and wonderful user mode virtual network which has a firewall / gateway / dhcp server at 10.0.2.2, DNS at 10.0.2.3. Since each instance of Qemu is a separate process, if set to DHCP, each Qemu virtual machine will get the address 10.0.2.15 ! And they are automatically NATed.
- Now tried the commandline vmbuilder, since the virt-manager based installs were taking so much time and user interaction.Did the install according to the docs, some find the install to take just a minute! But in my case, found it took two hours. Reason was that it was downloading from ubuntu.com instead of using CD.
- The --iso option for vmbuilder does not work, so the install was going to ubuntu.com for each package.
- Also found that lines separated by \ for a multiline command works if typed in, but takes only the first line if copy-pasted!! So, my first vmbuilder image was a basic default one. Luckily, the default made a run.sh filein the same directory, which gave the syntax to run the vm as
kvm -m 128 -drive file=disk0.qcow2 -net nic -net user $@
The trailing $@ is equivalent to $1 $2 $3..., which means that you can add any more commandline arguments to the script (run.sh) and they will be passed on to the kvm program. Man kvm says it takes the same arguments as kvm-qemu - and man kvm-qemu redirects to the qemu man page. - Again another trial - the commandline virt-install (since the vmbuilder was using so much network and time). . It complained of "Unsupported virtualization type" - apparently had to put --hvm in the arguments. Bridge mode causes it to crash. Reason seems to be that the bridging, tap interface etc should be manually set up beforehand. So, removed the bridge option --network bridge:eth1. Then, it has qemu-system-x86 running at 100% cpu for a long time - indefinitely? - with no disk activity, as seen with top. So abandoned this attempt. The command used was
virt-install --name testX3 --ram 512 --file testX3 file-size 6 --nographics --hvm --cdrom ubuntu-8.10-server-amd64.iso - The images created with vmbuilder could be copied and run using the kvm command. So, concentrating on those. Found the wonderful world of Qemu virtual networking! Redir seems to be the way to go, given at wikibooks. btm.geek says be sure to use bridging, but let's see how it goes with the user mode qemu. Now calling the virtual machines with
kvm -m 128 -hda disk0.qcow2 -hdb disk1.qcow2 -redir tcp:5555::22
for example exposes the ssh port 22 of the guest on the host machine's interfaces (localhost and eth0).
ssh -p 5555 user@localhost connects to the guest vm's sshd. We've to see if this method continues to work under load.
Tuesday, February 03, 2009
printing over network with command prompt
net use lpt2: \\machine2\shared_printer_name /persistent:yes
type filename.bin > lpt2
Thursday, January 29, 2009
colinux dns fix
nameserver 208.67.222.222Also did a rm * -f in /var/mail and restored the mailboxes with touch, chmod 600 and chown root:mail etc.
nameserver 208.67.220.220
Wednesday, January 28, 2009
Annoying pop-up warns of click-jacking

Some glitch either in Blogger or in this template or in Firefox - this pop-up comes up every time I try to search for something, and have to clear the 'keep it blocked' check box every time...
Correction: This is from the NoScript plugin, so a simple fix is to uninstall it!
Monday, January 26, 2009
pidgin
Edit: Found that it was the MSN connectivity module, or maybe anything more than one network at a time, which is causing the crash on resume: when MSN is logged in along with yahoo, it crashes. When only yahoo is logged on, no crash on hibernate and resume.
Sunday, January 25, 2009
two pass encoding fail
Saturday, January 24, 2009
multitasking joy
Wednesday, January 21, 2009
loading Ubuntu Linux on Clamshell iBook - part 4
USB mem-key automounting was pretty easy to add - just added ohci-hcd to the end of /etc/modules, and on next reboot, USB volumes were being automounted.
For the power management misreporting, did as suggested at applefritter, resetting PMU, PRAM and NVRAM followed by a full discharge. Copy-pasting from that post,
1) Reset the PMU again. With the computer off, use a straightened paper clip to push down the reset button "under the grille" near the power button for 5-10 seconds (the proper technique for this model). Your PMU has been reset.
2) Reset the PRAM. Start up the machine, then hold down the following 4-key combination immediately after the startup chime: [Apple]-[Option]-[letter P]-[letter R]. I usually find it helpful to hold [Apple]-[Option]-[letter R] with my left hand, press the power button with my right hand, then immediately press the [letter P]. Hold down all four keys until the Mac has chimed 3-4 times. When you let up, the Mac should start up normally. You'll have to shut it down again for the third step.
3) Reset the NVRAM. Start up the machine, then hold down the following 4-key combination immediately after the startup chime: [Apple]-[Option]-[letter O]-[letter F]. Hold down all four keys until the machine boots up to a grey screen with text: this is Open Firmware mode. NOTE: Be very careful what you do here! It's easy to mess things up in Open Firmware very quickly if you don't know what you're doing! Type the following commands exactly as they're written here, and follow each command by pressing the [Return] key:
reset-nvram
reset-all
Your NVRAM has been reset, and your Mac will now restart itself normally.
Now you can go about the task of completely draining, then recharging, your battery. Go to your Apple Menu>System Preferences>Energy Saver. Select "Battery" instead of "Power Adapter," and set the all the sliders to not sleep, ever. Period.
Now stick a CD in the drive and open iTunes. Turn on Repeat mode and play the CD indefinitely (you might want to pick a CD you actually like ...).
Unplug the power adapter and let the iBook run until it goes into low-power deep sleep. This could be the 5 minutes or so that you've been reporting, or it could be the full 2 hours that the battery should have been holding.
Once you're in deep-sleep mode, plug in the power adapter and allow the battery to charge for however long it takes -- overnight would be ideal. Then you can test the battery under normal use conditions and let us know what (if anything) has changed.
Sometimes, the PMU becomes confused and either (1) reports a charge higher than is actually on the battery, causing the charging circuit to turn off prematurely, (2) reports a charge lower than is actually on the battery, causing the computer to shut down or deep-sleep prematurely, or (3) some combination of these symptoms.
By resetting the PMU, the PRAM, and the NVRAM, the Mac should now have a clean slate and be forced to "relearn" when the battery is fully drained and fully charged. A full drain-and-charge cycle should help it find these parameters.
But unfortunately, after doing all that, still the battery shows only 44% charged, 1.15 hours remaining. Will have to dig some more.
Monday, January 19, 2009
router set up
Sunday, January 18, 2009
loading Ubuntu Linux on Clamshell iBook - part 3
Adding left and right button emulation - this post (google led me to this guy who links to a bunch of iBook Linuxers) mentioned that F11 and F12 were already mapped to middle and right-click. Just tried mine, mine are, too! Since mouseemu is installed, it must be doing the job. Or maybe it is the line in my /etc/X11/xorg.conf which says Option "XkbRules" "xorg"
... Aha! This guy says it is in /etc/sysctl.conf, and it is!
dev/mac_hid/mouse_button_emulation = 1
dev/mac_hid/mouse_button2_keycode = 87
dev/mac_hid/mouse_button3_keycode = 88
Choosing System->Preferences->Keyboard, one gets the Gnome Keyboard Prefs. In the layouts tab, choosing the Layout options button, under Numeric Keypad Delete behaviour, I have chosen the . button to be delete button. Next on the todo list is to clear up the power behaviour. Currently, the charging doesn't seem to be taking place when running linux, or maybe the pmu is not reporting it correctly. The Gnome panel was showing 44% for much of the time I was using it earlier. Now it shows 37%. When I disconnect and reconnect power, /proc/pmu/battery_0 shows a different count. But then it seems to get stuck?!
Right now, cat /proc/pmu/battery_0 shows:
flags : 00000011More than an hour back, it showed
charge : 810
max_charge : 2141
current : 0
voltage : 16030
time rem. : 0
flags : 00000011Plucking out and putting back the power plug makes the charge start moving at the rate of 5 for ten seconds (815 to 820 in around 10 sec, for example). But now it has stopped at 827 and doesn't move any more. Will have to check out this issue as well as the lack of USB hotplug support (sees the USB key only if rebooted).
charge : 789
max_charge : 2141
current : 0
voltage : 16020
time rem. : 0
toshiba satellite A75 laptop power jack re-soldering
Saturday, January 17, 2009
loading Ubuntu Linux on Clamshell iBook - part 2
After a 256 MB SDRAM ordered from ebay.in arrived, installed xubuntu-desktop. But when it rebooted, it came up with gdm and gnome desktop by default. Looked pretty good. Went back to the login screen, chose Xfce, found the look to be similar, but some things like the volume control in the panel were missing. So, went back to the gnome desktop. Not too sluggish, pretty good, in fact. Installed various stuff like flash plugins for firefox mozilla-plugin-gnash and swfdec-mozilla, OpenOffice, etc, performance is good. Have to download flv files and play them with vlc or mplayer, since the swfdec has a CPU drinking problem playing flv flash players, does not refresh the screen. Hibernate is not supported in hardware, I think. Suspend works well. Have to disable the "Failed to suspend" message in GConf as mentioned in the help center. Battery life is perpetually shown as 40% in the Gnome panel applet. Must take a dekko at what can be done about that. But someone wants to buy the machine, so I may not get time to do that...
Tuesday, January 13, 2009
outgoing mails from Thunderbird to gmail - AVAST!
Monday, January 12, 2009
extigy check
adding cleartype
Thunderbird migration
Migrating Thunderbbird to the Aspire 4530 was not so straightforward, since I'd made a bit of a mess while configuring it on saispace2. The mail files and the configuration were at two different places, and the settings had to be redone since the paths were different - E:\My Documents ... etc now instead of L:\Mozilla Thuderbird etc earlier.
- Copied contents of L:\Program Files\Mozilla Thunderbird\Profiles and Local Folders to the new location in E:\
- Copied contents of C:\Documents and Settings\username\Application Data\Thunderbird to same location
- After starting Thunderbird, went to each account and changed the path to sig file and local folders.
Saturday, January 10, 2009
New Acer laptop Aspire 4530
Friday, January 09, 2009
loading Ubuntu Linux on Clamshell iBook - part 1
The Clamshell iBook was hamstrung by non-availability of current browsers for MacOS 9. Loading MacOS X was not an option, with only 64 MB of RAM and no DVD drive. On an impulse, looked up Ubuntu, and found it had a PowerPC install supporting older machines with http://cdimage.ubuntu.com/ports/releases/hardy/release/ubuntu-8.04.1-alternate-powerpc.iso
First started the install using just the install-powerpc image, but this didn't work: it went on for 45 minutes before asking me for user info, then went on for 2 more hours or so before saying that the install failed. Probably due to the limited RAM, tho' the installer was in "Low memory mode".
Then tried the cli-expert-powerpc image. Chose the same partitioning scheme as before,
Guided - use full disk
It created a 180 MB swap
(#4 180 MB swap)
One problem with this install was that it did not ask for a username - it created username oem and added it to sudoers list. The message was that I could run oem-config-prepare and then oem-config to change the oem user to whatever name I wanted. But the latter did not work, probably because of the minimal install. So, manually added user using adduser and added to sudo list using the method given here
sudo usermod -a -G admin usernameremoving the oem user with the technique given here, userdel.
Sound started working by adding snd-powermac to the end of modules with
sudo nano /etc/modulesas given in the PowerPC FAQ.
glxinfo reports no accelerated video as of now, though tried some stunts with setting the driver to ati and so on.
The Mac keyboard has some mapping problems. Where is the Del key for Ctrl-Alt-Del ?! Also, only a single button on the track-pad, so middle-clicking is out. Possible solution is at http://linuxaleph.blogspot.com/2008/11/mapping-middle-click-to-keyboard-key.html
Actually none of the bugs given at the Low-Memory Install page afffected my install, particularly the bug #202959 did not happen for me on the PowerPC. It does show an error while booting,
PCI: Cannot allocate resource region 0 of device 0001:10:19.0but the boot process continues.
Adding repositories by editing sources.list sudo nano /etc/apt/sources.list was not so easy. The PowerPC builds were shifted to the ports servers, so finally found at http://ports.ubuntu.com/dists/hardy/
My sources.list file :
deb http://ports.ubuntu.com/ hardy-security main restricted
deb-src http://ports.ubuntu.com/ hardy-security main restricted
deb http://ports.ubuntu.com/ hardy-security universe
deb-src http://ports.ubuntu.com/ hardy-security universe
deb http://ports.ubuntu.com/ hardy-security multiverse
deb-src http://ports.ubuntu.com/ hardy-security multiverse
deb http://ports.ubuntu.com/ hardy main restricted
deb-src http://ports.ubuntu.com/ hardy main restricted
deb http://ports.ubuntu.com/ hardy universe
deb-src http://ports.ubuntu.com/ hardy universe
deb http://ports.ubuntu.com/ hardy multiverse
deb-src http://ports.ubuntu.com/ hardy multiverse
Installed IceWM using instructions from the Low-Memory Install page with
sudo aptitude install icewm iceconf icepref iceme icewm-themesTried installing xdm for auto-login, since gdm and kdm are resource-hungry. But then xdm doesn't have that feature! So, using the technique given here and here, putting startx at the end of .bashrc as
if [ $(tty) == "/dev/tty1" ]; thenFirefox and dillo work OK. Dillo is fast but doesn't render CSS. Firefox needs more RAM, swaps a lot. Ordered more RAM from ebay.in - PC-133 SDRAM "suitable for most P-III laptops". Actually need PC-66, I hope it works. With more RAM, might try installing xubuntu-desktop and other goodies.
startx
/sbin/halt
fi
Tuesday, December 23, 2008
saga of corrupt pst file
Techrepublic points to MS knowledgebase and says pst max filesize is 2 GB
http://articles.techrepublic.
http://support.microsoft.com/
also says the same thing,
http://support.microsoft.com/
mentions that it affects
- Microsoft Outlook 2000 Standard Edition
- Microsoft Outlook 2002 Standard Edition
- Microsoft Outlook 98 Standard Edition
- Microsoft Outlook 97 Standard Edition
"I'd suggest using Mozilla Thunderbird on Windows to do the conversion. It creates MBOX files, and it's free. I've used it to migrate 5 GB of PST files to mail.app for my wife and myself."
from comments at http://www.davidalison.com/
According to http://www.tek-tips.com/
"server side .pst tools don't support .pst files larger than 2gb. "
So there may have been some corruption if the file has gone through such tools.
Some more possibilities are listed in the comments of:
http://weblogs.asp.net/bleroy/
which say
- Don't use scanpst for > 2 GB
- Try opening in outlook 2007 (maybe you are using an even later version?)
- Try OutlookFix http://www.cimaware.com/main/
products/outlookfix.php
Tuesday, December 09, 2008
repairing dialup networking in XP
1. Remove Modem driver from the Device Manager.
- Right click My Computer and select Properties.
- Click on Hardware, Device Manager. Click on + sign by modem, right click and
uninstall modem.
2. Delete the dial up connections and remove 3rd party RAS related
program if any.
3. Run the attached file to install RArepair.exe, then run RArepair.exe to
reinstall RAS components. Reboot.
4. Reinstall Modem driver and the 3rd party dial up program if it is
required by your ISP.
5. Recreate the dial up connection and check if the problem is resolved.
The exe file is also available on the forum page.
Friday, November 28, 2008
easy scheduled shutdown for windows
M-Audio MobilePre USB
While doing the tests, played back drama CD with 13 tracks with the Marantz CD recorder (CDR 631)and recorded on saispace2 and sathya with the MobilePre and Darla cards respectively. The Darla recording synced with the CD audio captured using Cool Edit Pro's audio extraction, accurate to 0.02 sec over 70 minutes. The MobilePro had the 0.3 sec in 30 minutes.
Friday, November 21, 2008
Thursday, November 06, 2008
HP Pavilion travails
First, the Broadcom Wifi refused to work with our Airport wireless network. After entering the SSID and WEP key, a simple "Repair" was enough to make the Compaq connect to it. Tried removing the earlier configured wireless network, retaining only our home network. No go. Finally tried a restart. Voila! Connected. So, try try try again, if you don't succeed, restart!
The nVidia driver was a hefty 50 MB download. Got the link from
http://en.kioskea.net/forum/affich-20336-hp-pavilion-dv6000-xp-drivers
Unfortunately, Windows downloaded a couple of updates, and I thought I could club both restarts together. So, ran the nVidia driver setup and chose not to restart immediately, ran the update installation, chose not to restart immediately, then restarted. But then the screen remained black after the initial XP splash screen. Back-light is seen, but no display.
Tried Safe mode: login screen comes up, but keyboard and trackpad are disabled! Keyboard only works in the initial boot menu. Even attaching a USB keyboard didn't help. Turned in for the night on that note.
Maybe in normal boot, the new driver might be making the external VGA the main screen, thought I, so tried it out today with an external monitor. That one too showed exactly the same display as the built-in LCD.
Is it a hardware problem? Tried booting with Knoppix. What I had was an older version from Linuxforu, 3.2. It booted fine the first time, but reported that it found BIOS Bug #81[000...000] - Later rebooting worked only in failsafe mode. Anyway, it seemed there was no hardware problem. But couldn't do any repair of the Windows install from there, since it was on NTFS and this version of Knoppix couldn't mount the drive though it made suitable fstab entries.
Next option was to try Windows XP recovery console using my XP disk. Administrator password? It turns out the default is blank! OK, but what do I do next? Tried chkdsk /r - it found some errors and corrected them, but on restart, the problem remained.
According to this thread, instead of recovery console, I should try the Windows repair method:
.... would probably recommend that you just do a setup-mode repair by booting from your Windows CD.
Skip the initial repair console option and choose to install Windows. When it says there is already a Windows, would you like to repair it?, that's the repair you want. It will run a full setup and keep your existing Windows configuration. This will mostly back you out to the service pack that is on your CD and so you'll need to reapply updates and service packs (except of course the
offending one.)
If the setup won't repair your existing Windows because your current service pack level is too far past your CD, you'll need to first build a "slipstreamed" CD with Win2K SP4 or XP SP2 integrated into it. The information to do this is widely available on the web, or post back if you need to and I'll give you details. You of course need another machine or a separate, clean Windows install with a CD-RW to make this....
OK, worked as advertised, except... it asked for my XP CD key and then asked for activation! Yikes. Tried options from RB both of whose CDs did not boot, finally got a volume licensed CD from P. At last. After another round of "repair", it finally came up.
Then I had to install the network driver. After that installation, still the Network Connections was empty! When in doubt, restart; so restarted. But the Wireless Adapter was shown as driver not loaded, and the ethernet adapter driver also was not loaded. Tried deleting the devices in device manager as per the trouble-shooting wizard's advice. Then rebooting with the Wireless adapter enabled, successfully detected both wireless and wired connections. ]
Phew!
Edit: And now the keyboard and trackpad work in Safe mode too.
Monday, November 03, 2008
setting up an Airport network with a PC
For setting up the connection, Network Connections -> Wireless Connection -> Properties -> Wireless Networks tab, add the SSID and the key. Once this is done, "Repair" option for the wireless connection makes it connect. In case a wired connection was active, the newly connected wireless connection may not be used as the gateway, a restart may be required.
Friday, October 31, 2008
posting with Wamcom Mozilla on the iBook
Opera 6.03 has an issue with links not working: clicking on a link does not follow the hyperlink. Strange. Maybe a system problem? Will try the older Opera 5. Wamcom Mozilla - OK when it works, but crashes often. Like it crashed 5 minutes back going to the Apple website's Airport Extreme page! Error 2, and the computer needs to be restarted.
The blogger edit toolbar is seen, but in this browser, it's buggy - selecting some text and hitting any of the button makes all the text in the post disappear!
Edit: Got the Opera 6 from mac.oldapps.com Will try the Opera 5 version, later, maybe.
Edit: Opera 5 works. But javascript, rendering etc leave much to be desired. Mozilla seems the best of the lot.
Wednesday, October 29, 2008
posting from the iBook
Edit: Since the IE5 on the iBook was not displaying the edit toolbar on Blogger, had to log in again on the PC to add the links. Will be installing better browsers soon.
Audition 3 mixer monitoring problem
Saturday, October 25, 2008
Adobe Audition 3
Tuesday, October 21, 2008
text find and replace replace
Saturday, October 18, 2008
problem booting saispace2
Friday, October 17, 2008
exploring video streaming hosting options
Bypass Gmail Spam filter
Thursday, October 16, 2008
chrome application shortcut
Search and Replace
multiple recorders in Nero
Wednesday, October 15, 2008
videos on the iBook
Tuesday, October 14, 2008
find out which files are opened by a process
INFO: The system global flag 'maintain objects list' needs to be enabled to seeUnfortunately Openfiles /? does not give the solution so easily. Found it by googling at ExpertsExchange - The actual answer is more easily given by Openfiles /Local /? which is
local opened files. See Openfiles /? for more information.
The condition requiring a restart, and the performance overhead, means that we should go with ProcessExplorer....
OPENFILES /Local [ ON | OFF ]
Description:
Enables an administrator to enable or disable the system global flag
'maintain objects list' which tracks local file handles. Changes made
by this switch will take effect only after restarting the system.
Note: Enabling this flag adds performance overhead.
Examples:
OPENFILES /Local
OPENFILES /Local ON
OPENFILES /Local OFF
In Process Explorer, there is a Findmenu item. Using that, just give the substring you want to search for. No wildcards. Just substring. If you want to see any file ending with .mp3, should not give *.mp3, just .mp3. And so on.
new feature in Listen Now
Sunday, October 12, 2008
Data entry techniques on the PocketPC
- Transcriber - recognizes natural handwriting if written neatly.
- Block Recognizer - similar to Palm's Graffiti.
- Letter recognizer - supposed to recognize individual letters entered into a part of the screen
- Onscreen keyboard
This is a test of handwriting recognition where I will keep writing till it stops recognizing stuff. With this thing I can write pretty fast, but not very accurately. If I have to write with this. T,cs the time takento write neatly and then correct it waltz the effort? Or is typing with the virtual keyboard a better choice? Only timee tests will tell. But fol the moment, Tim trying it out.worth thePlncbablly it will recognizeProbablyI have to write very legibly otherwise it will recognize junk.
Using the onscreen keyboard:
This may be much slower, but less error-prone. And the suggestions also save time.
The quick brown fox jumped over the lazy dog. 40 sec. With keyboard.
The quick brown fox jumped over the lazy dog. 45 sec with transcriber after correcting with kb.
The quick brown fox jumped over the lazy dog. 42 sec. With block recognizer, many errors as I'm out of practice.
The qulck bkown fox jumpag oock tha lnzy boa 37seconds wltth eefceh necoynlzer. (letter recognizer)
The quick brown fox jumped over the lazy dog.
28 seconds with transcriber! Result of writing neatly.
Of course, now when I'm entering this into the blog, I remember that the phrase is actually "The quick brown fox jumps over the lazy dog." Jumps, not jumped.
speeds of various flash memory devices
Transcend 8 GB JF220 - 20 sec write, 5 sec read. 40 Mbps w / 160 Mbps r.
Sandisk 1 GB - 20 sec write, 8 sec read. 40 Mbps w /100 Mbps r.
Kingston 512 MB SD-card - 35 sec write, 14 sec read. 23 Mbps w / 57 Mbps read.
Not a very scientific test, since just transferring the 100 MB file from one hard disk to another took 7 sec - the hard disk speeds probably interfere with the results above. But gives a rough idea.
At a time, the Transcend cannot record more than 2 mono audio tracks at 16 bit 44.1 kHz from Cubase - trying to add any more results in buffer underrun and Cubase stops recording. That's just 1.4 Mbps. Relatively, then, the SD-card with a card reader can probably not handle more than one mono audio track at a time while recording.
The unbranded All-in-One card reader I have also has some issues. Twice it caused the drive to vanish while reading the 100 MB file from the SD-card - power over USB cable issue, most probably. Connected it to another USB slot, checked with scandisk and found no errors, copied OK.
more software for the PocketPC
Friday, October 10, 2008
tweaking analog referer reports
REFFLOOR 1000s
#list only those with more than 1000 ref in last 7 days
REFREPEXCLUDE http://mail.google.com/*
REFREPEXCLUDE http://*mail*
REFREPEXCLUDE http://sss.sssbpt.org/sssbpt/?p=confirm&uid*
Sunday, October 05, 2008
e-commerce
Recording Yagnam chants
Wednesday, October 01, 2008
burnt fingers with IMAP
- His total email size is going to be more than 4 GB, and according to Murphy's law, he will probably be still on FAT32, so will crash when that happens.
- Archiving to DVD and deleting old mbox files will probably cause catastrophe with IMAP - won't that delete files on the server?
Sunday, September 28, 2008
fixed stuck ups button
Friday, September 26, 2008
DKU-5 cable installation problem
http://www.susteen.com/support/kb_answers.asp?QuestionId=34
Reasons could be:
1. Phone not supported by cable.
2. No proper driver installed.
3. Cable/phone may be damaged
DKU-5 seems to be compatible with 6070. Checking it out, found that the driver had an issue - Device manager showed that the USB-UART driver had problems.
While reinstalling the driver from driver CD, error message is "name already in use as service name". Uninstalled PC Suite and tried, still no go.
Uninstalled PC Suite, booted safe mode, removed all instances, rebooted safe mode, checked no instances of USB-UART, still the problem persisted.
Some people report that the driver which came with their CD was not working, they downloaded a driver from the manufacturer's website and that worked. But in this case, googling "USB World Technology Inc" gave a driver from driverguide.com which seems to be identical to the one in the CD.
Then, following the tip at linksys forum checked C:\WINDOWS\setupapi.log. It referred to the service "Serenum". Searched with regedit, found the keys, but could not delete them: it says "Unable to delete all specified values". So, stuck till some solution for this is found.
Sunday, September 21, 2008
nice web 2.0 site
capturing from video conferencing system
Tried connecting to the box using NetMeeting, since it supports H.323 and SIP. NetMeeting only got us 320x240 video with 10fps or so.
Have to try Mizuphone SIP client next, running a local SIP server.
Thursday, September 04, 2008
freeing up space in C: on saispace2
Monday, August 25, 2008
<preset name="96 k mono">
<comment>
96 kbps cbr mono.
Command line used: "-b 96 -m m" (maybe)
</comment>
<value name="lameNumberChannels">1</value>
<value name="lameBitrate">96</value>
<value name="lameCBR">1</value>
<value name="hideLameSettings">1</value>
</preset>
Edit (Jan 12 2009): Move this to the top of the presets list in the xml file to make it the default...
Saturday, August 23, 2008
loose contact with line driver card?
Sunday, August 17, 2008
System troubles at Space
And today, just when WB youth arrived for their show, the Star-Ball lamp blew. First replacement also seemed to be bad. Only after they left (showing them "Love is My Form" video instead) and we tried another lamp lying on the table, it worked! So we're down to our last replacement lamp....
Saturday, August 09, 2008
IRDA transfers
Tuesday, August 05, 2008
Using Transcend JF220 with Linux
In order to use it with Linux and the iBook, had to run through some hoops because of its integrated finger-print reader. First, tried the partitioning techniques suggested in places like here, but fdisk on linux just showed the drive as having 10 MB. Learned that this was the "public" partition, and that I would have to repartition the drive's "public" and "private" areas using the Repartition tool given on CD, which works only on Windows. And for that to work, I have to go through a Wizard and submit my fingerprint! Struggled for a while with the fingerprint, since the sensor seemed to be sensitive to orientation (or maybe my finger-prints are not well-defined). Got through after 10-20 tries. After the repartition, when I made the "private" area the minimum possible 50 MB and the rest as "public", the iBook and Linux recognize the 7.5 GB space in the drive without any problem.
Now I have to try the Windows method of disabling auto-insert notification to prevent the fingerprint software from running in Windows. Unfortunately, the Win98 method doesn't work with XP. The fingerprint stuff is in a partition which is recognised as a CD-ROM - formatted cdfs. Can't even remove it.
Edit: Did the autoplay disabling with the Group Policy method mentioned here and as a comment here.
New toy - Toshiba e400 PocketPC
Intel PXA261 @ 300 MHz.
64 MB RAM, 16 MB ROM.
SD-card slot (512 MB card loaded).
16 bit colour TFT 240 x 320 pixels, 3.5 inches.
Microsoft PocketPC Ver. 4.20.1081 (2003, I think).
Here are the usage notes.
- Removing the SD-card - According to the manual, you must shut off the PocketPC before removing the SD card. Also, in my experience, to prevent File Explorer from hanging, navigate to some other folder or the root folder (My Device) before putting off the device and removing the card, then put on the device to check that the card has been "unmounted". Later, if the card is put back (again, with the device switched off) File Explorer will then remount the card and show the new contents correctly. Maybe using "Stop All" in Settings -> System -> Memory -> Running Programs is also useful.
- Installing programs without the USB cable - Those programs for pocketpc which are available as CAB files installed quite well, just by copying to SD card and clicking on them from File Explorer.
- PDF readers - PocketXpdf does not have text reflow. Had problems with Foxit reader - it installs an installer(!) from the CAB file, which is not recognised as a PocketPC executable. Will have to try Adobe Reader using the convoluted technique of running the install with ActiveSync, copying out the CAB files created and so on.
- Video players - Tried TCPMP and PocketMVP from PocketPCFreewares.com. TCPMP seemed to have the best performance and seemed the most tweakable. The Windows Media Player which is already installed plays wmv files quite well.
- Ebook Readers - Successfully installed iSilo and Mobipocket readers. The Pocket Word and Pocket Excel which are also installed are also useful. I specially like iSilo's scrolling along with a finger touch-drag on the screen. iSilo supports pdb and txt, Mobipocket supports html and prc, Pocket Word reads doc, but did not work with an RTF exported from Google Docs. Mobi had trouble with a large html file (BattleStar Galactica novel, 540 kB single html file) saying insufficient memory, but read a H2H issue, 557 kB, fine. This was converted from pdf to html with libprs500. Both files read with the Pocket IE installed, but the novel had formatting problems due to margins which were too large.
Tuesday, July 29, 2008
flickr versus picasaweb
Monday, July 28, 2008
phplist bounce processing
A process for this page is already running and it was still alive 305 seconds agoand refused to run from commandline. Went back to the web-based link from the admin section, this time it said
Running commandline, quitting. We'll find out what to do in the next run.
A process for this page is already running and it was still alive 461 seconds agobut after 20 sec, started processing afresh. But this is somewhat risky when running from a remote machine, because the connection may break during the hour or so taken for processing. The best thing, then, would be to either
Sleeping for 20 seconds, aborting will quit
- run the bounce processing as a cron job (like we do), or
- when troubleshooting, run from inside a screen console, detach the screen when not actively monitoring it, or
- run the web-based link from a local X console, or
- run the web-based link from a VNC X console running on localhost.
Saturday, July 19, 2008
tips from gizmo - print folder contents and boot safe mode
To add the print directory feature to Windows Explorer, follow these steps:He notes that this is adapted from Microsoft's knowledgebase.
a) Open Notepad and then copy and paste the following text into Notepad:
@echo off
dir %1 /-p /o:gn > "%temp%\Listing"
start /w notepad /p "%temp%\Listing"
del "%temp%\Listing"
exit
b) Save the file as Prin.bat in the Windows directory, and then close Notepad.
c) Start Windows Explorer, click Tools, and then click Folder Options.
d) Click the File Types tab, and then click File Folder. d1)Click Advanced (this step added by Gizmo)
e) Click Edit, and then click New.
f) In the Action box, type Print Directory Listing.
g) In Application used to perform action, click Prin.bat, and then click OK.
h) Click OK, click Apply, and then click OK.
Now Open Windows Explorer, right-click the folder that you would like to print a directory listing of, and then click Print Directory Listing.
...completely reliable way of booting into Safe Mode and that's by using the MSConfig Utility. This tip is not only useful getting problem USB keyboards into Safe Mode but also for folks who have trouble getting their timing right when pressing the F8 key during the boot sequence.This is especially useful for people like me in multi-boot environments.
Press Start/Run and type msconfig into the run box and press Enter. When MSConfig starts, click the BOOT.TAB and put a check mark against /SAFEBOOT. Next time you boot, Windows will automatically start in Safe mode without any need to press F8. Remember later to take out the check mark otherwise your PC will always boot in Safe Mode.
gmail loading problem
Thursday, July 17, 2008
Kaspersky online virus scan
dhcp problem
After many tries with WinXP "repair" and the command-line
ipconfig /releaseand other such stunts, even a wired connection to the router failed, and pings showed a strange character in the destination's place,
ipconfig /renew
Pinging <strange wing-dings character> with 32 bytes of data:Finally it was wiped and the dell recovery CD was used to re-install WinXP, then everything started working again.
Thursday, July 10, 2008
keychain: command not found
keychain: command not foundevery time we logged on to krishna via ssh. Googled, found that it was a bug in Mandriva, fixed it by editing .bash_profile by adding an if [ -x /usr/bin/keychain ] like
if [ ! -d $HOME/.keychain ]; thenThe [space] before the -x is important....
if [ -x /usr/bin/keychain ] ; then
keychain
fi
fi
Tuesday, July 08, 2008
improving speed on WinSCP
listening to SGH on mobile
http://europe.nokia.com/A41107005
http://europe.nokia.com/A41121127
For Nokia phones not supported by this app, there is the S60 Internet Radio.
The user instructions say that you need to copy the pls files of the stations of your choice. For SGH, the pls files are linked from the listen now links:For Windows mobile, there is GSPlayer. For phones with Java, Glassplayer - not free, costs $5. Will add more players here as I find them.
http://www.radiosai.org/Pages/AsiaStream.pls
http://www.radiosai.org/Pages/AfriStream.pls
http://www.radiosai.org/Pages/AmeriStream.pls
http://www.radiosai.org/Pages/BhajanStream.pls
http://www.radiosai.org/Pages/DiscourseStream.pls
Please note that if your internet connection is slow, you will hear choppy audio with breaks.
RSS feeds or email updates for any page on the Net
follow-up on installing indic support on XP
After installing and rebooting, once again go to Control Panel -> Regional and Language Options -> Languages -> Details -> Add , choose your language, and in the drop down below, choose the newly installed IME if you want to type in phonetic English characters, or choose Inscript or other keyboard layout if you prefer that. Again you may need to restart. The Wikipedia Indic support page says that XP SP2 is required for Malayalam support, but Devanagari and the other South Indian languages can do without SP2. Blogger's transliteration help is here, which notes that the transliteration is also available as a separate product here.IMEs cannot be installed or upgraded on a system that doesn't already support IMEs in the same language that you are installing. To enable Indic IME, go to control panel - > Regional and Language Options. Select Language Tab, and check the option "Install files for complex scripts and left-to-right language and insert Win XP CD in your CD-ROM drive.
downloading files with lynx
Edit: The Putty suite's PSFTP seems to be as slow as WinScp - commandline on Linux is still faster.
Edit: See this post for improving speed on Windows!
Monday, July 07, 2008
FF3 installation issue
Thursday, July 03, 2008
Checking out Indic language support
यह हिन्दी में है - Yeh Hindi mein hai
ഇതു മലയാളത്à´¤ിà´²ാà´£് - ithu malayalathilAnu
ఇది à°¤ెà°²ుà°—ుà°²ో - idi telugulo
ಇದು ಕನ್ನಡದಲ್ಲಿ - idu kannadadalli
இது தமிà®´ில் - ithu tamizhil
Blogger does not allow copy-paste between languages as far as I can see - the pasted script remains as Malayalam or Hindi or English or Tamil or Kannada or Telugu. The Language Tool on the toolbar does the magic, with Spell-check, too! Nice. Should try out some desktop Indic tools, maybe.
Edit: Tried various tools including Microsoft's Indic support site and Iwrite32. Using the Microsoft IME (Input Method Editor), text can be entered nicely in all apps, but transliteration between scripts is possible only in MS Office or some limited apps. I tried and did not succeed with Notepad, Wordpad, typing in IE or Firefox. Google docs, too can use the MS IME, but no transliteration. The best of the lot seemed to be online tools - wikipedia page on Indic support has lots and lots of good info and links. The online transliterate tool girgit looks interesting.
Edit: corrected a typo in the Tamil.
Tuesday, June 24, 2008
using the JW flash player for our radio streams
Friday, June 20, 2008
imported contacts successfully, google docs and gears
As mentioned in my previous post, tried out importing the "Gmail csv" exported by Gmail's contact manager, adding more stuff in exactly the same format, this time it worked. But to do that, had to go through a few hoops.
First, Google Docs did not allow me to just copy-paste from one spreadsheet to another. Had to go through the pain of publishing as csv using the 'More publishing Options' from one spreadsheet, importing it as external data on a new sheet on the destination spreadsheet, then linking the data to another sheet. But once I installed Gears, everything became simple again. I could just highlight cells on one spreadsheet, copy, highlight cells on the other spreadsheet, paste. Gears really adds to the functionality, but maybe the Google folks are leery of publicising its virtues too much due to its privacy issues - not safe to use with a public computer....
Tuesday, June 17, 2008
wonder why gmail contacts regressed
- Search doesn't match for any field other than contact name
- Does not allow deleting of more than 20 contacts at a time
- Import is more finicky - csv files which work with old version don't work with new version!
google apps user export
Friday, June 13, 2008
java vnc viewer's scaling support
Edited the index.vnc file by adding the scale factor parameter. But adding scaling causes the refresh to break - cursor trails everywhere - and also the auto scaling was not working in spite of using the open new window parameter. Probably because of the old version of vnc server running on saiwaves. So currently better to stick to no scaling on Linux.
manually adding files to the audio search database
- not have a semi-colon or CR-LF after the last entry
- fill in the duration in minutes correctly
- make sure there are no spaces in the download-filename.
Wednesday, June 11, 2008
dharma's AGP slot bad - maybe
portable DVD / VCD player smoothing issue
Monday, June 09, 2008
problems with flash video
Edit: After a restart, my firefox again had the same problem. This time, tried the "acceleration toggle" trick - turn hardware acceleration off and then on again, using the settings option available by right-clicking on the video, restarting the browser each time. And it started working again.
Thursday, June 05, 2008
krishna not resolving dns after reboot
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
We could not just remove resolvconf like this guy did, since drakconf did not allow it. Then PB edited /etc/resolvconf/resolv.conf.d/tail and added
nameserver x.y.z.wto get it working, with inputs from forums like http://ubuntuforums.org/showthread.php?t=188551
nameserver p.q.r.s
nameserver a.b.c.d
Tuesday, June 03, 2008
the toshiba laptop finally gets professional help
Saturday, May 31, 2008
tfd update from external ip
firewall at the studio, krishna's booting trouble
Related development - krishna not coming up after reboot, probably due to incorrect master-slave setting on extra hard disk or bootable flag or something like that, added to the fact that hotplug or kudzu is not installed, so it needed to drop to a root shell, then we edit /etc/fstab to remove the offending hard disk's entries, then it boots.
Saturday, May 24, 2008
flash flames
Pro-flash: http://anthonyfranco.wordpress.com/...cations-rias/
Anti-flash: http://tortus.com/news/flash_flashy_isnt_always_good
To be honest, the "anti" page is not anti-flash, just against its misuse. And the pro page lists many ways of doing things, which are not really done the correct way by our people, so it really is a pointer to flash misuse at our end once again....
Friday, May 09, 2008
miscellaneous vacation stuff
Got video out working from the laptop, for seeing on the TV. S-video to composite Cable made with the help googling, diagram at
http://www.epanorama.net/circuits/svideo2cvideo.html , S did the soldering.
Monday, April 21, 2008
more on the toshiba laptop
Tuesday, April 15, 2008
AW4416 down
Stopgap arrangement - Aux outs of the Soundcraft mixer into the Tascam US-1641, moving sliders in software using the mouse.

