From owner-freebsd-isdn Sun Mar 19 0:32: 4 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from pmail1.gmx.net (pmail1.gmx.net [194.221.183.71]) by hub.freebsd.org (Postfix) with SMTP id 38E5C37B5A0 for ; Sun, 19 Mar 2000 00:32:01 -0800 (PST) (envelope-from Gerhard.Sittig@gmx.net) Received: (qmail 22065 invoked by uid 0); 19 Mar 2000 08:31:57 -0000 Received: from pc19f5d24.dip.t-dialin.net (HELO speedy.gsinet) (193.159.93.36) by pmail1.gmx.net with SMTP; 19 Mar 2000 08:31:57 -0000 Received: (from sittig@localhost) by speedy.gsinet (8.8.8/8.8.8) id WAA25383 for freebsd-isdn@FreeBSD.ORG; Sat, 18 Mar 2000 22:08:15 +0100 Date: Sat, 18 Mar 2000 22:08:15 +0100 From: Gerhard Sittig To: freebsd-isdn@FreeBSD.ORG Subject: Re: after ackermann update: protocol discriminator 0xaa != Q.931 Message-ID: <20000318220815.B24822@speedy.gsinet> Mail-Followup-To: freebsd-isdn@FreeBSD.ORG References: <200003181030.LAA00226@cat.turbocat.de> <20000318110434.6FE091F1C@bert.kts.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000318110434.6FE091F1C@bert.kts.org>; from hm@kts.org on Sat, Mar 18, 2000 at 12:04:34PM +0100 Organization: System Defenestrators Inc. Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, Mar 18, 2000 at 12:04 +0100, Hellmuth Michaelis wrote: > David Wetzel wrote: > > > BTW: is there a *BSD-based software to configure that > > ackermann? > > No. I don't know how portable it is, but there's a program for Linux I know of. Since it runs on X and just talks to a serial port, chances are you can use it. Go ahead and ask your favourite search engine for MaximaX. Otherwise -- maybe Ackerman's website holds information on the protocol used (or is willing to publish these when they learn that people will buy something else when they don't want to be stuck with the supplied software). virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76 Gerhard Sittig true | mail -s "get gpg key" Gerhard.Sittig@gmx.net -- If you don't understand or are scared by any of the above ask your parents or an adult to help you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Sun Mar 19 0:42:10 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from hcshh.hcs.de (hcshh.hcs.de [194.123.40.1]) by hub.freebsd.org (Postfix) with SMTP id F179437BC4B for ; Sun, 19 Mar 2000 00:42:06 -0800 (PST) (envelope-from hm@hcs.de) Received: from hcswork.hcs.de([192.76.124.5]) (1514 bytes) by hcshh.hcs.de via sendmail with P:smtp/R:inet_hosts/T:smtp (sender: ) id for ; Sun, 19 Mar 2000 09:42:05 +0100 (CET) (Smail-3.2.0.104 1998-Nov-20 #1 built 1998-Dec-11) Received: by hcswork.hcs.de (Postfix, from userid 200) id 544FE482C; Sun, 19 Mar 2000 09:42:01 +0100 (MET) Subject: Re: your mail In-Reply-To: <00031901462400.00288@ProximaZentauri> from wolfgang steuerle at "Mar 19, 0 01:30:12 am" To: wolfgang.steuerle@t-online.de (wolfgang steuerle) Date: Sun, 19 Mar 2000 09:42:00 +0100 (MET) Cc: isdn@FreeBSD.ORG Reply-To: hm@hcs.de Organization: HCS Hanseatischer Computerservice GmbH X-Mailer: ELM [version 2.4ME+ PL39 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 668 Message-Id: <20000319084201.544FE482C@hcswork.hcs.de> From: hm@hcs.de (Hellmuth Michaelis) Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org From the keyboard of wolfgang steuerle: > Is there a komplete description of what to (what to write in which > konfiguration-file,what to put in the kernel etc ) for an > ISDN-connection with deutsche Telecom (T-online) in > Free-BSD for an absolute beginner like me, and where can i find it? http://www.de.freebsd.org/de/i4b-t-error.html hellmuth -- Hellmuth Michaelis Tel +49 40 55 97 47-70 HCS Hanseatischer Computerservice GmbH Fax +49 40 55 97 47-77 Oldesloer Strasse 97-99 Mail hm [at] hcs.de D-22457 Hamburg WWW http://www.hcs.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Sun Mar 19 1:18:36 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from bw85zhb.bluewin.ch (bw85zhb.bluewin.ch [195.186.1.75]) by hub.freebsd.org (Postfix) with ESMTP id A3B1337B5E3 for ; Sun, 19 Mar 2000 01:18:33 -0800 (PST) (envelope-from finesse@bluewin.de) Received: from loch.sexy ([195.226.100.119]) by bw85zhb.bluewin.ch ( with ESMTP id AAA3FCA; Sun, 19 Mar 2000 10:18:20 +0100 Received: from [192.168.1.5] (helo=blue.sexy ident=exim) by loch.sexy with esmtp (Exim 3.02 #1) id 12WbQh-00080B-00; Sun, 19 Mar 2000 09:51:23 +0100 Received: from pascal by blue.sexy with local (Exim 3.13 #1) id 12WbQf-0005v5-00; Sun, 19 Mar 2000 09:51:21 +0100 From: "Pascal Gienger" Message-Id: <10003190951.ZM22921@blue.sexy> Date: Sun, 19 Mar 2000 09:51:20 +0100 In-Reply-To: wolfgang.steuerle@t-online.de (wolfgang steuerle) "" (Mar 19, 1:30am) References: <00031901462400.00288@ProximaZentauri> X-Mailer: Z-Mail (3.2.3 08feb96 MediaMail) To: wolfgang.steuerle@t-online.de (wolfgang steuerle) Cc: freebsd-isdn@freebsd.org Subject: Re: your mail Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mar 19, 1:30am, wolfgang steuerle wrote: > Subject: > Dear Experts ! > Is there a komplete description of what to (what to write in which > konfiguration-file,what to put in the kernel etc ) for an > ISDN-connection with deutsche Telecom (T-online) in If you don't mind replacing "isppp0" by "isp0" then http://www.de.freebsd.org/de/i4b-t-error.html is the right thing for you. I'll submit changes soon because of this error. Pascal -- Unix, Pascal Gienger, Steinstr. 21 /\ 12 .rtsnietS ,regneiG lacsaP ,xinU Networx 78467 Konstanz / \ znatsnoK 76487 xrowteN & WWW finesse@bluewin.de / \ ed.niweulb@essenif WWW & T: +49 7531 52709, F: 52739 / \ 93725 :F ,90725 1357 94+ :T To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Sun Mar 19 2:17:25 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from peedub.muc.de (peedub.muc.de [193.149.49.109]) by hub.freebsd.org (Postfix) with ESMTP id 764F037B6B9 for ; Sun, 19 Mar 2000 02:17:19 -0800 (PST) (envelope-from garyj@peedub.muc.de) Received: from peedub.muc.de (localhost [127.0.0.1]) by peedub.muc.de (8.9.3/8.6.9) with ESMTP id KAA01674; Sun, 19 Mar 2000 10:51:29 +0100 (CET) Message-Id: <200003190951.KAA01674@peedub.muc.de> X-Mailer: exmh version 2.1.0 09/18/1999 To: Andreas Haakh Cc: ISDN-List Subject: Re: isp0 up and running but not working Reply-To: Gary Jennejohn In-reply-to: Your message of "Sat, 18 Mar 2000 19:19:30 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Date: Sun, 19 Mar 2000 10:51:29 +0100 From: Gary Jennejohn Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Andreas Haakh writes: >On Fri, 10 Mar 2000, Gary Jennejohn wrote: > >> Christoph Kukulies writes: >> >Another strangeness, which may be related to that: >> > >> >When I start my 'ping -i20 ' to protect against = >> >undesired shorthold the first ping doesn't get through. >> > >> >This happens also when using ssh/rlogin, which times out in the highe= r >> >layer. = >> > >> >So to say, the way connections are made is kind of abnormal, >> >I always have to do a ping first or some other event that causes >> >a dialout before I can safely start ssh/rlogin. >> > >> = >> yeah, this is normal for sPPP. The first few packets queued never get >> sent. I'm not sure why, but I think that if_spppsubr.c might be >> cleaning out its queues after the connection is established. That woul= d >> explain the behavior. Have to look at the code in more detail. > >actually the first packet send out has a src ip-address of 0.0.0.0 which= >is discarded in sppp_output (if_spppsubr.c) as the reply would never get= >back... > >A working solution is to change the return value from EADDRNOTAVAIL to >ETIMEDOUT which gives the programms an immediate chance to resend the lo= st >packet (the attached patch for FBSD4.0-STABLE does this). I think >ETIMEDOUT is the better errornumber, as this is what would happen anyway= >if the packet was sent and EADDNOTAVAIL suggests that the destination >address was not found... > >ssh, telnet, and lynx/netscape/netscape_os/2 with squid (these are the >applications that I tested) work fine with this change. You don't realiz= e, >that the first packet is lost. > [patch deleted] This doesn't work either :( I have a static IP address and the first packets are still being dropped (I always use a ping -c 2 to open the connection). The real problem is somewhere else. It's definitely related to sPPP since I never saw this when I was using ipr. --- Gary Jennejohn / garyj@muc.de garyj@fkr.cpqcorp.net gj@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Sun Mar 19 2:35:21 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from widukind.bi.teuto.net (widukind.bi.teuto.net [212.8.197.28]) by hub.freebsd.org (Postfix) with ESMTP id 3DCA937B6A3 for ; Sun, 19 Mar 2000 02:35:16 -0800 (PST) (envelope-from martin@rumolt.teuto.de) Received: from rumolt.teuto.de (IDENT:root@rumolt.teuto.de [212.8.203.81]) by widukind.bi.teuto.net (8.9.3/8.9.3) with ESMTP id MAA10444; Sun, 19 Mar 2000 12:35:07 +0100 Received: (from martin@localhost) by rumolt.teuto.de (8.9.3/8.8.8) id LAA28953; Sun, 19 Mar 2000 11:37:26 +0100 (MET) From: Martin Husemann Message-Id: <200003191037.LAA28953@rumolt.teuto.de> Subject: Re: isp0 up and running but not working In-Reply-To: <200003190951.KAA01674@peedub.muc.de> from Gary Jennejohn at "Mar 19, 2000 10:51:29 am" To: garyj@muc.de (Gary Jennejohn) Date: Sun, 19 Mar 2000 11:37:26 +0100 (MET) Cc: ah@haakh.de (Andreas Haakh), freebsd-isdn@FreeBSD.ORG (ISDN-List) Organization: Crusaders Catering Services Inc. ;-) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > This doesn't work either :( I have a static IP address and the first > packets are still being dropped (I always use a ping -c 2 to open the > connection). You are both right. The error code should be changed for the dyn-ip case, and the first-packet-sink should be debugged. Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Sun Mar 19 3:30:33 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from peedub.muc.de (peedub.muc.de [193.149.49.109]) by hub.freebsd.org (Postfix) with ESMTP id 85E0237B5EE for ; Sun, 19 Mar 2000 03:30:22 -0800 (PST) (envelope-from garyj@peedub.muc.de) Received: from peedub.muc.de (localhost [127.0.0.1]) by peedub.muc.de (8.9.3/8.6.9) with ESMTP id MAA28886; Sun, 19 Mar 2000 12:28:25 +0100 (CET) Message-Id: <200003191128.MAA28886@peedub.muc.de> X-Mailer: exmh version 2.1.0 09/18/1999 To: Martin Husemann Cc: ah@haakh.de (Andreas Haakh), freebsd-isdn@FreeBSD.ORG (ISDN-List) Subject: Re: isp0 up and running but not working Reply-To: Gary Jennejohn In-reply-to: Your message of "Sun, 19 Mar 2000 11:35:23 +0100." <200003191037.LAA28953@rumolt.teuto.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 19 Mar 2000 12:28:25 +0100 From: Gary Jennejohn Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Martin Husemann writes: >> This doesn't work either :( I have a static IP address and the first >> packets are still being dropped (I always use a ping -c 2 to open the >> connection). > >You are both right. The error code should be changed for the dyn-ip case, >and the first-packet-sink should be debugged. > The problem is basically twofold: 1) As soon as sPPP gets into IPCP phase the routine sppp_ncp_check returns success, although the connection hasn't been fully established. This means that sppp_dequeue will also check pp_fastq and if_snd in case there aren't any packets in pp_cpq, which can easily happen. 2) In i4bisppp_start there's a while loop which calls sppp_dequeue until it returns NULL. As soon as IPCP starts and pp_cpq is empty this loop will empty out pp_fastq and if_snd. In case the PPP connection hasn't been established this means that packets queued in pp_fastq or if_and will effectively be lost. This becomes obvious if one looks at the following output from tcpdump (raw data deleted): 12:01:05.155043 ID-012 LCP: Configure-Request, Magic-Number=1575218996 12:01:05.697581 ID-001 LCP: Configure-Request, Magic-Number=1050150145, Auth-Prot PAP 12:01:05.697600 ID-001 LCP: Configure-Ack, Magic-Number=1050150145, Auth-Prot PAP 12:01:05.699795 ID-012 LCP: Configure-Ack, Magic-Number=1575218996 12:01:05.699809 ID-013 PAP: Authenticate-Request, Peer-Id=xxx, Passwd=yyy 12:01:05.734058 ID-013 PAP: Authenticate-Ack 12:01:05.734081 ID-014 IPCP: IP-Compression-Protocol 12:01:05.734083 peedub.muc.de > router.muc.de: icmp: echo request 12:01:05.734085 peedub.muc.de > router.muc.de: icmp: echo request 12:01:05.737175 ID-001 IPCP: IP-Compression-Protocol 12:01:05.737204 ID-001 IPCP: IP-Compression-Protocol 12:01:05.746048 ID-014 IPCP: IP-Compression-Protocol my 2 pings appear _before_ the IPCP negotiation is complete and therefore are discarded by the peer. How to fix this ? Probably sppp_dequeue should only look at pp_fastq and if_snd iff IPCP has successfully completed. This could be done by setting a flag in sppp_ipcp_tlu and checking it in sppp_dequeue. The flag would be cleared in sppp_ipcp_tlf. I think I'll try this out and see what happens. --- Gary Jennejohn / garyj@muc.de garyj@fkr.cpqcorp.net gj@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Sun Mar 19 4:36: 1 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from peedub.muc.de (peedub.muc.de [193.149.49.109]) by hub.freebsd.org (Postfix) with ESMTP id 66C0137B937 for ; Sun, 19 Mar 2000 04:35:50 -0800 (PST) (envelope-from garyj@peedub.muc.de) Received: from peedub.muc.de (localhost [127.0.0.1]) by peedub.muc.de (8.9.3/8.6.9) with ESMTP id NAA00568 for ; Sun, 19 Mar 2000 13:34:36 +0100 (CET) Message-Id: <200003191234.NAA00568@peedub.muc.de> X-Mailer: exmh version 2.1.0 09/18/1999 To: freebsd-isdn@freebsd.org Subject: Re: isp0 up and running but not working From: Gary Jennejohn Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 19 Mar 2000 13:34:36 +0100 Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org With this patch (against the latest developers release, but it should be easy to apply it by hand against older releases) the first few queued packets no longer get lost. This is obvious from the following tcpdump info: 13:05:34.050082 ID-001 LCP: Configure-Request, Magic-Number=841061963 13:05:34.572739 ID-001 LCP: Configure-Request, Magic-Number=2792450335, Auth-Prot PAP 13:05:34.572753 ID-001 LCP: Configure-Ack, Magic-Number=2792450335, Auth-Prot PAP 13:05:34.574973 ID-001 LCP: Configure-Ack, Magic-Number=841061963 13:05:34.574983 ID-002 PAP: Authenticate-Request, Peer-Id=xxx, Passwd=yyy 13:05:34.599356 ID-002 PAP: Authenticate-Ack 13:05:34.599369 ID-003 IPCP: IP-Compression-Protocol 13:05:34.602480 ID-001 IPCP: IP-Compression-Protocol 13:05:34.602499 ID-001 IPCP: IP-Compression-Protocol 13:05:34.611607 ID-003 IPCP: IP-Compression-Protocol 13:05:46.192803 peedub.muc.de > router.muc.de: icmp: echo request 13:05:46.192807 peedub.muc.de > router.muc.de: icmp: echo request 13:05:46.192809 peedub.muc.de.1024 > laurin.munich.netsurf.de.pop3: S 40515486:40515486(0) win 16384 (DF) 13:05:46.223567 router.muc.de > peedub.muc.de: icmp: echo reply 13:05:46.235325 router.muc.de > peedub.muc.de: icmp: echo reply the pings make it out and the peer answers them. Prior to this patch the first packets got lost. Note this includes the ETIMEDOUT change from Andreas Haakh. ============================ Patch ============================= *** ./driver/i4b_ispppsubr.c.orig Sun Mar 19 09:45:34 2000 --- ./driver/i4b_ispppsubr.c Sun Mar 19 12:25:38 2000 *************** *** 741,747 **** m_freem(m); splx(s); if(ip->ip_p == IPPROTO_TCP) ! return(EADDRNOTAVAIL); else return(0); } --- 741,747 ---- m_freem(m); splx(s); if(ip->ip_p == IPPROTO_TCP) ! return(ETIMEDOUT); else return(0); } *************** *** 1033,1039 **** */ IF_DEQUEUE(&sp->pp_cpq, m); if (m == NULL && ! (sppp_ncp_check(sp) || sp->pp_mode == IFF_CISCO)) { IF_DEQUEUE(&sp->pp_fastq, m); if (m == NULL) IF_DEQUEUE (&sp->pp_if.if_snd, m); --- 1033,1040 ---- */ IF_DEQUEUE(&sp->pp_cpq, m); if (m == NULL && ! ((sppp_ncp_check(sp) && (sp->ipcp.flags & IPCP_UP)) ! || sp->pp_mode == IFF_CISCO)) { IF_DEQUEUE(&sp->pp_fastq, m); if (m == NULL) IF_DEQUEUE (&sp->pp_if.if_snd, m); *************** *** 3084,3089 **** --- 3085,3091 ---- static void sppp_ipcp_tlu(struct sppp *sp) { + sp->ipcp.flags |= IPCP_UP; /* we are up - notify isdn daemon */ if (sp->pp_con) sp->pp_con(sp); *************** *** 3106,3111 **** --- 3108,3114 ---- { /* we no longer need LCP */ sp->lcp.protos &= ~(1 << IDX_IPCP); + sp->ipcp.flags &= ~IPCP_UP; sppp_lcp_check_and_close(sp); } *** ./machine/i4b_isppp.h.orig Sun Mar 19 12:24:13 2000 --- ./machine/i4b_isppp.h Sun Mar 19 12:25:14 2000 *************** *** 51,56 **** --- 51,57 ---- #define IPCP_MYADDR_DYN 2 /* my address is dynamically assigned */ #define IPCP_MYADDR_SEEN 4 /* have seen his address already */ #define IPCP_VJ 8 /* We can use VJ compression */ + #define IPCP_UP 16 /* IPCP layer is really up */ int max_state; /* Max-Slot-Id */ int compress_cid; /* Comp-Slot-Id */ }; -------- Gary Jennejohn / garyj@muc.de garyj@fkr.cpqcorp.net gj@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Sun Mar 19 6:59:33 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from post.webmailer.de (natmail2.webmailer.de [192.67.198.65]) by hub.freebsd.org (Postfix) with ESMTP id D9BA737B5DF for ; Sun, 19 Mar 2000 06:59:26 -0800 (PST) (envelope-from ah@alvman.RoBIN.de) Received: from alvman.RoBIN.de (p3E9C3673.dip.t-dialin.net [62.156.54.115]) by post.webmailer.de (8.9.3/8.8.7) with ESMTP id PAA13378; Sun, 19 Mar 2000 15:59:23 +0100 (MET) Received: from localhost (ah@localhost) by alvman.RoBIN.de (8.9.3/8.9.3) with ESMTP id PAA01943; Sun, 19 Mar 2000 15:59:18 +0100 (CET) (envelope-from ah@alvman.RoBIN.de) Date: Sun, 19 Mar 2000 15:59:18 +0100 (CET) From: Andreas Haakh To: Gary Jennejohn Cc: freebsd-isdn@FreeBSD.ORG Subject: Re: isp0 up and running but not working In-Reply-To: <200003191234.NAA00568@peedub.muc.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 19 Mar 2000, Gary Jennejohn wrote: > With this patch (against the latest developers release, but it should be > easy to apply it by hand against older releases) the first few queued > packets no longer get lost. This is obvious from the following tcpdump > info: > > [...] Debug removed > > the pings make it out and the peer answers them. Prior to this patch > the first packets got lost. > > Note this includes the ETIMEDOUT change from Andreas Haakh. > > [...] Patch removed Great! this solves quite some of the problems... Nevertheless, looking at the changes I assume (I can't test it because I use dynamic IP-addresses) that, if you start the connection using "real" TCP/IP packets, they still will be lost because the packets will be delayed until IPCP_UP is reached but as the interface is not yet running (IFF_RUNNING is not set), the peer will probably ignore them?? I thing You still need something like /*!!!*/ to delay the transfer. * Do always serve all three queues in Cisco mode. */ IF_DEQUEUE(&sp->pp_cpq, m); if (m == NULL && ((sppp_ncp_check(sp) && (sp->ipcp.flags & IPCP_UP)) || sp->pp_mode == IFF_CISCO)) { IF_DEQUEUE(&sp->pp_fastq, m); if (m == NULL && ((ifp->if_flags & IFF_RUNNING) /*!!!*/ || sp->pp_mode == IFF_CISCO)) /*!!!*/ IF_DEQUEUE (&sp->pp_if.if_snd, m); } Andreas -- Ingenieurbüro für Baustatik * Dipl.-Ing. Andreas Haakh Mollerstraße 7 * 64289 Darmstadt * Andreas@Haakh.de Tel. 06151-788361 Fax. 06151-788362 Mobil 0173-361.6884 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Sun Mar 19 15:34:29 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from slarti.muc.de (slarti.muc.de [193.149.48.10]) by hub.freebsd.org (Postfix) with SMTP id 4CF1E37B6B2 for ; Sun, 19 Mar 2000 15:34:23 -0800 (PST) (envelope-from jhs@jhs.muc.de) Received: (qmail 26784 invoked from network); 19 Mar 2000 23:39:46 -0000 Received: from jhs.muc.de (193.149.49.84) by slarti.muc.de with SMTP; 19 Mar 2000 23:39:46 -0000 Received: from park.jhs.no_domain (localhost [127.0.0.1]) by jhs.muc.de (8.9.3/8.9.3) with ESMTP id WAA31518; Sun, 19 Mar 2000 22:05:38 GMT (envelope-from jhs@park.jhs.no_domain) Message-Id: <200003192205.WAA31518@jhs.muc.de> To: wolfgang.steuerle@t-online.de (wolfgang steuerle) Cc: isdn@FreeBSD.ORG From: "Julian Stacey" Organization: Vector Systems Ltd - Unix & Internet consultancy X-Web: http://www.jhs.muc.de http://bim.bsn.com/~jhs/ In-reply-to: Your message of "Sun, 19 Mar 2000 01:41:48 +0100." <00031901462400.00288@ProximaZentauri> Date: Sun, 19 Mar 2000 23:05:37 +0100 Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Reference: > From: wolfgang.steuerle@t-online.de (wolfgang steuerle) > Date: Sun, 19 Mar 2000 01:41:48 +0100 > Message-id: <00031901462400.00288@ProximaZentauri> Hi, wolfgang steuerle wrote: > Dear Experts ! > Is there a komplete description of what to (what to write in which > konfiguration-file,what to put in the kernel etc ) for an > ISDN-connection with deutsche Telecom (T-online) in > Free-BSD for an absolute beginner like me, and where can i find it? > I had one for Suse-Linux , it was very helpfull,but i would like to browse > www,use ftp,send and receive mail and news with Free-BSD too,the last tasks i > still use Linux for. Thank you in advance ! > AMD-K6-2-processor,32MB Ram > Sedlbauer speed win ISDN card > -- > wolfgang steuerle > freiburgerstraße 36 > 69126 heidelberg (06221) > tel 337665 fax 373971 I have a copy of a file here labelled: Anwahl von T-Offline mittels i4b und FreeBSD I think it came from http://www.de.FreeBSD.ORG/de/i4b-t-error.html Pascal Gienger p@znet.de http://pascal.znet.de Man isdnd says: SEE ALSO i4bipr(4), i4bisppp(4), isdnd.rates(5), isdnd.rc(5), isdntel(8), isdntrace(8), syslogd(8) You can also grab various versions of i4b for *BSD from EG http://www.hcs.de http://www.freebsd-support.de/i4b ftp.dinoex.org/pub/i4b/ & then go read the main README the source, there's an FAQ there too etc :-) Julian Julian H. Stacey http://www.jhs.muc.de http://bim.bsn.com/~jhs/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Mon Mar 20 0: 3:48 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from peedub.muc.de (peedub.muc.de [193.149.49.109]) by hub.freebsd.org (Postfix) with ESMTP id C3A6F37B8EB for ; Mon, 20 Mar 2000 00:03:44 -0800 (PST) (envelope-from garyj@peedub.muc.de) Received: from peedub.muc.de (localhost [127.0.0.1]) by peedub.muc.de (8.9.3/8.6.9) with ESMTP id IAA02547; Mon, 20 Mar 2000 08:34:59 +0100 (CET) Message-Id: <200003200734.IAA02547@peedub.muc.de> X-Mailer: exmh version 2.1.0 09/18/1999 To: Andreas Haakh Cc: freebsd-isdn@FreeBSD.ORG Subject: Re: isp0 up and running but not working Reply-To: Gary Jennejohn In-reply-to: Your message of "Sun, 19 Mar 2000 15:59:32 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Date: Mon, 20 Mar 2000 08:34:59 +0100 From: Gary Jennejohn Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Andreas Haakh writes: >On Sun, 19 Mar 2000, Gary Jennejohn wrote: > >> With this patch (against the latest developers release, but it should = be >> easy to apply it by hand against older releases) the first few queued >> packets no longer get lost. This is obvious from the following tcpdump= >> info: >Great! this solves quite some of the problems... > >Nevertheless, looking at the changes I assume (I can't test it because I= >use dynamic IP-addresses) that, if you start the connection using "real"= >TCP/IP packets, they still will be lost because the packets will be >delayed until IPCP_UP is reached but as the interface is not yet running= >(IFF_RUNNING is not set), the peer will probably ignore them?? >I thing You still need something like /*!!!*/ to delay the transfer. > > * Do always serve all three queues in Cisco mode. > */ > IF_DEQUEUE(&sp->pp_cpq, m); > if (m =3D=3D NULL && > ((sppp_ncp_check(sp) && (sp->ipcp.flags & IPCP_UP)) > || sp->pp_mode =3D=3D IFF_CISCO)) { > IF_DEQUEUE(&sp->pp_fastq, m); > if (m =3D=3D NULL && ((ifp->if_flags & IFF_RUNNING) /*!!= !*/ > || sp->pp_mode =3D=3D IFF_CISCO)) /*!!!*/ > IF_DEQUEUE (&sp->pp_if.if_snd, m); > } > > IFF_RUNNING is set in various places, among others in sppp_output when the dialout is done. If IFF_RUNNING is not set there then no packets will be queued in pp_fastq or if_snd, in which case the check against IFF_RUNNING above is redundant since IF_DEQUEUE will return NULL. At least, that's the way it looks to me. --- Gary Jennejohn / garyj@muc.de garyj@fkr.cpqcorp.net gj@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Mon Mar 20 2:22:17 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from hcshh.hcs.de (hcshh.hcs.de [194.123.40.1]) by hub.freebsd.org (Postfix) with SMTP id 47FDA37B5E4 for ; Mon, 20 Mar 2000 02:20:24 -0800 (PST) (envelope-from hm@hcs.de) Received: from hcswork.hcs.de([192.76.124.5]) (2701 bytes) by hcshh.hcs.de via sendmail with P:smtp/R:inet_hosts/T:smtp (sender: ) id for ; Mon, 20 Mar 2000 11:17:46 +0100 (CET) (Smail-3.2.0.104 1998-Nov-20 #1 built 1998-Dec-11) Received: by hcswork.hcs.de (Postfix, from userid 200) id 6CAAB482C; Mon, 20 Mar 2000 11:17:44 +0100 (MET) Subject: Re: OpenBSD ISDN Support? In-Reply-To: from Benjamin Kunz at "May 5, 97 09:00:42 pm" To: ben@volvox.mayn.de (Benjamin Kunz) Date: Mon, 20 Mar 2000 11:17:44 +0100 (MET) Cc: freebsd-isdn@FreeBSD.ORG Reply-To: hm@hcs.de Organization: HCS Hanseatischer Computerservice GmbH X-Mailer: ELM [version 2.4ME+ PL39 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1840 Message-Id: <20000320101744.6CAAB482C@hcswork.hcs.de> From: hm@hcs.de (Hellmuth Michaelis) Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org From the keyboard of Benjamin Kunz: > is there anybody actually using i4b with the OpenBSD 2.6 Kernel? I've got mail from Rob Pickering with patches for 0.90 with OpenBSD 2.6, in case you want them, i can forward them to you. > I cant believe noone wants it. I also couldn't believe it, but it seems like it is so. > I'd like to contribute to the development, > but im not familiar with the OpenBSD Kernel. Im quite good at c > programming, though. > The problem is that my Home Server is the only box with an ISDN Card i > have... > Someone please contact me. 8) You are very welcome to contribute to i4b. In the past, more than 3 or 4 times people popped up expressing interest in working on i4b for OpenBSD and everytime i invested time to get them started, answering questions and helped understanding the code. All those people disappeared silently without a trace. Two times i did a port to OpenBSD myself, without any feedback from any user. At least two times i asked on the OpenBSD mailinglist for someone interested in maintaining the OpenBSD port of i4b. The result was equal to zero both times. I will not invest any more time in an OpenBSD port of i4b and i am seriously considering removing the rotten OpenBSD bits from i4b in case noone shows interest in them. This is in no way an offense, just a description of the current situation. To repeat, you are more than welcome to work on this, but please understand that i will not invest more time into this unless i see some results. hellmuth -- Hellmuth Michaelis Tel +49 40 55 97 47-70 HCS Hanseatischer Computerservice GmbH Fax +49 40 55 97 47-77 Oldesloer Strasse 97-99 Mail hm [at] hcs.de D-22457 Hamburg WWW http://www.hcs.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Mon Mar 20 8:59: 7 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from hcshh.hcs.de (hcshh.hcs.de [194.123.40.1]) by hub.freebsd.org (Postfix) with SMTP id D5B8D37B5C1 for ; Mon, 20 Mar 2000 08:58:58 -0800 (PST) (envelope-from hm@hcs.de) Received: from hcswork.hcs.de([192.76.124.5]) (1718 bytes) by hcshh.hcs.de via sendmail with P:smtp/R:inet_hosts/T:smtp (sender: ) id for ; Mon, 20 Mar 2000 17:58:57 +0100 (CET) (Smail-3.2.0.104 1998-Nov-20 #1 built 1998-Dec-11) Received: by hcswork.hcs.de (Postfix, from userid 200) id A236536AB; Mon, 20 Mar 2000 17:58:56 +0100 (MET) Subject: OpenBSD 2.6 patches for i4b 0.90 beta To: freebsd-isdn@freebsd.org (ISDN Mailinglist) Date: Mon, 20 Mar 2000 17:58:56 +0100 (MET) Reply-To: hm@hcs.de Organization: HCS Hanseatischer Computerservice GmbH X-Mailer: ELM [version 2.4ME+ PL39 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 917 Message-Id: <20000320165856.A236536AB@hcswork.hcs.de> From: hm@hcs.de (Hellmuth Michaelis) Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, to my astonishment i've got some more requests to mail the i4b patches for OpenBSD 2.6 - instead i have put them in the 0.90 errata section on http://www.freebsd-support.de/i4b/ Since this goes into several mailing list archives all over the world: i have got this patch set from Rob Pickering (Thanks a lot!) but i have no idea if they apply cleanly or run at all or do what they should. In case you don't know OpenBSD, C-Programming, driver development and kernel hacking, please stay away or use them at your own risk since i don't run OpenBSD and i can't help you with that. hellmuth -- Hellmuth Michaelis Tel +49 40 55 97 47-70 HCS Hanseatischer Computerservice GmbH Fax +49 40 55 97 47-77 Oldesloer Strasse 97-99 Mail hm [at] hcs.de D-22457 Hamburg WWW http://www.hcs.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Mon Mar 20 12:10:12 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from mail2.netcologne.de (mail2.netcologne.de [194.8.194.103]) by hub.freebsd.org (Postfix) with ESMTP id D232E37BABE for ; Mon, 20 Mar 2000 12:10:07 -0800 (PST) (envelope-from django@srv1.netcologne.de) Received: from kevelaer (dial-as58-rs1-208.netcologne.de [195.14.226.208]) by mail2.netcologne.de (8.9.3/8.9.3) with SMTP id VAA28208 for ; Mon, 20 Mar 2000 21:10:01 +0100 (MET) From: "Dirk Janssen" To: Subject: subscribe freebsd-isdn Date: Mon, 20 Mar 2000 21:14:00 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-Mimeole: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org subscribe freebsd-isdn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Fri Mar 24 10:49:51 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from news.lucky.net (news.lucky.net [193.193.193.102]) by hub.freebsd.org (Postfix) with ESMTP id B38E737B67F for ; Fri, 24 Mar 2000 10:49:27 -0800 (PST) (envelope-from slava@pi.net.ua) Received: (from mail@localhost) by news.lucky.net (8.Who.Cares/8.Who.Cares) id USY00612 for freebsd-isdn@freebsd.org; Fri, 24 Mar 2000 20:49:15 +0200 (envelope-from slava@pi.net.ua) From: "Slava Petrovski" To: freebsd-isdn@freebsd.org Subject: Teles S.0/PCI ISDN adapter Date: Fri, 24 Mar 2000 20:47:52 +0200 Organization: UTEL Message-ID: <8bgd9p$au8$1@bn.utel.com.ua> X-Trace: bn.utel.com.ua 953923705 11208 212.113.38.30 (24 Mar 2000 18:48:25 GMT) X-Complaints-To: postmaster@utel.net.ua X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 19 Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! I have Teles S.0/PCI ISDN adapter. So, how can I make it work under FreeBSD 3.4. (The chip is Tiger NetJet) Thanx! -- With best regards Slava ICQ UIN: 7606002 FIDO: 2:4613/204 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Fri Mar 24 13:34:24 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from hcshh.hcs.de (hcshh.hcs.de [194.123.40.1]) by hub.freebsd.org (Postfix) with SMTP id 0959F37BB8B for ; Fri, 24 Mar 2000 13:34:21 -0800 (PST) (envelope-from hm@hcs.de) Received: from hcswork.hcs.de([192.76.124.5]) (1415 bytes) by hcshh.hcs.de via sendmail with P:smtp/R:inet_hosts/T:smtp (sender: ) id for ; Fri, 24 Mar 2000 22:34:08 +0100 (CET) (Smail-3.2.0.104 1998-Nov-20 #1 built 1998-Dec-11) Received: by hcswork.hcs.de (Postfix, from userid 200) id 5449C1D5; Fri, 24 Mar 2000 22:34:10 +0100 (MET) Subject: Re: Teles S.0/PCI ISDN adapter In-Reply-To: <8bgd9p$au8$1@bn.utel.com.ua> from Slava Petrovski at "Mar 24, 0 08:47:52 pm" To: slava@pi.net.ua (Slava Petrovski) Date: Fri, 24 Mar 2000 22:34:09 +0100 (MET) Cc: freebsd-isdn@FreeBSD.ORG Reply-To: hm@hcs.de Organization: HCS Hanseatischer Computerservice GmbH X-Mailer: ELM [version 2.4ME+ PL39 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 579 Message-Id: <20000324213410.5449C1D5@hcswork.hcs.de> From: hm@hcs.de (Hellmuth Michaelis) Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org From the keyboard of Slava Petrovski: > > I have Teles S.0/PCI ISDN adapter. So, how can I make it work > under FreeBSD 3.4. (The chip is Tiger NetJet) I already asked Tiger how to get hold of databooks for one of their chips - no answer. hellmuth -- Hellmuth Michaelis Tel +49 40 55 97 47-70 HCS Hanseatischer Computerservice GmbH Fax +49 40 55 97 47-77 Oldesloer Strasse 97-99 Mail hm [at] hcs.de D-22457 Hamburg WWW http://www.hcs.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message