Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old November 16th, 2005   #1
endersshadow
Dipped in Ubuntu
 
endersshadow's Avatar
 
Join Date: Oct 2005
Location: Dallas
Beans: 616
Ubuntu 7.04 Feisty Fawn
This process has been made MUCH easier in Edgy and Feisty. I just never updated this...and I'm sorry. In order for legacy support, I'm leaving up Dapper/Breezy/Hoary instructions.

Feisty/Edgy x86

You will need NetworkManager installed:
Code:
sudo apt-get install network-manager-gnome network-manager-pptp
Then, a network icon will appear in your notification area. Select it, and then select VPN Connections > Configure VPN. Add your VPN to the list, and then in the terminal do the following:

Code:
sudo NetworkManager restart
Click the icon again, and go to VPN Connections and then select your VPN. Voila. You're connected!

Feisty/Edgy AMD64 (thanks go to nyvalbant)
Grab the AMD64 Packages from this page.

Convert and install them using this command:
Code:
sudo alien filename.rpm
sudo dpkg -i filename.deb
Next, install pptpconfig:
Code:
sudo apt-get install pptpconfig
You may not be able to connect using pptpconfig directly, but you can create your profile in it and connect using:
Code:
pon <profile name>
(give that a minute or so to connect; check ifconfig periodically for a ppp0 entry)

Finally, after you have a ppp0 network, you may need to fix your routing table using something like:
Code:
sudo route add -net 11.22.0.0 netmask 255.255.0.0 dev ppp0
(substitute 11.22.0.0 for your network)

Dapper/Breezy/Hoary
After much searching for how to connect to a plain old PPTP VPN, I finally figured out how to do it, and since there's no guide on here that doesn't relate to the Cisco client, I figured I'd post one. The source of this information is at the bottom of the post. Here goes:

1. First, you need to install the pptp-client for Linux. Open up the terminal and type in:

Code:
sudo apt-get install pptp-linux
2. Next, you will need to add a source to your sources.list file. Here's how.
Run this command.

Code:
sudo gedit /etc/apt/sources.list
When the window pops up (gedit), append the following lines to the end of the file:

Code:
# James Cameron's PPTP GUI packaging
deb http://quozl.netrek.org/pptp/pptpconfig ./
Save it and close gedit.

3. Run these commands in the terminal:

Code:
sudo apt-get update
sudo apt-get install pptpconfig
4. To run pptpconfig, simply use this command in the terminal:

Code:
sudo pptpconfig
**NOTE: You must run pptpconfig as root, otherwise, it will not work.

5. Enter in the info for your VPN to the GUI, click "Add," select the server you just added by clicking on it, and then hit "Start." Make sure that your options are set, as well. If you are unsure of what options your VPN needs, contact your system administrator.

For a more complete guide, check out this site:
http://pptpclient.sourceforge.net/ho....phtml#install

Last edited by endersshadow; July 7th, 2007 at 02:39 AM..
endersshadow is offline   Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:52 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry