Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2003 13:52:21 +0100
From:      Volker <Volker@VWSoft.com>
To:        freebsd-isdn@FreeBSD.ORG
Subject:   i4b newbie questions: debugging and pppd
Message-ID:  <5.1.0.14.2.20030112235119.04e3ade0@mail.vwsoft.com>

next in thread | raw e-mail | index | archive | help
Hi folks!

I'm new to this list (and of course new with i4b - there's a lot of stuff 
left for me to learn about).

I've installed i4b a few weeks ago using FreeBSD 4.7-stable. I was getting 
it to work successfully. I guess my kind of questions has been asked 
several times here at the list (but I was unable to get an answer from the 
mailing archives).

To not have anybody bored here with in detail questions (same old boring 
newbie questions, isn't it? *s*) I'm wondering if someone might be able to 
give me a pointer or two (really appreciated!!) for some things (instead of 
creating a time consuming message - but if somebody takes the time, it's 
also appreciated).

1) I've been able to setup a PPP dial-out using userland PPP but that's not 
my preference. I would like to get it working using kernel PPP(d) or using 
the isp? network interfaces (as I suspect a userland PPP to work slower 
than the isp drivers).

Using kernel PPP as far as I understand I'm unable to set the number to 
dial anywhere but in the isdnd.rc file (using userland PPP I'm using the 
command 'set phone 12345' to set the number to be dialed) - using kernel 
PPP I have to configure this number in isdnd.rc and can't change it on the 
fly, am I wrong?? Has anybody have an example on how to use kernel PPP with 
i4b or isn't kernel PPP with i4b possible at all??

2) Is someone able to give me a good pointer on how to debug the 
authentication using the isp? network interfaces? I know it's boring to 
investigate someone else's debug logs so I would like to do it but my 
knowledge is far away from being of any use for that.

I've already tried to debug but again, I'm missing something. My log says:

Jan 17 15:45:43 bellona /kernel: Jan 17 15:45:42 bellona /kernel: isp4: lcp 
inpu
t(req-sent): <conf-req id=0x1 len=36 
01-04-05-dc-03-05-c2-23-05-05-06-09-6a-29-0
f-07-02-08-02-11-04-05-e2-13-09-03-00-10-bc-0a-1c-00>
Jan 17 15:45:44 bellona /kernel: Jan 17 15:45:42 bellona /kernel: isp4: lcp 
pars
e opts:  mru  auth-proto  magic  proto-comp [rej]  addr-comp 
[rej]  lcp/0x11 [re
j]  lcp/0x13 [rej]  send conf-rej
Jan 17 15:45:44 bellona /kernel: Jan 17 15:45:42 bellona /kernel: isp4: lcp 
outp
ut <conf-rej id=0x1 len=21 07-02-08-02-11-04-05-e2-13-09-03-00-10-bc-0a-1c-00>
Jan 17 15:45:44 bellona /kernel: Jan 17 15:45:42 bellona /kernel: isp4: lcp 
inpu
t(ack-rcvd): <conf-req id=0x2 len=19 
01-04-05-dc-03-05-c2-23-05-05-06-09-6a-29-0
f>
Jan 17 15:45:45 bellona /kernel: Jan 17 15:45:42 bellona /kernel: isp4: lcp 
pars
e opts:  mru  auth-proto  magic

until here, everything looks fine (I think) but the following goes in a 
loop until one side gives up and breaks the connection:

Jan 17 15:45:45 bellona /kernel: Jan 17 15:45:43 bellona /kernel: isp4: 
ipcp inp
ut(ack-rcvd): <conf-req id=0x3 len=10 02-06-00-2d-0f-00>
Jan 17 15:45:46 bellona /kernel: Jan 17 15:45:44 bellona /kernel: isp4: 
ipcp out
put <conf-nak id=0x6 len=10 03-06-00-00-00-01>

and a bit later (also looping):
Jan 17 15:45:52 bellona /kernel: Jan 17 15:45:50 bellona /kernel: isp4: 
ipcp par
se opt values:  compression VJ [ack] still need hisaddr  send conf-nak

As far as I understand the output, the address negotiation fails and i4b 
wants to know the remotes' IP address.

Maybe my problem is also somewhat related to the routing information I'm 
trying to use. I'm using ifconfig ispX 0.0.0.0 0.0.0.1 netmask 0xffffffff 
to get the dynamic IP address from my ISP (this one is working) and later 
setting a default route to 0.0.0.1 - using an IP address of 10.1.1.1 for 
example as the gateway address also didn't work, so I'm still trying with 
0.0.0.1. I just tried that because my ISP is using dynamic IP addresses and 
also I don't know the gateway address before dialing up.

Any hints on how to debug this problem??

3) No autodial: when using 'ifconfig .... -link1' i4b is in auto-dial 
(dial-on-demand) mode. What if I want to control this manually (no dial on 
demand)? Will I be able to specify '-link0' and set the interface up and 
down for dialing / disconnecting or what else has to be done to control 
dialing??

4) Fax blues: I'm using a passive AVM Fritz!Card PCI. I was reading while 
not having a CAPI driver / subsystem, I won't have fax support (I know G3 
is a lot a calculation and D/A operation while using digital devices). 
There's a driver i4bcapi for the B1, does this mean that when using a B1 
one might have fax capabilities? If so, would the capi4hylafax (AVM) work 
under i4b? Has anybody tested that?

I really need fax support and don't want to throw in a modem just for the 
faxing stuff, so I'm looking for alternatives. Does anybody here tried to 
get capi4linux (AVM) to work under bsd? Would it be possible to have a 
ported capi4linux and i4b on the same machine??

What are my options for faxing?

Thanks to anyone who will take a few minutes to answer my questions!

Volker



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?5.1.0.14.2.20030112235119.04e3ade0>