Network Manager only allows one vpn connection

November 10, 2008

Darn, today I got around to installning my second vpn which gave me more trouble than I asked for. I have been running my primary connection to my office for a while and it has been working flawlessly, it’s really, really nice to be able to manage stuff like this in the network manager.

The second vpn connection, to a datacenter at work is not working as well though. First I have some kind of routing problem – when this is connected I can’t access anything outside of the vpn-route

The explanation is in routing. But I didn’t succeed in fixing it in the network manager settings. Will try again when I have more time.

default * 0.0.0.0 U 0 0 0 tap0

The other thing that has pussled me is that I cannot activate both my vpn’s at the same time. First I thought it was a configuration misstake (since I have been using these two OpenVPN connections simultaneously on 8.04) but the I found this on Ubuntu Brainstorm. It seems to be a limit set in Network Manager. Bummer.

Should be easy to fix though, since it was working outside NM, hopefully someone with skillz will do that.

Advertisements

Lovely network manager

November 9, 2008

Last week I was working at a clients site and had to configure my computer to use a static IP, netmask, gateway and special DNS-servers. The client has a very closed network and no DHCP what so ever, so apart from using a static ip-address I could only use their DNS-servers.

I just love the network-manager. Dunno if this is new functionality or if it has been there all the time but it isn’t harder than to right-click on the network manager and add another network. I always use the “Auto eth0” connection, since it works at my office and at home. I was wondering for a while how this setting could conflict with my office settings.

No worries, when I got back to the office, and when I got home, it automagically used the “Auto eth0” again. But more interesting was that when I got back a couple of days later it found the tailored connection again. I’m not sure how this was done, did network manager try it since it couldn’t get and DHCP or did it recognize the network in some other way? Works flawlessly for me anyway.

The network manager is my friend keeping track of my 5 regular wirless connections, my mobile broadband, my office vpn and also my wired connections in one place – it feels so good compared to what I was used to (which involved some rather ugly shell-scripts written by myself).


usb_modeswitch, network-manager and pccardctl

November 3, 2008

I think I’ve made an interesting discovery. Sometimes when I’m on the train I loose my connection. Getting it running again could prove diffucult, and, like today, even a reboot of the computer doesn’t really solve everything, since network-manager doesn’t find the 3G card even after I’ve executed usb_modeswitch.

The discovery is pccardctl, and not only that program as such, but that it shouldn’t be executed with sudo. If I do pccardctl seems to hang. So, when encountering problems that cannot be solved by “disconnect / connect” in network manager I think this is the way to go:
pccardctl eject

take out the card and insert it again.
pcardctl insert
sudo usb_modeswitch

Then connect through network-manager. I will test this furter as soon as I get a chance with a crashed connection.


Unstable programs in Intrepid

October 27, 2008

So for most things seem pretty stable, or as stable as you could expect them to be right now. The most annoying things I’ve found so far is:

Pidgin – Just disappears, no crash report or anything (haven’t had the time to go through the logs though).

Network-manager – the support for 3G cards seems flaky. I’ve been trying seriously to get two of my cards to work, both requiring some sort of switching (usb_modeswitch for one card and RDEVCHG for the other). While testing this I’ve experienced hard hangs, with the computer completetly unaccessible. After a hard reset on two occacions my system has refused to mount /home and to start GDM / Xwindows. Gotta get this to work, will give it another shot soon.