Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jul 2002 23:02:24 -0700 (PDT)
From:      Malory Knox <knoxwallet@yahoo.com>
To:        freebsd-questions@freebsd.org
Message-ID:  <20020722060224.80225.qmail@web21207.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
is there anybody who already connected his freebsd machine to the internet
though windows 2000 machine running virtual private networking? can you show me
your ppp.conf file?

i read carefully ppp manual, handbook and faq but it did not help.

my computer address 192.168.1.116 and vpn server address 192.168.1.253. when i
use windows 2000 it works perfectly. after i connect to the server the status
is:
 server type: ppp
 transports TCP/IP
 autentication MD5 CHAP
 compression none
 PPP multylink framing off
 server ip address 195.7.164.253
 client ip address 10.0.0.42

please help me with freebsd 4.5!!!

my ppp.conf looks like:
default:
 set device PPPoE:rl0
 set log phase tun
 enable dns
 set ifaddr 192.168.1.116/0 192.168.1.253/0
 set authname 04134
 set authkey ******
 add default HISADDR

before running ppp:

# ifconfig
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.1.116 netmask 0xffffff00 broadcast 192.168.1.255
        ether 00:c1:28:00:11:4f
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
# netstat -r
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
saha               saha               UH          0        0    lo0
192.168.1          link#1             UC          0        0    rl0

and then i execute:

# ppp -ddial
Working in ddial mode
Using interface: tun0

then contents of ppp.log are:

Jul 18 15:57:54 saha ppp[347]: Phase: Using interface: tun0
Jul 18 15:57:54 saha ppp[347]: Phase: deflink: Created in closed state
Jul 18 15:57:54 saha ppp[348]: tun0: Phase: PPP Started (ddial mode).
Jul 18 15:57:54 saha ppp[348]: tun0: Phase: bundle: Establish
Jul 18 15:57:54 saha ppp[348]: tun0: Phase: deflink: closed -> opening
Jul 18 15:57:54 saha ppp[348]: tun0: Phase: deflink: Connected!
Jul 18 15:57:54 saha ppp[348]: tun0: Phase: deflink: opening -> dial
Jul 18 15:57:54 saha ppp[348]: tun0: Phase: deflink: dial -> carrier
Jul 18 15:58:00 saha ppp[348]: tun0: Phase: deflink: Disconnected!
Jul 18 15:58:00 saha ppp[348]: tun0: Phase: deflink: carrier -> hangup
Jul 18 15:58:00 saha ppp[348]: tun0: Phase: deflink: Connect time: 6 secs: 0
oc\
tets in, 0 octets out
Jul 18 15:58:00 saha ppp[348]: tun0: Phase: deflink: : 0 packets in, 0 packets
\
out
Jul 18 15:58:00 saha ppp[348]: tun0: Phase:  total 0 bytes/sec, peak 0
bytes/se\
c on Thu Jul 18 15:58:00 2002
Jul 18 15:58:00 saha ppp[348]: tun0: Phase: deflink

and some statistics commands results are:

# ifconfig
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.1.116 netmask 0xffffff00 broadcast 192.168.1.255
        ether 00:c1:28:00:11:4f
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
tun0: flags=8011<UP,POINTOPOINT,MULTICAST> mtu 1500
        Opened by PID 348

# netstat -r
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.1.253      UGSc        0        0    rl0
saha               saha               UH          0        0    lo0
192.168.1          link#1             UC          1        0    rl0
192.168.1.253      0:80:ad:85:f1:14   UHLW        1        2    rl0   1200
# ping www.yahoo.com
PING www.yahoo.akadns.net (66.218.71.83): 56 data bytes
92 bytes from 192.168.1.253: Redirect Host(New addr: 195.7.164.225)
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 0054 0011   0 0000  40  01 2e4f 192.168.1.116  66.218.71.83
92 bytes from 192.168.1.253: Redirect Host(New addr: 195.7.164.225)
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 0054 0013   0 0000  40  01 2e4d 192.168.1.116  66.218.71.83


THANK YOU FOR YOUR HELP:)


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020722060224.80225.qmail>