From owner-freebsd-isdn Mon Dec 2 18:40: 6 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F63637B401 for ; Mon, 2 Dec 2002 18:40:02 -0800 (PST) Received: from pacer.ardalich.com (ppp436.sa.padsl.internode.on.net [150.101.244.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A8C543EA9 for ; Mon, 2 Dec 2002 18:40:00 -0800 (PST) (envelope-from alex@pacer.ardalich.com) Received: from pacer.ardalich.com (alex@localhost.ardalich.com [127.0.0.1]) by pacer.ardalich.com (8.12.3/8.12.3) with ESMTP id gB32gVtA099632 for ; Tue, 3 Dec 2002 13:12:31 +1030 (CST) (envelope-from alex@pacer.ardalich.com) Received: (from alex@localhost) by pacer.ardalich.com (8.12.3/8.12.3/Submit) id gB32gV4p099631 for freebsd-isdn@freebsd.org; Tue, 3 Dec 2002 13:12:31 +1030 (CST) Date: Tue, 3 Dec 2002 13:12:31 +1030 From: Alex Ardalich To: freebsd-isdn@freebsd.org Subject: ISDN Connection Problems Message-ID: <20021203024231.GA99616@pacer.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.99i Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Let's try the right group :/ Heya guys, (flood coming) This is my first attept at doing isdn on *nix. I have a NetJet-s Traverse isdn adapter recognised at boot.. itjc0: port 0x1400-0x14ff mem 0x42100000-0x42100fff irq 11 at device 14.0 on pci0 itjc0: ISAC 2186 Version 1.1 (IOM-2) itjc0: passive stack unit 0 rc.conf == ### ISDN interface options: (see also: /usr/share/examples/isdn) ### isdn_enable="YES" # Enable the ISDN subsystem (or NO). isdn_flags="-dn -d0x1f9" # Flags for isdnd isdn_trace="YES" # Enable the ISDN trace subsystem (or NO). isdn_traceflags="-f /var/tmp/isdntrace0" # Flags for isdntrace I'm using the sample isdnd.rc from /usr/share/examples/ppp with the exception of changing the local and remote numbers to their real values I'm also using the sample ppp.conf, putting in the phone number, username and password plus loging line ppp.log shows the following Nov 19 12:17:47 ns2 ppp[126]: Phase: Using interface: tun0 Nov 19 12:17:47 ns2 ppp[126]: Phase: deflink: Created in closed state Nov 19 12:17:47 ns2 ppp[126]: tun0: Phase: PPP Started (interactive mode). Nov 19 12:17:56 ns2 ppp[126]: tun0: Command: /dev/tty: dial isdn Nov 19 12:17:56 ns2 ppp[126]: tun0: Command: isdn: disable acfcomp protocomp Nov 19 12:17:56 ns2 ppp[126]: tun0: Command: isdn: deny acfcomp protocomp Nov 19 12:17:56 ns2 ppp[126]: tun0: Command: isdn: set phone 12345678 Nov 19 12:17:56 ns2 ppp[126]: tun0: Command: isdn: set authname ****** Nov 19 12:17:56 ns2 ppp[126]: tun0: Command: isdn: set authkey ******** Nov 19 12:17:56 ns2 ppp[126]: tun0: Command: isdn: set enddisc mac Nov 19 12:17:56 ns2 ppp[126]: tun0: Phase: Found interface tl0 for 192.168.80.249 Nov 19 12:17:56 ns2 ppp[126]: tun0: Command: isdn: enable lqr Nov 19 12:17:56 ns2 ppp[126]: tun0: Command: isdn: set reconnect 3 5 Nov 19 12:17:56 ns2 ppp[126]: tun0: Command: isdn: set redial 3 10 Nov 19 12:17:56 ns2 ppp[126]: tun0: Command: isdn: set lqrperiod 45 Nov 19 12:17:56 ns2 ppp[126]: tun0: Command: isdn: disable pred1 deflate mppe Nov 19 12:17:56 ns2 ppp[126]: tun0: Command: isdn: deny pred1 deflate mppe Nov 19 12:17:56 ns2 ppp[126]: tun0: Command: isdn: set timeout 60 300 Nov 19 12:17:56 ns2 ppp[126]: tun0: Command: isdn: set dial Nov 19 12:17:56 ns2 ppp[126]: tun0: Command: isdn: set login Nov 19 12:17:56 ns2 ppp[126]: tun0: Command: isdn: set logout Nov 19 12:17:56 ns2 ppp[126]: tun0: Command: isdn: set hangup Nov 19 12:17:56 ns2 ppp[126]: tun0: Command: isdn: set device /dev/i4brbch0 /dev/i4brbch1 Nov 19 12:17:56 ns2 ppp[126]: tun0: Command: isdn: set speed sync Nov 19 12:17:56 ns2 ppp[126]: tun0: Command: isdn: enable dns Nov 19 12:17:56 ns2 ppp[126]: tun0: Command: isdn: set ifaddr 172.16.0.1/0 212.0.0.0/0 0 0 Nov 19 12:17:56 ns2 ppp[126]: tun0: Command: isdn: add! default hisaddr Nov 19 12:17:56 ns2 ppp[126]: tun0: Command: isdn: set server /var/run/ppp/ppp-isdn ******** 0177 Nov 19 12:17:56 ns2 ppp[126]: tun0: Phase: Listening at local socket /var/run/ppp/ppp-isdn. Nov 19 12:17:56 ns2 ppp[126]: tun0: Phase: bundle: Establish Nov 19 12:17:56 ns2 ppp[126]: tun0: Phase: deflink: closed -> opening Nov 19 12:17:56 ns2 ppp[126]: tun0: Chat: Phone: 84059100 Nov 19 12:17:56 ns2 ppp[126]: tun0: Phase: deflink: Connected! Nov 19 12:17:56 ns2 ppp[126]: tun0: Phase: deflink: opening -> dial Nov 19 12:17:56 ns2 ppp[126]: tun0: Chat: deflink: Dial attempt 1 of 10 Nov 19 12:17:56 ns2 ppp[126]: tun0: Phase: deflink: dial -> carrier Nov 19 12:17:58 ns2 ppp[126]: tun0: Phase: deflink: /dev/i4brbch0: CD detected Nov 19 12:17:58 ns2 ppp[126]: tun0: Phase: deflink: carrier -> login Nov 19 12:17:58 ns2 ppp[126]: tun0: Phase: deflink: login -> lcp Nov 19 12:17:58 ns2 ppp[126]: tun0: LCP: FSM: Using "deflink" as a transport Nov 19 12:17:58 ns2 ppp[126]: tun0: LCP: deflink: State change Initial --> Closed Nov 19 12:17:58 ns2 ppp[126]: tun0: LCP: deflink: State change Closed --> Stopped Nov 19 12:17:59 ns2 ppp[126]: tun0: LCP: deflink: LayerStart Nov 19 12:17:59 ns2 ppp[126]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped Nov 19 12:17:59 ns2 ppp[126]: tun0: LCP: MRU[4] 1500 Nov 19 12:17:59 ns2 ppp[126]: tun0: LCP: MAGICNUM[6] 0xb4ad6dc5 Nov 19 12:17:59 ns2 ppp[126]: tun0: LCP: QUALPROTO[8] proto c025, interval 45000ms Nov 19 12:17:59 ns2 ppp[126]: tun0: LCP: ENDDISC[9] MAC 00:08:c7:84:ac:2f Nov 19 12:17:59 ns2 ppp[126]: tun0: LCP: deflink: State change Stopped --> Req-Sent Nov 19 12:18:02 ns2 ppp[126]: tun0: LCP: deflink: SendConfigReq(1) state = Req-Sent Nov 19 12:18:02 ns2 ppp[126]: tun0: LCP: MRU[4] 1500 Nov 19 12:18:02 ns2 ppp[126]: tun0: LCP: MAGICNUM[6] 0xb4ad6dc5 Nov 19 12:18:02 ns2 ppp[126]: tun0: LCP: QUALPROTO[8] proto c025, interval 45000ms Nov 19 12:18:02 ns2 ppp[126]: tun0: LCP: ENDDISC[9] MAC 00:08:c7:84:ac:2f Nov 19 12:18:05 ns2 ppp[126]: tun0: LCP: deflink: SendConfigReq(1) state = Req-Sent Nov 19 12:18:05 ns2 ppp[126]: tun0: LCP: MRU[4] 1500 Nov 19 12:18:05 ns2 ppp[126]: tun0: LCP: MAGICNUM[6] 0xb4ad6dc5 Nov 19 12:18:05 ns2 ppp[126]: tun0: LCP: QUALPROTO[8] proto c025, interval 45000ms Nov 19 12:18:05 ns2 ppp[126]: tun0: LCP: ENDDISC[9] MAC 00:08:c7:84:ac:2f Nov 19 12:18:08 ns2 ppp[126]: tun0: LCP: deflink: SendConfigReq(1) state = Req-Sent Nov 19 12:18:08 ns2 ppp[126]: tun0: LCP: MRU[4] 1500 Nov 19 12:18:08 ns2 ppp[126]: tun0: LCP: MAGICNUM[6] 0xb4ad6dc5 Nov 19 12:18:08 ns2 ppp[126]: tun0: LCP: QUALPROTO[8] proto c025, interval 45000ms Nov 19 12:18:08 ns2 ppp[126]: tun0: LCP: ENDDISC[9] MAC 00:08:c7:84:ac:2f Nov 19 12:18:11 ns2 ppp[126]: tun0: LCP: deflink: SendConfigReq(1) state = Req-Sent Nov 19 12:18:11 ns2 ppp[126]: tun0: LCP: MRU[4] 1500 Nov 19 12:18:11 ns2 ppp[126]: tun0: LCP: MAGICNUM[6] 0xb4ad6dc5 Nov 19 12:18:11 ns2 ppp[126]: tun0: LCP: QUALPROTO[8] proto c025, interval 45000ms Nov 19 12:18:11 ns2 ppp[126]: tun0: LCP: ENDDISC[9] MAC 00:08:c7:84:ac:2f Nov 19 12:18:14 ns2 ppp[126]: tun0: LCP: deflink: LayerFinish Nov 19 12:18:14 ns2 ppp[126]: tun0: LCP: deflink: State change Req-Sent --> Stopped Nov 19 12:18:14 ns2 ppp[126]: tun0: LCP: deflink: State change Stopped --> Closed Nov 19 12:18:14 ns2 ppp[126]: tun0: LCP: deflink: State change Closed --> Initial Nov 19 12:18:14 ns2 ppp[126]: tun0: Phase: deflink: Disconnected! Nov 19 12:18:14 ns2 ppp[126]: tun0: Phase: deflink: lcp -> logout Nov 19 12:18:14 ns2 ppp[126]: tun0: Phase: deflink: logout -> hangup Nov 19 12:18:14 ns2 ppp[126]: tun0: Phase: deflink: Disconnected! Nov 19 12:18:14 ns2 ppp[126]: tun0: Phase: deflink: Connect time: 18 secs: 0 octets in, 175 octets out Nov 19 12:18:14 ns2 ppp[126]: tun0: Phase: deflink: 0 packets in, 5 packets out Nov 19 12:18:14 ns2 ppp[126]: tun0: Phase: total 9 bytes/sec, peak 14 bytes/sec on Tue Nov 19 12:18:02 2002 Nov 19 12:18:14 ns2 ppp[126]: tun0: Phase: deflink: hangup -> opening Nov 19 12:18:14 ns2 ppp[126]: tun0: Phase: deflink: Enter pause (3) for redialing. Nov 19 12:18:14 ns2 ppp[126]: tun0: Chat: deflink: Reconnect try 1 of 5 Nov 19 12:18:17 ns2 ppp[126]: tun0: Chat: deflink: Redial timer expired. Nov 19 12:18:17 ns2 ppp[126]: tun0: Chat: Phone: 84059100 Nov 19 12:18:17 ns2 ppp[126]: tun0: Phase: deflink: Connected! Nov 19 12:18:17 ns2 ppp[126]: tun0: Phase: deflink: opening -> dial Nov 19 12:18:17 ns2 ppp[126]: tun0: Chat: deflink: Dial attempt 1 of 10 Nov 19 12:18:17 ns2 ppp[126]: tun0: Phase: deflink: dial -> carrier Nov 19 12:18:19 ns2 ppp[126]: tun0: Phase: deflink: /dev/i4brbch0: CD detected Nov 19 12:18:19 ns2 ppp[126]: tun0: Phase: deflink: carrier -> login Nov 19 12:18:19 ns2 ppp[126]: tun0: Phase: deflink: login -> lcp Nov 19 12:18:19 ns2 ppp[126]: tun0: LCP: FSM: Using "deflink" as a transport Nov 19 12:18:19 ns2 ppp[126]: tun0: LCP: deflink: State change Initial --> Closed Nov 19 12:18:19 ns2 ppp[126]: tun0: LCP: deflink: State change Closed --> Stopped Nov 19 12:18:20 ns2 ppp[126]: tun0: LCP: deflink: LayerStart Nov 19 12:18:20 ns2 ppp[126]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped Nov 19 12:18:20 ns2 ppp[126]: tun0: LCP: MRU[4] 1500 Nov 19 12:18:20 ns2 ppp[126]: tun0: LCP: MAGICNUM[6] 0xdb09574d Nov 19 12:18:20 ns2 ppp[126]: tun0: LCP: QUALPROTO[8] proto c025, interval 45000ms Nov 19 12:18:20 ns2 ppp[126]: tun0: LCP: ENDDISC[9] MAC 00:08:c7:84:ac:2f Nov 19 12:18:20 ns2 ppp[126]: tun0: LCP: deflink: State change Stopped --> Req-Sent Nov 19 12:18:21 ns2 ppp[126]: tun0: Command: /dev/tty: close Nov 19 12:18:21 ns2 ppp[126]: tun0: LCP: deflink: SendTerminateReq(1) state = Req-Sent Nov 19 12:18:21 ns2 ppp[126]: tun0: LCP: deflink: State change Req-Sent --> Closing Nov 19 12:18:21 ns2 ppp[126]: tun0: Command: /dev/tty: q Nov 19 12:18:24 ns2 ppp[126]: tun0: LCP: deflink: SendTerminateReq(1) state = Closing Nov 19 12:18:33 ns2 last message repeated 3 times Nov 19 12:18:36 ns2 ppp[126]: tun0: LCP: deflink: LayerFinish Nov 19 12:18:36 ns2 ppp[126]: tun0: LCP: deflink: State change Closing --> Closed Nov 19 12:18:36 ns2 ppp[126]: tun0: LCP: deflink: State change Closed --> Initial Nov 19 12:18:36 ns2 ppp[126]: tun0: Phase: deflink: Disconnected! Nov 19 12:18:36 ns2 ppp[126]: tun0: Phase: deflink: lcp -> logout Nov 19 12:18:36 ns2 ppp[126]: tun0: Phase: deflink: logout -> hangup Nov 19 12:18:36 ns2 ppp[126]: tun0: Phase: deflink: Disconnected! Nov 19 12:18:36 ns2 ppp[126]: tun0: Phase: deflink: Connect time: 19 secs: 0 octets in, 75 octets out Nov 19 12:18:36 ns2 ppp[126]: tun0: Phase: deflink: 0 packets in, 11 packets out Nov 19 12:18:36 ns2 ppp[126]: tun0: Phase: total 3 bytes/sec, peak 10 bytes/sec on Tue Nov 19 12:18:24 2002 Nov 19 12:18:36 ns2 ppp[126]: tun0: Phase: deflink: hangup -> closed Nov 19 12:18:36 ns2 ppp[126]: tun0: Phase: bundle: Dead Nov 19 12:18:36 ns2 ppp[126]: tun0: Phase: PPP Terminated (normal). From what I can gather, it looks to be failing at the authentication part? umm, help! ;) Thanks, Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Tue Dec 3 10:26:31 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 298BE37B401 for ; Tue, 3 Dec 2002 10:26:30 -0800 (PST) Received: from email03.aon.at (WARSL402PIP6.highway.telekom.at [195.3.96.93]) by mx1.FreeBSD.org (Postfix) with SMTP id B712743EB2 for ; Tue, 3 Dec 2002 10:26:28 -0800 (PST) (envelope-from aero311@gmx.net) Received: (qmail 369240 invoked from network); 3 Dec 2002 18:26:21 -0000 Received: from l1347p23.dipool.highway.telekom.at (HELO unspecified.host) ([62.46.232.87]) (envelope-sender ) by qmail3rs.highway.telekom.at (qmail-ldap-1.03) with SMTP for ; 3 Dec 2002 18:26:21 -0000 Received: from 192.168.1.2 ([192.168.1.2]) by 192.168.1.1 (WinRoute Pro 4.2.5) with SMTP; Tue, 3 Dec 2002 19:26:19 +0100 User-Agent: Microsoft-Entourage/10.1.1.2418 Date: Tue, 03 Dec 2002 19:26:22 +0100 Subject: SPPP and changing ISP gateway HOW? From: Dominik Mimra To: Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org After struggling for some days now setting up an ISDN connection to my ISP I finally discovered that the ISP changes the gateway with every dialin. German T-Online or Austrian AON at least do so. I verified it by connecting from a Windows box and got a different gateway anytime I connected from "ipconfig". I4B and card are setup and dialing works. Also isdnd.rc doesn't report errors. But the adapter can't establish the connection after dialing. At least I know why now (hopefully). I also found a workaround with a "0.0.0.1 router trick", see http://www.de.freebsd.org/de/i4b-t-error.html, but could not get it to work. Any help? Thanks Dominik To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Tue Dec 3 13:39:44 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0ACC637B401 for ; Tue, 3 Dec 2002 13:39:43 -0800 (PST) Received: from arg1.demon.co.uk (arg1.demon.co.uk [62.49.12.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7178243EB2 for ; Tue, 3 Dec 2002 13:39:42 -0800 (PST) (envelope-from arg-bsd@arg1.demon.co.uk) Received: by arg1.demon.co.uk (Postfix, from userid 1002) id 115499B21; Tue, 3 Dec 2002 21:39:41 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by arg1.demon.co.uk (Postfix) with ESMTP id 0E38C5D27; Tue, 3 Dec 2002 21:39:41 +0000 (GMT) Date: Tue, 3 Dec 2002 21:39:40 +0000 (GMT) From: Andrew Gordon X-X-Sender: To: Alex Ardalich Cc: Subject: Re: ISDN Connection Problems In-Reply-To: <20021203024231.GA99616@pacer.dyndns.org> Message-ID: <20021203212841.G51186-100000@server.arg.sj.co.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, 3 Dec 2002, Alex Ardalich wrote: > > This is my first attept at doing isdn on *nix. It is a good idea, with a new I4B installation that you don't trust, to set up the answerphone first: this takes much less configuration than setting up PPP (and importantly, doesn't require knowledge about how the other end is set up). If you can make a voice call into the answerphone from a normal phone and hear it talking to you, then you know at least that the hardware and local ISDN configuration is working OK. > ppp.log shows the following > > Nov 19 12:18:14 ns2 ppp[126]: tun0: Phase: deflink: Connect time: 18 secs: 0 octets in, 175 octets out > Nov 19 12:18:14 ns2 ppp[126]: tun0: Phase: deflink: 0 packets in, 5 packets out > > >From what I can gather, it looks to be failing at the authentication part? No, the two lines that I have quoted above (and all the other stuff, more verbosely), show that your end is sending PPP protocol but getting no reply at all from the other end. It never gets LCP running, so it doesn't get as far as trying to authenticate. You would get this if the machine you are calling does not expect PPP over HDLC as the protocol - some ISPs have different phone numbers for different protocols, for example. Various fault conditions at your end could also cause it, but this is hard to tell. I would recommend setting up the answerphone to check that your local system is working OK; check details of the system you are calling, and get some logging from isdnd (either transcribing from the screen, or put something suitable in syslog.conf such as: !isdnd *.* /var/log/isdnd.log To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Tue Dec 3 14:56: 1 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06A1A37B404 for ; Tue, 3 Dec 2002 14:55:59 -0800 (PST) Received: from mailout03.sul.t-online.com (mailout03.sul.t-online.com [194.25.134.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBDC043E9C for ; Tue, 3 Dec 2002 14:55:53 -0800 (PST) (envelope-from garyj@jennejohn.org) Received: from fwd00.sul.t-online.de by mailout03.sul.t-online.com with smtp id 18JLxJ-0006vl-09; Tue, 03 Dec 2002 23:55:53 +0100 Received: from peedub.jennejohn.org (520017439985-0001@[217.80.236.220]) by fmrl00.sul.t-online.com with esmtp id 18JLxB-2BOf2mC; Tue, 3 Dec 2002 23:55:45 +0100 Received: from peedub.jennejohn.org (localhost [127.0.0.1]) by peedub.jennejohn.org (8.12.6/8.11.6) with ESMTP id gB3MtXff008399; Tue, 3 Dec 2002 23:55:33 +0100 (CET) (envelope-from garyj@peedub.jennejohn.org) Message-Id: <200212032255.gB3MtXff008399@peedub.jennejohn.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.3 To: Dominik Mimra Cc: freebsd-isdn@freebsd.org Subject: Re: SPPP and changing ISP gateway HOW? Reply-To: Gary Jennejohn In-reply-to: Your message of "Tue, 03 Dec 2002 19:26:22 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 03 Dec 2002 23:55:33 +0100 From: Gary Jennejohn X-Sender: 520017439985-0001@t-dialin.net Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dominik Mimra writes: > After struggling for some days now setting up an ISDN connection to my ISP I > finally discovered that the ISP changes the gateway with every dialin. > German T-Online or Austrian AON at least do so. I verified it by connecting > from a Windows box and got a different gateway anytime I connected from > "ipconfig". > > I4B and card are setup and dialing works. Also isdnd.rc doesn't report > errors. But the adapter can't establish the connection after dialing. At > least I know why now (hopefully). > > I also found a workaround with a "0.0.0.1 router trick", see > http://www.de.freebsd.org/de/i4b-t-error.html, but could not get it to work. > > Any help? > Turn on debugging (ifconfig -debug ) and post the output from a connection attempt. Also post the exact lines (minus passwords) which you are using to configure the interface (spppcontrol). --- Gary Jennejohn / garyj@jennejohn.org gj@freebsd.org gj@denx.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Wed Dec 4 6: 7:56 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E654B37B401 for ; Wed, 4 Dec 2002 06:07:52 -0800 (PST) Received: from email04.aon.at (WARSL402PIP5.highway.telekom.at [195.3.96.79]) by mx1.FreeBSD.org (Postfix) with SMTP id D451243EA9 for ; Wed, 4 Dec 2002 06:07:50 -0800 (PST) (envelope-from aero311@gmx.net) Received: (qmail 299492 invoked from network); 4 Dec 2002 14:07:36 -0000 Received: from l1295p11.dipool.highway.telekom.at (HELO unspecified.host) ([62.46.225.203]) (envelope-sender ) by qmail5rs.highway.telekom.at (qmail-ldap-1.03) with SMTP for ; 4 Dec 2002 14:07:36 -0000 Received: from 192.168.1.2 ([192.168.1.2]) by 192.168.1.1 (WinRoute Pro 4.2.5) with SMTP; Wed, 4 Dec 2002 15:07:20 +0100 User-Agent: Microsoft-Entourage/10.1.1.2418 Date: Wed, 04 Dec 2002 15:07:20 +0100 Subject: Re: SPPP and changing ISP gateway HOW? From: Dominik Mimra To: Gary Jennejohn Cc: Message-ID: In-Reply-To: <200212032255.gB3MtXff008399@peedub.jennejohn.org> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 03.12.2002 23:55 Uhr, "Gary Jennejohn" wrote: > Turn on debugging (ifconfig -debug ) and post the output > from a connection attempt. > > Also post the exact lines (minus passwords) which you are using to > configure the interface (spppcontrol). > > --- > Gary Jennejohn / garyj@jennejohn.org gj@freebsd.org gj@denx.de > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isdn" in the body of the message Here comes the connection attempt output: isp0: lcp close(initial) isp0: lcp open(initial) isp0: phase establish isp0: lcp up(starting) isp0: lcp output isp0: lcp TO(req-sent) rst_counter = 10 isp0: lcp output isp0: lcp input(req-sent): isp0: lcp input(ack-rcvd): isp0: lcp parse opts: mru auth-proto magic proto-comp [rej] addr-comp [rej] send conf-rej isp0: lcp output isp0: lcp input(ack-rcvd): isp0: lcp parse opts: mru auth-proto magic isp0: lcp parse opt values: mru 1514 auth-proto [mine proto/0x0 != his chap] magic 0x1ccb86bd send conf-nak isp0: lcp output isp0: lcp input(ack-rcvd): isp0: lcp parse opts: mru auth-proto magic isp0: lcp parse opt values: mru 1514 auth-proto magic 0x1ccb86bd send conf-ack isp0: lcp output isp0: lcp tlu isp0: phase authenticate isp0: pap output isp0: pap success isp0: phase network isp0: ipcp open(initial) isp0: ipv6cp open(initial) isp0: ipcp up(starting) isp0: ipcp output isp0: ipv6cp up(starting) isp0: ipv6cp output isp0: ipcp input(req-sent): isp0: ipcp parse opts: compression [locally disabled] address send conf-rej isp0: ipcp output isp0: ipcp input(req-sent): isp0: ipcp nak opts: address [wantaddr 62.46.229.240] [agree] isp0: ipcp output isp0: lcp input(opened): isp0: lcp: RXJ+ (proto-rej) for proto 0x8057 (ipv6cp/req-sent) isp0: ipv6cp close(req-sent) isp0: ipv6cp output isp0: ipcp input(req-sent): isp0: ipcp parse opts: address isp0: ipcp parse opt values: address 0.0.0.1 [ack] send conf-ack isp0: ipcp output isp0: ipcp input(ack-sent): isp0: ipcp tlu isp0: lcp input(opened): isp0: lcp: RXJ+ (proto-rej) for proto 0x8057 (ipv6cp/closing) isp0: ipv6cp TO(closing) rst_counter = 2 isp0: ipv6cp output isp0: lcp input(opened): isp0: lcp: RXJ+ (proto-rej) for proto 0x8057 (ipv6cp/closing) isp0: ipv6cp TO(closing) rst_counter = 1 isp0: ipv6cp output isp0: lcp input(opened): isp0: lcp: RXJ+ (proto-rej) for proto 0x8057 (ipv6cp/closing) isp0: ipv6cp TO(closing) rst_counter = 0 isp0: rejecting protocol isp0: lcp output Config-File to bring interface up: ifconfig isp0 delete -link1 down echo -n 'Configuring ISP0 to AON Complete:' echo -n ' spppcontrol'; spppcontrol isp0 myauthname="xxx" myauthproto=pap myauthsecret="xxx" disable-vj disable-ipv6 echo -n 'up'; ifconfig isp0 0.0.0.0 0.0.0.1 up debug echo '.' And here my rc.conf: defaultrouter="0.0.0.1" gateway_enable="YES" hostname="serwas.localhost" ifconfig_xl0="inet 192.168.1.254 netmask 255.255.255.0" ifconfig_isp0="inet 0.0.0.0 0.0.0.1 netmask 255.255.255.255" inetd_enable="YES" kern_securelevel_enable="NO" keymap="german.cp850" linux_enable="YES" nfs_client_enable="YES" nfs_reserved_port_only="NO" nfs_server_enable="YES" sendmail_enable="NONE" sshd_enable="YES" usbd_enable="YES" isdn_enable="YES" isdn_flags="-dn -d0x1f9" isdn_trace="YES" isdn_traceflags="-f /var/tmp/isdntrace0" Sorry for the long posting but this is it. Hope that will explain something to you! Dominik To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Wed Dec 4 10:35:27 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34C2837B401 for ; Wed, 4 Dec 2002 10:35:26 -0800 (PST) Received: from mailout05.sul.t-online.com (mailout05.sul.t-online.com [194.25.134.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 425B443EA9 for ; Wed, 4 Dec 2002 10:35:20 -0800 (PST) (envelope-from garyj@jennejohn.org) Received: from fwd11.sul.t-online.de by mailout05.sul.t-online.com with smtp id 18JeMh-0006gx-03; Wed, 04 Dec 2002 19:35:19 +0100 Received: from peedub.jennejohn.org (520017439985-0001@[217.235.125.190]) by fmrl11.sul.t-online.com with esmtp id 18JeMa-1NNPSyC; Wed, 4 Dec 2002 19:35:12 +0100 Received: from peedub.jennejohn.org (localhost [127.0.0.1]) by peedub.jennejohn.org (8.12.6/8.11.6) with ESMTP id gB4IYxOL004859; Wed, 4 Dec 2002 19:34:59 +0100 (CET) (envelope-from garyj@peedub.jennejohn.org) Message-Id: <200212041834.gB4IYxOL004859@peedub.jennejohn.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.3 To: Dominik Mimra Cc: freebsd-isdn@freebsd.org Subject: Re: SPPP and changing ISP gateway HOW? Reply-To: Gary Jennejohn In-reply-to: Your message of "Wed, 04 Dec 2002 15:07:20 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 04 Dec 2002 19:34:59 +0100 From: Gary Jennejohn X-Sender: 520017439985-0001@t-dialin.net Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dominik Mimra writes: > Here comes the connection attempt output: > > isp0: lcp parse opts: mru auth-proto magic proto-comp [rej] addr-comp > [rej] send conf-rej > isp0: lcp output > isp0: lcp input(ack-rcvd): 01-04-05-ea-03-05-c2-23-05-05-06-1c-cb-86-bd> > isp0: lcp parse opts: mru auth-proto magic > isp0: lcp parse opt values: mru 1514 auth-proto [mine proto/0x0 != his > chap] magic 0x1ccb86bd send conf-nak You coulkd save a little time by using chap instead of pap, but this is not the error. > isp0: lcp input(opened): 80-57-01-17-00-0e-01-0a-02-50-04-ff-fe-86-5c-c0> > isp0: lcp: RXJ+ (proto-rej) for proto 0x8057 (ipv6cp/req-sent) > isp0: ipv6cp close(req-sent) > isp0: ipv6cp output > isp0: ipcp input(req-sent): > isp0: ipcp parse opts: address > isp0: ipcp parse opt values: address 0.0.0.1 [ack] send conf-ack > isp0: ipcp output > isp0: ipcp input(ack-sent): > isp0: ipcp tlu > isp0: lcp input(opened): > isp0: lcp: RXJ+ (proto-rej) for proto 0x8057 (ipv6cp/closing) > isp0: ipv6cp TO(closing) rst_counter = 2 > isp0: ipv6cp output > isp0: lcp input(opened): > isp0: lcp: RXJ+ (proto-rej) for proto 0x8057 (ipv6cp/closing) > isp0: ipv6cp TO(closing) rst_counter = 1 > isp0: ipv6cp output > isp0: lcp input(opened): > isp0: lcp: RXJ+ (proto-rej) for proto 0x8057 (ipv6cp/closing) > isp0: ipv6cp TO(closing) rst_counter = 0 > isp0: rejecting protocol > isp0: lcp output 80-fd-01-0b-00-1e-12-06-00-00-00-01-11-05-00-01-04-11-05-00-01-03-11-06-00-0 > 1-01-01-1a-04-78-00> > I'm not sure, but it looks to me like it's failing here because your box is trying to negotiate an IPV6 connection and the other end is rejecting it. Try turning off IPV6 in your kernel (remove ``options INET6''). --- Gary Jennejohn / garyj@jennejohn.org gj@freebsd.org gj@denx.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Thu Dec 5 23:12:48 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A50937B401 for ; Thu, 5 Dec 2002 23:12:48 -0800 (PST) Received: from email01.aon.at (WARSL402PIP3.highway.telekom.at [195.3.96.97]) by mx1.FreeBSD.org (Postfix) with SMTP id 9E46F43EBE for ; Thu, 5 Dec 2002 23:12:46 -0800 (PST) (envelope-from aero311@gmx.net) Received: (qmail 306768 invoked from network); 6 Dec 2002 07:12:35 -0000 Received: from l1346p07.dipool.highway.telekom.at (HELO ?192.168.1.2?) ([62.46.232.39]) (envelope-sender ) by qmail1rs.highway.telekom.at (qmail-ldap-1.03) with SMTP for ; 6 Dec 2002 07:12:35 -0000 User-Agent: Microsoft-Entourage/10.1.1.2418 Date: Fri, 06 Dec 2002 08:12:35 +0100 Subject: Re: SPPP and changing ISP gateway HOW? From: Dominik Mimra To: Gary Jennejohn Cc: Message-ID: In-Reply-To: <200212041834.gB4IYxOL004859@peedub.jennejohn.org> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On more thing. I want the router to dial in as soon a request comes from the LAN and automatically drop the line again after x minutes idle. I tried the 'link1' thing but it won't dial on demand neither drop the line again after the given time in isdnd.rc. I can only connect and disconnect manually. Sendmail is disabled btw. Any advise appreciated. Thanks Dominik To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Fri Dec 6 1:40: 0 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9952437B401 for ; Fri, 6 Dec 2002 01:39:59 -0800 (PST) Received: from mailout07.sul.t-online.com (mailout07.sul.t-online.com [194.25.134.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC3F243EC2 for ; Fri, 6 Dec 2002 01:39:53 -0800 (PST) (envelope-from garyj@jennejohn.org) Received: from fwd00.sul.t-online.de by mailout07.sul.t-online.com with smtp id 18KExa-0006uV-07; Fri, 06 Dec 2002 10:39:50 +0100 Received: from peedub.jennejohn.org (520017439985-0001@[217.80.229.9]) by fmrl00.sul.t-online.com with esmtp id 18KExL-1faUHQC; Fri, 6 Dec 2002 10:39:35 +0100 Received: from peedub.jennejohn.org (localhost [127.0.0.1]) by peedub.jennejohn.org (8.12.6/8.11.6) with ESMTP id gB69dVxm002993; Fri, 6 Dec 2002 10:39:32 +0100 (CET) (envelope-from garyj@peedub.jennejohn.org) Message-Id: <200212060939.gB69dVxm002993@peedub.jennejohn.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.3 To: Dominik Mimra Cc: freebsd-isdn@freebsd.org Subject: Re: SPPP and changing ISP gateway HOW? Reply-To: Gary Jennejohn In-reply-to: Your message of "Fri, 06 Dec 2002 08:12:35 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 06 Dec 2002 10:39:31 +0100 From: Gary Jennejohn X-Sender: 520017439985-0001@t-dialin.net Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dominik Mimra writes: > On more thing. I want the router to dial in as soon a request comes from the > LAN and automatically drop the line again after x minutes idle. > > I tried the 'link1' thing but it won't dial on demand neither drop the line > again after the given time in isdnd.rc. I can only connect and disconnect > manually. > Send some trace. --- Gary Jennejohn / garyj@jennejohn.org gj@freebsd.org gj@denx.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Fri Dec 6 4:33:55 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9E3B37B401 for ; Fri, 6 Dec 2002 04:33:44 -0800 (PST) Received: from email02.aon.at (WARSL402PIP7.highway.telekom.at [195.3.96.94]) by mx1.FreeBSD.org (Postfix) with SMTP id C276843ED4 for ; Fri, 6 Dec 2002 04:33:42 -0800 (PST) (envelope-from aero311@gmx.net) Received: (qmail 307986 invoked from network); 6 Dec 2002 12:33:33 -0000 Received: from l1294p20.dipool.highway.telekom.at (HELO ?192.168.1.2?) ([62.46.225.180]) (envelope-sender ) by qmail2rs.highway.telekom.at (qmail-ldap-1.03) with SMTP for ; 6 Dec 2002 12:33:33 -0000 User-Agent: Microsoft-Entourage/10.1.1.2418 Date: Fri, 06 Dec 2002 13:33:33 +0100 Subject: Re: SPPP and changing ISP gateway HOW? - Learning by doing From: Dominik Mimra To: Gary Jennejohn Cc: Message-ID: In-Reply-To: <200212060939.gB69dVxm002993@peedub.jennejohn.org> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 06.12.2002 10:39 Uhr, "Gary Jennejohn" wrote: > Send some trace. > > --- > Gary Jennejohn / garyj@jennejohn.org gj@freebsd.org gj@denx.de Here it comes: tcpdump -I isp0 (traceroute from client 192.168.1.2 to www.freebsd.org): 13:18:16.846070 L1294P20.dipool.highway.telekom.at.49222 > WS01IS02.highway.telekom.at.domain: 40632+ PTR? 254.1.168.192.in-addr.arpa. (44) 13:18:16.895969 WS01IS02.highway.telekom.at.domain > L1294P20.dipool.highway.telekom.at.49222: 40632 NXDomain 0/1/0 (141) 13:18:16.953568 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33438: udp 12 [ttl 1] 13:18:16.982472 LINZT051.highway.telekom.at > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:16.984966 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33439: udp 12 [ttl 1] 13:18:17.003843 L1294P20.dipool.highway.telekom.at.1054 > WS01IS01.highway.telekom.at.domain: 39172+ PTR? 68.96.3.195.in-addr.arpa. (42) 13:18:17.013222 LINZT051.highway.telekom.at > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:17.015145 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33440: udp 12 [ttl 1] 13:18:17.058227 WS01IS01.highway.telekom.at.domain > L1294P20.dipool.highway.telekom.at.1054: 39172* 1/2/2 PTR[|domain] 13:18:17.058809 L1294P20.dipool.highway.telekom.at.1055 > WS01IS01.highway.telekom.at.domain: 39173+ PTR? 180.225.46.62.in-addr.arpa. (44) 13:18:17.066480 LINZT051.highway.telekom.at > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:17.069150 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33441: udp 12 13:18:17.114605 WS01IS01.highway.telekom.at.domain > L1294P20.dipool.highway.telekom.at.1055: 39173* 1/2/2 PTR[|domain] 13:18:17.115147 L1294P20.dipool.highway.telekom.at.1056 > WS01IS01.highway.telekom.at.domain: 39174+ PTR? 117.204.136.216.in-addr.arpa. (46) 13:18:17.122854 LIX2-NL2.highway.telekom.at > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:17.124830 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33442: udp 12 13:18:17.183854 WS01IS01.highway.telekom.at.domain > L1294P20.dipool.highway.telekom.at.1056: 39174 1/5/5 PTR[|domain] 13:18:17.184295 L1294P20.dipool.highway.telekom.at.1057 > WS01IS01.highway.telekom.at.domain: 39175+ PTR? 83.89.3.195.in-addr.arpa. (42) 13:18:17.192104 LIX2-NL2.highway.telekom.at > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:17.193135 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33443: udp 12 13:18:17.241602 WS01IS01.highway.telekom.at.domain > L1294P20.dipool.highway.telekom.at.1057: 39175* 1/2/2 PTR[|domain] 13:18:17.249850 LIX2-NL2.highway.telekom.at > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:17.251104 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33444: udp 12 13:18:17.283097 AUX3-LIX2.highway.telekom.at > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:17.284856 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33445: udp 12 13:18:17.316219 AUX3-LIX2.highway.telekom.at > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:17.317115 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33446: udp 12 13:18:17.348355 AUX3-LIX2.highway.telekom.at > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:17.350552 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33447: udp 12 13:18:17.381353 IIX.highway.telekom.at > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:17.383590 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33448: udp 12 13:18:17.413602 IIX.highway.telekom.at > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:17.414990 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33449: udp 12 13:18:17.445851 IIX.highway.telekom.at > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:17.448229 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33450: udp 12 13:18:17.499850 sl-gw10-fra-11-2.sprintlink.net > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:17.504077 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33451: udp 12 13:18:17.554973 sl-gw10-fra-11-2.sprintlink.net > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:17.559604 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33452: udp 12 13:18:17.609470 sl-gw10-fra-11-2.sprintlink.net > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:17.617431 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33453: udp 12 13:18:17.666352 sl-bb20-fra-8-0.sprintlink.net > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:17.685274 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33454: udp 12 13:18:17.733102 sl-bb20-fra-8-0.sprintlink.net > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:17.751219 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33455: udp 12 13:18:17.799851 sl-bb20-fra-8-0.sprintlink.net > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:17.818722 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33456: udp 12 13:18:17.869601 bcr2-so-0-3-0.Frankfurt.cw.net > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:17.885197 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33457: udp 12 13:18:17.934101 bcr2-so-0-3-0.Frankfurt.cw.net > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:17.951223 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33458: udp 12 13:18:17.999350 bcr2-so-0-3-0.Frankfurt.cw.net > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:18.018245 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33459: udp 12 13:18:18.227346 dcr1-loopback.SantaClara.cw.net > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit (DF) 13:18:18.232919 L1294P20.dipool.highway.telekom.at.nim > WS01IS01.highway.telekom.at.domain: 39176+ PTR? 67.96.3.195.in-addr.arpa. (42) 13:18:18.272842 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33460: udp 12 13:18:18.312215 WS01IS01.highway.telekom.at.domain > L1294P20.dipool.highway.telekom.at.nim: 39176* 1/2/2 PTR[|domain] 13:18:18.312919 L1294P20.dipool.highway.telekom.at.nimreg > WS01IS01.highway.telekom.at.domain: 39177+ PTR? 94.89.3.195.in-addr.arpa. (42) 13:18:18.372600 WS01IS01.highway.telekom.at.domain > L1294P20.dipool.highway.telekom.at.nimreg: 39177* 1/2/2 PTR[|domain] 13:18:18.373253 L1294P20.dipool.highway.telekom.at.1060 > WS01IS01.highway.telekom.at.domain: 39178+ PTR? 170.68.3.195.in-addr.arpa. (43) 13:18:18.429848 WS01IS01.highway.telekom.at.domain > L1294P20.dipool.highway.telekom.at.1060: 39178* 1/2/2 PTR[|domain] 13:18:18.430372 L1294P20.dipool.highway.telekom.at.1061 > WS01IS01.highway.telekom.at.domain: 39179+ PTR? 233.68.3.195.in-addr.arpa. (43) 13:18:18.484593 WS01IS01.highway.telekom.at.domain > L1294P20.dipool.highway.telekom.at.1061: 39179* 1/2/2 PTR[|domain] 13:18:18.485121 L1294P20.dipool.highway.telekom.at.1062 > WS01IS01.highway.telekom.at.domain: 39180+ PTR? 105.97.147.217.in-addr.arpa. (45) 13:18:18.492842 dcr1-loopback.SantaClara.cw.net > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit (DF) 13:18:18.494006 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33461: udp 12 13:18:18.541842 WS01IS01.highway.telekom.at.domain > L1294P20.dipool.highway.telekom.at.1062: 39180 1/2/2 PTR[|domain] 13:18:18.542373 L1294P20.dipool.highway.telekom.at.1063 > WS01IS01.highway.telekom.at.domain: 39181+ PTR? 37.96.147.217.in-addr.arpa. (44) 13:18:18.604211 WS01IS01.highway.telekom.at.domain > L1294P20.dipool.highway.telekom.at.1063: 39181 1/3/3 PTR[|domain] 13:18:18.604803 L1294P20.dipool.highway.telekom.at.1064 > WS01IS01.highway.telekom.at.domain: 39182+ PTR? 217.193.63.166.in-addr.arpa. (45) 13:18:18.668221 WS01IS01.highway.telekom.at.domain > L1294P20.dipool.highway.telekom.at.1064: 39182 1/4/4 PTR[|domain] 13:18:18.668776 L1294P20.dipool.highway.telekom.at.1065 > WS01IS01.highway.telekom.at.domain: 39183+ PTR? 99.146.172.208.in-addr.arpa. (45) 13:18:18.702094 dcr1-loopback.SantaClara.cw.net > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit (DF) 13:18:18.741718 WS01IS01.highway.telekom.at.domain > L1294P20.dipool.highway.telekom.at.1065: 39183 1/5/5 PTR[|domain] 13:18:18.745619 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33462: udp 12 13:18:18.954094 ibr01-p5-0.sntc05.exodus.net > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:18.996435 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33463: udp 12 13:18:19.205347 ibr01-p5-0.sntc05.exodus.net > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:19.282436 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33464: udp 12 13:18:19.491093 ibr01-p5-0.sntc05.exodus.net > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:19.528332 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33465: udp 12 13:18:19.733573 L1294P20.dipool.highway.telekom.at.1066 > WS01IS01.highway.telekom.at.domain: 39184+ PTR? 74.156.172.208.in-addr.arpa. (45) 13:18:19.737090 dcr01-g2-1.sntc05.exodus.net > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:19.812461 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33466: udp 12 13:18:19.822961 WS01IS01.highway.telekom.at.domain > L1294P20.dipool.highway.telekom.at.1066: 39184 2/5/5 PTR[|domain] 13:18:20.022096 dcr01-g2-1.sntc05.exodus.net > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:20.023934 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33467: udp 12 13:18:20.233593 dcr01-g2-1.sntc05.exodus.net > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:20.236182 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33468: udp 12 13:18:20.445840 csr04-ve241.sntc05.exodus.net > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:20.449123 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33469: udp 12 13:18:20.658086 csr04-ve241.sntc05.exodus.net > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:20.660105 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33470: udp 12 13:18:20.822975 L1294P20.dipool.highway.telekom.at.instl_boots > WS01IS01.highway.telekom.at.domain: 39185+ PTR? 179.192.56.64.in-addr.arpa. (44) 13:18:20.887587 WS01IS01.highway.telekom.at.domain > L1294P20.dipool.highway.telekom.at.instl_boots: 39185 2/3/3 CNAME[|domain] 13:18:20.888187 L1294P20.dipool.highway.telekom.at.instl_bootc > WS01IS01.highway.telekom.at.domain: 39186+ PTR? 139.192.56.64.in-addr.arpa. (44) 13:18:20.895837 csr04-ve241.sntc05.exodus.net > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:20.902705 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33471: udp 12 13:18:20.953593 WS01IS01.highway.telekom.at.domain > L1294P20.dipool.highway.telekom.at.instl_bootc: 39186 2/3/3 CNAME[|domain] 13:18:21.111840 g2-1.bas2-m.sc5.yahoo.com > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:21.123270 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33472: udp 12 13:18:21.333086 g2-1.bas2-m.sc5.yahoo.com > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:21.334959 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33473: udp 12 13:18:21.543836 g2-1.bas2-m.sc5.yahoo.com > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit 13:18:21.671283 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33474: udp 12 13:18:21.879084 vl42.bas2-m.sc5.yahoo.com > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit [tos 0xc0] 13:18:21.883052 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33475: udp 12 13:18:21.953131 L1294P20.dipool.highway.telekom.at.1069 > WS01IS01.highway.telekom.at.domain: 39187+ PTR? 150.207.56.64.in-addr.arpa. (44) 13:18:22.018956 WS01IS01.highway.telekom.at.domain > L1294P20.dipool.highway.telekom.at.1069: 39187 1/4/4 PTR[|domain] 13:18:22.019522 L1294P20.dipool.highway.telekom.at.1070 > WS01IS01.highway.telekom.at.domain: 39188+ PTR? 218.160.163.66.in-addr.arpa. (45) 13:18:22.087960 WS01IS01.highway.telekom.at.domain > L1294P20.dipool.highway.telekom.at.1070: 39188 1/5/5 PTR[|domain] 13:18:22.096210 vl42.bas2-m.sc5.yahoo.com > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit [tos 0xc0] 13:18:22.231244 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33476: udp 12 13:18:22.440082 vl42.bas2-m.sc5.yahoo.com > L1294P20.dipool.highway.telekom.at: icmp: time exceeded in-transit [tos 0xc0] 13:18:22.441519 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33477: udp 12 13:18:27.442123 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33478: udp 12 13:18:27.650313 www.freebsd.org > L1294P20.dipool.highway.telekom.at: icmp: www.freebsd.org udp port 33478 unreachable 13:18:27.651879 L1294P20.dipool.highway.telekom.at.33405 > www.freebsd.org.33479: udp 12 13:18:27.858936 www.freebsd.org > L1294P20.dipool.highway.telekom.at: icmp: www.freebsd.org udp port 33479 unreachable 13:18:28.267260 L1294P20.dipool.highway.telekom.at.49222 > WS01IS02.highway.telekom.at.domain: 59125+ PTR? 1.1.168.192.in-addr.arpa. (42) 13:18:28.315936 WS01IS02.highway.telekom.at.domain > L1294P20.dipool.highway.telekom.at.49222: 59125 NXDomain 0/1/0 (139) 13:18:28.354785 L1294P20.dipool.highway.telekom.at.1071 > WS01IS01.highway.telekom.at.domain: 56459+ PTR? 2.1.168.192.in-addr.arpa. (42) 13:18:28.473315 WS01IS01.highway.telekom.at.domain > L1294P20.dipool.highway.telekom.at.1071: 56459 NXDomain 0/1/0 (139) The corresponding parts of my rc.conf: gateway_enable="YES" hostname="serwas.localhost" ifconfig_xl0="inet 192.168.1.254 netmask 255.255.255.0" ifconfig_isp0="inet 0.0.0.0 0.0.0.1 netmask 255.255.255.255" inetd_enable="YES" natd_enable="YES" natd_interface="isp0" natd_flags="-dynamic" firewall_enable="YES" firewall_type="open" sendmail_enable="NONE" isdn_enable="YES" isdn_flags="-dn -d0x1f9" isdn_trace="YES" isdn_traceflags="-f /var/tmp/isdntrace0" rc.local...: # Bring ISDN interface up and connect to ISP ifconfig isp0 delete -link1 down echo -n 'Configuring ISP0 to AON Complete:' echo -n ' spppcontrol'; spppcontrol isp0 myauthname="xxx" myauthproto=pap myauthsecret="xxx" disable-vj disable-ipv6 echo -n 'up'; ifconfig isp0 0.0.0.0 0.0.0.1 link1 up echo '.' route add default -interface isp0 /usr/sbin/sendmail -bd -q30m My isdnd.rc: #=========================================================================== === # SYSTEM section: isdnd global configuration parameters #=========================================================================== === system # accounting # ---------- acctall = on # generate info for everything acctfile = /var/log/isdnd.acct # name & location of accounting file useacctfile = yes # generate accouting info to file # ratesfile # --------- ratesfile = /etc/isdn/isdnd.rates # name & location of rates file # realtime priority section # ------------------------- rtprio = 25 # modify isdnd's process priority #=========================================================================== === # entry section: IP over ISDN example - i call back the remote end #=========================================================================== === entry name = AON_Complete # name for reference. This name will # be used in the logfile to identfy # this entry. # the network or telephone device # the data traffic should be routed to: usrdevicename = isp # ipr, isp, tel, rbch usrdeviceunit = 0 # unit number # the ISDN controller number to be # used for this entry: isdncontroller = 0 # controller to use or -1 to use any isdnchannel = -1 # channel (1/2) to use or 0 or -1 for any # incoming only, outgoing only or both: direction = out # in, out, inout # numbers used to verify a DIAL IN: local-phone-incoming = * # this is my number remote-phone-incoming = * # this one can call in # numbers used at DIAL OUT time: local-phone-dialout = xxx # this is my number remote-phone-dialout = xxx # i call this remote number # in case i have several remote # telephone numbers specified, this # is used to specify which one is # used next on dial fail or retry: remdial-handling = first # first, last or next # what happenes if someone dials in: dialin-reaction = ignore # accept, reject, ignore, answer, callback # normal dialout or do i call back: dialout-type = normal # normal / calledback # type of protocol on the B-channel: # hdlc must be specified for IP (the # ipr and isp drivers), raw must be # specified for telephone answering b1protocol = hdlc # hdlc, raw # shorthold mode and idle time # configuration: ratetype = 0 # ratesfile entry to use unitlength = 90 # unitlength to assume unitlengthsrc = aocd # none, rate, cmdl, conf, aocd idletime-incoming = 240 # incoming call idle timeout idletime-outgoing = 90 # outgoing call idle timeout # retry and recovery parameters dialretries = 3 # # of dial retries dialrandincr = on # random dial increment time recoverytime = 5 # time to wait between 2 dial tries usedown = off # set i/f down downtries = 5 # retry cycles before set down downtime = 30 # time to be in down before going up #connectprog = "ip-up" # run /etc/isdn/ip-up when an interface # has established its network connection. # example parameters are: # /etc/isdn/ip-up -d isp0 -f up -a 192.110.12.14 #disconnectprog = "ip-down" # like connectprog, but run after the connection # is closed (ISDN layer down). The actual # interface address might not be known # any more. example parameters are: # /etc/isdn/ip-up -d isp0 -f down -a 0.0.0.0 This is the output of spppcontrol isp0: isp0: phase=network myauthproto=pap myauthname="2299114000" lcp-timeout=3000 ms disable-vj disable-ipv6 Output of ifconfig: xl0: flags=8843 mtu 1500 options=3 inet 192.168.1.254 netmask 0xffffff00 broadcast 192.168.1.255 ether 00:50:04:86:5c:c0 media: Ethernet autoselect (10baseT/UTP) status: active isp0: flags=a051 mtu 1500 inet 62.46.225.180 --> 0.0.0.1 netmask 0xff000000 ether 00:00:00:00:00:00 And finally outout of netstat -r: Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 00:00:00:00:00:00 USc 2 360 isp0 0.0.0.1 L1294P20.dipool.hi UH 0 0 isp0 loopback loopback UH 0 26 lo0 192.168.1 link#1 UC 2 0 xl0 192.168.1.2 00:03:93:04:cf:fe UHLW 4 369 xl0 536 serwas 00:50:04:86:5c:c0 UHLW 0 0 lo0 Sorry, that's a long one. Still no success with automatic dial-in resp. connection closing. Advise? Thanks Dominik To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Sat Dec 7 6: 1:15 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EECE237B404 for ; Sat, 7 Dec 2002 06:01:13 -0800 (PST) Received: from email03.aon.at (WARSL402PIP6.highway.telekom.at [195.3.96.93]) by mx1.FreeBSD.org (Postfix) with SMTP id AE08043EB2 for ; Sat, 7 Dec 2002 06:01:11 -0800 (PST) (envelope-from aero311@gmx.net) Received: (qmail 463396 invoked from network); 7 Dec 2002 14:01:04 -0000 Received: from l1355p08.dipool.highway.telekom.at (HELO unspecified.host) ([62.46.233.72]) (envelope-sender ) by qmail3rs.highway.telekom.at (qmail-ldap-1.03) with SMTP for ; 7 Dec 2002 14:01:04 -0000 Received: from 192.168.1.2 ([192.168.1.2]) by 192.168.1.1 (WinRoute Pro 4.2.5) with SMTP; Thu, 5 Dec 2002 12:49:29 +0100 User-Agent: Microsoft-Entourage/10.1.1.2418 Date: Thu, 05 Dec 2002 12:49:28 +0100 Subject: Re: SPPP and changing ISP gateway HOW? From: Dominik Mimra To: Gary Jennejohn Cc: Message-ID: In-Reply-To: <200212041834.gB4IYxOL004859@peedub.jennejohn.org> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 04.12.2002 19:34 Uhr, "Gary Jennejohn" wrote: > Dominik Mimra writes: >> Here comes the connection attempt output: >> >> isp0: lcp parse opts: mru auth-proto magic proto-comp [rej] addr-comp >> [rej] send conf-rej >> isp0: lcp output >> isp0: lcp input(ack-rcvd): > 01-04-05-ea-03-05-c2-23-05-05-06-1c-cb-86-bd> >> isp0: lcp parse opts: mru auth-proto magic >> isp0: lcp parse opt values: mru 1514 auth-proto [mine proto/0x0 != his >> chap] magic 0x1ccb86bd send conf-nak > > You coulkd save a little time by using chap instead of pap, but this is > not the error. CHAP does not seem to work... > >> isp0: lcp input(opened): > 80-57-01-17-00-0e-01-0a-02-50-04-ff-fe-86-5c-c0> >> isp0: lcp: RXJ+ (proto-rej) for proto 0x8057 (ipv6cp/req-sent) >> isp0: ipv6cp close(req-sent) >> isp0: ipv6cp output >> isp0: ipcp input(req-sent): >> isp0: ipcp parse opts: address >> isp0: ipcp parse opt values: address 0.0.0.1 [ack] send conf-ack >> isp0: ipcp output >> isp0: ipcp input(ack-sent): >> isp0: ipcp tlu >> isp0: lcp input(opened): >> isp0: lcp: RXJ+ (proto-rej) for proto 0x8057 (ipv6cp/closing) >> isp0: ipv6cp TO(closing) rst_counter = 2 >> isp0: ipv6cp output >> isp0: lcp input(opened): >> isp0: lcp: RXJ+ (proto-rej) for proto 0x8057 (ipv6cp/closing) >> isp0: ipv6cp TO(closing) rst_counter = 1 >> isp0: ipv6cp output >> isp0: lcp input(opened): >> isp0: lcp: RXJ+ (proto-rej) for proto 0x8057 (ipv6cp/closing) >> isp0: ipv6cp TO(closing) rst_counter = 0 >> isp0: rejecting protocol >> isp0: lcp output > 80-fd-01-0b-00-1e-12-06-00-00-00-01-11-05-00-01-04-11-05-00-01-03-11-06-00-0 >> 1-01-01-1a-04-78-00> >> > > I'm not sure, but it looks to me like it's failing here because your box > is trying to negotiate an IPV6 connection and the other end is rejecting > it. Try turning off IPV6 in your kernel (remove ``options INET6''). It seems that was it. Now I could connect and also nat and firewall works fine. Thanks for your help Dominik To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message