Find the answer to your Linux question:
Results 1 to 7 of 7
I am fairly new to the Terminal, I know how to install something from it and that's about it. I am following a guide that I would give you a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2012
    Posts
    4

    Help with installation of VPN in Raspberry Pi debian


    I am fairly new to the Terminal, I know how to install something from it and that's about it.

    I am following a guide that I would give you a link to but I can't because of the spam prevention I guess.
    Search for 'howto-configure-ubuntu-fedora-linux-pptp-client' in Google, it's the top link.

    I can do
    Code:
    $ sudo apt-get install pptp-linux network-manager-pptp
    and
    Code:
    # vi /etc/ppp/chap-secrets
    Replacing vi with nano works better than vi.

    Then I get stuck at append the line as follows
    Code:
    vivek PPTP VpnPassword *
    Do I enter that line in to the file and then save it?
    What does append mean?

    If some one could help me get through this installation it would be great.
    Thanks

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Quote Originally Posted by mapexmbirch View Post
    I am following a guide that I would give you a link to but I can't because of the spam prevention I guess.
    Search for 'howto-configure-ubuntu-fedora-linux-pptp-client' in Google, it's the top link.
    Hi,

    I assume you mean this:

    Linux configure point to point tunneling PPTP VPN client for Microsoft PPTP vpn server

    Code:
    # vi /etc/ppp/chap-secrets
    Replacing vi with nano works better than vi.

    Then I get stuck at append the line as follows
    Code:
    vivek PPTP VpnPassword *
    Do I enter that line in to the file and then save it?
    Yes. Use an editor (vi or nano or joe or whatever), and add a line that looks like their example, substituting your own username and password, I guess.

    What does append mean?
    It means do not overwrite the file (in this case, /etc/ppp/chap-secrets) if it already exists. You would be adding (appending) a new line, to the file.

  3. #3
    Just Joined!
    Join Date
    Sep 2012
    Posts
    4
    Thanks

    I added a line with a username, PPTP and my password. Then exited it with 'ctrl X' and it said save? I pressed 'y' then it had some commands at the bottom one said append and had 'M-A' next to it so I pressed 'ctrl M A' and nano closed taking me back to the terminal.
    I think I did it right.

    Now it says to:
    Create a connection file called /etc/ppp/peers/delhi-idc-01 (replace delhi-idc-01 with your connection name such as office or vpn):
    Code:
    # vi /etc/ppp/peers/delhi-idc-01
    How do I create the file? I don't have permission to add a file to /peers/

    Thanks again

  4. #4
    Linux Newbie mactruck's Avatar
    Join Date
    Apr 2012
    Location
    City of Salt
    Posts
    187
    Quote Originally Posted by mapexmbirch View Post
    How do I create the file? I don't have permission to add a file to /peers/

    Thanks again

    Code:
    sudo vi /etc/ppp/peers/delhi-idc-01

    I just got a Raspberry Pi and installed Debian. I will see if I can get this to work this week as well.

  5. #5
    Just Joined!
    Join Date
    Sep 2012
    Posts
    4
    Any luck? I have been busy so I haven't tried anything more. Going to now though.

  6. #6
    Linux Newbie mactruck's Avatar
    Join Date
    Apr 2012
    Location
    City of Salt
    Posts
    187
    I was going to try over the weekend but I got busy. I will give it a try today or tomorrow.

  7. #7
    Just Joined!
    Join Date
    Sep 2012
    Posts
    4
    That's cool, I found a link in another forum. Similar to the one in the second post.
    pptpclient.sourceforge.net/howto-debian.phtml
    It may help you a bit.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •