Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Oct 2000 01:46:12 +0100
From:      "Eirik Apeland" <eapeland@c2i.net>
To:        "hm@hcs.de" <hm@hcs.de>
Cc:        "freebsd-isdn@FreeBSD.ORG" <freebsd-isdn@FreeBSD.ORG>, "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Setting up sppp
Message-ID:  <200010062344.BAA11463@golf.dax.net>

next in thread | raw e-mail | index | archive | help
Hi. I'm sorry, I've been away for a week so I haven't checked my mail before
today.

On Sun, 1 Oct 2000 09:45:58 +0200 (METDST), Hellmuth Michaelis wrote:

>>From the keyboard of Eirik Apeland:
>
>> The FreeBSD is dailing when I ping from my NT machine, but the other end isn't
>> answering..
>> 
>> The log from ipfw looks like this -->
>> 
>> ct  1 01:49:20 fire /kernel: ipfw: 200 Accept TCP 10.0.0.1:1227 10.0.0.10:22 in via xl0
>
>Please, _disable_ any firewall you have until you have everything
>up and running, it makes things _much_ harder than they should be!
>
>To see what is happening on the line use "tcpdump -vv -iisp0"

The only "rules" I have in the firewall is
/sbin/ipfw add divert natd all from any to any via isp0
/sbin/ipfw add pass all from any to any

A tcpdump gave me the following outpu:

su-2.03# tcpdump -vv -i isp0
tcpdump: listening on isp0
23:35:34.218269 ID-001 LCP: Configure-Request, Magic-Number=400603928, Auth-Prot PAP
                         0101 000e 0506 17e0 bb18 0304 c023
23:35:34.243783 ID-163 LCP: Configure-Request, Auth-Prot PAP, Magic-Number=2766666409, Multilink-MRRU, Multilink-ED
                         01a3 0020 0304 c023 0506 a4e7 faa9 1104
                         05f4 130e 0154 656c 6532 2d31 3238 4b62
23:35:34.244194 ID-163 LCP: Configure-Reject, Multilink-MRRU, Multilink-ED
                         04a3 0016 1104 05f4 130e 0154 656c 6532
                         2d31 3238 4b62
23:35:34.246538 ID-001 LCP: Configure-Ack, Magic-Number=400603928, Auth-Prot PAP
                         0201 000e 0506 17e0 bb18 0304 c023
23:35:34.268300 ID-164 LCP: Configure-Request, Auth-Prot PAP, Magic-Number=2766666409
                         01a4 000e 0304 c023 0506 a4e7 faa9
23:35:34.268678 ID-164 LCP: Configure-Ack, Auth-Prot PAP, Magic-Number=2766666409
                         02a4 000e 0304 c023 0506 a4e7 faa9
23:35:34.268918 ID-002 PAP: Authenticate-Request, Peer-Id=*my-userid*, Passwd=*mypassword*
                         0102 0017 0973 2d31 3333 3331 3433 0858
                         3441 2d45 482d 6e
23:35:34.500534 ID-002 PAP: Authenticate-Ack
                         0202 0005 00

<<<<<<<<< And this info I haven't written anywhere. Is this something my ISP is sending to me?  >>>>>>>>>>
23:35:34.505313 ID-001 PAP: Authenticate-Request, Peer-Id=*not-my-username!!*, Passwd=*not-my-password!!*
                         0101 001c 0b54 656c 6532 2d31 3238 4b62
                         0b74 7265 3635 6a6f 3239 6a6a
<<<<<<<<< *************************************************************************************************>>>>>>>>>>>>

23:35:34.505605 ID-001 PAP: Authenticate-Nak
                         0301 000e 0946 6169 6c65 642e 2e2e
23:35:34.505807 ID-003 LCP: Terminate-Request
                         0503 0004
23:35:34.529156 ID-003 LCP: Terminate-Ack
                         0603 0004

And here is some debug info:

Oct  1 23:35:33 fire /kernel: isp0: lcp open(initial)
Oct  1 23:35:33 fire /kernel: isp0: phase establish
Oct  1 23:35:33 fire /kernel: i4b: unit 0, assigned TEI = 90 = 0x5a
Oct  1 23:35:34 fire /kernel: isp0: Up event
Oct  1 23:35:34 fire /kernel: isp0: lcp up(starting)
Oct  1 23:35:34 fire /kernel: isp0: lcp output <conf-req id=0x1 len=14 05-06-17-e0-bb-18-03-04-c0-23>
Oct  1 23:35:34 fire /kernel: i4b-L4 i4b_l4_setup_timeout_fix_unit: 970436134: ERROR: idletime[300]+earlyhup[5] > unitlength[
Oct  1 23:35:34 fire /kernel: isp0: lcp input(req-sent): <conf-req id=0xa3 len=32 03-04-c0-23-05-06-a4-e7-fa-a9-11-04-05-f4-1
Oct  1 23:35:34 fire /kernel: isp0: lcp parse opts:  auth-proto  magic  lcp/0x11 [rej]  lcp/0x13 [rej]  send conf-rej
Oct  1 23:35:34 fire /kernel: isp0: lcp output <conf-rej id=0xa3 len=22 11-04-05-f4-13-0e-01-54-65-6c-65-32-2d-31-32-38-4b-62
Oct  1 23:35:34 fire /kernel: isp0: lcp input(req-sent): <conf-ack id=0x1 len=14 05-06-17-e0-bb-18-03-04-c0-23>
Oct  1 23:35:34 fire /kernel: isp0: lcp input(ack-rcvd): <conf-req id=0xa4 len=14 03-04-c0-23-05-06-a4-e7-fa-a9>
Oct  1 23:35:34 fire /kernel: isp0: lcp parse opts:  auth-proto  magic
Oct  1 23:35:34 fire /kernel: isp0: lcp parse opt values:  auth-proto  magic 0xa4e7faa9  send conf-ack
Oct  1 23:35:34 fire /kernel: isp0: lcp output <conf-ack id=0xa4 len=14 03-04-c0-23-05-06-a4-e7-fa-a9>
Oct  1 23:35:34 fire /kernel: isp0: lcp tlu
Oct  1 23:35:34 fire /kernel: isp0: phase authenticate
Oct  1 23:35:34 fire /kernel: isp0: pap output <req id=0x2 len=23 09-73-2d-31-33-33-33-31-34-33-08-58-34-41-2d-45-48-2d-6e>
Oct  1 23:35:34 fire /kernel: isp0: pap success
Oct  1 23:35:34 fire /kernel: isp0: pap input(req-sent) <req id=0x1 len=28 name=**not-my-username** passwd=**not-my-password**>
Oct  1 23:35:34 fire /kernel: isp0: pap output <nak id=0x1 len=14 09-46-61-69-6c-65-64-2e-2e-2e>
Oct  1 23:35:34 fire /kernel: isp0: pap tld
Oct  1 23:35:34 fire /kernel: isp0: lcp close(opened)
Oct  1 23:35:34 fire /kernel: isp0: phase terminate
Oct  1 23:35:34 fire /kernel: isp0: lcp output <term-req id=0x3 len=4>
Oct  1 23:35:34 fire /kernel: isp0: lcp input(closing): <term-ack id=0x3 len=4>
Oct  1 23:35:34 fire /kernel: isp0: phase dead
Oct  1 23:35:34 fire /kernel: isp0: lcp down(closed)
Oct  1 23:35:34 fire /kernel: isp0: Down event (carrier loss)

One thing I don't understand is why it tries to connect using multiline. What do I have to do
to set up singleline only?


>> isdnd is also complaining about something -->
>> 
>> Oct  1 01:49:18 fire /kernel: i4b-L4 i4b_l4_setup_timeout_fix_unit: 970357758: ERROR: idletime[300]+earlyhup[5] > unitlength[60]!
>
>This is an FAQ, please read the mailing list archives!

I might be stupid, but I can't get rid of this message. The only thin I want is to make the isdn
adapter drop the line after 5 minutes, so I set idletime to 300 sec. I don't think I quite understand
what earluhangup realy do. Here in Norway we get charged in real time, should I then set the unitlength to 1 sec.?

What are you folks using as idletime and earlyhangup?

Do I have to use a rate file? I realy don't have to log what every session is costing me :)

Regards
Eirik





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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010062344.BAA11463>