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.
Sunday, June 28, 2009
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.
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.
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.

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.
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/
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:
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.
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 0It 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/

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.
Wednesday, December 24, 2008
Chinese filename in Linux and Samba for Windows share
Ok, so there was some old files with Chinese characters that I have in the harddrive with GB2312 encoding, they were downloaded by Azeureus in my gentoo build, but after I installed Ubuntu 8.10 (Intrepid Ibex), they don't show up correctly, but they show ok on Samba viewed from Windows machine. On the other hand, the files with Chinese characters created under Ubuntu was not recognized in Samba. After a lot of googling and fiddling around, I finally got it working correctly both ways:
1. In Ubuntu, I need to do
sudo apt-get install convmv
convmv -r -f gb2312 -t utf8 --notest --nosmart *
to convert all filenames to utf8 encoding.
2. In smb.conf, I need
display charset = cp936
dos charset = 936
unix charset = utf-8
Voila, everything works.
1. In Ubuntu, I need to do
sudo apt-get install convmv
convmv -r -f gb2312 -t utf8 --notest --nosmart *
to convert all filenames to utf8 encoding.
2. In smb.conf, I need
display charset = cp936
dos charset = 936
unix charset = utf-8
Voila, everything works.
Thursday, December 20, 2007
Thursday, December 13, 2007
Saturday, December 8, 2007
ape in bmp and audacious
http://ubuntuforums.org/showthread.php?t=52785
http://hi.baidu.com/ilmhy/blog/item/0427ff13f70d1f015baf5309.html
http://ftp.br.freebsd.org/distfiles/bmp-mac-0.1.1.tar.gz
Edit: bmp works but audacious doesn't (with ape), the audacious lyriczilla plugin wasn't found either.
For rhythmbox, the gstreamer mac plugin is still at version 0.8, it need to be updated to 1.0 to be used.
Edit2: http://ubuntuforums.org/showthread.php?p=3716721 update audacious to 1.4.3
http://www.netswarm.net/misc/ update audacious-mac plugin to 0.3.10
now audacious seems to play most ape files, but it still has a weird problem, the playlist window will follow the movement of mouse without clicking on it.
http://hi.baidu.com/ilmhy/blog/item/0427ff13f70d1f015baf5309.html
http://ftp.br.freebsd.org/distfiles/bmp-mac-0.1.1.tar.gz
Edit: bmp works but audacious doesn't (with ape), the audacious lyriczilla plugin wasn't found either.
For rhythmbox, the gstreamer mac plugin is still at version 0.8, it need to be updated to 1.0 to be used.
Edit2: http://ubuntuforums.org/showthread.php?p=3716721 update audacious to 1.4.3
http://www.netswarm.net/misc/ update audacious-mac plugin to 0.3.10
now audacious seems to play most ape files, but it still has a weird problem, the playlist window will follow the movement of mouse without clicking on it.
alsa
http://episteme.arstechnica.com/eve/forums/a/tpc/f/96509133/m/645003958831
I'm trying to configure alsa to work with the Chaintech AV-710 flashed to AudioTrak Prodigy 7.1 card, but no luck so far. Above is the thread I'm looking at now.
Edit: somehow, it just works now, but problem is it go through dmix so it is not bit perfect any more. To play music bit-perfect, I need to set the 'sound' in system->preferences to ICE1724 IEC958 (gstreamer?), and software that use the default system sound will go to the device directly.
I'm trying to configure alsa to work with the Chaintech AV-710 flashed to AudioTrak Prodigy 7.1 card, but no luck so far. Above is the thread I'm looking at now.
Edit: somehow, it just works now, but problem is it go through dmix so it is not bit perfect any more. To play music bit-perfect, I need to set the 'sound' in system->preferences to ICE1724 IEC958 (gstreamer?), and software that use the default system sound will go to the device directly.
Subscribe to:
Posts (Atom)