Date: Fri, 29 Oct 1999 20:13:21 +0200 From: Oren Sarig <sarig@bezeqint.net> To: freebsd-isdn@freebsd.org Subject: Re: AVM Fritz PCI Message-ID: <3.0.6.32.19991029201321.0079fb80@mail.bezeqint.net> In-Reply-To: <99102821380600.00495@wunderland.own> References: <3.0.6.32.19991028203458.007bf6a0@mail.bezeqint.net> <3.0.6.32.19991028162754.007bbe80@mail.bezeqint.net> <3.0.6.32.19991028203458.007bf6a0@mail.bezeqint.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Whoops, the whole problem was that the device wasn't configured for chap :) I'm using the device setup script from the i4b sources, it looks something like this (I don't have the script now, and I don't feel like rebooting into fbsd just to get it): ifconfig isp0 delete -link1 down spppcontrol isp0 myauthproto=chap myauthname=<myname> myauthsecret=<shh> hisauthproto=none ifconfig isp0 0.0.0.0 10.10.10.10 mtu 500 netmask 0xffffffff (It also has a +link1 though I removed it because I don't want it). Anyways, when I do a `ifconfig isp0 up`, isdnd running in full screen interactive mode shows it is getting connect, shows a connection, and disconnects because of "Normal disconnect" (which threw me off). Anyways, if I do `ifconfig isp0 debug` and examin the debug output, I see that when it tries to connect, there are numerous `/kernel: isp0: lcp parse opts: auth-proto [not configured] magic send conf-rej', which probably shows that the authentication protocol was not set to chap. What did I do wrong in the script for setting it to chap? I get an error about `Invalid Argument' when I type the command, but I also get it if I just type `spppcontrol isp0` or even `spppcontrol lo0`, and loopback does work. How do I set it to chap? I am attaching the debug output if it might help you. TIA for your help. -- Oren Sarig sarig@isdn.net.il -- At 21:33 28/10/99 +0200, Klaus Herrmann wrote: >hmm, you might want to try the debug option to see whether you really get >connected or not. you will see if the output looks like a good dial-in with >successful pap/chap authentification. if so, try nslookup to see if your pc -- Attachment: part of /var/log/messages Oct 29 19:59:19 /kernel: isp0: lcp close(initial) Oct 29 19:59:19 /kernel: isp0: lcp open(initial) Oct 29 19:59:19 /kernel: isp0: phase establish Oct 29 19:59:21 /kernel: isp0: lcp up(starting) Oct 29 19:59:21 /kernel: isp0: lcp output <conf-req id=0x4 len=10 05-06-52-28-77-67> Oct 29 19:59:23 /kernel: isp0: lcp input(req-sent): <conf-req id=0x19 len=36 03-05-c2-23-05-05-06-61-7c-d3-7a-11-04-05-f4-13-11-01-77-68-61-74-72-65-6d-6f-74-65-73-65-65-73> Oct 29 19:59:23 /kernel: isp0: lcp parse opts: auth-proto [not configured] magic lcp/0x11 [rej] lcp/0x13 [rej] send conf-rej Oct 29 19:59:23 /kernel: isp0: lcp output <conf-rej id=0x19 len=30 03-05-c2-23-05-11-04-05-f4-13-11-01-77-68-61-74-72-65-6d-6f-74-65-73-65-65-73> Oct 29 19:59:23 /kernel: isp0: lcp input(req-sent): <conf-req id=0x1a len=14 03-04-c0-23-05-06-61-7c-d3-7a> Oct 29 19:59:23 /kernel: isp0: lcp parse opts: auth-proto [not configured] magic send conf-rej Oct 29 19:59:23 /kernel: isp0: lcp output <conf-rej id=0x1a len=8 03-04-c0-23> Oct 29 19:59:23 /kernel: isp0: lcp input(req-sent): <conf-req id=0x1b len=15 03-05-c2-23-05-05-06-61-7c-d3-7a> Oct 29 19:59:23 /kernel: isp0: lcp parse opts: auth-proto [not configured] magic send conf-rej Oct 29 19:59:23 /kernel: isp0: lcp output <conf-rej id=0x1b len=9 03-05-c2-23-05> Oct 29 19:59:23 /kernel: isp0: lcp input(req-sent): <conf-req id=0x1c len=14 03-04-c0-23-05-06-61-7c-d3-7a> Oct 29 19:59:23 /kernel: isp0: lcp parse opts: auth-proto [not configured] magic send conf-rej Oct 29 19:59:23 /kernel: isp0: lcp output <conf-rej id=0x1c len=8 03-04-c0-23> Oct 29 19:59:23 /kernel: isp0: lcp input(req-sent): <conf-req id=0x1d len=15 03-05-c2-23-05-05-06-61-7c-d3-7a> Oct 29 19:59:23 /kernel: isp0: lcp parse opts: auth-proto [not configured] magic send conf-rej Oct 29 19:59:23 /kernel: isp0: lcp output <conf-rej id=0x1d len=9 03-05-c2-23-05> Oct 29 19:59:23 /kernel: isp0: lcp input(req-sent): <conf-req id=0x1e len=36 03-05-c2-23-05-05-06-61-7c-d3-bf-11-04-05-f4-13-11-01-77-68-61-74-72-65-6d-6f-74-65-73-65-65-73> Oct 29 19:59:23 /kernel: isp0: lcp parse opts: auth-proto [not configured] magic lcp/0x11 [rej] lcp/0x13 [rej] send conf-rej Oct 29 19:59:23 /kernel: isp0: lcp output <conf-rej id=0x1e len=30 03-05-c2-23-05-11-04-05-f4-13-11-01-77-68-61-74-72-65-6d-6f-74-65-73-65-65-73> Oct 29 19:59:23 /kernel: isp0: lcp down(req-sent) Oct 29 19:59:23 /kernel: isp0: Down event, taking interface down. Oct 29 19:59:23 /kernel: isp0: lcp close(starting) Oct 29 19:59:23 /kernel: isp0: phase dead Oct 29 20:00:09 /kernel: i4b-L1-timer4_expired: state = F3 Deactivated 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?3.0.6.32.19991029201321.0079fb80>