LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-14-2005, 07:13 AM   #1
PiLgRiM
Member
 
Registered: Jul 2004
Location: New York
Distribution: SuSE
Posts: 38

Rep: Reputation: 15
SuSE 9.2 pptp client problem


Hello everyone,

I just installed a new installation of SuSE 9.2. Everything is working great except for the PPTP client. I've run through the pptp-command script as I did in SuSE 9.0, but it never connects to my server. It just ends with a "modem hangup" and a timeout.

The pptp server is working fine if I connect with a Windows XP client, and works from a SuSE 9.0 client. Anyone have a solution to this? I even tried turning off the SuSE firewall.

Thanks for any help...
 
Old 02-14-2005, 03:39 PM   #2
smannell
Member
 
Registered: Feb 2005
Location: Kansas City
Distribution: Kubuntu 8.04
Posts: 72

Rep: Reputation: 15
I never had any luck using scripts; but I did get a VPN tunnell working with pptp-php-gtk. Even after the tunnel was setup there I couldn't get the PPTP client to use it, so I've just been going back to pptp-php-gtk whenever I need to connect. I don't know what the difference between the two is, or why one would work and not the other. You will have to turn off the firewall, or play with iptables to get the GRE packets through. I also still have to run everything as root for it to work properly, setuid on the pptp-php-gtk program didn't work for me. If you get things working with scripts or commands, let me know what you did. I'd like to get mine working in a more streamlined manner, but I got tired of messing with it.
 
Old 02-15-2005, 05:31 PM   #3
PiLgRiM
Member
 
Registered: Jul 2004
Location: New York
Distribution: SuSE
Posts: 38

Original Poster
Rep: Reputation: 15
I can't even get pptp-php-gtk working. It gives me the same problem as the provided PPTP scripts. I used the docs at http://pptpclient.sourceforge.net/howto-suse-92.phtml to download and configure a PPTP client. It just sits and finally times out.

I really think it's just something weird in SuSE 9.2. I can boot to my Windows partition and get through to the VPN server fine. Did you need to do anything special to get pptp-php-gtk working?
 
Old 02-16-2005, 12:38 PM   #4
smannell
Member
 
Registered: Feb 2005
Location: Kansas City
Distribution: Kubuntu 8.04
Posts: 72

Rep: Reputation: 15
I don't recall having to do anything weird to get pptp-gtk working. Is the software running, but the connection just times out? Are you getting any messages back from the server at all? If not, check your firewall and make sure it is turned off. If you're not sure, try the following:
# iptables -I INPUT -s servername (or ip) -p all -j ACCEPT
this should let all incoming traffic from your server through. This rule won't "stick", it'll disappear when you reboot, and in my case whenver you close the VPN. I don't know enough about iptables & boot scripts to set things up permantly.
 
Old 02-20-2005, 07:06 PM   #5
PiLgRiM
Member
 
Registered: Jul 2004
Location: New York
Distribution: SuSE
Posts: 38

Original Poster
Rep: Reputation: 15
Thanks! That worked. How come turning off the firewall isn't sufficient? Technically, I should be accepting ALL on the INPUT chain with the firewall off. Right?
 
Old 02-21-2005, 12:38 PM   #6
smannell
Member
 
Registered: Feb 2005
Location: Kansas City
Distribution: Kubuntu 8.04
Posts: 72

Rep: Reputation: 15
Yes, but the firewall may not have been completely "off". You can turn it on when configuring a network device in YaST. For instance there is a check box for "External Firewall Interface" when configuring a DSL device. If this is checked, it turns on the firewall. So it is possible something else was turning on your firewall. I've found the best way to check, is turn off the firewall, close down YaST, restart YaST, and then look at the firewall settings again. If it is really off, your only choice should be to turn it back on. So are you scripts working now, or just pptp-gtk?
 
Old 02-25-2005, 04:40 PM   #7
PiLgRiM
Member
 
Registered: Jul 2004
Location: New York
Distribution: SuSE
Posts: 38

Original Poster
Rep: Reputation: 15
Unfortunately, now I can't get either one to work. I didn't make any system changes, and I even tried allowing all on the INPUT chain...

 
Old 02-25-2005, 05:43 PM   #8
smannell
Member
 
Registered: Feb 2005
Location: Kansas City
Distribution: Kubuntu 8.04
Posts: 72

Rep: Reputation: 15
Are you behind a router or switch that may be dropping your packets? The other thing is to make sure the entry into the iptables is inserted at the begining, and not appended to the end. After that, I'm not sure what to check.
 
Old 02-25-2005, 06:04 PM   #9
PiLgRiM
Member
 
Registered: Jul 2004
Location: New York
Distribution: SuSE
Posts: 38

Original Poster
Rep: Reputation: 15
well, I'm on wireless behind a linksys router. It was working the other day after my last post about it working with your suggested IPTABLES rule. Then, I tried again tonight to see if I could get the command line version working.

Now neither one works. I turned off the firewall, ran iptables -F to flush all the rules, then appended the allow all on the INPUT as you suggested.

Anyway, it's still, not working
 
Old 02-26-2005, 10:36 AM   #10
PiLgRiM
Member
 
Registered: Jul 2004
Location: New York
Distribution: SuSE
Posts: 38

Original Poster
Rep: Reputation: 15
OK, so I found an inconvenient "workaround". If I open a VPN connection from another computer on my network (a windows box), then close it, my SuSE 9.2 laptop (via wireless) will connect to my VPN server right away.

UGH! I never had these issues with 9.0
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Client fayax Linux - Software 0 11-09-2005 01:57 PM
How to install vpn - client (pptp) for Suse Linux. vadimkovalev Linux - Newbie 2 10-01-2005 01:27 PM
Problem with installation of a VPN - PPTP client l2g Linux - Networking 1 12-24-2004 01:37 AM
pptp client in Mandrake 10 Ph0enix2003 Mandriva 5 06-10-2004 02:14 PM
pptp client KeithKessler Linux - Networking 0 05-04-2003 09:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 09:15 PM.

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