From owner-freebsd-questions Wed Feb 24 16: 5:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from smtp03.wxs.nl (smtp03.wxs.nl [195.121.6.37]) by hub.freebsd.org (Postfix) with ESMTP id 3801514D19 for ; Wed, 24 Feb 1999 16:04:43 -0800 (PST) (envelope-from asmodai@wxs.nl) Received: from daemon.ninth-circle.org ([195.121.56.127]) by smtp03.wxs.nl (Netscape Messaging Server 3.61) with ESMTP id AAB666F; Wed, 24 Feb 1999 18:12:37 +0100 Received: from daemon.ninth-circle.org (abaddon@daemon.ninth-circle.org [192.168.0.1]) by daemon.ninth-circle.org (8.9.3/8.9.3) with ESMTP id SAA01408; Wed, 24 Feb 1999 18:02:31 +0100 (CET) (envelope-from asmodai@wxs.nl) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <36D34279.36A5546@netshell.vicosa.com.br> Date: Wed, 24 Feb 1999 18:02:31 +0100 (CET) Organization: Ninth Circle Enterprises From: Jeroen Ruigrok/Asmodai To: Gustavo Vieira G C Rios Subject: RE: internet via ppp Cc: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 24-Feb-99 Gustavo Vieira G C Rios wrote: > i am trying to get connected to my ISP without success, can any body > mail me a tip about that? > > my procedure was: > just enter ppp (to execute the software) after at ppp prompt, i typed: > dial isp > > but i got no connection ! Which might not be surprising considering the config files... ># /etc/ppp/ppp.conf > default: > set log Phase Chat Connect LCP IPCP CCP tun command > set device /dev/cuaa2 > set speed 115200 > set mtu 296 > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK > ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" Any reason for setting MTU ? > isp: > set phone 8916101 > set login "TIMEOUT 5 name:-\\r-name: my_account_name word: my_password" > set ifaddr 0 0 > accept chap > deny pap > disable chap > disable pap > set authname my_account_name > set authkey my_password ok why put accept chap in first and then disable it again? Also disable pap will also not help if ye want to log in with authname and authkey (which are based upon using pap/chap) try this one: isp: set phone 8916101 set login set authname my_account_name set authkey my_password set timeout 300 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR enable DNS ># /etc/ppp/ppp.linkup > > MYADDR: > delete ALL > add 0 0 HISADDR recent (dunno how recent, from 3.0 and onwards at least) versions don't need this, they suffice with ppp.conf. > looking at this log, i suppose that my system is not dialing. It stops > after the second time at comand is given, right ? It dials out, tries to log in, but is disconnected since the log in doesn't work AFAICT (as far as I can tell). --- Jeroen Ruigrok van der Werven http://www.freebsdzine.org> asmodai(at)wxs.nl The idea does not replace the work... Network/Security Specialist *BSD: Powered by Knowledge & Know-how To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message