LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   pptp configuration(Suse client to XP server) (https://www.linuxquestions.org/questions/linux-networking-3/pptp-configuration-suse-client-to-xp-server-701786/)

dan.mera 02-02-2009 09:49 PM

pptp configuration(Suse client to XP server)
 
Hello,
I face this problem for a while and I read a lot about the topic without much luck. I hope that someone will be able to help me with it. I'm trying to connect to a Windows machine which has the pptpd server installed from my OpenSuse 11 box at home. I crated a connection and I think that I'm connected to the work network but I cannot ping or connect to the computer I want once in there.

I installed pptp and connected to the internet I'm using KInternet tool to connect.
Here is the log of the connection:
SuSE Meta pppd (smpppd-ifcfg), Version 1.59_SVN16 on bonaire.
Status is: disconnected
trying to connect to smpppd
connect to smpppd
Status is: disconnected
Status is: connecting
pppd[0]: Plugin passwordfd.so loaded.
pppd[0]: Renamed interface ppp0 to dsl0
pppd[0]: Using interface dsl0
Status is: connecting
pppd[0]: Connect: dsl0 <--> /dev/pts/3
pppd[0]: CHAP authentication succeeded
pppd[0]: MPPE 128-bit stateless compression enabled
pppd[0]: replacing old default route to eth1 [192.168.1.1]
pppd[0]: local IP address 198.133.37.203
pppd[0]: remote IP address 198.133.37.201
pppd[0]: primary DNS address 198.133.37.9
pppd[0]: secondary DNS address 198.133.37.11
pppd[0]: Script /etc/ppp/ip-up finished (pid 3791), status = 0x0
Status is: connected

I'm not able to use Remote Desktop or any other tool to connect, I cannot ping the ip address I want.

here is an extract of the /var/log/messages which leads me to think that I'm tunneling to the network desired but I cannot do anything else. On XP i don't encounter any issues(well it's a windows protocol) but I'm sure it can be done in Linux. I just need someone with more experience in this.
Anyway here is an extract of the log:

Jan 31 21:04:30 bonaire kernel: martian source 192.168.1.2 from 198.133.37.20, on dev eth1
Jan 31 21:04:30 bonaire kernel: ll header: 00:90:27:9a:02:01:00:14:6c:19:15:5c:08:00
Jan 31 21:04:58 bonaire kernel: martian source 192.168.1.2 from 198.133.37.20, on dev eth1
Jan 31 21:04:58 bonaire kernel: ll header: 00:90:27:9a:02:01:00:14:6c:19:15:5c:08:00
Jan 31 21:05:26 bonaire pptp[6554]: anon log[pptp_handle_timer:pptp_ctrl.c:1049]: closing control connection due to missing echo reply
Jan 31 21:05:26 bonaire pptp[6554]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Jan 31 21:05:26 bonaire pptp[6554]: anon log[pptp_conn_close:pptp_ctrl.c:430]: Closing PPTP connection
Jan 31 21:05:26 bonaire pptp[6554]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 3 'Stop-Control-Connection-Request'
Jan 31 21:05:26 bonaire pptp[6554]: anon log[call_callback:pptp_callmgr.c:78]: Closing connection (call state)
Jan 31 21:05:26 bonaire pppd[6546]: Modem hangup
Jan 31 21:05:26 bonaire pppd[6546]: Connect time 2.0 minutes.
Jan 31 21:05:26 bonaire pppd[6546]: Sent 1597146426 bytes, received 0 bytes.
Jan 31 21:05:26 bonaire pppd[6546]: restoring old default route to eth1 [192.168.1.1]
Jan 31 21:05:26 bonaire pppd[6546]: MPPE disabled
Jan 31 21:05:26 bonaire pppd[6546]: Connection terminated.
Jan 31 21:05:27 bonaire pppd[6546]: Script /usr/sbin/pptp 198.133.37.20 --nolaunchpppd finished (pid 6550), status = 0x0
Jan 31 21:05:27 bonaire modify_resolvconf: restored /etc/resolv.conf.saved.by.pppd.dsl0 to /etc/resolv.conf
Jan 31 21:05:27 bonaire SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 ...
Jan 31 21:05:27 bonaire SuSEfirewall2: batch committing...
Jan 31 21:05:27 bonaire SuSEfirewall2: Firewall rules successfully set
Jan 31 21:05:27 bonaire pppd[6546]: Script /etc/ppp/ip-down finished (pid 6851), status = 0x0
Jan 31 21:05:27 bonaire pppd[6546]: Exit.

The file /etc/resolv.conf gets modified by the pppd during the connection(with some ip addresses assigned I think by the server i'm trying to connect to ) but it gets restored as soon as i hang the connection.
what am I doing wrong?


All times are GMT -5. The time now is 04:59 AM.