all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* vpnc
@ 2016-02-23  2:31 rennes
  2016-02-23  3:38 ` vpnc Leo Famulari
  0 siblings, 1 reply; 8+ messages in thread
From: rennes @ 2016-02-23  2:31 UTC (permalink / raw)
  To: help-guix

Hi guix,

i am trying vpnc(vpn client), when i launch the command creates the 
daemon but not the interface or link and displays the message:

Command:
  sudo vpnc myvpn.conf

Message:
  sh: /etc/vpnc/vpnc-script: No such file or directory
  sh: /etc/vpnc/vpnc-script: No such file or directory
  VPNC started in background (pid: 1765)...

looking for on the net and as a workaround I followed the steps, and 
Works!:

a) Download the script from 
http://git.infradead.org/users/dwmw2/vpnc-scripts.git/blob_plain/HEAD:/vpnc-script
b) Copy to /etc/vpnc
c) Set execute permission(chmod 777 vpnc-script)


Thanks

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: vpnc
  2016-02-23  2:31 vpnc rennes
@ 2016-02-23  3:38 ` Leo Famulari
  2016-02-23  4:01   ` vpnc rennes
  0 siblings, 1 reply; 8+ messages in thread
From: Leo Famulari @ 2016-02-23  3:38 UTC (permalink / raw)
  To: rennes; +Cc: help-guix

On Mon, Feb 22, 2016 at 08:31:34PM -0600, rennes@openmailbox.org wrote:
> Hi guix,
> 
> i am trying vpnc(vpn client), when i launch the command creates the daemon
> but not the interface or link and displays the message:
> 
> Command:
>  sudo vpnc myvpn.conf
> 
> Message:
>  sh: /etc/vpnc/vpnc-script: No such file or directory
>  sh: /etc/vpnc/vpnc-script: No such file or directory
>  VPNC started in background (pid: 1765)...
> 
> looking for on the net and as a workaround I followed the steps, and Works!:
> 
> a) Download the script from http://git.infradead.org/users/dwmw2/vpnc-scripts.git/blob_plain/HEAD:/vpnc-script
> b) Copy to /etc/vpnc
> c) Set execute permission(chmod 777 vpnc-script)

Is it normal to set the permissions to 777? I'm not familiar with this
program but that seems too open to me.

> 
> 
> Thanks
> 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: vpnc
  2016-02-23  3:38 ` vpnc Leo Famulari
@ 2016-02-23  4:01   ` rennes
  2016-02-23  4:39     ` vpnc Leo Famulari
  0 siblings, 1 reply; 8+ messages in thread
From: rennes @ 2016-02-23  4:01 UTC (permalink / raw)
  To: Leo Famulari; +Cc: help-guix

On 2016-02-22 21:38, Leo Famulari wrote:
> On Mon, Feb 22, 2016 at 08:31:34PM -0600, rennes@openmailbox.org wrote:
>> Hi guix,
>> 
>> i am trying vpnc(vpn client), when i launch the command creates the 
>> daemon
>> but not the interface or link and displays the message:
>> 
>> Command:
>>  sudo vpnc myvpn.conf
>> 
>> Message:
>>  sh: /etc/vpnc/vpnc-script: No such file or directory
>>  sh: /etc/vpnc/vpnc-script: No such file or directory
>>  VPNC started in background (pid: 1765)...
>> 
>> looking for on the net and as a workaround I followed the steps, and 
>> Works!:
>> 
>> a) Download the script from 
>> http://git.infradead.org/users/dwmw2/vpnc-scripts.git/blob_plain/HEAD:/vpnc-script
>> b) Copy to /etc/vpnc
>> c) Set execute permission(chmod 777 vpnc-script)
> 
> Is it normal to set the permissions to 777? I'm not familiar with this
> program but that seems too open to me.
> 
>> 
>> 
>> Thanks
>> 

