Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jun 2000 12:28:28 -0400
From:      shashi <shashi@shift-f1.com>
To:        freebsd-net@freebsd.org
Subject:   4.0 and ppp not working?
Message-ID:  <20000618122828.A11420@Shift-F1.com>

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

Hello,
I am not sure exactly which list this belongs to, so I am posting it on
net, isp and stable. Forgive me for the extra bandwidth used.

I have been using FreeBSD for 3 years now, and touch wood, things have
always been smooth enough. So I haven't made much use of the mailing lists.
For the current issue I have spent over 5 hours in the archives with no
success. I found similar situations but no answers to the problem, at least
none that apply to my situation.


Here is the description:

1. ppp has always worked for dialing out on previous versions, 2x, 3.2(?)

2. I installed 4.0 from CD 2 days back. I must say there are a few new
things that I am not sure of that may have caused problem, maybe? e.g. in
install it asked if this machine will be a leaf node. I answered it "NO".
Also, is IPv6 or IPsec the cause of any problems? Meaning does that need
different handling all over the network commands?


3. this is what I did:
	% cd /dev
	% ./MAKEDEV tun0
	% cp /usr/share/examples/ppp/ppp.conf.sample /etc/ppp/ppp.conf
	----- /etc/ppp/ppp.conf after modification: ----

	###########################################################
	default:
	 set log Phase Chat LCP IPCP CCP tun command
	 set device /dev/cuaa1
	 set speed 115200
	 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT \
		   OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
	 set redial 10 5
	 deny lqr
	 set phone _PHONENUMBERHERE_
	 set login "ABORT NO\\sCARRIER TIMEOUT 5 ogin:--ogin: _USERID_ word: _PASSWORD_"
	 set timeout 120
	 set ifaddr 10.0.0.1/0
	 delete ALL
	 add default HISADDR


	pmdemand:
	 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
	 delete ALL
	 set redial 10 20
	 add default HISADDR
	 enable dns
	###########################################################

	% ppp -ddial pmdemand


4. The thing is the SAME file works on 3.2 with same modem, same jack,
same isp. Now, first time, the modem dials, makes connection then it says
"Warning: Chat script failed".A After that, I do pppctl and a "quit all",
then retry by % ppp -ddial pmdemand and the modem doesn't even ring. and
gives the same errors.

Any help will be highly appreciated. I am using default kernel right now,
and I need ppp to CVS to latest upgrade.

Thanks,
Shashi


Here is ppp.log:
	( I have replaced _USERID_, _PASSWORD_ and _PHONENUM_)


