Indlæg

Viser indlæg fra august, 2010

Easiest way to set up vpnc to connect to cisco vpn (for openSUSE)

Install vpnc and wine (if you use an RSA SecurId software dongle). The dongle runs flawlessly under wine.

In openSUSE you can run this command:
sudo zypper in vpnc wine

If you have a VPN client set up in Windows look for the .pcf file.

This table shows what the necessary elements in the pcf file relates to in a vpnc configuration file.
Windows .pcf fileLinux /etc/vpnc/default.confHost=<value>IPSec gateway <value>GroupName=<value>IPSec ID <value>enc_GroupPwd=<value>IPSec secret <decoded value> (see later in this post)Username=<value>Xauth username <value>
To decode to enc_GroupPwd value go to http://www.unix-ag.uni-kl.de/~massar/bin/cisco-decode

vpnc is by default looking for a configuration in /etc/vpnc/default.conf. If you only need to connect to one vpn server the easiest will be to insert the information into that file.

DD-WRT as a better alternative for a wireless bridge

As i mentioned in another blog post I managed to configure my Linksys WRT54G router as a wireless bridge using OpenWRT.
Sadly it turned out that it would loose connection after a while and needed to be rebooted to connect again. I did not spend to much time on solving that issue so OpenWRT isn't necessarily the problem. Maybe it was something in my setup that broke it.
Since my brother got his Xbox360 back I did not spend anymore time working with the wireless bridge. I then got a new printer (HP Color LaserJet CP1515n) with a network interface card (NIC). It was not wireless so I decided to try to configure the wireless bridge again. Since OpenWRT did not work as good as I had hoped I wanted to try another distribution. I decided to install DD-WRT since there were some good documentation online (here and here) about how that would be configured and also because DD-WRT seemed more user friendly than OpenWRT since it had a nice web based UI.

Everything could be set up in the web inter…

Regionfree Philips DVDR3460

How to make the Philips DVDR3460 play all regions

For this to work:
All commands should be done using the remote
There must NOT be any DVDs in the player

Step-by-step guide:

Turn on the unitSwitch to DVDOpen the DVD drawer by pressing the <STOP> buttonPress 0 0 8 6 0 0 0 Press <OK>Turn of the unit
The player is now region free!

The Philips Support page for the DVDR3460

Linksys WRT54G as wireless bridge using OpenWrt

This is the closest i have been to being an embedded developer yet.

I tried to change my router into a wireless bridge to avoid having to pay for a USB modem while borrowing my brothers XboX360.

To do that I installed OpenWRT kamikaze on my Linksys WRT54G router.

I had to try it a few times to get the configuration right. In the end I was posting this through my new wireless bridge.

My configuration files ended up like this:

/etc/config/wireless:
config 'wifi-device' 'wlan0'
        option 'type' 'mac80211'
        option 'channel' '05'
        option 'disabled' '0'


config 'wifi-iface'
        option 'device' 'wlan0'
        option 'ssid' 'Wireless'
        option 'mode' 'sta'
        option 'encryption' 'psk'
        option 'hidden' '1'
        option 'isolate' '0'
        option 'bgscan' '0'
        option 'wds…

What am I going to do with the old homepage (www.vester.org)

I originally used my homepage for documenting things I had to setup or configure so I would be able to do it again. If others could benefit from that it would be fine - but it was never the purpose. It was hosted as a Google Site with the benefits and limitations that gives you. I was able to expose the Google Site on my own domain through Google Apps.
In the book "What Would Google Do?" Jeff Jarvis argues that a blog is a conversation. People can give you feedback by adding a comments to your blog.  The things I documented on the old homepage could surely benefit from being part of a conversation. If someone else found a better solution than the one I came up with, or if someone had an issue because the documentation was not good enough it could be of great value to know that. Then I would be able to improve the documentation and by doing that I would also make it easier for me to follow my own instructions a second time. Because of this I will start to transfer the relevant p…

Reading "What Would Google Do?" by Jeff Jarvis

I never really saw any use for a blog. Not until I started reading "What Would Google Do?" by Jeff Jarvis. I have only read the first three chapters until now but it have been very inspiring reading. Jeff Jarvis has his own blog at http://www.buzzmachine.com/. Off course he also blogged about his book (http://www.buzzmachine.com/what-would-google-do/).
In his book he explained how he used his blog to tell about some issues he had with a Dell laptop and their support. He explained how he got in touch with other bloggers and eventually got a refund from his product. When that happened his blog had become one of the top search results at Google when searching for Dell. Suddenly the consumers were in charge and Dell had to fix the issues and could not fix it with marketing.
Here starts my motivation for blogging. I want to be in charge and I want to know about these issues that the major corporations try to cover up.
Maybe the blog will grow to cover other areas of interest later…