Ubuntu Networking :: Vpnc Freezes After Short Time?
Aug 11, 2010
I installed network-manager-vpnc, configured cisco vpn through NetworkManager. It works slow, but the bigger problem is that after minute or so the connection just freezes.Then I tried kvpnc. It works like it should from speed point of view. But it also hangs up after minute or two.Tried to change MTU of my wired connection to 1500 - no good.Tried to uncomment line in /etc/ppp/options "mru 542" - no good.
Created /var/run/vpnc because it was giving some error "can't open pidfile /var/run/vpnc/pid for writing".From logs everything seems fine except for "nm-dispatcher.action:Script '/etc/NetworkManager/dispatcher.d/01ifupdown' exited with error status 1." in last line. If I use kvpnc it gives no errors.SO, how do I debug this thing or does anyone knows something I don't in this case?
View 5 Replies
ADVERTISEMENT
Jul 18, 2010
I am trouble trying to get vpnc to work on my laptop.
Using the same computer via Ubuntu, it works fine.
I used to use an older kernel with the cisco vpn client, but had to go through the motions of turning off cpus in order for it to work. I gave that trick a try and it does not work.
I pretty much followed the instructions from: Gentoo Linux Documentation -- Gentoo vpnc HOWTO
The machine completely locks up right after I enter my password...
I don't see anything relevant in the /var/log/messages file.
Is there another log file to look into specific to the vpnc?
View 4 Replies
View Related
Jan 13, 2010
I've been trying to connect to my office Cisco VPN several time using the network-manager-vpnc GUI in Ubuntu Karmic with no success. I read a couple of articles and i tried using the direct command line way:
Code:
sudo vpnc office
with the following /etc/vpnc/office.conf file:This is fictional data
Code:
IPSec gateway vpn.office.com
IPSec ID office
IPSec secret 0ff1c3
which worked perfecly.
So i went back to the Network Manager GUI way and i used the same credentials. Same fictional data I got a libnotify message telling me it couldn't connect.Anyone know how i could troubleshoot this issue? Would be great to have it integrated in gnome instead of running a background command which is not tracked by nwm.
View 6 Replies
View Related
Feb 2, 2010
In fc10 & fc11 everything worked well with vpnc.
With fc12 vpnc starts allows me to connect to my work site then everything works fine til I try and start a remote desktop connections to a windows client use tsclient. All I get is a blackscreen and my laptop is hung.
At work without the vpnc it works fine if I start the vpnc from nm it performs the exact same way and I get the blackscreen.
I have disable selinux.I also disabled the firewall
there was another gentlemen on here with the same issue.
The only way out is a hard reboot and there are no messages in the logs that say there were any problems.
View 3 Replies
View Related
Apr 15, 2010
I'm just wondering what the limits for time are. I have a program that always takes exactly 20 ms, so I assume this is the lowest it can measure, but I want to see if there's some sort of documentation of this.
View 3 Replies
View Related
Nov 12, 2010
I have installed ubuntu 10.10 for a short time, now I meet a problem:I always leave for lunch and leave my computer without turning off. When I get back, it shows a window. after I input my password, I enter my system.Then It halts, the only thing what I can do is moving mouse. After halting for nearly one minute, it resumes to normal.I hope someone can tell me what happens.
View 2 Replies
View Related
Jun 15, 2010
I am wondering if pthread could make that a single thread keeps the "mutex" all the time if the time it remains unlocked is very small.
thread1
{
while (1)
{
lock; do_task(); unlock();
[code]...
I experiment the thread2 never getting access to the mutex and never printing the nice message. I would expect that once thread2 calls "lock", it would get the mutex as soon as thread1 calls unlock() but it does not seem to be the case. If I add a sleep of some microseconds (100) in thread1 after unlocking the mutex, it solves the problem.
Does anyone know if this behaviour is normal? Is there a way to configure my mutex so that thread2 receives it when unlocked?I use
pthread_mutexattr_settype(&att, PTHREAD_MUTEX_RECURSIVE_NP);
pthread_mutex_init(&handle, &att);
to create my mutex. I am running ubuntu 9.04
View 3 Replies
View Related
Feb 14, 2010
I think this might be related to the changes to using udev or DeviceKit. It started when I was running the beta versions of F12. Then it crept into Debian Sid. And my Arch Testing and Gentoo also suffer from the same.
What happens is that I'll be working along. Then when I press any key it is as if the SHIFT key is pressed. When I press CAPSLOCK, some of the keys react as they would normally. This never lasts for more than 5 minutes. And seems to happen infrequently. I say seems because there are the times I am at work and it could be that the same thing is happening only there is no one on the keyboard.
The reason I pick out udev/DeviceKit is that when it used to happen to F12 beta, the other distros had not yet made the move. So back then it was only a F12 issue. Now it is happening across the board. And only started recently.
View 3 Replies
View Related
Jun 10, 2010
I am backing up data from a remote server onto a local ntfs partition. It seems that the rm -rf and cp -a commands are taking a long time to complete in what should be short, incremental backups.Has anyone had similar problems when backing up to an ntfs partitionHere is my rsnapshot.conf:
Code:
#################################################
# rsnapshot.conf - rsnapshot configuration file #
[code]....
View 5 Replies
View Related
Apr 13, 2010
This isn't a problem with the 2.6.26 kernel that I have been using, but it is with newer ones. I want to upgrade to a backports kernel, because there has been a REALLY long standing 2.6.26 bug with cpu frequency governors and suspending that is never going to get fixed.
Basically, with the 2.6.30 backports kernel, the hard drive spindown time is way too short. I'd like it to spin down after a minute or two of inactivity, but it is spinning down after only 5-10 seconds. Is there any way to fix this? edit: Now that I think about it, this is also a problem on another laptop that runs squeeze.
View 2 Replies
View Related
May 20, 2010
Has anyone got Ubuntu 10.04 working on their Dell Inspiron 1100? Most of the time, the screen goes black a short time after boot. Sometimes it goes black right after the splash screen, sometimes I get to log in and then it goes black a little later. Same results when trying to boot into "safe graphics" mode. Ubuntu 7.10 works fine on this machine (although I had to do some special configuration in xorg.conf to get it to work way back when I installed it.) However, it does not appear to be possible to manually configure X in 10.04. I tried disabling the splash screen in grub based on suggestions I found for other Ubuntu versions, but that had no effect on the problem.
Is it possible to replace X with the most recent version that could still be manually configured? Would anyone know how to go about doing that?
Alternatively, if it's impossible to get this old machine to run new versions of Ubuntu, has anyone had success with (relatively) new versions of other distros on it?
View 9 Replies
View Related
May 4, 2011
Ever since I installed Ubuntu Natty, from time to time, for no particular reason, the entire computer screen freezes, and I am forced to hold the power button on my laptop to restart things with a hard reset. I cannot explain why it happens.
Such an issue never occurred in any of the past installations and versions of Ubuntu. This is a fresh installation of Natty by the way.
Also, I can currently be running a lot or nothing and it does this. Thus, it does not matter what I am actually doing (ie, what programs I might be running).
It has occurred about 10 times since I freshly installed Natty 6 days ago.
View 9 Replies
View Related
Apr 9, 2010
I updated Fedora 9 yesterday. I rebooted earlier and now the desktop starts for a very short time then disappears followed by a window opening and closing for a few goes. After this nothing! YUM does not work, neither does Firefox! A bug report informed me there was a Python problem but I can find no reference to this anywhere.
View 1 Replies
View Related
Aug 2, 2010
Though under Windows my Internet connection works fine and fluent under Debian linux it connects and disconnects repeatedly at short amounts of time. It didn't used to be like that but at a certain time i was forced to install pppoeconf to get my DSL internet connection going, after that even if i've uninstall pppoeconf and now i'm only using nm-applet to monitor my internet connection i still have this annoying problem.
View 1 Replies
View Related
Oct 26, 2010
I don't know why but since I upgraded the KDE 4.4 desktop from openSUSE 11.3 to 4.5, the desktop just freezes some times.
If i was listening music, or watching a video I can still hear everything and even move the mouse, but nothing works.
So I switch to TTy1, perform a init 3, then init 5 to restart all the graphic system, and start again. This happens without message, without log, and without clue...
Should I downgrade to 4.4 or this has a Workaround?
View 2 Replies
View Related
Jun 12, 2010
I just upgraded Ubuntu 10.04 LTS. Now when I use vpnc to connect from the command line using vpnc-connect, I'm not only prompted for my password as usual, but now also being prompted for a "Passcode". Here's what the login attempt looks like:
Enter password for jegan@some.vpnhost.net:
Passcode for VPN jegan@216.23.18.33:
I've been using the same /etc/vpnc/default.conf file for years.Note that I do not have an /etc/vpnc.conf, or any of the other configuration files that vpnc checks for.Here's a modified copy of my /etc/vpnc/default.conf file:
## generated by pcf2vpnc
IPSec ID CRL-Qfe
IPSec secret XM-j-245Rv[code].............
View 1 Replies
View Related
Feb 28, 2011
I use VPNC to connect to a Cisco VPN. I am able to connect, but some issues exist when I use SSH. For example, I login through SSH to a computer in the VPN and I execute ls => it works. If I execute ls -la => connection stalls. I think it stalls every time it is supposed to return more content (top, ls /etc).
If I do scp from my end to server => works. If I do scp from server to my end => connection stalls.
View 1 Replies
View Related
Jul 21, 2011
I'm trying to setup a VPN using VPNC. All is well and I can create the VPN.
The problem is that CNTLM does not want to connect in the VPN Further more I am not sure what to look for? The logs are empty and CNTLM only reports 502 Parent proxy unreacheable.
How can I trace what the problem is?
My setup:
Ubuntu 10.10 64
CNTLM 0.91~rc6-0ubuntu1.1
VPNC 0.5.3r449-2
View 1 Replies
View Related
Jan 21, 2011
When I connect to my company's VPN (it's a Cisco), it connects just fine and displays the broadcast message, but once connected I can't ping anything or ssh anywhere. Not on the private network, not on the Internet [URL], nothing. I can still browse the web without difficulties when connected to the VPN, but no ssh or ping. With ping, it properly resolves the host name, but I get 100% packet loss.
Once I disconnect from the VPN, a ping of [URL] works exactly as expected.
I don't have any firewalls set up on this host that I'm aware of (unless something is installed and configured by default).
I'm using Ubuntu 10.10, amd64 build.
View 5 Replies
View Related
Oct 25, 2010
I'm trying to connect to a Cisco VPN at work from Ubuntu 10.10. On earlier versions, I was able to import the config and get it working. In 10.10, though, the best I've gotten is being able to connect to the VPN, see the welcome message, and have packets sent over the tunnel. I don't receive any packets, though.
The command-line vpnc client connects just fine. I found this bug report: [URL]
The symptoms it describes are exactly what I'm seeing. The apparent solution is to "make sure in your config that LZO Compression is enabled (checked) under Advanced"; however I see neither an option for compression nor an "Advanced" tab, button, or anything on my VPN config in Network Manager.
View 4 Replies
View Related
Nov 5, 2010
I have a couple VPNs I use for work, and after installing F14 x86_64 it is failing:
Code:
Nov 5 12:40:57 raykj NetworkManager[4106]: <info> VPN service 'vpnc' started (org.freedesktop.NetworkManager.vpnc), PID 4203
Nov 5 12:40:57 raykj NetworkManager[4106]: <info> VPN service 'vpnc' appeared; activating connections
[Code]....
View 2 Replies
View Related
Nov 16, 2010
I just got vpnc setup to work with my VPN at work and now I am trying to figure out how to limit the traffic that is routed through the VPN while I'm connected to it. I only want traffic going to the local domain to be routed through the VPN.This is what my vpnc config file looks like:
Code:
IPSec gateway publicdomain.example.com
IPSec ID XXXX
[code]....
View 2 Replies
View Related
Jun 23, 2009
Since I installed FC11 vpnc stop working. I get "vpnc: no response from target." I tried running it with "strace" and the reason is a timeout: poll([{fd=3, events=POLLIN}], 1, 4000) = 0 (Timeout)
I tried google and adding "NAT Traversal Mode cisco-udp" to the config file works for some people but not for me Does anyone had experience with vpnc 0.5.3 in FC11?
View 3 Replies
View Related
Jan 6, 2011
I have been trying to connect to my University's VPN Server and for some reason vpnc fails. I have configured the vpn settings the same way I did for the past two years. They worked properly on Fedora 12 and 13, but for some reason fails on Fedora 14.
Code:
Jan 6 16:45:20 exodusprime NetworkManager[1269]: <info> Starting VPN service 'vpnc'...
Jan 6 16:45:20 exodusprime NetworkManager[1269]: <info> VPN service 'vpnc' started (org.freedesktop.NetworkManager.vpnc), PID 11731
Jan 6 16:45:20 exodusprime NetworkManager[1269]: <info> VPN service 'vpnc' appeared; activating connections
Jan 6 16:45:21 exodusprime NetworkManager[1269]: <info> VPN plugin state changed: 3
Jan 6 16:45:21 exodusprime NetworkManager[1269]: <info> VPN connection 'Swinburne University VPN' (Connect) reply received.
code....
View 4 Replies
View Related
Mar 7, 2011
Problem with fedora 13, I am no longer able set up a virtual private network using vpn. The following error message appers:
"/usr/sbin/vpnc: no response from target"
No problem when connecting with ubuntu or windows.
View 1 Replies
View Related
Jun 27, 2011
how nobody else could have run into this in the meantime. [URL] Two friends of mine are having the same issue on Ubuntu-11.4-machines. In short: Connecting to the Cisco-VPN via shell-command "vpnc" works flawlessly, whereas NetworkManager just doesn't connect at all. We had this working in older versions of Fedora/Ubuntu about some months ago...
View 9 Replies
View Related
Aug 8, 2010
Our company uses a customized vpnc (based on and almost the same as vpnc 0.5.3). I first tested it on a Windows host under Virtualbox everything works straight away. But when I want to use it on a Linux host directly it always ends in "No response from target". I have tested this on Fedora 12 and the latest Ubuntu.
I thought of firewall settings but iptables -L on Ubuntu returns an empty list even.
View 2 Replies
View Related
Aug 3, 2010
I am having problems accessing my work desktop through my home computer running Fedora 13. I am able to remote into work through MAC and Windows XP. I loaded vpnc and was able to connect to the concentrator. I also able to ping it too. I cannot connect to my desktop using rdesktop. I get error message �Unable to connect, socket is unavailable. I cannot ping to the desktop.
View 2 Replies
View Related
Nov 24, 2010
I am having difficulties in establishing a vpn connection using vpnc (or NetworkManaager-vpnc).
As long as the openswan IPsec daemon is running, vpnc-helper quits with the error message
Quote:
Failed to bind to 0.0.0.0:500: Address already in use
[user@computer ...]# vpnc-helper --local--port 0
If I use NetworkManager-vpnc, then establishing the connection simply fails.
Using the --local-port 0 option does not change anything.
If I stop the ipsec service (service ipsec stop) then establishing the connectiong works, both with NetworkManager-vpnc and the console tool, but apparently the network traffic is not routed via the VPN - in my case this means that I cannot access hosts within the vpn and stuff.
Funny thing is - on my notebook from where I connect via WLAN, everything works fine. With Fedora 13 everything works fine, too.
Does anybody have an idea how to enforce that the vpn connection is actually used?
View 2 Replies
View Related
Jan 6, 2011
I am using KNetworkmanager-vpnc to VPN back to the office from home, the vpn connection works fine - for 15 minutes then I am disconnected. I am fairly certain that this is related to the Phase 1 key lifetime limit. The Knetworkmanager-vpnc GUI does not provide a location to enter this information. I think I found the config file that holds the connection information at /home/<user>/.kde/share/apps/networkmanagement/connections/ I just don't know the proper syntax to put in the file to specify a key life limit. Anyone out there know how to do this? I am using Fedora 14 x64 with knetworkmanager-vpnc 1.0.9-0.28.
View 1 Replies
View Related