I am still lost after reading many fine (and not so fine) manuals.
I need to be connected to Ethernet as 192.169.0.18 and also via ppp
once an hour to get mail. The Ethernet works and I can get a ppp
connection, but I can not ping anything over ppp even with numeric
addresses.
Here is the routing table after a connect and some debugging output
left in /var/adm/messages.
frog:~# route -n
Kernel routing table
Destination Gateway Genmask Flags MSS Window Use Iface
192.233.85.139 * 255.255.255.255 UH 1436 0 0 ppp0
192.168.0.0 * 255.255.255.0 U 1436 0 4 eth0
127.0.0.0 * 255.0.0.0 U 1936 0 77 lo
default 192.233.85.139 * UG 1436 0 349 ppp0
Oct 18 13:22:48 frog pppd[229]: pppd 2.1.2 started by root, uid 0
Oct 18 13:22:48 frog pppd[230]: Connecting with </usr/local/bin/pppchat>
Oct 18 13:22:49 frog chat[232]: send (ATDT5934557^M)
Oct 18 13:22:49 frog chat[232]: expect (CONNECT)
Oct 18 13:23:08 frog chat[232]: ATDT5934557^M^M
Oct 18 13:23:08 frog chat[232]: CONNECT -- got it
Oct 18 13:23:08 frog chat[232]: send (^M)
Oct 18 13:23:08 frog chat[232]: expect (ogin:)
Oct 18 13:23:08 frog chat[232]: 115200^M
Oct 18 13:23:10 frog chat[232]: Welcome to North Shore Access^M
Oct 18 13:23:10 frog chat[232]: ^M
Oct 18 13:23:10 frog chat[232]: Port of call: Lynn, berth c20^M
Oct 18 13:23:10 frog chat[232]: ^M
Oct 18 13:23:10 frog chat[232]: ^M
Oct 18 13:23:10 frog chat[232]: northshore login: -- got it
Oct 18 13:23:10 frog chat[232]: send (my-login-name^M)
Oct 18 13:23:10 frog chat[232]: expect (assword:)
Oct 18 13:23:10 frog chat[232]: Pzoom^M
Oct 18 13:23:10 frog chat[232]: Password: -- got it
Oct 18 13:23:10 frog chat[232]: send (my-password^M)
Oct 18 13:23:10 frog pppd[230]: Connected...
Oct 18 13:23:11 frog kernel: ppp: channel ppp0 mtu = 1500, mru = 1500
Oct 18 13:23:11 frog kernel: ppp: channel ppp0 open
Oct 18 13:23:11 frog pppd[230]: set kernel debugging level to 0
Oct 18 13:23:11 frog pppd[230]: Using interface ppp0
Oct 18 13:23:11 frog pppd[230]: Connect: ppp0 <--> /dev/modem
Oct 18 13:23:11 frog pppd[230]: fsm_sdata(LCP): Sent code 1, id 1.
Oct 18 13:23:11 frog pppd[230]: LCP: sending Configure-Request, id 1
Oct 18 13:23:11 frog pppd[230]: fsm_rconfack(LCP): Rcvd id 1.
Oct 18 13:23:14 frog pppd[230]: fsm_rconfreq(LCP): Rcvd id 2.
Oct 18 13:23:14 frog pppd[230]: lcp_reqci: rcvd ASYNCMAP
Oct 18 13:23:14 frog pppd[230]: (0)
Oct 18 13:23:14 frog pppd[230]: (ACK)
Oct 18 13:23:14 frog pppd[230]: lcp_reqci: rcvd MAGICNUMBER
Oct 18 13:23:14 frog pppd[230]: (78cb3cbc)
Oct 18 13:23:14 frog pppd[230]: (ACK)
Oct 18 13:23:14 frog pppd[230]: lcp_reqci: rcvd PCOMPRESSION
Oct 18 13:23:14 frog pppd[230]: (ACK)
Oct 18 13:23:14 frog pppd[230]: lcp_reqci: rcvd ACCOMPRESSION
Oct 18 13:23:14 frog pppd[230]: (ACK)
Oct 18 13:23:14 frog pppd[230]: lcp_reqci: returning CONFACK.
Oct 18 13:23:14 frog pppd[230]: fsm_sdata(LCP): Sent code 2, id 2.
Oct 18 13:23:14 frog pppd[230]: fsm_sdata(IPCP): Sent code 1, id 1.
Oct 18 13:23:14 frog pppd[230]: IPCP: sending Configure-Request, id 1
Oct 18 13:23:14 frog pppd[230]: fsm_rconfreq(IPCP): Rcvd id 1.
Oct 18 13:23:14 frog pppd[230]: ipcp: received COMPRESSTYPE
Oct 18 13:23:14 frog pppd[230]: (45)
Oct 18 13:23:14 frog pppd[230]: (ACK)
Oct 18 13:23:14 frog pppd[230]: ipcp: received ADDR
Oct 18 13:23:14 frog pppd[230]: (192.233.85.139)
Oct 18 13:23:14 frog pppd[230]: (ACK)
Oct 18 13:23:14 frog pppd[230]: ipcp: returning Configure-ACK
Oct 18 13:23:14 frog pppd[230]: fsm_sdata(IPCP): Sent code 2, id 1.
Oct 18 13:23:14 frog pppd[230]: fsm_rconfnakrej(IPCP): Rcvd id 1.
Oct 18 13:23:14 frog pppd[230]: local IP address 198.115.180.39
Oct 18 13:23:14 frog pppd[230]: fsm_sdata(IPCP): Sent code 1, id 2.
Oct 18 13:23:14 frog pppd[230]: IPCP: sending Configure-Request, id 2
Oct 18 13:23:14 frog pppd[230]: fsm_rconfack(IPCP): Rcvd id 2.
Oct 18 13:23:14 frog pppd[230]: ipcp: up
Oct 18 13:23:14 frog pppd[230]: local IP address 198.115.180.39
Oct 18 13:23:14 frog pppd[230]: remote IP address 192.233.85.139
--
Albert Cahalan