Menu

#4876 PPTP client start at boot

1.830
closed-fixed
nobody
5
2017-04-11
2017-01-20
Master Yoda
No

I can create PPTP connection to servers without problems however when choosing a connection to "Connect at boot" it does nothing

Discussion

  • Master Yoda

    Master Yoda - 2017-01-20

    Using ubuntu server 16.04 and webmin 1.831 PPPd version 2.4.7

     
  • Jamie Cameron

    Jamie Cameron - 2017-01-21

    If you go to System -> Bootup and Shutdown, do you see an action for the PPTP server, and if so what is it called?

     
  • Bart

    Bart - 2017-04-09

    Hello, i have the same problem. Als "Using ubuntu server 16.04 and webmin 1.831 PPPd version 2.4.7"
    When i go to system and bootup shudown, there is a action for pptp.

    pptp-client.service Startup or shutdown PPTP connection

    with:

    [Unit]
    Description=Startup or shutdown PPTP connection

    [Service]
    ExecStart=/etc/webmin/pptp-client/start.pl
    ExecStop=/etc/webmin/pptp-client/stop.pl

    [Install]
    WantedBy=multi-user.target


    when i launch this one, the connection is made for 2 seconds and then he disconnect.

     
  • Bart

    Bart - 2017-04-09

    when i connect manualy with webmin. it works fine.. but after reboot not.

     

    Last edit: Bart 2017-04-09
  • Jamie Cameron

    Jamie Cameron - 2017-04-10

    If you SSH in as root and run /etc/webmin/pptp-client/start.pl , does it successfully start the PPTP connection?

     
  • Bart

    Bart - 2017-04-10

    Hello, this command /etc/webmin/pptp-client/start.pl works! how could i load this command at boot?
    and maybe with a script for recalling when disconnected?

     

    Last edit: Bart 2017-04-10
  • Jamie Cameron

    Jamie Cameron - 2017-04-10
    • status: open --> closed-fixed
     
  • Jamie Cameron

    Jamie Cameron - 2017-04-10

    I had a look into this, and found a bug that can cause this command to not be run in the right way when setting up PPTP at boot time. It will be fixed in the upcoming 1.840 Webmin release though.

     
  • Bart

    Bart - 2017-04-11

    tnx! do you have also a way for automatic reconnection when he lost the vpn connection? (always connect:)

     
  • Jamie Cameron

    Jamie Cameron - 2017-04-11

    That I don't know about, sorry ..

     

Log in to post a comment.