ubuntu

Cisco vpnclient compiles!

All problems (such as the one found below) when compiling Cisco vpnclient on Ubuntu should go away when using version “4.8.01.0640-k9”. Fear not even there is a mention about 64bit version in the name, the tar is packed in biarch mode.
See this link for little further details.
(Obviously you find such links after wasting at least 5 hours trying other solutions).
Thanks to this post on comp.dcom.sys.cisco for saving me more hours.

make -C /lib/modules/2.6.22-14-386/build SUBDIRS=/root/vpnclient modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-386'
  CC [M]  /root/vpnclient/linuxcniapi.o
/root/vpnclient/linuxcniapi.c: In function ‘CniInjectReceive’:
/root/vpnclient/linuxcniapi.c:299: warning: implicit declaration of function ‘skb_set_timestamp’
/root/vpnclient/linuxcniapi.c:333: error: ‘struct sk_buff’ has no member named ‘nh’
/root/vpnclient/linuxcniapi.c:334: error: ‘struct sk_buff’ has no member named ‘mac’
/root/vpnclient/linuxcniapi.c:279: warning: unused variable ‘timecount’
/root/vpnclient/linuxcniapi.c: In function ‘CniInjectSend’:
/root/vpnclient/linuxcniapi.c:458: error: ‘struct sk_buff’ has no member named ‘mac’
/root/vpnclient/linuxcniapi.c:459: error: ‘struct sk_buff’ has no member named ‘nh’
/root/vpnclient/linuxcniapi.c:462: error: ‘struct sk_buff’ has no member named ‘h’
/root/vpnclient/linuxcniapi.c:462: error: ‘struct sk_buff’ has no member named ‘nh’
/root/vpnclient/linuxcniapi.c:403: warning: unused variable ‘timecount’
make[2]: *** [/root/vpnclient/linuxcniapi.o] Error 1
make[1]: *** [_module_/root/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-386'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".

disable touchpad while typing in Ubuntu

Via Lifehacker I got to this Ubuntuforum thread and in a matter of minutes fixed a problem that kept me away from using my laptop touchpad.
It’s pretty common in fact that you accidentally bump on the it while typing, and that means the cursor will randomly move, eventually selecting some text or moving your caret lines away from the point you are typing.

I expecially found this follow-up useful – in fact there were no Synaptics stanzas in my xorg.conf (everything was going through /dev/input/mice) – so I had to create one for Synaptics replacing the generic one.

Shutdown from command line, the easy way

Being stupid with friends a couple of nights ago, this is the way I shutdown my laptop (fixing a typo, you know):

echo "sudol init 0" | sed 's/sudol//'|xargs sudo

Using `xargs` makes me feel better.

More visual effects for Gnome Totem audio player

I found out you may need to install gstreamer0.8-plugin-apps in order to get more visual effects available. You also may need to restart GDM in order for them do be loaded (after installing them of course, aptitude install gstreamer0.8-plugin-apps is your friend).

Syndicate content

Recent comments

Recent blog posts

Adsense