From owner-freebsd-questions Sun Jul 14 23:17: 6 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3442A37B400 for ; Sun, 14 Jul 2002 23:16:59 -0700 (PDT) Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC34E43E5E for ; Sun, 14 Jul 2002 23:16:57 -0700 (PDT) (envelope-from martin.kahlert@infineon.com) Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by david.siemens.de (8.11.6/8.11.6) with ESMTP id g6F6GuM28059 for ; Mon, 15 Jul 2002 08:16:57 +0200 (MEST) Received: from mail-l.muc.infineon.com (mail-l.muc.infineon.com [172.29.174.210]) by mail1.siemens.de (8.11.6/8.11.6) with ESMTP id g6F6Guj23279 for ; Mon, 15 Jul 2002 08:16:56 +0200 (MEST) Received: from keksy.muc.infineon.com (keksy [172.29.174.218]) by mail-l.muc.infineon.com with ESMTP id g6F6GuGk015577 for ; Mon, 15 Jul 2002 08:16:56 +0200 (MET DST) Received: (from kahlert@localhost) by keksy.muc.infineon.com (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) id g6F6Gtf06214 for freebsd-questions@FreeBSD.org; Mon, 15 Jul 2002 08:16:55 +0200 Date: Mon, 15 Jul 2002 08:16:55 +0200 From: Martin Kahlert To: freebsd-questions@FreeBSD.org Subject: I can only send 30 packackes through my ISDN connection Message-ID: <20020715081655.A6201@keksy.muc.infineon.com> Reply-To: martin.kahlert@infineon.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 Hi! I want to switch from my old Linux (AXP) box to FreeBSD and installed Release 4.6 on a new PC (Pentium 4). My goal is to go for a less painful upgrade -- did you ever upgrade a SuSE installation? Nearly everything went smooth - even X11. Unfortunately i have a big problem with my internet connection using usermode ppp and ISDN. I have an AVM Fritz PCI v2.0 card (ifpi2 driver). It sort of works, but i can only send about 30 packages. After that, the connection is dead. I tested it with 'ping 62.155.254.208' (the DNS server of my ISP T-Online). After issuing the command, i have to wait for the dial in, then about 30 packages come through without any problem, after that the output stops and i see messages like that on the first console: Jul 14 20:22:16 keksy /kernel: i4b-L1 timer3_expired: state = F4 Awaiting Signal Jul 14 20:22:16 keksy /kernel: ifpi2_recover 0 Jul 14 20:22:16 keksy /kernel: i4b-L2 i4b_mph_status_ind: unit 0, cannot access S0 bus! Jul 14 20:22:16 keksy /kernel: i4b-L3 i4b_mdl_status_ind: STI_NOL1ACC: unit 0 no outgoing access to S0 Jul 14 20:22:18 keksy /kernel: i4b: unit 0, assigned TEI = 92 = 0x5c Jul 14 20:22:19 keksy /kernel: i4b-L2 i4b_mdl_error_ind: unit = 0, location = F_MF07 Jul 14 20:22:19 keksy /kernel: i4b-L2 i4b_mdl_error_ind: error = MDL_ERR_F: peer initiated re-establishment - SABME Jul 14 20:22:19 keksy /kernel: i4b-L2 i4b_i_frame_queued_up: ERROR, mbuf NULL after IF_DEQUEUE Jul 14 20:22:19 keksy /kernel: i4b-L1 timer3_expired: state = F4 Awaiting Signal Jul 14 20:22:19 keksy /kernel: ifpi2_recover 0 Jul 14 20:22:21 keksy /kernel: i4b-L3 T303_timeout: SETUP not answered, cr = 111 Jul 14 20:22:21 keksy /kernel: i4b-L1 ifpi2_ph_data_req: still in state F3! Jul 14 20:22:21 keksy isdnd[134]: ERR set_channel_busy: controller [0] invalid channel [-1]! Jul 14 20:22:23 keksy /kernel: i4b-L1 timer3_expired: state = F4 Awaiting Signal Jul 14 20:22:23 keksy /kernel: ifpi2_recover 0 Jul 14 20:22:27 keksy /kernel: i4b-L1 ifpi2_ph_data_req: still in state F3! Jul 14 20:22:27 keksy isdnd[134]: ERR set_channel_busy: controller [0] invalid channel [-1]! Jul 14 20:22:29 keksy /kernel: i4b-L1 timer3_expired: state = F4 Awaiting Signal Jul 14 20:22:29 keksy /kernel: ifpi2_recover 0 Jul 14 20:22:37 keksy /kernel: i4b-L1 ifpi2_ph_data_req: still in state F3! Jul 14 20:22:37 keksy isdnd[134]: ERR set_channel_busy: controller [0] invalid channel [-1]! I assume i made a silly mistake so please give me some advice. First i thought, some IP packages from previous connections hang around at T-Online and i have to get rid of them so i used a firewall script. But the problem is still present. Please have a look at my configuration files and tell me any strange entries, too: $ cat /etc/isdn/isdnd.rc system acctall = on # generate info for everything acctfile = /var/log/isdnd.acct # name & location of accounting file useacctfile = yes # generate accouting info to file monitor-allowed = on # global switch: monitor on/off monitor-port = 451 # default monitor TCP port monitor = "/var/run/isdn-monitor" monitor-access = fullcmd monitor-access = channelstate, logevents monitor-access = callin, callout monitor = "127.0.0.1" monitor-access = restrictedcmd, channelstate, callin, callout monitor = "127.0.0.1/8" monitor-access = restrictedcmd, channelstate, callin, callout monitor = "keksy" monitor-access = restrictedcmd, channelstate, callin, callout ratesfile = /etc/isdn/isdnd.rates.D # name & location of rates file regexpr = " incoming call from" regprog = unknown_incoming # execute program whan match is found rtprio = 25 # modify isdnd's process priority #============================================================================== # entry section: PPP example #============================================================================== entry name = userppp0 usrdevicename = rbch usrdeviceunit = 0 isdncontroller = 0 isdnchannel = -1 direction = out local-phone-incoming = * remote-phone-incoming = * local-phone-dialout = 998673 remote-phone-dialout = 0191011 remdial-handling = first dialin-reaction = ignore dialout-type = normal b1protocol = hdlc ratetype = 0 unitlength = 0 unitlengthsrc = aocd idletime-incoming = 120 idletime-outgoing = 40 earlyhangup = 5 dialretries = 3 dialrandincr = on recoverytime = 5 usedown = off downtries = 5 downtime = 30 $ cat /etc/hosts ::1 localhost localhost.my.domain 127.0.0.1 localhost localhost.my.domain 192.168.2.1 keksy.kahlert.de keksy 192.169.3.2 ptppartner.t-online.de $ cat /etc/rc.conf check_quotas="NO" firewall_enable="YES" firewall_script="/etc/firewall/xl" gateway_enable="YES" hostname="keksy.kahlert.de" kern_securelevel_enable="NO" keymap="german.iso" linux_enable="YES" moused_enable="YES" nfs_reserved_port_only="YES" sendmail_enable="YES" sshd_enable="YES" usbd_enable="YES" $ cat /etc/firewall/xl net="192.168.2.0" mask="255.255.255.0" ip="192.168.2.1" fwcmd="/sbin/ipfw" # allow ping ${fwcmd} add pass icmp from any to any #local ${fwcmd} add pass all from any to any via lo0 ${fwcmd} add deny all from any to 127.0.0.0/8 # Allow any traffic to or from my own net ${fwcmd} add pass all from ${ip} to ${net}:${mask} ${fwcmd} add pass all from ${net}:${mask} to ${ip} # Allow setup of outgoing TCP connections only ${ipfwd} add check-state ${fwcmd} add deny tcp from any to any established ${fwcmd} add pass tcp from ${ip} to any setup keep-state ${fwcmd} add pass tcp from ${net}:${mask} to any setup keep-state # Allow IP fragments to pass through ${fwcmd} add pass log all from any to any frag # Allow dns ${fwcmd} add pass udp from any 53 to any ${fwcmd} add pass udp from any to any 53 # no connect from outside via ppp ${fwcmd} add deny tcp from any to any 1-65535 in setup via tun0 ${fwcmd} add pass tcp from any to any out via tun0 # Everything else is denied by default $ cat /etc/ppp/ppp.conf default: set phone "0191011" set authname "I will not tell you" set authkey "this, sorry" set timeout 60 300 set login set hangup set device /dev/i4brbch0 set speed sync enable dns set ifaddr 192.169.3.1/0 192.169.3.2/0 add! default HISADDR set server /var/tmp/ppp-isdn-address "" 0177 Thanks for any hints in advance Martin. -- The early bird catches the worm. If you want something else for breakfast, get up later. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message