Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Aug 2000 01:15:36 +0200
From:      matteotti <carloma@bluewin.ch>
To:        freebsd-questions@FreeBSD.ORG
Subject:   PPP / ISDN
Message-ID:  <3988AB98.9F3AFA94@bluewin.ch>

next in thread | raw e-mail | index | archive | help
Hello,

I managed to dial into my ISP via ppp over ISDN somehow.
Since my experience with ISDN is smaller than epsilon I am a little
confused about the following observations:

The ppp connection seems very unstable in the sense that  the outgoing
calls are disconnected and after some  seconds dialling out is again
performed.  There is no connection which is stable for more than few
seconds (I had a connecton for nearly two minutes once, but the
transferrate was comparable to the rate obtained by a simple modem
connection!).
There are tons of messages of the following type in /var/log/messages
which do not say much to me.

I would be glad if somebody could give me some idea of what could be
wrong with my setup.
Thanks in advance and best regards,
Carlo

**********************************   from /var/log/messages
*************************************************
.........................
........................
 Aug  3 00:20:54 carlo isdnd[330]: DMN date/time from exchange =
0008030022
Aug  3 00:21:00 carlo routed[134]: IP_ADD_MEMBERSHIP ALLHOSTS: Address
already in use
Aug  3 00:21:00 carlo routed[134]: setsockopt(IP_ADD_MEMBERSHIP RIP):
Address already in use
Aug  3 00:21:58 carlo /kernel: i4b-L4-i4b_l4_setup_timeout: 965254918:
ERROR: idletime[900]+earlyhup[5] > unitlength[60]!
Aug  3 00:21:58 carlo isdnd[330]: DMN date/time from exchange =
0008030023
Aug  3 00:22:04 carlo routed[134]: IP_ADD_MEMBERSHIP ALLHOSTS: Address
already in use
Aug  3 00:22:04 carlo routed[134]: setsockopt(IP_ADD_MEMBERSHIP RIP):
Address already in use
Aug  3 00:22:52 carlo /kernel: i4b-L4-i4b_l4_setup_timeout: 965254972:
ERROR: idletime[900]+earlyhup[5] > unitlength[60]!
Aug  3 00:22:52 carlo isdnd[330]: DMN date/time from exchange =
0008030024
Aug  3 00:22:58 carlo routed[134]: IP_ADD_MEMBERSHIP ALLHOSTS: Address
already in use
Aug  3 00:22:58 carlo routed[134]: setsockopt(IP_ADD_MEMBERSHIP RIP):
Address already in use
Aug  3 00:23:49 carlo /kernel: i4b-L4-i4b_l4_setup_timeout: 965255029:
ERROR: idletime[900]+earlyhup[5] > unitlength[60]!
Aug  3 00:23:49 carlo isdnd[330]: DMN date/time from exchange =
0008030025
Aug  3 00:23:54 carlo routed[134]: IP_ADD_MEMBERSHIP ALLHOSTS: Address
already in use
Aug  3 00:23:54 carlo routed[134]: setsockopt(IP_ADD_MEMBERSHIP RIP):
Address already in use
Aug  3 00:24:43 carlo /kernel: i4b-L4-i4b_l4_setup_timeout: 965255083:
ERROR: idletime[900]+earlyhup[5] > unitlength[60]!
Aug  3 00:24:44 carlo isdnd[330]: DMN date/time from exchange =
0008030026
Aug  3 00:24:49 carlo routed[134]: IP_ADD_MEMBERSHIP ALLHOSTS: Address
already in use
Aug  3 00:24:49 carlo routed[134]: setsockopt(IP_ADD_MEMBERSHIP RIP):
Address already in use
Aug  3 00:26:20 carlo /kernel: i4b-L4-i4b_l4_setup_timeout: 965255180:
ERROR: idletime[900]+earlyhup[5] > unitlength[60]!
Aug  3 00:26:20 carlo isdnd[330]: DMN date/time from exchange =
0008030027
Aug  3 00:26:25 carlo routed[134]: IP_ADD_MEMBERSHIP ALLHOSTS: Address
already in use
Aug  3 00:26:25 carlo routed[134]: setsockopt(IP_ADD_MEMBERSHIP RIP):
Address already in use
Aug  3 00:27:14 carlo /kernel: i4b-L4-i4b_l4_setup_timeout: 965255234:
ERROR: idletime[900]+earlyhup[5] > unitlength[60]!
Aug  3 00:27:14 carlo isdnd[330]: DMN date/time from exchange =
0008030028
Aug  3 00:27:19 carlo routed[134]: IP_ADD_MEMBERSHIP ALLHOSTS: Address
already in use
Aug  3 00:27:19 carlo routed[134]: setsockopt(IP_ADD_MEMBERSHIP RIP):
Address already in use
Aug  3 00:28:18 carlo /kernel: i4b-L4-i4b_l4_setup_timeout: 965255297:
ERROR: idletime[900]+earlyhup[5] > unitlength[60]!
Aug  3 00:28:18 carlo isdnd[330]: DMN date/time from exchange =
0008030029
Aug  3 00:28:23 carlo routed[134]: IP_ADD_MEMBERSHIP ALLHOSTS: Address
already in use
Aug  3 00:28:23 carlo routed[134]: setsockopt(IP_ADD_MEMBERSHIP RIP):
Address already in use
.....................
.....................
...................
********************************************************************************************************************