You're right, with 500 works and is safer. Thanks.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: vpnc
  2016-02-23  4:01   ` vpnc rennes
@ 2016-02-23  4:39     ` Leo Famulari
  2016-02-23 12:56       ` vpnc rennes
  0 siblings, 1 reply; 8+ messages in thread
From: Leo Famulari @ 2016-02-23  4:39 UTC (permalink / raw)
  To: rennes; +Cc: help-guix

On Mon, Feb 22, 2016 at 10:01:27PM -0600, rennes@openmailbox.org wrote:
> On 2016-02-22 21:38, Leo Famulari wrote:
> >On Mon, Feb 22, 2016 at 08:31:34PM -0600, rennes@openmailbox.org wrote:
> >>Hi guix,
> >>
> >>i am trying vpnc(vpn client), when i launch the command creates the
> >>daemon
> >>but not the interface or link and displays the message:
> >>
> >>Command:
> >> sudo vpnc myvpn.conf
> >>
> >>Message:
> >> sh: /etc/vpnc/vpnc-script: No such file or directory
> >> sh: /etc/vpnc/vpnc-script: No such file or directory
> >> VPNC started in background (pid: 1765)...
> >>
> >>looking for on the net and as a workaround I followed the steps, and
> >>Works!:
> >>
> >>a) Download the script from http://git.infradead.org/users/dwmw2/vpnc-scripts.git/blob_plain/HEAD:/vpnc-script
> >>b) Copy to /etc/vpnc
> >>c) Set execute permission(chmod 777 vpnc-script)
> >
> >Is it normal to set the permissions to 777? I'm not familiar with this
> >program but that seems too open to me.
> >
> >>
> >>
> >>Thanks
> >>
> 
> You're right, with 500 works and is safer. Thanks.

I looked at our package definition (gnu/packages/vpn.scm) and it is
supposed to provide that file in ~/.guix-profile/etc/vpnc/vpnc-script.

I think it's a bug that this isn't working for you. Are you using Guix
on another distro or GuixSD?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: vpnc
  2016-02-23  4:39     ` vpnc Leo Famulari
@ 2016-02-23 12:56       ` rennes
  2016-02-24 13:13         ` vpnc Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: rennes @ 2016-02-23 12:56 UTC (permalink / raw)
  To: Leo Famulari; +Cc: help-guix

On 2016-02-22 22:39, Leo Famulari wrote:
> On Mon, Feb 22, 2016 at 10:01:27PM -0600, rennes@openmailbox.org wrote:
>> On 2016-02-22 21:38, Leo Famulari wrote:
>> >On Mon, Feb 22, 2016 at 08:31:34PM -0600, rennes@openmailbox.org wrote:
>> >>Hi guix,
>> >>
>> >>i am trying vpnc(vpn client), when i launch the command creates the
>> >>daemon
>> >>but not the interface or link and displays the message:
>> >>
>> >>Command:
>> >> sudo vpnc myvpn.conf
>> >>
>> >>Message:
>> >> sh: /etc/vpnc/vpnc-script: No such file or directory
>> >> sh: /etc/vpnc/vpnc-script: No such file or directory
>> >> VPNC started in background (pid: 1765)...
>> >>
>> >>looking for on the net and as a workaround I followed the steps, and
>> >>Works!:
>> >>
>> >>a) Download the script from http://git.infradead.org/users/dwmw2/vpnc-scripts.git/blob_plain/HEAD:/vpnc-script
>> >>b) Copy to /etc/vpnc
>> >>c) Set execute permission(chmod 777 vpnc-script)
>> >
>> >Is it normal to set the permissions to 777? I'm not familiar with this
>> >program but that seems too open to me.
>> >
>> >>
>> >>
>> >>Thanks
>> >>
>> 
>> You're right, with 500 works and is safer. Thanks.
> 
> I looked at our package definition (gnu/packages/vpn.scm) and it is
> supposed to provide that file in ~/.guix-profile/etc/vpnc/vpnc-script.
> 
> I think it's a bug that this isn't working for you. Are you using Guix
> on another distro or GuixSD?

I use GuixSD, and the file .guix-profile/etc/vpnc/vpnc-script has link 
to /gnu/store/....-vpnc-0.5.3/etc/vpnc/.vpnc-script-wrap-01

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: vpnc
  2016-02-23 12:56       ` vpnc rennes
@ 2016-02-24 13:13         ` Ludovic Courtès
  2016-02-24 14:50           ` vpnc rennes
  0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2016-02-24 13:13 UTC (permalink / raw)
  To: rennes; +Cc: help-guix

rennes@openmailbox.org skribis:

> On 2016-02-22 22:39, Leo Famulari wrote:
>> On Mon, Feb 22, 2016 at 10:01:27PM -0600, rennes@openmailbox.org wrote:
>>> On 2016-02-22 21:38, Leo Famulari wrote:
>>> >On Mon, Feb 22, 2016 at 08:31:34PM -0600, rennes@openmailbox.org wrote:
>>> >>Hi guix,
>>> >>
>>> >>i am trying vpnc(vpn client), when i launch the command creates the
>>> >>daemon
>>> >>but not the interface or link and displays the message:
>>> >>
>>> >>Command:
>>> >> sudo vpnc myvpn.conf
>>> >>
>>> >>Message:
>>> >> sh: /etc/vpnc/vpnc-script: No such file or directory
>>> >> sh: /etc/vpnc/vpnc-script: No such file or directory
>>> >> VPNC started in background (pid: 1765)...

[...]

>> I looked at our package definition (gnu/packages/vpn.scm) and it is
>> supposed to provide that file in ~/.guix-profile/etc/vpnc/vpnc-script.
>>
>> I think it's a bug that this isn't working for you. Are you using Guix
>> on another distro or GuixSD?
>
> I use GuixSD, and the file .guix-profile/etc/vpnc/vpnc-script has link
> to /gnu/store/....-vpnc-0.5.3/etc/vpnc/.vpnc-script-wrap-01

It’s this file that is used, not /etc/vpnc/vpnc-script.

Are you sure you were using vpnc from Guix?  Our package recipe has
always had vpnc-script in /gnu/store/…/etc/vpnc.

Ludo’.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: vpnc
  2016-02-24 13:13         ` vpnc Ludovic Courtès
@ 2016-02-24 14:50           ` rennes
  2016-02-24 20:58             ` vpnc Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: rennes @ 2016-02-24 14:50 UTC (permalink / raw)
  To: ludo; +Cc: help-guix

On 2016-02-24 07:13, ludo@gnu.org wrote:
> rennes@openmailbox.org skribis:
> 
>> On 2016-02-22 22:39, Leo Famulari wrote:
>>> On Mon, Feb 22, 2016 at 10:01:27PM -0600, rennes@openmailbox.org 
>>> wrote:
>>>> On 2016-02-22 21:38, Leo Famulari wrote:
>>>> >On Mon, Feb 22, 2016 at 08:31:34PM -0600, rennes@openmailbox.org wrote:
>>>> >>Hi guix,
>>>> >>
>>>> >>i am trying vpnc(vpn client), when i launch the command creates the
>>>> >>daemon
>>>> >>but not the interface or link and displays the message:
>>>> >>
>>>> >>Command:
>>>> >> sudo vpnc myvpn.conf
>>>> >>
>>>> >>Message:
>>>> >> sh: /etc/vpnc/vpnc-script: No such file or directory
>>>> >> sh: /etc/vpnc/vpnc-script: No such file or directory
>>>> >> VPNC started in background (pid: 1765)...
> 
> [...]
> 
>>> I looked at our package definition (gnu/packages/vpn.scm) and it is
>>> supposed to provide that file in 
>>> ~/.guix-profile/etc/vpnc/vpnc-script.
>>> 
>>> I think it's a bug that this isn't working for you. Are you using 
>>> Guix
>>> on another distro or GuixSD?
>> 
>> I use GuixSD, and the file .guix-profile/etc/vpnc/vpnc-script has link
>> to /gnu/store/....-vpnc-0.5.3/etc/vpnc/.vpnc-script-wrap-01
> 
> It’s this file that is used, not /etc/vpnc/vpnc-script.
> 
> Are you sure you were using vpnc from Guix?  Our package recipe has
> always had vpnc-script in /gnu/store/…/etc/vpnc.
> 
> Ludo’.


