The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 PPTP (newbie)
Author: dangold 
Date:   22-02-06 17:13

Hello

i'm trying to connect to my isp and those are the detils
(i mixed some script to try and fix the problem :|)

ppp.conf

dan:
set device "pptp cablepns.012.net.il --nolaunchpppd"
set dial
set login
set server /var/run/ppp/loop "" 0117
enable dns
nat enable yes
enable lqr
disable ipv6cp
disable mppe
set authname ******
set authkey ******
set timeout 0
set ifaddr 0 0
add defualt HISADDR ---> (not sure what need to be here)
alias enable yes

pptp host.net dan
(here its stays like its connected..)

ifconfig

ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::2e0:29ff:fe18:b416%ed0 prefixlen 64 scopeid 0x1
inet 172.25.71.111 netmask 0xfffffc00 broadcast 255.255.255.255
ether 00:e0:29:18:b4:16
media: Ethernet autoselect (10base2/BNC)
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
inet 84.94.137.90 --> 212.199.26.110 netmask 0xffffffff
Opened by PID 583

the ip at the tun0 change after each connection..

seems like it connects but no reply from no where no ping no nothing
and here is the ppp.log

Feb 22 16:47:11 cablepns ppp[565]: Phase: Using interface: tun0
Feb 22 16:47:11 cablepns ppp[565]: Phase: deflink: Created in closed state
Feb 22 16:47:11 cablepns ppp[565]: Warning: The alias command is deprecated
Feb 22 16:47:11 cablepns ppp[565]: Phase: PPP Started (direct mode).
Feb 22 16:47:11 cablepns ppp[565]: Phase: bundle: Establish
Feb 22 16:47:11 cablepns ppp[565]: Phase: deflink: closed -> opening
Feb 22 16:47:11 cablepns ppp[565]: Phase: deflink: Connected!
Feb 22 16:47:11 cablepns ppp[565]: Phase: deflink: opening -> carrier
Feb 22 16:47:12 cablepns ppp[565]: Phase: deflink: carrier -> lcp
Feb 22 16:47:14 cablepns ppp[565]: Phase: bundle: Authenticate
Feb 22 16:47:14 cablepns ppp[565]: Phase: deflink: his = PAP, mine = none
Feb 22 16:47:14 cablepns ppp[565]: Phase: Pap Output: dgolds ********
Feb 22 16:47:14 cablepns ppp[565]: Phase: Pap Input: SUCCESS ()
Feb 22 16:47:14 cablepns ppp[565]: Phase: deflink: lcp -> open
Feb 22 16:47:14 cablepns ppp[565]: Phase: bundle: Network
Feb 22 16:51:06 cablepns ppp[565]: Phase: Signal 15, terminate.
Feb 22 16:51:06 cablepns ppp[565]: Phase: deflink: read (0): Got zero bytes
Feb 22 16:51:06 cablepns ppp[565]: Phase: deflink: open -> lcp
Feb 22 16:51:06 cablepns ppp[565]: Phase: bundle: Terminate
Feb 22 16:51:06 cablepns ppp[565]: Phase: deflink: Disconnected!
Feb 22 16:51:06 cablepns ppp[565]: Phase: deflink: Connect time: 235 secs: 1081 octets in, 1171 octets out
Feb 22 16:51:06 cablepns ppp[565]: Phase: deflink: 22 packets in, 24 packets out
Feb 22 16:51:06 cablepns ppp[565]: Phase: total 9 bytes/sec, peak 173 bytes/sec on Wed Feb 22 16:47:16 2006
Feb 22 16:51:06 cablepns ppp[565]: Phase: deflink: lcp -> closed
Feb 22 16:51:06 cablepns ppp[565]: Phase: bundle: Dead
Feb 22 16:51:06 cablepns ppp[565]: Phase: PPP Terminated (normal).

i would appricate very much any help or suggitions since i'm trying to get online for abou 4 days and without no succses

system info:
P133 32ram 6gigHD
Freebsd 6
nic card
cable modem



Post Edited (22-02-06 10:45)

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org