Date: Wed, 15 Sep 1999 23:03:59 +0300 From: "Andy V. Oleynik" <andyo@prime.net.ua> To: Colin <crw@the-pentagon.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: user ppp and my isp Message-ID: <37DFFBAD.BA2DC420@prime.net.ua> References: <37DEED5A.64C633B@the-pentagon.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I'm not sure... but try to use pap authentication scheme just to be sure that authentication will begin after LCP layer start. Colin wrote: > I've been having no luck at all getting my BSD to connect to my > isp. I'm running release 3.0 (I will probably upgrade eventually, I > just haven't really had to yet ;)) The login information is fine and > the modem dials without difficulty. After connecting, the userid and > password are sent then about 3 seconds later the connection is dropped > (I suspect from the other end, as when I dial manually using term, after > the login I see "NO CARRIER"). Before I call my ISP and ask them what's > up with their end, I want to make sure it's not my end. The important > files are as follows: > > /etc/ppp.conf > > # > default: > set log Phase Chat LCP IPCP CCP tun command > set device /dev/cuaa1 > set speed 115200 > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 30 \"\" AT OK-AT-OK > ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" > > # > attcanada: > set phone XXXXXXX > set login "TIMEOUT 10 ogin:--ogin: XXXX@attcanada.net word: XXXXXX " > 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/host.conf > > # $Id: host.conf,v 1.4 1997/02/23 09:20:40 peter Exp $ > # Default is to use the nameserver first > #bind > # If that doesn't work, then try the /etc/hosts file > #hosts > # If you have YP/NIS configured, uncomment the next line > # nis > #This defaults to the wrong order...;) > hosts > bind > > /etc/hosts > > 127.0.0.1 localhost.net localhost > 192.168.0.1 arthur.net arthur > 192.168.0.10 tristan.net tristan > > /etc/resolv.conf > > nameserver 206.191.82.225 > nameserver 206.191.83.225 > > /var/log/pp.log > > Sep 12 14:23:48 arthur ppp[22775]: tun0: Command: /dev/tty: dial > attcanada > Sep 12 14:23:48 arthur ppp[22775]: tun0: Command: attcanada: set phone > XXXXXXX > Sep 12 14:23:48 arthur ppp[22775]: tun0: Command: attcanada: set login > TIMEOUT 10 ogin:--ogin: XXX@attcanada.net word: XXXXXX > Sep 12 14:23:48 arthur ppp[22775]: tun0: Command: attcanada: set timeout > 300 > Sep 12 14:23:48 arthur ppp[22775]: tun0: Command: attcanada: set ifaddr > 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 > Sep 12 14:23:48 arthur ppp[22775]: tun0: Command: attcanada: add default > HISADDR > Sep 12 14:23:48 arthur ppp[22775]: tun0: Command: attcanada: enable dns > Sep 12 14:23:48 arthur ppp[22775]: tun0: Phase: bundle: Establish > Sep 12 14:23:48 arthur ppp[22775]: tun0: Phase: deflink: closed -> > opening > Sep 12 14:23:49 arthur ppp[22775]: tun0: Phase: deflink: Connected! > Sep 12 14:23:49 arthur ppp[22775]: tun0: Phase: deflink: opening -> dial > Sep 12 14:23:49 arthur ppp[22775]: tun0: Phase: Phone: XXXXXXX > Sep 12 14:23:49 arthur ppp[22775]: tun0: Chat: deflink: Dial attempt 1 > of 1 > Sep 12 14:23:49 arthur ppp[22775]: tun0: Chat: Send: AT^M > Sep 12 14:23:49 arthur ppp[22775]: tun0: Chat: Expect(30): OK > Sep 12 14:23:49 arthur ppp[22775]: tun0: Chat: Received: AT^M^M > Sep 12 14:23:49 arthur ppp[22775]: tun0: Chat: Received: OK^M > Sep 12 14:23:49 arthur ppp[22775]: tun0: Chat: Send: ATE1Q0^M > Sep 12 14:23:49 arthur ppp[22775]: tun0: Chat: Expect(30): OK > Sep 12 14:23:49 arthur ppp[22775]: tun0: Chat: Received: ATE1Q0^M^M > Sep 12 14:23:49 arthur ppp[22775]: tun0: Chat: Received: OK^M > Sep 12 14:23:49 arthur ppp[22775]: tun0: Chat: Send: ATDTXXXXXXX^M > Sep 12 14:23:51 arthur ppp[22775]: tun0: Chat: Expect(40): CONNECT > Sep 12 14:24:04 arthur ppp[22775]: tun0: Chat: Received: ATDTXXXXXXX^M^M > Sep 12 14:24:04 arthur ppp[22775]: tun0: Chat: Received: CONNECT > Sep 12 14:24:04 arthur ppp[22775]: tun0: Phase: deflink: dial -> login > Sep 12 14:24:04 arthur ppp[22775]: tun0: Chat: Expect(10): ogin: > Sep 12 14:24:04 arthur ppp[22775]: tun0: Chat: Received: 115200^M > Sep 12 14:24:05 arthur ppp[22775]: tun0: Chat: Received: ^M > Sep 12 14:24:05 arthur ppp[22775]: tun0: Chat: Received: Welcome to 3Com > Total Control HiPer ARC (TM)^M > Sep 12 14:24:05 arthur ppp[22775]: tun0: Chat: Received: Networks That > Go The Distance (TM)^M > Sep 12 14:24:05 arthur ppp[22775]: tun0: Chat: Received: ^M > Sep 12 14:24:05 arthur ppp[22775]: tun0: Chat: Received: login: > Sep 12 14:24:05 arthur ppp[22775]: tun0: Chat: Send: XXX@attcanada.net^M > Sep 12 14:24:05 arthur ppp[22775]: tun0: Chat: Expect(10): word: > Sep 12 14:24:05 arthur ppp[22775]: tun0: Chat: Received: > XXX@attcanada.net^M > Sep 12 14:24:05 arthur ppp[22775]: tun0: Chat: Received: Password: > Sep 12 14:24:05 arthur ppp[22775]: tun0: Chat: Send: XXXXXX^M > Sep 12 14:24:05 arthur ppp[22775]: tun0: Phase: deflink: login -> lcp > Sep 12 14:24:05 arthur ppp[22775]: tun0: LCP: FSM: Using "deflink" as a > transport > Sep 12 14:24:05 arthur ppp[22775]: tun0: LCP: deflink: State change > Initial --> Closed > Sep 12 14:24:05 arthur ppp[22775]: tun0: LCP: deflink: State change > Closed --> Stopped > Sep 12 14:24:06 arthur ppp[22775]: tun0: LCP: deflink: LayerStart > Sep 12 14:24:06 arthur ppp[22775]: tun0: LCP: deflink: SendConfigReq(1) > state = Stopped > Sep 12 14:24:06 arthur ppp[22775]: tun0: LCP: ACFCOMP[2] > Sep 12 14:24:06 arthur ppp[22775]: tun0: LCP: PROTOCOMP[2] > Sep 12 14:24:06 arthur ppp[22775]: tun0: LCP: ACCMAP[6] 0x00000000 > Sep 12 14:24:06 arthur ppp[22775]: tun0: LCP: MRU[4] 1500 > Sep 12 14:24:06 arthur ppp[22775]: tun0: LCP: MAGICNUM[6] 0x56e95db4 > Sep 12 14:24:06 arthur ppp[22775]: tun0: LCP: deflink: State change > Stopped --> Req-Sent > Sep 12 14:24:07 arthur ppp[22775]: tun0: Phase: deflink: Carrier lost > Sep 12 14:24:07 arthur ppp[22775]: tun0: LCP: deflink: State change > Req-Sent --> Starting > Sep 12 14:24:07 arthur ppp[22775]: tun0: LCP: deflink: LayerFinish > Sep 12 14:24:07 arthur ppp[22775]: tun0: LCP: deflink: State change > Starting --> Initial > Sep 12 14:24:07 arthur ppp[22775]: tun0: Phase: deflink: Disconnected! > Sep 12 14:24:07 arthur ppp[22775]: tun0: Phase: deflink: lcp -> hangup > Sep 12 14:24:07 arthur ppp[22775]: tun0: Phase: deflink: Connect time: > 18 secs: 2 octets in, 52 octets out > Sep 12 14:24:07 arthur ppp[22775]: tun0: Phase: total 3 bytes/sec, peak > 10 bytes/sec on Sun Sep 12 14:24:07 1999 > Sep 12 14:24:07 arthur ppp[22775]: tun0: Phase: deflink: hangup -> > closed > Sep 12 14:24:07 arthur ppp[22775]: tun0: Phase: bundle: Dead > Sep 12 14:24:26 arthur ppp[22775]: tun0: Command: /dev/tty: q > > I am also running a local network, 192.168.0.X over ethernet, but I > don't start routed or named (only 3 computers, these guys aren't needed > ;)) > I've been through every bit of documentation on this I could find > and I've tried a few things like deny lqr, deny pred1, using the same > init string for my modem as Win95 (which is how I'm connected now) and > I've run out of ideas. > Any ideas or help will be greatly appreciated. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- WBW Andy V. Oleynik PGP key's fingerprint prime.net.ua's D0 1E 7B B4 33 65 49 97 9C 79 7C 64 5C 9C F3 25 system administrator +380442448363 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?37DFFBAD.BA2DC420>