Date: Wed, 25 Dec 96 23:15:07 -0400 From: "Francisco Reyes" <francisco@natserv.com> To: "FreeBSD questions" <questions@freebsd.org> Subject: User ppp not dialing Message-ID: <199612260415.XAA27888@revelstone.jvm.com>
next in thread | raw e-mail | index | archive | help
For months I have been trying to get user ppp to work with my provider Advantis (IBM). I got a ppp.conf and ppp.linkup from another user and it originally did the following: >Dial Attempt 1 >Dial OK! >Login OK! >Packet mode All of that without actually dialing at all! The modem never even got the OH light on. As per someones suggestions I changed "add 0 0 255.255.255.0" to "set ifaddr 0/0 0/0" and now I don't even get as far as before. Now I am getting a "dial attempt 1" and then fails. It goes on for a few more attempts and fails. I have been trying for months with no luck. I am getting desperate. I also tried "echo atm1h1> /dev/cuaa0" to see if the modem would respond and the modem received the command, but the OH light didn't come up (this was after I tried going into ppp); the modem did receive the commands though because I saw the lights blink. I know the modem is ok, because I use with OS/2 and because with previous ppp.conf I could dial with "term" from ppp. Is it possible one of the lines in the ppp.conf is setting my modem in a state where it can no longer accept anything? Any suggestions? I am going to try a minimal ppp.conf and try term again to see if I can identify what in ppp.conf could be causing the problem with the modem. Following are my ppp.conf and ppp.linkup ################################################################ #ppp.linkup # If we are invoked with an argument 'ibm-auto' then # delete the existing route entry and add the peer as default gateway. ibm-auto: delete ALL add 0 0 HISADDR ################################################################ # # Otherwise, simply add peer as default gateway. MYADDR: add 0 0 HISADDR ################################################################ ################################################################ #ppp.conf # Default setup. Executed always when PPP is invoked. default: set device /dev/cuaa0 set speed 57600 disable lqr deny lqr set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0M0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT" ################################################################ # # For interactive mode (`ppp ibm`), we'll use this configuration: ibm: set phone 6741501 set redial 3 10 set authname internet.usinet.reyes01 set authkey <mumble> set timeout 300 set openmode active accept chap deny pred1 disable pred1 set ifaddr 0/0 0/0 ################################################################ # # For auto mode ('ppp -auto ibm-auto'), we'll use this: ibm-auto: set phone 6741501 set redial 3 10 set authname internet.usinet.reyes01 set authkey <mumble> set timeout 300 set openmode active accept chap deny pred1 disable pred1 set ifaddr 127.1.1.1/0 127.2.2.2/0 255.255.255.0 add 0 0 127.2.2.2 ################################################################
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612260415.XAA27888>