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         = "<unknown> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to