LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-02-2007, 06:54 AM   #1
amexudo
LQ Newbie
 
Registered: Jun 2007
Posts: 4

Rep: Reputation: 0
Pptp


I have been using other distributions and they all come with pptp client on /usr/sbin/pptp
Is there a way to install Fedora with a built in pptp? Because i have installed without pptp and i can't install anything without acess to the internet, my connection to the provider is a pptp vpn with authentication...
Please help me install pptp... I cannot install anything new in Fedora because it starts to look over the internet and i have no connection yet.
 
Old 06-02-2007, 07:37 AM   #2
wayno
Member
 
Registered: May 2007
Location: Brisbane, Australia
Distribution: Fedora 8/9, Xandros (eeepc)
Posts: 110
Blog Entries: 1

Rep: Reputation: 15
Quote:
Originally Posted by amexudo
I have been using other distributions and they all come with pptp client on /usr/sbin/pptp
Is there a way to install Fedora with a built in pptp? Because i have installed without pptp and i can't install anything without acess to the internet, my connection to the provider is a pptp vpn with authentication...
Please help me install pptp... I cannot install anything new in Fedora because it starts to look over the internet and i have no connection yet.
Can't you download an RPM onto a USB key from the computer you're posting from?

http://pptpclient.sourceforge.net/yu...ent.noarch.rpm
 
Old 06-02-2007, 07:46 AM   #3
amexudo
LQ Newbie
 
Registered: Jun 2007
Posts: 4

Original Poster
Rep: Reputation: 0
i'll try

How do i install this? rpm -i ?
But its a shame that older distributions have already the pptp and fedora that was released yesterday doesn't have...
 
Old 06-02-2007, 08:01 AM   #4
wayno
Member
 
Registered: May 2007
Location: Brisbane, Australia
Distribution: Fedora 8/9, Xandros (eeepc)
Posts: 110
Blog Entries: 1

Rep: Reputation: 15
Quote:
Originally Posted by amexudo
How do i install this? rpm -i ?
But its a shame that older distributions have already the pptp and fedora that was released yesterday doesn't have...
rpm -ivh pptp-release-current.noarch.rpm.

I haven't downloaded F7 yet so can't comment. I've left it downloading at work so should have it Monday
 
Old 06-02-2007, 08:20 AM   #5
amexudo
LQ Newbie
 
Registered: Jun 2007
Posts: 4

Original Poster
Rep: Reputation: 0
it didn't help much

look, i used this method on opensuse to create a connection script, but till now i can't find the "pptp" command in fedora. i have installed the package pptp-release... but the only file i found is a pptpd in /usr/local/sbin that not works.
these are the instructions i have:

1. Check that you have pptp client ( usually at /usr/sbin/pptp ).
locate pptp
If the path is different, please update it in cablestart file, instead of /usr/sbin/pptp .
2. Update your pap-secrets file with your favorite editor:
vi /etc/ppp/pap-secrets
"username " "ISP IP or host server here" "password"
3. Update your resolv.conf file with your favorite editor:
vi /etc/ppp/resolv.conf
nameserver 217.22.112.7 --> ISP DNS
nameserver 217.22.113.251 -> ISP DNS

4. create cablestart and cablestop scripts, and save them in /usr/sbin/ directory.

cablestart:

#!/bin/bash

USERNAME=username
IF=eth0
/sbin/ifdown $IF
/sbin/ifup $IF
CABLEGW=`/sbin/route -n | grep ^0.0.0.0 | awk '{print $2}'`
/sbin/route add -host 172.26.255.242 gw $CABLEGW
/sbin/route del default
/usr/sbin/pptp 172.26.255.242 debug user $USERNAME mtu 1460 mru 1460 defaultroute usepeerdns noauth
sleep 10
echo "nameserver 217.22.112.7" > /etc/resolv.conf
echo "nameserver 217.22.113.251" >> /etc/resolv.conf

cablestop:

#!/bin/bash

killall pptp;
/etc/init.d/network restart;

5. Make sure both files are executable:
chmod a+x /usr/sbin/cablestart
chmod a+x /usr/sbin/cablestop

6. To Connect, type:
cablestart

7. To Disconnect, type:
cablestop
 
Old 06-03-2007, 11:06 AM   #6
amexudo
LQ Newbie
 
Registered: Jun 2007
Posts: 4

Original Poster
Rep: Reputation: 0
does anyone know how to help??
 
Old 06-05-2007, 05:36 AM   #7
wayno
Member
 
Registered: May 2007
Location: Brisbane, Australia
Distribution: Fedora 8/9, Xandros (eeepc)
Posts: 110
Blog Entries: 1

Rep: Reputation: 15
Quote:
Originally Posted by amexudo
How do i install this? rpm -i ?
But its a shame that older distributions have already the pptp and fedora that was released yesterday doesn't have...
I've just installed F7 and it has an OpenVPN (PPTP) client built in. I've just looked it up and it's called NetworkManager-openvpn. Presumably you will need NetworkManager too. Have a look for it on the DVD or download it from another machine if you can.

ftp://download.fedora.redhat.com/pub...2.fc7.i386.rpm
ftp://download.fedora.redhat.com/pub...2.fc7.i386.rpm
ftp://download.fedora.redhat.com/pub...3.fc7.i386.rpm
ftp://download.fedora.redhat.com/pub...7.fc6.i386.rpm

I'm not sure which packages you will need so I've linked all the obvious ones.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PPTP Help g77s80 Linux - Newbie 0 08-20-2006 03:02 AM
pptp: I give up GATTACA Linux - Networking 0 04-12-2006 09:01 PM
PPTP Problem icotro Linux - Networking 0 03-13-2006 08:32 AM
kinternet and pptp gbj Linux - Networking 0 05-18-2004 06:31 AM
pptp on boot? gbj Linux - Networking 0 08-05-2003 02:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration