PPP getting closer (Was: Re: PPP(d), Phone Home!)

John M. Mills jmills at siberia.gtri.gatech.edu
Wed Feb 7 09:46:30 EST 1996


Hello --
I am setting up PPP by telephone from my home Linux to G.I.T.'s
PPP rotor, _almost_ have it working.  Thanks to dsnyder and ZOT, I have
gotten the link extablished, but here I am hung up again.

I am able to set up the ppp link, and to ping the remote host, but am not
able to resolve names or reach other internal (G.I.T.) or external net hosts.
I suspect I am never successfully negotiating a gateway.  Suggestions welcome.

I'm running Linux 1.1.87 and pppd 2.1.2b.  Unless there is some known
problem here, I'ld like to stay with that combo 'til PPP works.  I attach
ping and ppp-log excerpts, and my rc.inte1 and /etc/ppp/options files.

Sorry about the long lines in the attached material, but I wanted to
show it as issued by my box.

Thanks --john mills--

**************<Begin Battle Report>**************

-When I 'ping' my local host, I see:
******
{/home/jmills} 156 : ping <myhostname>
PING <myhostname>.remote.gatech.edu (0.0.0.0): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=2.9 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=255 time=2.8 ms

--- <myhostname>.remote.gatech.edu ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 2.8/2.8/2.9 ms

******
-When I ping the other end of my PPP link, I see:
{/home/jmills} 157 : ping 130.207.161.11
PING 130.207.161.11 (130.207.161.11): 56 data bytes
64 bytes from 130.207.161.11: icmp_seq=0 ttl=255 time=183.2 ms
64 bytes from 130.207.161.11: icmp_seq=1 ttl=255 time=150.8 ms

--- 130.207.161.11 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 150.8/167.0/183.2 ms
******

-When I 'ping' other hosts by name or IP address, I see:
{/home/jmills} 155 : ping siberia.gtri.gatech.edu
ping: unknown host siberia.gtri.gatech.edu
******

The log of my pppd/chat login is:
Feb  7 07:21:30 <myhostname> chat[178]: ATS0=0Q0V1X4&C1&D2^M^M 
Feb  7 07:21:30 <myhostname> chat[178]: OK -- got it 
Feb  7 07:21:30 <myhostname> chat[178]: send (ATDT4048946333^M) 
Feb  7 07:21:30 <myhostname> chat[178]: expect (CONNECT) 
Feb  7 07:21:30 <myhostname> chat[178]: ^M 
Feb  7 07:21:49 <myhostname> chat[178]: ATDT4048946333^M^M 
Feb  7 07:21:49 <myhostname> chat[178]: CONNECT -- got it 
Feb  7 07:21:49 <myhostname> chat[178]: send (^M) 
Feb  7 07:21:49 <myhostname> chat[178]: expect (ame:) 
Feb  7 07:21:49 <myhostname> chat[178]:  57600^M 
Feb  7 07:21:50 <myhostname> chat[178]: ^M 
Feb  7 07:21:50 <myhostname> chat[178]: Checking authorization, Please wait...^M 
Feb  7 07:21:50 <myhostname> chat[178]: Annex username: -- got it 
Feb  7 07:21:50 <myhostname> chat[178]: send (<myhostname>^M) 
Feb  7 07:21:51 <myhostname> chat[178]: expect (ssword:) 
Feb  7 07:21:51 <myhostname> chat[178]:  <myhostname>^M 
Feb  7 07:21:51 <myhostname> chat[178]: Annex password: -- got it 
Feb  7 07:21:51 <myhostname> chat[178]: send (<password>^M) 
Feb  7 07:21:51 <myhostname> chat[178]: expect (GTNet) 
Feb  7 07:21:51 <myhostname> chat[178]:  ^M 
Feb  7 07:21:51 <myhostname> chat[178]: ^M 
Feb  7 07:21:51 <myhostname> chat[178]: Permission granted^M 
Feb  7 07:21:51 <myhostname> chat[178]: ^[[1B 
Feb  7 07:21:51 <myhostname> chat[178]: TCP_GTNet -- got it 
Feb  7 07:21:51 <myhostname> chat[178]: send (ppp^M) 
Feb  7 07:21:52 <myhostname> pppd[171]: Connected...
Feb  7 07:21:53 <myhostname> pppd[171]: set kernel debugging level to 0
Feb  7 07:21:53 <myhostname> pppd[171]: Using interface ppp0
Feb  7 07:21:53 <myhostname> pppd[171]: Connect: ppp0 <--> /dev/modem
Feb  7 07:21:58 <myhostname> pppd[171]: local  IP address 130.207.161.32
Feb  7 07:21:58 <myhostname> pppd[171]: remote IP address 130.207.161.11
Feb  7 07:21:58 <myhostname> pppd[171]: ppp not replacing existing default route to dummy[0.0.0.0]
******

-My rc.inet1 script is:
#! /bin/sh
#
# rc.inet1	This shell script boots up the base INET system.
#
# Version:	@(#)/etc/rc.d/rc.inet1	1.01	05/27/93
#

HOSTNAME=`cat /etc/HOSTNAME`

# Attach the loopback device.
/sbin/ifconfig lo 127.0.0.1
/sbin/route add -net 127.0.0.0

# IF YOU HAVE AN ETHERNET CONNECTION, use these lines below to configure the 
# eth0 interface. If you're only using loopback or SLIP, don't include the
# rest of the lines in this file.

# Edit for your setup.
IPADDR="0.0.0.0"	# REPLACE with YOUR IP address!
NETMASK="255.255.255.0"	# REPLACE with YOUR netmask!
NETWORK="130.207.161.0"	# REPLACE with YOUR network address!
BROADCAST="130.207.161.255"	# REPLACE with YOUR broadcast address, if you
			# have one. If not, leave blank and edit below.
GATEWAY="0.0.0.0"	# REPLACE with YOUR gateway address!

# Uncomment ONLY ONE of the three lines below. If one doesn't work, try again.
# /sbin/ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
# /sbin/ifconfig eth0 ${IPADDR} broadcast ${BROADCAST} netmask ${NETMASK}
/sbin/ifconfig dummy ${IPADDR} broadcast ${BROADCAST} netmask ${NETMASK}
# /sbin/ifconfig  eth0 ${IPADDR} netmask ${NETMASK} 

# Uncomment these to set up your IP routing table.
# /sbin/route add -net ${NETWORK} netmask ${NETMASK}
# /sbin/route add default gw ${GATEWAY} metric 1

/sbin/route add -host ${IPADDR} dev dummy

# End of rc.inet1
******

-My /etc/ppp/options file is:
asyncmap 0
defaultroute
modem
lock
crtscts
connect "/etc/ppp/ppp-on"
netmask 255.255.255.0
0.0.0.0:
/dev/modem
115200
******






More information about the Ale mailing list