LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-02-2004, 04:48 PM   #1
l2g
Member
 
Registered: Feb 2004
Distribution: Red Hat 9, Slackware 9.1
Posts: 55

Rep: Reputation: 15
Routing or a pptp connection problem?


Hi,
I connect through a Cable modem to a pptp server, have a pptp-command tunnel active and configured routing table.
The thing is, I can ping my pptp sever IP and can see that tcpdump is logging network activity, but when trying any other site, no names would resolve into IP's. i.e: www.slackware.com, or any other name (assuming it could be behind a firewall). I get an "unkown host" message.
'ifconfig' shows that ppp0 has large amounts (not huge, I checked for loop possible problem) of transmit data but only some 4 packets appear in Rx.

I opened Mozzila browser and configured proxies, but it is as if the browser can't reach the server and won't recognize the proxy address.

These two lines appear in var/log/messages when the tunnel starts:

May 2 09:19:49 liron pptp[1275]: anon log[mainptp.c:237]: The synchronous pptp option is NOT activated
May 2 09:19:49 liron pptp[1287]: anon log[pptp_make_packetptp_ctrl.c:550]: reserved0 field is not zero! (0x8d16) Cisco feature?

Do you know how do I activate sync in pptp/pppd?
Where can I find the iptables file, maybe it is a firewall problem?
I read RFC1326, and it states that "the Reserved0 field in the header MUST be 0." but I have no idea what could be the prob. here as I have the altest packages from pptpclient.

Can you please help??
 
Old 05-02-2004, 08:21 PM   #2
Freeman-Jo
Member
 
Registered: Apr 2004
Location: Internet
Distribution: Gentoo
Posts: 30

Rep: Reputation: 15
I have similar setup with your. Actually I do PPTP over wifi. The problem is when you login, you probably have an error message say, /etc/resolv.conf doesn't match(from previous nic card, probably have to do with dhcp setting). the workaround is to copy the /etc/resolv.conf.pptp to /etc/resolv.conf manually. and that sould work.
 
Old 05-03-2004, 01:59 AM   #3
l2g
Member
 
Registered: Feb 2004
Distribution: Red Hat 9, Slackware 9.1
Posts: 55

Original Poster
Rep: Reputation: 15
I use pptp-command. It allows you to configure resolve.conf then once you run the tunnel, it will copy it automatically to the real used one.
I wonder if it's a routing problem or has something to do with activation of the sync option...or the Reserved0 field.

Still wating for ppp mail list answers, maybe James Cameron himself will help :-)
 
Old 05-04-2004, 12:58 PM   #4
Freeman-Jo
Member
 
Registered: Apr 2004
Location: Internet
Distribution: Gentoo
Posts: 30

Rep: Reputation: 15
I know, I use pptp-command too, but at the end of the pptp-command, if it complain about the resolv doesn't match, it will not copy the new one over.
in the mean time, the workaround is to copy it manually.
do a "cat etc/resolv.con" and see what you get.
 
Old 05-04-2004, 05:29 PM   #5
l2g
Member
 
Registered: Feb 2004
Distribution: Red Hat 9, Slackware 9.1
Posts: 55

Original Poster
Rep: Reputation: 15
Everything works now...that's cool. It was a routing problem, so once I changed the default gw to be the local IP assigned by pptp server, tcpdump here started dancing and throwing gre packets all over the place. It is a true feeling of elation. :-)
 
  


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
problem of PPTP VPN connection. kocu Linux - Networking 9 09-24-2005 02:08 PM
PPTP (MPPE) routing? nicholai Linux - Networking 0 02-16-2005 07:10 AM
Problem routing PPTP VPN connections - Mandrake 10.1 kalahari875 Linux - Networking 2 01-22-2005 09:55 AM
PPTP-Problem connection from Win98 to Linux mschna Linux - Software 0 04-05-2004 07:55 AM
Routing PPTP through router running linux 2.4.x kernel mcukstorm Linux - Security 4 07-07-2003 11:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:23 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