[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ppp configuring with dunc



Hi all, 
few weeks ago I have installed Debian from self made CDs with 1.3.0a. 
It seems that everything was fine! [Exepting the fact when I did not find
some nice lovely things like xman and xload]

Now I am trying to configure ppp conection to my Debian machine at work. 
(I have already ppp conection from w95 working nice). At this point I use
some scripts and files prepared by 'dunc'. After running 'dialup_connect'
I am able to hear the tone from modem speaker during ~1 min but no pulse
dialing at all.  Although, I put debug option in command line string but I
did not get any debug strings in /var/log.debug :(

Following information might be usefull for understanding the situation.

Thanks in advance for any help.
Eugene.


Here is what I am getting in /var/log/ppp/log:

Aug  3 22:45:41 gdak pppd[146]: pppd 2.2.0 started by root, uid 0
Aug  3 22:45:42 gdak chat[147]: send (atdpm0343656^M) 
Aug  3 22:45:43 gdak chat[147]: expect (CONNECT) 
Aug  3 22:46:28 gdak chat[147]: atdpm0343656^M
Aug  3 22:46:28 gdak pppd[146]: Connect script failed
Aug  3 22:46:28 gdak pppd[146]: Exit.
Aug  3 22:46:28 gdak chat[147]: alarm
Aug  3 22:46:28 gdak chat[147]: Failed
..........................
   
'dialup_connect' generated by 'dunc':

#!/bin/sh
# This is the PPP/SLIP command file created by dunc 
#
# this is useful
die() {
echo $2
exit $1
	}
#
# Let's check to see if we have a chat file
[ -f /root/.dunc/chatfile ] || die 1 "no chat file, exiting ..."
#
# If you want to get promted for your passwd each time you
# run this script, uncomment the line below and comment out the
# line begginning with "passwd="
#stty -echo;printf "%s" "Password: ";read passwd;stty echo

# If you want to store your passwd so you don't have to enter
# it all the time, comment out the line above begginning with
# "stty -echo" and uncomment the line below and add your passwd
passwd=$my_password
/bin/cat /root/.dunc/chatfile | /bin/sed -e 's/PWD/$passwd/g'
>/tmp/wchatfile

/usr/sbin/pppd 194.***.***.***:194.***.***.*** debug file
/root/.dunc/options connect "/usr/sbin/chat -v -f /tmp/wchatfile"
/dev/ttyS1 19200 &

/bin/rm -f /tmp/wchatfile
.......................................

/root/.dunc/options :

defaultroute
crtscts
-am
modem
proxyarp
-mru
lock
..................


Eugene Sevinian

----------------------------
Cosmic Ray Division
Yerevan Phisics Institute
Alikhanian's Brothers str.2
375036 Yerevan 36
Armenia

URL: http://www.yerphi.am/crd/prs/sevinian.html
Phone: 374-2-352041 (YerPhI), 374-2-344873 (aprt.)
Fax: 374-2-350030





--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: