From owner-freebsd-questions Wed Dec 25 20:15:47 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id UAA05842 for questions-outgoing; Wed, 25 Dec 1996 20:15:47 -0800 (PST) Received: from revelstone.jvm.com (revelstone.jvm.com [207.98.213.2]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id UAA05837 for ; Wed, 25 Dec 1996 20:15:44 -0800 (PST) Received: from freyes.dh.i-2000.com (slip166-72-219-94.ny.us.ibm.net [166.72.219.94]) by revelstone.jvm.com (8.7.5/8.6.12) with SMTP id XAA27888 for ; Wed, 25 Dec 1996 23:15:40 -0500 (EST) Message-Id: <199612260415.XAA27888@revelstone.jvm.com> From: "Francisco Reyes" To: "FreeBSD questions" Date: Wed, 25 Dec 96 23:15:07 -0400 Reply-To: "Francisco Reyes" Priority: Normal X-Mailer: Francisco Reyes's Registered PMMail 1.53 For OS/2 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: User ppp not dialing Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 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 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 ################################################################