Date: Sat, 23 May 1998 02:57:36 +0100 From: Brian Somers <brian@Awfulhak.org> To: "Patrick M. Hausen" <hausen@punkt.de> Cc: freebsd-questions@FreeBSD.ORG, freebsd-isp@FreeBSD.ORG Subject: Re: Problems connecting to AIX box with PPP Message-ID: <199805230157.CAA13839@awfulhak.org> In-Reply-To: Your message of "Fri, 22 May 1998 15:38:10 %2B0200." <199805221338.PAA28604@hugo10.ka.punkt.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Hmm, didn't I see this question on Usenet too ? You should really
wait a bit to see if you get any answers.....
> Hi all!
>
> I'm trying to connect a FreeBSD 2.2.6 box to a AIX system with user PPP.
>
> The AIX box is setup as follows:
>
> - there's a user with a regular login
>
> - in his .profile there's:
> "exec /usr/sbin/pppattachd server 2>/dev/null"
>
> - the interface config for PPP is:
>
> interface
> server
> local_ip 10.8.11.240
> remote_ip 10.8.11.245
> netmask 255.155.155.0
>
> It's AIX version 4.1.5.0 and the above is what the AIX manual suggested.
> This worked out of the box with Windows 95 as a client.
>
>
> I set up FreeBSD /etc/ppp/ppp.conf like this:
>
> default:
> set device /dev/cuaa0
> set speed 19200
> disable pred1
> deny pred1
> disable lqr
> deny lqr
> set redial 30 3
> set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT&FX3 OK-AT-OK \\dATDT\\T TIMEOUT 120 CONNECT"
>
> blabla:
> set log chat lcp ipcp
> set phone 0w0033387282534
> set timeout 300
> set openmode active
> set login "TIMEOUT 30 ogin:-\\r-ogin: blabla ennwort foobar"
> set ifaddr 10.8.11.245/32 10.8.11.240/32 255.255.255.0
>
> (Don't be fooled by the "ennwort" - this stupid thing asks for the
> password in German ;-)
>
> Now, when I try to use 57600 or 38400 DTE speed, even the login fails.
> When I use 19200, login, lcp and ipcp seem to work:
>
> May 20 14:23:43 poseidon ppp[460]: Phase: Using interface: tun0
> May 20 14:23:46 poseidon ppp[461]: Chat: Dial attempt 1 of 3
> May 20 14:23:46 poseidon ppp[461]: Chat: Expecting:
> May 20 14:23:46 poseidon ppp[461]: Chat: Sending: AT&FX3^M
> May 20 14:23:46 poseidon ppp[461]: Chat: Expecting: OK-AT-OK
> May 20 14:23:46 poseidon ppp[461]: Chat: Wait for (5): OK
> May 20 14:23:48 poseidon ppp[461]: Chat: Sending: ATDT0w*************^M
> May 20 14:23:48 poseidon ppp[461]: Chat: Expecting: CONNECT
> May 20 14:23:48 poseidon ppp[461]: Chat: Wait for (120): CONNECT
> May 20 14:24:28 poseidon ppp[461]: Chat: Expecting: ogin:-\r-ogin:
> May 20 14:24:28 poseidon ppp[461]: Chat: Wait for (30): ogin:
> May 20 14:24:30 poseidon ppp[461]: Chat: Sending: blabla^M
> May 20 14:24:30 poseidon ppp[461]: Chat: Expecting: ennwort
> May 20 14:24:30 poseidon ppp[461]: Chat: Wait for (30): ennwort
> May 20 14:24:30 poseidon ppp[461]: Chat: Sending: foobar^M
> May 20 14:24:30 poseidon ppp[461]: LCP: State change Initial --> Closed
> May 20 14:24:30 poseidon ppp[461]: LCP: State change Closed --> Stopped
> May 20 14:24:31 poseidon ppp[461]: LCP: Received Configure Request (1) state = Stopped (3)
> May 20 14:24:31 poseidon ppp[461]: LCP: MRU[4] 1500
> May 20 14:24:31 poseidon ppp[461]: LCP: ACCMAP[6] 0x00000000
> May 20 14:24:31 poseidon ppp[461]: LCP: MAGICNUM[6] 0x3562ca23
> May 20 14:24:31 poseidon ppp[461]: LCP: PROTOCOMP[2]
> May 20 14:24:31 poseidon ppp[461]: LCP: ACFCOMP[2]
> May 20 14:24:31 poseidon ppp[461]: LCP: LcpSendConfigReq
> May 20 14:24:31 poseidon ppp[461]: LCP: ACFCOMP[2]
> May 20 14:24:31 poseidon ppp[461]: LCP: PROTOCOMP[2]
> May 20 14:24:31 poseidon ppp[461]: LCP: ACCMAP[6] 0x00000000
> May 20 14:24:31 poseidon ppp[461]: LCP: MRU[4] 1500
> May 20 14:24:31 poseidon ppp[461]: LCP: MAGICNUM[6] 0x771eba49
> May 20 14:24:31 poseidon ppp[461]: LCP: SendConfigAck(Stopped)
> May 20 14:24:31 poseidon ppp[461]: LCP: MRU[4] 1500
> May 20 14:24:31 poseidon ppp[461]: LCP: ACCMAP[6] 0x00000000
> May 20 14:24:31 poseidon ppp[461]: LCP: MAGICNUM[6] 0x3562ca23
> May 20 14:24:31 poseidon ppp[461]: LCP: PROTOCOMP[2]
> May 20 14:24:31 poseidon ppp[461]: LCP: ACFCOMP[2]
> May 20 14:24:31 poseidon ppp[461]: LCP: State change Stopped --> Ack-Sent
> May 20 14:24:31 poseidon ppp[461]: LCP: Received Configure Ack (1) state = Ack-Sent (8)
> May 20 14:24:31 poseidon ppp[461]: LCP: State change Ack-Sent --> Opened
> May 20 14:24:31 poseidon ppp[461]: LCP: LcpLayerUp
> May 20 14:24:31 poseidon ppp[461]: IPCP: State change Initial --> Closed
> May 20 14:24:31 poseidon ppp[461]: IPCP: IPCP Up event!!
> May 20 14:24:31 poseidon ppp[461]: IPCP: IpcpSendConfigReq
> May 20 14:24:31 poseidon ppp[461]: IPCP: IPADDR[6] 10.8.11.245
> May 20 14:24:31 poseidon ppp[461]: IPCP: COMPPROTO[6] 16 VJ slots with slot compres
> May 20 14:24:31 poseidon ppp[461]: IPCP: State change Closed --> Req-Sent
> May 20 14:24:31 poseidon ppp[461]: IPCP: Received Configure Request (1) state = Req-Sent (6)
> May 20 14:24:31 poseidon ppp[461]: IPCP: IPADDR[6] 10.8.11.240
> May 20 14:24:31 poseidon ppp[461]: IPCP: COMPPROTO[6] 16 VJ slots with slot compression
> May 20 14:24:31 poseidon ppp[461]: IPCP: SendConfigAck(Req-Sent)
> May 20 14:24:31 poseidon ppp[461]: IPCP: IPADDR[6] 10.8.11.240
> May 20 14:24:31 poseidon ppp[461]: IPCP: COMPPROTO[6] 16 VJ slots with slot compression
> May 20 14:24:31 poseidon ppp[461]: IPCP: State change Req-Sent --> Ack-Sent
> May 20 14:24:31 poseidon ppp[461]: IPCP: Received Configure Ack (1) state = Ack-Sent (8)
> May 20 14:24:31 poseidon ppp[461]: IPCP: State change Ack-Sent --> Opened
> May 20 14:24:31 poseidon ppp[461]: IPCP: IpcpLayerUp(9).
> May 20 14:24:31 poseidon ppp[461]: IPCP: myaddr = 10.8.11.245 hisaddr = 10.8.11.240
> May 20 14:24:31 poseidon ppp[461]: LCP: OsLinkup: 10.8.11.240
> May 20 14:24:31 poseidon ppp[461]: LCP: Received Protocol Reject (2) state = Opened (9)
> May 20 14:24:31 poseidon ppp[461]: LCP: -- Protocol (80fd) was rejected.
>
>
> But, when I try to ping, the modem transmit LED flashes, but i don't get
> an echo back. The admin on the other side isn't too Unix experienced,
> but from what he told me, his routing table looked OK. The interfaces
> on both sides seemed to be up, the routes correct - but noone could
> ping the other end.
>
>
> Any suggestions?
>
> Patrick
--
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
<http://www.Awfulhak.org>
Don't _EVER_ lose your sense of humour....
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?199805230157.CAA13839>
