Sunday, June 28, 2009

DD-WRT and vpnc

Followed this to configure vpnc on my Buffalo router with DD-WRT. In addition, added the following options to netmasq on router setup:
dhcp-option=6,192.168.123.254,68.87.66.196,171.70.168.183
It's still not ideal, iTalkBB doesn't work and DNS lookup is slow when vpn is established.

Friday, June 12, 2009

ubuntu Jaunty Jackalope (9.04) on Thinkpad X61s

I used wubi to install Ubuntu inside Windows, then used LVPM to move it to a separate partition later when everything's verified working.

I'm amazed that almost everything works out of box, below are some little tweaks needed.

Sync with Windows Mobile phone:
http://www.synce.org/moin/SynceInstallation/Ubuntu/ModernDevice
http://ubuntuforums.org/showthread.php?p=6913410

Vertical scrolling:
http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint

Webcam:
Logitech QuickcamPro4000 works without tweaks but it only works on the USB port on the left side, no image when plugged into the two USB ports on the right side.Link

Email:
Evolution, need to import the pst files into Thunderbird on windows first and then import from Thunderbird to Evolution.
http://ubuntu-tutorials.com/2006/10/24/use-evolution-with-microsoft-exchange-ubuntu-606-610/
http://www.linuxquestions.org/linux/answers/Applications_GUI_Multimedia/Howto_migrate_from_Thunderbird_to_Evolution
Update06/16/09: email seems to be most troublesome, the pst import of Thunderbird works but html emails are not shown correctly. So I ended up installing hMailServer on windows and set up a local IMAP server, copy archived folders into the IMAP server in outlook and then copy them to local folder in Thunderbird. Once it's in TB, make a s-link from ~/mail to TB local directory and import in Evolution.
Auto-archive in Evolution: https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/197290 Anoop P B. (doesn't work for exchange mail)

IM:
Pidgin, I use Pidgin on windows too so no issue here. Sametime server for Cisco is sametime-im.cisco.com, port 1533.

Virtualbox:
I still get BSOD with Virtualbox booting the windows partition (error 0x00000050).
Followed instructions here to get the box booting:
http://brionetka.com/linux/?p=82

VMware Player:
Followed this:
http://imrannazar.com/Running-a-Windows-Partition-in-VMware
But no luck either.

VMware Server:
Follow this and use Cisco's preinstalled WinXP vmdk image file. The bridged network didn't work in Player and it is somehow required for the Cisco domain registration to go through.
Use Ctrl-Alt-PrtScn instead of Ctrl-Alt-Ins
http://danielmiessler.com/blog/vmware-server-20-for-linux-doesnt-have-a-send-ctrl-alt-del-button
add to /etc/fstab following line to make usb devices work on VM.
usbfs   /proc/bus/usb   usbfs   auto,devmode=666   0   0
It seems VMware sometimes mess up the keyboard making ctrl, shift and some other keys unusable. Type setxkbmap to get the keys back.


VPN:
Use network-manager-vpnc and the patch by Patrick Healy in this bug report:
https://bugs.launchpad.net/ubuntu/+source/network-manager-vpnc/+bug/360818
SoftokenII: http://zed.cisco.com/confluence/display/LINUX/SofToken+under+WINE

Webex:
http://www.gargolito.com/2008/11/how-to-fix-webex-in-ubuntu-hardyibix.html
http://linuxsagas.wordpress.com/2009/02/20/webex-in-ubuntu-810/Link

When you see NO_PUBKEY:
In short, you have to find the gpg key for your ppa (Personal Package Archives) I believe you are looking for this one http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0xCA5D96E9AB82B686
Save the contents of the webpage as a text file
Import the textfile into System -> Administration -> (Software Sources(Authentication->import key))
Or this:
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com {key}
Compiz:
Need to comment the line to blacklist Intel 965 and update mesa to 4.0:
http://ubuntuforums.org/archive/index.php/t-1115208.html

PulseAudio and Skype
Skype didn't play nice with PA originally, I tried these:
Guide 1
Guide 2
Guide 3
And Skype kinda works but still have memory leak issue as reported here, so I ended up using HDA Intel (hw:intel,0) device for both sound out and ringing.

Dock eject hangs the system. Fix.

Internal Mic need to be activated:
Go to the Volume Control (gnome-volume-control) > Edit > Preferences > check the Capture box > Close. Next go to the Recording tab and set Capture to max (and unmute it if it's muted)
Then went to the mixer's Options tab and where it said input source and set them both to internal mic.
now skype works just fine.