Wednesday, October 10, 2012

CiscoVPN connection through NetworkManager

Subj.
Having Cisco VPN which I'd like I really need to have connection to. Having a valid .pcf certificate exported/found by somebody some time.

What I had to install to make a connection creatable (using Arch, of course):
vpnc - client for Cisco VPN Concentrators
networkmanager-vpnc - NetworkManager VPN plugin for vpnc
# pacman -S vpnc networkmanager-vpnc

What I had to do to make it working. Network Manager won't save passwords (looks like a bug in NM, there are many links in Google referencing to this issue). The solution was found here, I borrowed the following:
open /etc/NetworkManager/system-connections/your_connection_file
change
IPSec secret-flags=1 to IPSec secret-flags=0
Xauth password-flags=3 to Xauth password-flags=0
add
[vpn-secrets]
Xauth password=your_pasword
IPSec secret=group_password

Voila!

Monday, October 8, 2012

As I tried Cinnarch

Cinnacrh 2012.10.01 was released on... yes, it's obvious - on Oct 1st (http://www.cinnarch.com/). It is ArchLinux based distributive with Cinnamon 1.6.1 desktop on board.
I've been using ArchLinux for around 1.5 years and I love this distro. Also I love Gnome2, so my guess was that mix of Cinnamon (a Gnome-shell fork with Gnome2-like layout offered by LinuxMint (http://cinnamon.linuxmint.com/)) and Arch should give me something perfect.
When installing it... I was disappointed. They provide distro with desktop env but still have only netintstall option not installing 'from-the-box' all the components. I used to get this from Arch but supposed to have something different here (like Fedora/Ubuntu/Mint/SUSE). Although, there is Live-CD so you can try it without installation (or use temporary when you failed and need an access to the Google:D).
CLI installer is more poor than in ArchLinux. Well, my opinion may be prejudiced but I've never seen better installer than Arch provides. As for Cinnarch - less user hints,  unclear disk partition options (I'm not a blonde-housewife, and tried plenty of Linux distros but this time I was at a loss when failed couple of times in partitioning my sda). Also, there were issues with installing GRUB2 (suspect they were caused by network connection interruption while downloading packages, but who knows... it has gone away when I created a BIOS boot partition directly - ef02 code, AFAIR).
Anyway, it was installed. What I've got? I've got a fairly sexy OS but Desktop was usefulness for me at all:( Installing all the gnome packages fixed this. One more confusing thing is that Network Manager doesn't have an option to create a DSL connection (generic issue/feature of NM? I think yes), so I had to use nm-connection-editor. Also, had to disable SigLevel for pacman as it verifies package PGP signatures by default (despite that everybody lies, I trust any package I'm about to install:)).
All other things look pretty good. Below, there are some screenshots

Menu

Nautilus 3.4.2

some apps running

 switching between workspaces (you can create as many workspaces as you wish)