Jun 18 11:20:44 ugrads ppp[806]: Phase: Using interface: tun0 
Jun 18 11:20:44 ugrads ppp[806]: Phase: deflink: Created in closed state 
Jun 18 11:20:44 ugrads ppp[806]: tun0: Command: default: set device /dev/cuaa1 
Jun 18 11:20:44 ugrads ppp[806]: tun0: Command: default: set speed 115200 
Jun 18 11:20:44 ugrads ppp[806]: tun0: Command: default: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 "" AT            OK-AT-OK ATE1Q0 OK \dATDT\T TIMEOUT 40 CONNECT 
Jun 18 11:20:44 ugrads ppp[806]: tun0: Command: default: set redial 10 5 
Jun 18 11:20:44 ugrads ppp[806]: tun0: Command: default: deny lqr 
Jun 18 11:20:44 ugrads ppp[806]: tun0: Command: default: set phone _PHONE_NUM_ 
Jun 18 11:20:44 ugrads ppp[806]: tun0: Command: default: set login ABORT NO\sCARRIER TIMEOUT 5 ogin:--ogin: _USERID_ word: _PASSWORD_
Jun 18 11:20:44 ugrads ppp[806]: tun0: Command: default: set timeout 120 
Jun 18 11:20:44 ugrads ppp[806]: tun0: Command: default: set ifaddr 10.0.0.1/0 
Jun 18 11:20:44 ugrads ppp[806]: tun0: Command: default: delete ALL 
Jun 18 11:20:44 ugrads ppp[806]: tun0: Command: default: add default HISADDR 
Jun 18 11:20:44 ugrads ppp[806]: tun0: Command: default: set server +3000 ******** 
Jun 18 11:20:44 ugrads ppp[806]: tun0: Phase: Listening at port 3000. 
Jun 18 11:20:44 ugrads ppp[806]: tun0: Command: pmdemand: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 
Jun 18 11:20:44 ugrads ppp[806]: tun0: Command: pmdemand: delete ALL 
Jun 18 11:20:44 ugrads ppp[806]: tun0: Command: pmdemand: set redial 10 20 
Jun 18 11:20:44 ugrads ppp[806]: tun0: Command: pmdemand: add default HISADDR 
Jun 18 11:20:44 ugrads ppp[806]: tun0: Command: pmdemand: enable dns 
Jun 18 11:20:44 ugrads ppp[807]: tun0: Phase: PPP Started (ddial mode). 
Jun 18 11:20:44 ugrads ppp[807]: tun0: Phase: bundle: Establish 
Jun 18 11:20:44 ugrads ppp[807]: tun0: Phase: deflink: closed -> opening 
Jun 18 11:20:44 ugrads ppp[807]: tun0: Phase: deflink: Connected! 
Jun 18 11:20:44 ugrads ppp[807]: tun0: Phase: deflink: opening -> dial 
Jun 18 11:20:44 ugrads ppp[807]: tun0: Phase: Phone: _PHONE_NUM_ 
Jun 18 11:20:44 ugrads ppp[807]: tun0: Chat: Send: AT^M 
Jun 18 11:20:44 ugrads ppp[807]: tun0: Chat: Expect(5): OK 
Jun 18 11:20:45 ugrads ppp[807]: tun0: Chat: Received: AT^M^M 
Jun 18 11:20:45 ugrads ppp[807]: tun0: Chat: Received: OK^M 
Jun 18 11:20:45 ugrads ppp[807]: tun0: Chat: Send: ATE1Q0^M 
Jun 18 11:20:45 ugrads ppp[807]: tun0: Chat: Expect(5): OK 
Jun 18 11:20:45 ugrads ppp[807]: tun0: Chat: Received: ATE1Q0^M^M 
Jun 18 11:20:45 ugrads ppp[807]: tun0: Chat: Received: OK^M 
Jun 18 11:20:45 ugrads ppp[807]: tun0: Chat: Send: ATDT_PHONE_NUM_^M 
Jun 18 11:20:47 ugrads ppp[807]: tun0: Chat: Expect(40): CONNECT 
Jun 18 11:21:28 ugrads ppp[807]: tun0: Chat: Expect timeout 
Jun 18 11:21:28 ugrads ppp[807]: tun0: Warning: Chat script failed 
Jun 18 11:21:28 ugrads ppp[807]: tun0: Phase: deflink: dial -> hangup 
Jun 18 11:21:28 ugrads ppp[807]: tun0: Phase: deflink: Disconnected! 
Jun 18 11:21:28 ugrads ppp[807]: tun0: Phase: deflink: Connect time: 44 secs: 0 octets in, 0 octets out 
Jun 18 11:21:28 ugrads ppp[807]: tun0: Phase:  total 0 bytes/sec, peak 0 bytes/sec on Sun Jun 18 11:21:28 2000 
Jun 18 11:21:28 ugrads ppp[807]: tun0: Phase: deflink: hangup -> opening 
Jun 18 11:21:28 ugrads ppp[807]: tun0: Phase: deflink: Enter pause (10) for redialing. 
Jun 18 11:21:38 ugrads ppp[807]: tun0: Phase: deflink: Redial timer expired. 
Jun 18 11:21:38 ugrads ppp[807]: tun0: Phase: deflink: Connected! 
Jun 18 11:21:38 ugrads ppp[807]: tun0: Phase: deflink: opening -> dial 
Jun 18 11:21:38 ugrads ppp[807]: tun0: Phase: Phone: _PHONE_NUM_
Jun 18 11:21:38 ugrads ppp[807]: tun0: Chat: Send: AT^M 
Jun 18 11:21:38 ugrads ppp[807]: tun0: Chat: Expect(5): OK 
Jun 18 11:21:43 ugrads ppp[807]: tun0: Chat: Expect timeout 
Jun 18 11:21:43 ugrads ppp[807]: tun0: Chat: Send: AT^M 
Jun 18 11:21:43 ugrads ppp[807]: tun0: Chat: Expect(5): OK 
Jun 18 11:21:48 ugrads ppp[807]: tun0: Chat: Expect timeout 
Jun 18 11:21:48 ugrads ppp[807]: tun0: Warning: Chat script failed 
Jun 18 11:21:48 ugrads ppp[807]: tun0: Phase: deflink: dial -> hangup 
Jun 18 11:21:48 ugrads ppp[807]: tun0: Phase: deflink: Disconnected! 
Jun 18 11:21:48 ugrads ppp[807]: tun0: Phase: deflink: Connect time: 10 secs: 0 octets in, 0 octets out 
Jun 18 11:21:48 ugrads ppp[807]: tun0: Phase:  total 0 bytes/sec, peak 0 bytes/sec on Sun Jun 18 11:21:48 2000 
Jun 18 11:21:48 ugrads ppp[807]: tun0: Phase: deflink: hangup -> opening 
Jun 18 11:21:48 ugrads ppp[807]: tun0: Phase: deflink: Enter pause (10) for redialing. 
Jun 18 11:21:58 ugrads ppp[807]: tun0: Phase: deflink: Redial timer expired. 
Jun 18 11:21:58 ugrads ppp[807]: tun0: Phase: deflink: Connected! 
Jun 18 11:21:58 ugrads ppp[807]: tun0: Phase: deflink: opening -> dial 
Jun 18 11:21:58 ugrads ppp[807]: tun0: Phase: Phone: _PHONE_NUM_ 
Jun 18 11:21:58 ugrads ppp[807]: tun0: Chat: Send: AT^M 
Jun 18 11:21:58 ugrads ppp[807]: tun0: Chat: Expect(5): OK 
...




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




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