Bug 1931

Summary: kvpnc in an endless connect/disconnect loop.
Product: Mageia Reporter: Edward d'Auvergne <true.bugman>
Component: RPM PackagesAssignee: Juan Luis Baptiste <juan.baptiste>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Normal CC: balcaen.john, grodrigues, mageia, marja11, stormi-mageia
Version: 1Keywords: NEEDINFO
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: kvpnc CVE:
Status comment:

Description Edward d'Auvergne 2011-06-27 11:16:23 CEST
Description of problem:

kvpnc is unable to connect.  Well, it connects, disconnects, and does this in an endless loop.  This could be related to the upstream bug report https://bugs.kde.org/show_bug.cgi?id=264189.  I am using the same /root/.kde4/share/config/kvpncrc file as that which worked under Mandriva 2010.0.  Unlike the bug report, kvpnc on my system just gives up after a while, but does not crash.  Two cycles of connect/disconnect produce the errors:

Object::disconnect: No such signal QProcess::readyReadStdout()
Object::disconnect:  (receiver name: 'MainWindow#1')
Object::disconnect: No such signal QProcess::readyReadStderr()
Object::disconnect:  (receiver name: 'MainWindow#1')
QProcess: Destroyed while process is still running.
Object::disconnect: No such signal QProcess::readyReadStdout()
Object::disconnect:  (receiver name: 'MainWindow#1')
Object::disconnect: No such signal QProcess::readyReadStderr()
Object::disconnect:  (receiver name: 'MainWindow#1')
QProcess: Destroyed while process is still running.


Version-Release number of selected component (if applicable):


How reproducible:

100%


Steps to Reproduce:
1.  Need a VPN server!
2.  Start kvpnc (giving the root password).
3.  Connect.
4.  Watch the KDE network center go crazy.
Comment 1 shorttech shorttech 2011-07-07 00:22:51 CEST
I'm having the exact same problem. I'm running Ubuntu 10 with KDE

CC: (none) => grodrigues

Manuel Hiebel 2011-07-07 00:32:44 CEST

CC: (none) => balcaen.john

Comment 2 Samuel Verschelde 2011-10-01 16:07:06 CEST
I may have the same problem too, I didn't manage to connect to a pptp VPN whereas it worked in Mandriva 2010.1

CC: (none) => stormi

Samuel Verschelde 2011-10-01 16:07:40 CEST

Assignee: bugsquad => juan.baptiste
Source RPM: (none) => kvpnc

Comment 3 John Balcaen 2011-10-01 16:49:04 CEST
with kpvnc ?
Could you try with the pptp plugin for nm just in case ?
Comment 4 Samuel Verschelde 2011-10-01 17:33:03 CEST
my problem probably comes from the fact that the microsoft vpn I want to connect to requires MPPE, for which our ppp has no support (patents and maybe licensing issues).

What kind of network are you trying to connect to?
Comment 5 Marja Van Waes 2012-01-06 20:15:56 CET
pinging. because nothing happened to this report since more than 3 months ago, and it still has the status NEW or REOPENED

@ Juan Luis

Please set status to ASSIGNED if you think this bug was assigned correctly. If for work flow reasons you can't do that, then please put OK on the whiteboard instead.

@ Edward

Please answer Samuel's question in comment 4

CC: (none) => marja11

Comment 6 Juan Luis Baptiste 2012-01-06 20:20:55 CET
@Edward,

Did you try removing your old kvpnrc and creating one from scratch ? (if the bug is still valid)
Marja Van Waes 2012-01-06 20:39:03 CET

Keywords: (none) => NEEDINFO

Comment 7 Edward d'Auvergne 2012-01-06 21:44:57 CET
My connection type is "Cisco (vpnc)".  Since I filed this bug report, the problem seems to have solved itself.  My vpn connection now works fine.  Unfortunately I have really no idea what fixed this.  I don't know if others still experience the problem.
Comment 8 Edward d'Auvergne 2012-01-06 21:50:04 CET
@Juan Luis

I do not have a kvpnrc file on my system.  The only configuration file for Kvpnc that I have is /etc/pam.d/kvpnc.  And a few files in ~/.kde4/share/apps/kvpnc/.
Comment 9 Edward d'Auvergne 2012-01-06 21:52:38 CET
@Juan Luis

Sorry, there is a /root/.kde4/share/config/kvpncrc file, but I did not delete this.  I do not know what fixed the problem for me.
Comment 10 Marja Van Waes 2012-01-06 22:04:18 CET
@ Samuel

The issue got fixed for the reporter of this bug. Did it get fixed for you, too?
Comment 11 Marja Van Waes 2012-01-21 12:34:02 CET
(In reply to comment #10)
> @ Samuel
> 
> The issue got fixed for the reporter of this bug. Did it get fixed for you,
> too?

@ Samuel

Please reply to the question above within two weeks from now, to avoid this bug being closed as OLD.
Comment 12 Samuel Verschelde 2012-01-21 13:37:21 CET
I still have connection issues but it seems my issue is different from that mentioned in this bug report so I'll close it.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 13 Edward d'Auvergne 2012-01-21 13:54:06 CET
I have tracked my problem down to a WLAN problem.  With certain access points I sometimes have access to (with other access points, this is not a problem) my connection continually drops out, which was not a problem in earlier Mandriva releases.  Using 'rmmod iwl3945 iwlcore mac80211 cfg80211', hitting the WLAN kill switch off and then back on, and running 'modprobe iwl3945' fixes the connection problem (this order is important).  This allows kvpnc to connect and stay connected.  The kvpnc problem in this bug report seems to be just a symptom of this issue.
Comment 14 Marja Van Waes 2012-01-21 14:41:27 CET
(In reply to comment #13)
> I have tracked my problem down to a WLAN problem.  With certain access points I
> sometimes have access to (with other access points, this is not a problem) my
> connection continually drops out, which was not a problem in earlier Mandriva
> releases.  Using 'rmmod iwl3945 iwlcore mac80211 cfg80211', hitting the WLAN
> kill switch off and then back on, and running 'modprobe iwl3945' fixes the
> connection problem (this order is important).  This allows kvpnc to connect and
> stay connected.  The kvpnc problem in this bug report seems to be just a
> symptom of this issue.

Reopening, because apparently it wasn't fixed.

@ Juan Luis
@ Blino

IIUC, this bug should be assigned to drakx-net

WDYT?

Status: RESOLVED => REOPENED
CC: (none) => mageia
Resolution: FIXED => (none)

Comment 15 Samuel Verschelde 2012-01-21 14:45:12 CET
If the WLAN problem must be treated, I think it would be clearer for everyone to open a new bug report about it.
Comment 16 Edward d'Auvergne 2012-01-21 15:31:38 CET
I wrote comment 13 (https://bugs.mageia.org/show_bug.cgi?id=1931#c13) for the record.  It should probably be a new bug report (maybe https://bugs.mageia.org/show_bug.cgi?id=4142 is related?).  But as I said before, the kvpnc problem is a symptom of this so this is an active bug which would be fixed by a iwl3945 fix.  I don't have access to the problematic access point at the moment though, and won't for a while, so I don't have the very telling dmesg messages at hand and can't test the Mageia 2 alphas.
Comment 17 Edward d'Auvergne 2012-01-21 15:52:13 CET
Ok, I have created bug #4215 (https://bugs.mageia.org/show_bug.cgi?id=4215) for the wifi networking problems.
Comment 18 Marja Van Waes 2012-01-21 17:40:21 CET
Thanks again, Edward.

Closing this one

Status: REOPENED => RESOLVED
Resolution: (none) => WORKSFORME