vpnc on Slackware 14.2 is bringing up network configuration dialog each time
1 Attachment(s)
Greetings!
Running both the SBo and non-SBo versions of vpnc causes Slackware 14.2 to display the network configuration dialog every time, even though the network has already been set up. (please see attached screenshot of the dialog). Thinking maybe it was a one-time thing, I went through the network setup screens, only for it to appear again after I finished the setup. After I Ctrl + C out of the setup dialog, then vpnc connects properly. This is a pain because scripting this blocks execution when the network setup dialog comes up (in a hidden shell) every time. Is there anything I need to check for to prevent the network dialog from coming up when vpnc is run? Thank you in advance, Will B |
Additional information:
I'm using a static IP address on a wired Ethernet connection. Issuing 'ip add' shows the following: Code:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1 Code:
[ 4314.564362] tun: Universal TUN/TAP device driver, 1.6 |
I'll need to stop using Slackware then, unfortunately. :(
|
I have no idea what is happening, but have you tried grepping the source to see if it is calling it directly? Or have you tried removing/renaming the script to prevent the program from calling it up?
/var/log/setup/setup.netconfig Or have you tried contacting the SlackBuild maintainer to see if they're run into the issue at all? Or contact the actual developers of vpnc? |
On my 14.2 (current) box vpnc from SBo runs without a problem. I have never seen that network dialog.... Have you set up vpnc correctly?
In the script I use to start the tunnel the relevant (& first) line is: Code:
#!/bin/sh Code:
IPSec gateway <gateway> Rob |
Quote:
I have tried compiling the upstream version of vpnc and the problem still exists. I have compiled upstream's version on other platforms and distros and it does not do this. Thanks |
Quote:
I have set up vpnc properly. My config has not changed for years. My config works fine on every other Linux and BSD distro, just not Slackware. My network was properly set up at installation time and I have no other issues, only this one. Thanks :D |
Quote:
|
Quote:
Code:
if [ -r /etc/openwrt_release ] && [ -n "$OPENWRT_INTERFACE" ]; then Code:
modify_resolvconf_suse_netconfig() Code:
restore_resolvconf_suse_netconfig() |
This has resolved the problem (although it's very hackish)
Code:
#if [ -r /etc/openwrt_release ] && [ -n "$OPENWRT_INTERFACE" ]; then |
can you please try editing line 128 of /etc/vpnc/vpnc-script like this
Code:
elif [ -x /sbin/netconfig ] && [ ! -f /etc/slackware-version]; then # tool on Suse after 11.1, do not use on Slackware |
Quote:
Quote:
|
Quote:
|
Quote:
|
It was not clear from your post what other linux-es you were running. If you look into it a bit more my proposed work-around would do the same although netconfig on slackware wouldn't work. Ponce's solution is making your script unworkable on Suse. If you happen to run that distribution while using that same script your vpnc-problem might happen there.
|
All times are GMT -5. The time now is 04:46 PM. |