Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Feb 1999 18:02:31 +0100 (CET)
From:      Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
To:        Gustavo Vieira G C Rios <grios@netshell.vicosa.com.br>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: internet via ppp
Message-ID:  <XFMail.990224180231.asmodai@wxs.nl>
In-Reply-To: <36D34279.36A5546@netshell.vicosa.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <enter>
> 
> 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      <http://home.wxs.nl/~asmodai>;
*BSD: Powered by Knowledge & Know-how <http://www.freebsd.org>;


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




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