I am sure, it is required to export additional variables?.

Under vpnc installation directory: 
"/gnu/store/7jiivzdyzkhcl9ryn2c1x91vplw8nkf5-vpnc-0.5.3/etc/vpnc", there 
are only the following files:

- default.conf
- vpnc-script -> 
/gnu/store/7jiivzdyzkhcl9ryn2c1x91vplw8nkf5-vpnc-0.5.3/etc/vpnc/.vpnc-script-wrap-01
- .vpnc-script-real
- .vpnc-script-wrap-01


Thanks

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: vpnc
  2016-02-24 14:50           ` vpnc rennes
@ 2016-02-24 20:58             ` Ludovic Courtès
  0 siblings, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2016-02-24 20:58 UTC (permalink / raw)
  To: rennes; +Cc: help-guix

rennes@openmailbox.org skribis:

> On 2016-02-24 07:13, ludo@gnu.org wrote:
>> rennes@openmailbox.org skribis:
>>
>>> On 2016-02-22 22:39, Leo Famulari wrote:
>>>> On Mon, Feb 22, 2016 at 10:01:27PM -0600, rennes@openmailbox.org
>>>> wrote:
>>>>> On 2016-02-22 21:38, Leo Famulari wrote:
>>>>> >On Mon, Feb 22, 2016 at 08:31:34PM -0600, rennes@openmailbox.org wrote:
>>>>> >>Hi guix,
>>>>> >>
>>>>> >>i am trying vpnc(vpn client), when i launch the command creates the
>>>>> >>daemon
>>>>> >>but not the interface or link and displays the message:
>>>>> >>
>>>>> >>Command:
>>>>> >> sudo vpnc myvpn.conf
>>>>> >>
>>>>> >>Message:
>>>>> >> sh: /etc/vpnc/vpnc-script: No such file or directory
>>>>> >> sh: /etc/vpnc/vpnc-script: No such file or directory
>>>>> >> VPNC started in background (pid: 1765)...
>>
>> [...]
>>
>>>> I looked at our package definition (gnu/packages/vpn.scm) and it is
>>>> supposed to provide that file in
>>>> ~/.guix-profile/etc/vpnc/vpnc-script.
>>>>
>>>> I think it's a bug that this isn't working for you. Are you using
>>>> Guix
>>>> on another distro or GuixSD?
>>>
>>> I use GuixSD, and the file .guix-profile/etc/vpnc/vpnc-script has link
>>> to /gnu/store/....-vpnc-0.5.3/etc/vpnc/.vpnc-script-wrap-01
>>
>> It’s this file that is used, not /etc/vpnc/vpnc-script.
>>
>> Are you sure you were using vpnc from Guix?  Our package recipe has
>> always had vpnc-script in /gnu/store/…/etc/vpnc.
>>
>> Ludo’.
>
>
> I am sure,

So is there any problem left?  :-)  I’ve used it recently (via
openconnect) and it works well for me, and I don’t have /etc/vpnc.

Ludo’.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-02-24 20:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-23  2:31 vpnc rennes
2016-02-23  3:38 ` vpnc Leo Famulari
2016-02-23  4:01   ` vpnc rennes
2016-02-23  4:39     ` vpnc Leo Famulari
2016-02-23 12:56       ` vpnc rennes
2016-02-24 13:13         ` vpnc Ludovic Courtès
2016-02-24 14:50           ` vpnc rennes
2016-02-24 20:58             ` vpnc Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.