I have also the isdnd-logfile messages which are not very enlightening
either for me:

*********************************************************************************************************************

03.08.2000 00:28:02 CHD 00016 userppp0 outgoing call disconnected
(remote)
03.08.2000 00:28:02 CHD 00016 userppp0 cause 16: Normal call clearing
(Q.850)
03.08.2000 00:28:02 CHD 00016 userppp0 charging: 0 units, 48 seconds
03.08.2000 00:28:02 CHD 00016 userppp0 accounting: in 388, out 1858
03.08.2000 00:28:16 CHD 00017 userppp0 rate 60 sec/unit (no ratefile)
03.08.2000 00:28:16 CHD 00017 userppp0 dialing out from 9724994 to
0840840111
03.08.2000 00:28:16 CHD 00017 userppp0 outgoing call proceeding (ctl 0,
ch 0)
03.08.2000 00:28:18 CHD 00017 userppp0 outgoing call active (ctl 0, ch
0, rbch0
03.08.2000 00:28:18 DMN date/time from exchange = 0008030029
03.08.2000 00:28:27 CHD 00017 userppp0 outgoing call disconnected
(local)
03.08.2000 00:28:27 CHD 00017 userppp0 cause 0: normal call clearing
(I4B)
03.08.2000 00:28:27 CHD 00017 userppp0 charging: 0 units, 9 seconds
03.08.2000 00:28:27 CHD 00017 userppp0 accounting: in 328, out 478
********************************************************************************************************************

My /etc/ppp/ppp.conf contains the following isdn-section which is just
adapted from /usr/share/examples/ppp/ppp.conf.isdn


********************************************************************************************************************

isdn:
 # Replace this with your ISPs phone number
 set phone xxxxxxxx

 # Replace these with your login name & password.  This profile assumes
 # you're using PAP or CHAP.
 set authname zzzzzzzzzzzzz
 set authkey yx09cv8743zt 8sdt :-)

 # Assuming you have a LAN:
 set enddisc mac

 enable lqr
 set reconnect 3 5
 set redial 3 10
 set lqrperiod 45
 disable pred1 deflate
 deny pred1 deflate

 # Our minimum charge period is 5 minutes, so don't hangup before then
 set timeout 60 300

 # We have no chat scripts in the ISDN world (yet)
 set dial
 set login
 set hangup

 # Use the raw B-channel devices
 set device /dev/i4brbch0 /dev/i4brbch1
 set speed sync
 set bandwidth 65536

 # How long does it take to connect with ISDN ?
 link * set cd 6

 # Ask the peer what to put in resolv.conf
 enable dns

 # Take a wild guess and let the other side decide
 set ifaddr 10.0.0.1/0 10.0.0.2/0
 add! default hisaddr

 # Multilink mode please
 set mrru 1500

 # Two new links
 clone 1,2

 # And get rid of the old one with the crusty name
 link deflink rm

 # Automatically manage the second link
 link * set mode auto
 set autoload 10 100 30

******************************************************************************************







To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3988AB98.9F3AFA94>