From owner-freebsd-questions Tue Dec 4 22:14:41 2001 Delivered-To: freebsd-questions@freebsd.org Received: from wombat.bytecraft.au.com (wombat.bytecraft.au.com [203.39.118.3]) by hub.freebsd.org (Postfix) with ESMTP id 7838C37B417 for ; Tue, 4 Dec 2001 22:14:37 -0800 (PST) Received: from lt99101401 (unknown [203.39.118.66]) by wombat.bytecraft.au.com (Postfix) with SMTP id B1D953F79; Wed, 5 Dec 2001 17:14:33 +1100 (EST) Message-ID: <007f01c17d54$19f201e0$2a7627cb@lt99101401> Reply-To: "MurrayTaylor" From: "MurrayTaylor" To: Cc: "Archie Cobbs" , "Julian Elischer" Subject: netgraph frame relay Date: Wed, 5 Dec 2001 17:13:32 +1100 Organization: Bytecraft Systems MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am getting these errors when trying to get a third framerelay link setup here sr0: transmit failed, ST0 00, ST1 50, ST3 07, DSR 03. Please explain what these error codes mean, and what may be causing them... me or the telco I am using (again) the Imagestream WanIC 405 card as I have been using on the previous two installs. this is the start_if.ng0 file # $Id: start_if.ng0,v 1.1 2001/05/07 01:30:47 root Exp $ ############################################## # RCS controlled file # # # # Must check out this file to modify it # # co -l start_if.ng0 # # # # Must check in this file when edits done # # ci -u start_if.ng0 # # # ############################################## # script to set up a frame relay link on the sr card. # The dlci used is selected below. The default is 16 # we use 17 here CARD=sync_sr0 DLCI=17 # create a frame_relay type node and attach it to the sync port. ngctl mkpeer ${CARD}: frame_relay rawdata downstream # Attach the dlci output of the (de)multiplexor to a new # Link management protocol node. ngctl mkpeer ${CARD}:rawdata lmi dlci0 annexD # Attach the DLCI(channel) the Telco has assigned you to # a node to hadle whatever protocol encapsulation your peer # is using. In this case rfc1490 encapsulation. ngctl mkpeer ${CARD}:rawdata rfc1490 dlci${DLCI} downstream # Attach the ip (inet) protocol output of the protocol mux to the ip (inet) # input of a netgraph "interface" node (ifconfig should show it as "ng0"). #if interface ng0 needs to be created use a mkpeer command.. e.g. ngctl mkpeer ${CARD}:rawdata.dlci${DLCI} iface inet inet cheers Murray Taylor Bytecraft Systems Pty Ltd email: murraytaylor@bytecraftsystems.com web(s): www.bytecraftsystems.com www.bytecraftentertainment.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message