Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Aug 1997 21:14:45 -0400 (EDT)
From:      Gang-Ryung Uh <uh@NU.cs.fsu.edu>
To:        questions@freebsd.org
Subject:   usermode ppp
Message-ID:  <199708060114.VAA05742@sed.cs.fsu.edu>

next in thread | raw e-mail | index | archive | help
Hi,

  I have been trying to configure usermode ppp and dynamic IP address.  
  Obviously, I cannot make the user ppp work for me. I think I set the 
  required information correctly as a usermode ppp client. However, 
  after the connection, I can not ping any host. 

  Would you possibly correct my mistake(s)?
  Thanks in advance.

Regards,
Gang-Ryung Uh
  

ppp.conf
========
..
simplesite:
 set phone 6446090
 set login "TIMEOUT 5 login:-\\r-login: xx word: xxxxxx ocol: ppp"
 set timeout 120
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0
 delete all
 add 0 0 HISADDR
 set openmode active
..

ppp.linkup
==========
...
# Otherwise, simply add peer as default gateway.
#
MYADDR:
 add 0 0 HISADDR
..
=========

Here is the action that I made as a super user.

# ppp
PPP ON jonah> dial simplesite
Dial attempt 1 of 1
Phone: 6446090
dial OK!
ppp ON jonah> Packet mode.
ppp ON jonah> show 
PPP ON jonah> ip
IPCP [Opend]
 his side: 128.186.121.25, 2d0f01  <-- what is 2d0f01?
 my  side: 128.186.121.202, 2d0f00 <-- what is 2d0f00?
connected: 1 secs, idle: 1 secs

Defaults:
 My Address:  10.0.0.1/0
 His Address: 10.0.0.2/0
 Negotiation: 0.0.0.0/0     <--- Is it correct? 

PPP ON jonah> show log
08-05 16:42:22 [402] Using interface: tun0
08-05 16:42:22 [402] PPP Started.
08-05 16:42:27 [402] Phone: 6446090
08-05 16:42:52 [402] *Connected!
08-05 16:42:59 [402] Phase: Authenticate
08-05 16:42:59 [402] Phase: Network
08-05 16:42:59 [402]  myaddr = 128.186.121.202  hisaddr = 128.186.1121.25
08-05 16:42:59 [402] OsLinkup: 128.186.121.25
08-05 16:43:58 [402] HDLC errors -> FCS: 1 ADDR: 0 COMD: 0 PROTO: 0
                     ===============================================
                        ???? <-- What this error means?

Ovbiously I cannot ping any host. The following is the more information
after the connection

# ifconfig tun0
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 296
        inet 128.186.121.202 --> 128.186.121.25 netmask 0xffffff00 
                        
# netstat -nr 
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            128.186.121.25     UGSc        0        0      tun0
127.0.0.1          127.0.0.1          UH          0        0       lo0
128.186.121.25     128.186.121.202    UH          1        0      tun0





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