A guy, a blog and the internet
Archive for June, 2008
Back Home :)
Jun 14th
So finally back home…
I was hoping to give Catelyn a big hug, but she was sleeping
Well there is always tomorrow
Just glad that I could give Cecilia a big hug
Sitting at the Airport
Jun 14th
So I’m sitting at Johannesburg, my phone and my pc are going to die, this is what happens when you forget to charge them… Luckely there is a place here you can sit, and they have place to plugin the charger
Well it’s about 3 hours till I get home, can’t wait as I havn’t seen my family in about 6 days…
Well This internet is quite quick, I like, pity it’s not free…
Use VNC? Encrypt It Via SSH
Jun 13th
Originally here
If you use VNC regularly to connect to other Linux machines you may want to consider adding a level of encryption with SSH. Here is a quick run-down on how that is done:
If you look at the man page for vncviewer (man vncviewer) you’ll notice there is a small section for -via. The -via option, as outlined in the man page will do:
Makes the connection go through SSH to a gateway host. The gateway should be the target host for best connection secrecy.
Basically this is saying that you can tunnel VNC over SSH within your connection command. Let’s give it a try.
vncviewer -via user@host localhost:0
This, of course, will require that you have both ssh and vnc access to a remote machine.
Nokia E-series sync with KDE via Bluetooth in Debian
Jun 13th
Add following repositories to /etc/apt/sources.list:
deb http://opensync.gforge.punktart.de/repo/opensync-0.21/ etch main
To add key for the repo, do the following:
gpg --keyserver hkp://subkeys.pgp.net/ --recv-keys CB210090B029CB84
gpg --export CB210090B029CB84 | apt-key add -
Install the required software
sudo aptitude install libopensync-plugin-kdepim libopensync-plugin-file libopensync-plugin-synce libopensync-plugin-irmc libopensync-plugin-gnokii libopensync-plugin-syncml libopensync0 opensyncutils msynctool multisync-qad
apt-get upgrade
Then setup Msync
msynctool --addgroup e51-kde
msynctool --addmember e51-kde kdepim-sync
msynctool --addmember e51-kde syncml-obex-client
Well I have an e51, but you can call the group what ever you want.
Next is the ‘trickiest’ part. Installed plugins need to be configured. First, you have to find your phone’s MAC. Use hcitool to do that:
hcitool scan
It should return something like:
xx:xx:xx:xx:xx:xx PhoneName
Now, configure the syncml-obex-client:
msynctool --configure e51-kde 2
Replace the context of the configuration (should be open in separate editor after running previous command) with the following XML:
<?xml version="1.0"?>
<config>
<bluetooth_address>xx:xx:xx:xx:xx:xx</bluetooth_address>
<bluetooth_channel>10</bluetooth_channel>
<interface>0</interface>
<identifier>PC Suite</identifier>
<version>1</version>
<wbxml>1</wbxml>
<username></username>
<password></password>
<type>2</type>
<usestringtable>1</usestringtable>
<onlyreplace>0</onlyreplace>
<onlyLocaltime>0</onlyLocaltime>
<recvLimit>0</recvLimit>
<maxObjSize>0</maxObjSize>
<contact_db>Contacts</contact_db>
<calendar_db>Calendar</calendar_db>
<note_db>Notes</note_db>
</config>
Where bluetooth_address is your phone’s MAC address you just discovered.
You should be good to go now, so you should try synchronizing:
msynctool --sync e51-kde
If you are using Kontact, you will need to shut it down.
References: