Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Dec 1999 23:08:05 -0500 (EST)
From:      Stan Brown <stanb@netcom.com>
To:        freebsd-questions@freebsd.org (Free BSD Questions list)
Subject:   ppp to slirp help please
Message-ID:  <199912240408.UAA02761@netcom.com>

next in thread | raw e-mail | index | archive | help
	I am trying to get userland ppp set up, so that I can coonect to my
	shell account at netcom. I can run slirp there to emulate ppp. I can't
	quite get the routeing (I think) to work. Heres my ppp.conf


default:
 allow users
 set device /dev/cuaa1
 set server /var/tmp/internet T5er76Wq 0177
 set speed 38400
 disable lqr
 deny lqr
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT+FCLASS=0&H1&I0&R2 OK ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT"
 set log IPCP CCP phase chat
 set redial 1
netcom:
 set openmode active
 set log LCP IPCP CCP phase chat
 set phone 5698740
 set login "TIMEOUT 125 gin:-\\r-gin: xxxxx word: xxxxxxxxxxxxx stanb slirp"
 disable pred1
 deny pred1
 set timeout 180
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 # set ifaddr 127.1.1.1/0 127.1.1.2/0
 delete default
 add 0 0 HISADDR

	And heres what I see after conecting.


Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            199.183.9.108      UGSc        0      134     tun0
24.6.61/24         link#2             UC          0        0      ed1
24.6.61.1          0:50:3e:e2:10:40   UHLW        0      270      ed1     79
24.6.61.255        ff:ff:ff:ff:ff:ff  UHLWb       1      154      ed1
127.0.0.1          127.0.0.1          UH          1       46      lo0
170.85.106/24      205.159.77.240     UGSc        0        0      ed0
170.85.109/24      205.159.77.240     UGSc        0        0      ed0
170.85.111/24      205.159.77.240     UGSc        0        0      ed0
170.85.113/24      205.159.77.240     UGSc        0        0      ed0
192.168.0.1        205.159.77.240     UGHS        0        0      ed0
192.168.1.1        205.159.77.240     UGHS        0        0      ed0
199.183.9.108      10.0.2.15          UH          1        0     tun0
205.159.77         link#1             UC          0        0      ed0
205.159.77.225     0:80:ad:7:f9:75    UHLW        0        9      ed0     20
205.159.77.227     0:e0:98:4:28:c     UHLW        0        9      ed0     21
205.159.77.232     8:0:9:78:ea:56     UHLW        8     6743      ed0   1163
205.159.77.233     0:20:af:c7:2d:af   UHLW        0        9      ed0     20
205.159.77.234     0:80:ad:8:2b:80    UHLW        3        4      lo0
205.159.77.236     8:0:9:92:55:11     UHLW        0     1173      ed0   1189
205.159.77.239     8:0:9:10:6:a5      UHLW        0       62      ed0    801
205.159.77.240     8:0:9:11:e5:a      UHLW       10    14702      ed0   1166
205.159.77.255     ff:ff:ff:ff:ff:ff  UHLWb       1       77      ed0

ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet 205.159.77.234 netmask 0xffffff00 broadcast 205.159.77.255
	ether 00:80:ad:08:2b:80 
ed1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet 24.6.61.166 netmask 0xffffff00 broadcast 24.6.61.255
	ether 00:40:05:72:e8:7a 
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
	inet 10.0.2.15 --> 199.183.9.108 netmask 0xffffff00 
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet 127.0.0.1 netmask 0xff000000 
ds0: flags=8008<LOOPBACK,MULTICAST> mtu 65532


	I can ping 199.183.9.108, but yet packets dstined beyond this don't
	seem to be getting anywhere.

	What am I doing wrong?
-- 
Stan Brown     stanb@netcom.com                                    404-996-6955
Factory Automation Systems
Atlanta Ga.
-- 
Look, look, see Windows 95.  Buy, lemmings, buy!   
Pay no attention to that cliff ahead...            Henry Spencer
(c) 1998 Stan Brown.  Redistribution via the Microsoft Network is prohibited.


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?199912240408.UAA02761>