From owner-freebsd-isdn@FreeBSD.ORG Sun Apr 13 23:20:16 2003 Return-Path: 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 B27C937B40F for ; Sun, 13 Apr 2003 23:20:16 -0700 (PDT) Received: from smtp.web.de (smtp01.web.de [217.72.192.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C0A443FBD for ; Sun, 13 Apr 2003 23:20:15 -0700 (PDT) (envelope-from Jan.Lentfer@web.de) Received: from [213.157.1.154] (helo=floundjan.homeip.net) by smtp.web.de with esmtp (WEB.DE(Exim) 4.97 #53) id 194xK8-00088b-00 for freebsd-isdn@freebsd.org; Mon, 14 Apr 2003 08:20:12 +0200 Received: from localhost (localhost.lan [127.0.0.1]) by floundjan.homeip.net (Postfix on FreeBSD 4.5) with ESMTP id 30AD684 for ; Mon, 14 Apr 2003 08:20:11 +0200 (CEST) Received: from localhost.localdomain (jan-linnb.lan [192.168.0.25]) by floundjan.homeip.net (Postfix on FreeBSD 4.5) with ESMTP id B73E17C for ; Mon, 14 Apr 2003 08:20:06 +0200 (CEST) From: Jan Lentfer To: freebsd-isdn@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Mailer: Ximian Evolution 1.0.5 Date: 14 Apr 2003 08:20:05 +0200 Message-Id: <1050301205.599.18.camel@jan-linnb> Mime-Version: 1.0 X-Virus-Scanned: by AMaViS perl-10 Sender: Jan.Lentfer@web.de Subject: Multi-link with userland ppp X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Apr 2003 06:20:18 -0000 Hi list, I am using FreeBSD for about 2 years, since 6 Month I am using a i4b as uplink. The last few days =CD tried to configure multi-link connection / channel bonding to my ISP (which according to their FAQ is supported). I used the ppp.conf from /usr/share/examples. When I now start ppp I get the following warnings (log was recorded when autoload was set to "0 0 1"): --------------------------------------------------------------------- Apr 14 07:54:17 freebsd-server ppp[662]: Phase: Using interface: tun0=20 Apr 14 07:54:17 freebsd-server ppp[662]: Phase: deflink: Created in closed state=20 Apr 14 07:54:17 freebsd-server ppp[662]: Phase: 1: Cloned in closed state=20 Apr 14 07:54:17 freebsd-server ppp[662]: Phase: 2: Cloned in closed state=20 Apr 14 07:54:17 freebsd-server ppp[662]: Warning: set phone: No context (use the `link' command)=20 Apr 14 07:54:17 freebsd-server ppp[662]: Warning: set phone: Failed 1=20 Apr 14 07:54:17 freebsd-server ppp[662]: Warning: enable lqr: No context (use the `link' command)=20 Apr 14 07:54:17 freebsd-server ppp[662]: Warning: enable lqr: Failed 1=20 Apr 14 07:54:17 freebsd-server ppp[662]: Warning: set reconnect: No context (use the `link' command)=20 Apr 14 07:54:17 freebsd-server ppp[662]: Warning: set reconnect: Failed 1=20 Apr 14 07:54:17 freebsd-server ppp[662]: Warning: set redial: No context (use the `link' command)=20 Apr 14 07:54:17 freebsd-server ppp[662]: Warning: set redial: Failed 1=20 Apr 14 07:54:17 freebsd-server ppp[662]: Warning: set dial: No context (use the `link' command)=20 Apr 14 07:54:17 freebsd-server ppp[662]: Warning: set dial: Failed 1=20 Apr 14 07:54:17 freebsd-server ppp[662]: Warning: set login: No context (use the `link' command)=20 Apr 14 07:54:17 freebsd-server ppp[662]: Warning: set login: Failed 1=20 Apr 14 07:54:17 freebsd-server ppp[662]: Warning: set logout: No context (use the `link' command)=20 Apr 14 07:54:17 freebsd-server ppp[662]: Warning: set logout: Failed 1=20 Apr 14 07:54:17 freebsd-server ppp[662]: Warning: set hangup: No context (use the `link' command)=20 Apr 14 07:54:17 freebsd-server ppp[662]: Warning: set hangup: Failed 1=20 Apr 14 07:54:17 freebsd-server ppp[662]: Warning: set device: No context (use the `link' command)=20 Apr 14 07:54:17 freebsd-server ppp[662]: Warning: set device: Failed 1=20 Apr 14 07:54:17 freebsd-server ppp[662]: Warning: set speed: No context (use the `link' command)=20 Apr 14 07:54:17 freebsd-server ppp[662]: Warning: set speed: Failed 1=20 Apr 14 07:54:17 freebsd-server ppp[662]: Warning: set mru: No context (use the `link' command)=20 Apr 14 07:54:17 freebsd-server ppp[662]: Warning: set mru: Failed 1=20 Apr 14 07:54:17 freebsd-server ppp[662]: Warning: clone: No context (use the `link' command)=20 Apr 14 07:54:17 freebsd-server ppp[662]: Warning: clone: Failed 1=20 Apr 14 07:54:17 freebsd-server ppp[662]: Warning: link: deflink: Invalid link name=20 Apr 14 07:54:17 freebsd-server ppp[662]: Warning: link: Failed 1=20 Apr 14 07:54:17 freebsd-server ppp[663]: Phase: PPP Started (ddial mode).=20 Apr 14 07:54:41 freebsd-server ppp[663]: Phase: bundle: Establish=20 Apr 14 07:54:41 freebsd-server ppp[663]: Phase: 1: closed -> opening=20 Apr 14 07:54:41 freebsd-server ppp[663]: Phase: 1: Connected!=20 Apr 14 07:54:41 freebsd-server ppp[663]: Phase: 1: opening -> dial=20 Apr 14 07:54:41 freebsd-server ppp[663]: Phase: 1: dial -> carrier=20 Apr 14 07:54:42 freebsd-server ppp[663]: Phase: 1: /dev/i4brbch0: CD detected=20 Apr 14 07:54:42 freebsd-server ppp[663]: Phase: 1: carrier -> login=20 Apr 14 07:54:42 freebsd-server ppp[663]: Phase: 1: login -> lcp=20 Apr 14 07:54:43 freebsd-server ppp[663]: Phase: bundle: Authenticate=20 Apr 14 07:54:43 freebsd-server ppp[663]: Phase: 1: his =3D CHAP 0x05, mine =3D none=20 Apr 14 07:54:43 freebsd-server ppp[663]: Phase: Chap Input: CHALLENGE (16 bytes from ci7010)=20 Apr 14 07:54:43 freebsd-server ppp[663]: Phase: Chap Output: RESPONSE (MN1004338-000)=20 Apr 14 07:54:44 freebsd-server ppp[663]: Phase: Chap Input: SUCCESS=20 Apr 14 07:54:44 freebsd-server ppp[663]: Phase: 1: lcp -> open=20 Apr 14 07:54:44 freebsd-server ppp[663]: Phase: bundle: Network=20 Apr 14 07:54:45 freebsd-server ppp[663]: Phase: 0% saturation -> Opening link ``2''=20 Apr 14 07:54:45 freebsd-server ppp[663]: Phase: 2: closed -> opening=20 Apr 14 07:54:45 freebsd-server ppp[663]: Phase: 2: /dev/i4brbch0 is in use=20 Apr 14 07:54:45 freebsd-server ppp[663]: Phase: 2: Connected!=20 Apr 14 07:54:45 freebsd-server ppp[663]: Phase: 2: opening -> dial=20 Apr 14 07:54:45 freebsd-server ppp[663]: Phase: 2: dial -> carrier=20 Apr 14 07:54:46 freebsd-server ppp[663]: Phase: 2: /dev/i4brbch1: CD detected=20 Apr 14 07:54:46 freebsd-server ppp[663]: Phase: 2: carrier -> login=20 Apr 14 07:54:46 freebsd-server ppp[663]: Phase: 2: login -> lcp=20 Apr 14 07:54:47 freebsd-server ppp[663]: Phase: 2: his =3D CHAP 0x05, mine =3D none=20 Apr 14 07:54:47 freebsd-server ppp[663]: Phase: Chap Input: CHALLENGE (16 bytes from stack)=20 Apr 14 07:54:47 freebsd-server ppp[663]: Phase: Chap Output: RESPONSE (MN1004338-000)=20 Apr 14 07:54:47 freebsd-server ppp[663]: Phase: Chap Input: SUCCESS=20 Apr 14 07:54:47 freebsd-server ppp[663]: Phase: 2: Already in NETWORK phase=20 Apr 14 07:54:47 freebsd-server ppp[663]: Phase: 2: lcp -> open=20 Apr 14 07:54:57 freebsd-server ppp[663]: Warning: ipv4_Input: IPCP not open - packet dropped=20 Apr 14 07:55:05 freebsd-server last message repeated 11 times -------------------------------------------------------------------- This is my ppp.conf: -------------------------------------------------------------------- default: set phone 06151666768 # Replace this with your ISPs phone number set authname MyAuthname # Replace these with your login name & password. set authkey AuthKey # This profile assumes you're using PAP or CHAP. # set enddisc mac # Assuming you have a LAN enable lqr set reconnect 3 5 set redial 3 10 set lqrperiod 45 disable pred1 deflate mppe deny pred1 deflate mppe set timeout 60 300 # The minimum charge period is 5 minutes, so don't # hangup before then # We have no chat scripts in the ISDN world (yet) set dial set login set logout set hangup set device /dev/i4brbch0 /dev/i4brbch1 # Raw B-channel devices set speed sync # ISDN is synchronous # Take a wild guess at an IP number and let the other side decide set ifaddr 172.16.0.1/0 212.0.0.0/0 0 0 add! default hisaddr set mrru 1500 # Multilink mode please set mru 1504 # Room for the MP header clone 1,2 # Two new links link deflink rm # And get rid of the original one =20 link * set mode auto # Automatically manage the second link set autoload 10 80 30 # Down @10% usage, up at 80%, 30s sample ------------------------------------------------------------------------- and this is my isdnd.rc: ------------------------------------------------------------------------- # accounting # ---------- acctall =3D on # generate info for everything acctfile =3D /var/log/isdnd.acct # name & location of accounting file useacctfile =3D yes # generate accouting info to file # monitor # ------- monitor-allowed =3D yes # global switch: monitor on/off monitor-port =3D 451 # default monitor TCP port # Monitor rights are granted due to the most specific host/net spec, i.e. in=20 # the example below host 192.168.1.2 will have the rights specified on that # line, even so it belongs to net 192.168.1.0/24 as well. # # A monitor specification may either be: # # - the name of a local (UNIX-domain) socket; this MUST start with a "/" monitor =3D "/var/run/isdn-monitor"=20 monitor-access =3D fullcmd monitor-access =3D channelstate, logevents monitor-access =3D callin, callout # # - a dotted-quad host spec #monitor =3D "192.168.1.2" #monitor-access =3D restrictedcmd, channelstate, callin, callout # # - a dotted-quad net spec with "/len" (CIDR-style) netmask spec #monitor =3D "192.168.1.0/24" #monitor-access =3D restrictedcmd, channelstate, callin, callout # # - a resolveable host name #monitor =3D "rumolt" monitor-access =3D restrictedcmd, channelstate, callin, callout # # - a resolveable net name with "/len" netmask (s.a.) appended #monitor =3D "up-vision-net/24" #monitor-access =3D restrictedcmd, channelstate, callin, callout # ratesfile # --------- ratesfile =3D /etc/isdn/isdnd.rates # name & location of rates file # regular expression pattern matching # ----------------------------------- #regexpr =3D "connected.*XXX" # look for matches in log messages #regprog =3D connectXXX # execute program when match is found regexpr =3D " incoming call from" regprog =3D unknown_incoming # execute program whan match is found # realtime priority section # ------------------------- rtprio =3D 25 # modify isdnd's process priority #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D # controller section #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D #controller #firmware =3D /etc/isdn/b1.t4 # microcode for an AVM B1 controller #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D # entry section: answering machine example #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D entry =09 name =3D I4BTEL # name for reference usrdevicename =3D tel # ipr, tel, rbch usrdeviceunit =3D 0 # unit number =09 isdncontroller =3D 0 # controller to use or -1 to use any isdnchannel =3D 0 # channel (1/2) to use or 0 or -1 for any # numbers used to verify at DIAL IN local-phone-incoming =3D 899393 # this is my number remote-phone-incoming =3D * # anyone can call in =09 alert =3D 18=20 dialin-reaction =3D answer # accept, reject, ignore, answer answerprog =3D isdntel.sh # program to run b1protocol =3D raw # hdlc, raw idletime-incoming =3D 20 # 5 seconds idle timeout ## HEAG PPP ### entry name =3D HEAG=20 usrdevicename =3D rbch=20 usrdeviceunit =3D 0=20 isdncontroller =3D 0=20 isdnchannel =3D -1=20 local-phone-incoming =3D 899393=20 remote-phone-incoming =3D *=20 local-phone-dialout =3D 899393=20 remote-phone-dialout =3D 06151666768=20 remdial-handling =3D first=20 dialin-reaction =3D ignore =20 dialout-type =3D normal=20 b1protocol =3D hdlc=20 #idletime-incoming =3D 300=20 #idletime-outgoing =3D 30=20 #ratetype =3D 0=20 #unitlength =3D 90=20 #unitlengthsrc =3D rate=20 #dialretries =3D 3=20 #dialrandincr =3D off=20 #recoverytime =3D 5=20 #calledbackwait =3D 30=20 #usedown =3D off entry name =3D HEAG2 usrdevicename =3D rbch usrdeviceunit =3D 1 isdncontroller =3D 0 isdnchannel =3D -1=20 local-phone-incoming =3D 899393 remote-phone-incoming =3D * local-phone-dialout =3D 899393=20 remote-phone-dialout =3D 06151666768 remdial-handling =3D first dialin-reaction =3D accept dialout-type =3D normal b1protocol =3D hdlc #idletime-incoming =3D 300 #idletime-outgoing =3D 30 #ratetype =3D 0 #unitlength =3D 90 #unitlengthsrc =3D rate #dialretries =3D 3 #dialrandincr =3D off #recoverytime =3D 5 #calledbackwait =3D 30 #usedown =3D off ----------------------------------------------------------- With this settings the second line never comes up. Ig I change "set autoload 10 80 30" to "set autoload 0 0 1" in ppp.conf the second line becomes established, but never utilized (no traffic on this line, although the first line is utilized 100% for 10 min or more). I really need help on this, I just don't understand where the problem is. Almost forgot: The card I use is an aold ISA AVM Card (DMN init_controller_state: controller 0 is AVM A1 or Fritz!Card) Thanks a lot in advance, Jan Lentfer