Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Dec 2002 15:07:20 +0100
From:      Dominik Mimra <aero311@gmx.net>
To:        Gary Jennejohn <garyj@jennejohn.org>
Cc:        <freebsd-isdn@freebsd.org>
Subject:   Re: SPPP and changing ISP gateway HOW? 
Message-ID:  <BA13CAA8.1009%aero311@gmx.net>
In-Reply-To: <200212032255.gB3MtXff008399@peedub.jennejohn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 03.12.2002 23:55 Uhr, "Gary Jennejohn" <garyj@jennejohn.org> wrote:

> Turn on debugging (ifconfig -debug <interface>) and post the output
> from a connection attempt.
> 
> Also post the exact lines (minus passwords) which you are using to
> configure the interface (spppcontrol).
> 
> ---
> Gary Jennejohn / garyj@jennejohn.org gj@freebsd.org gj@denx.de
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isdn" in the body of the message

Here comes the connection attempt output:

isp0: lcp close(initial)
isp0: lcp open(initial)
isp0: phase establish
isp0: lcp up(starting)
isp0: lcp output <conf-req id=0x15 len=10 05-06-5b-28-2a-7f>
isp0: lcp TO(req-sent) rst_counter = 10
isp0: lcp output <conf-req id=0x16 len=10 05-06-5b-28-2a-7f>
isp0: lcp input(req-sent): <conf-ack id=0x16 len=10 05-06-5b-28-2a-7f>
isp0: lcp input(ack-rcvd): <conf-req id=0x2 len=23
01-04-05-ea-03-05-c2-23-05-05-06-1c-cb-86-bd-07-02-08-02>
isp0: lcp parse opts:  mru  auth-proto  magic  proto-comp [rej]  addr-comp
[rej]  send conf-rej
isp0: lcp output <conf-rej id=0x2 len=8 07-02-08-02>
isp0: lcp input(ack-rcvd): <conf-req id=0x3 len=19
01-04-05-ea-03-05-c2-23-05-05-06-1c-cb-86-bd>
isp0: lcp parse opts:  mru  auth-proto  magic
isp0: lcp parse opt values:  mru 1514  auth-proto [mine proto/0x0 != his
chap]  magic 0x1ccb86bd  send conf-nak
isp0: lcp output <conf-nak id=0x3 len=9 03-05-c0-23-05>
isp0: lcp input(ack-rcvd): <conf-req id=0x4 len=18
01-04-05-ea-03-04-c0-23-05-06-1c-cb-86-bd>
isp0: lcp parse opts:  mru  auth-proto  magic
isp0: lcp parse opt values:  mru 1514  auth-proto  magic 0x1ccb86bd  send
conf-ack
isp0: lcp output <conf-ack id=0x4 len=18
01-04-05-ea-03-04-c0-23-05-06-1c-cb-86-bd>
isp0: lcp tlu
isp0: phase authenticate
isp0: pap output <req id=0x5 len=24
0a-32-32-39-39-31-31-34-30-30-30-08-63-6f-33-61-74-76-66-62>
isp0: pap success
isp0: phase network
isp0: ipcp open(initial)
isp0: ipv6cp open(initial)
isp0: ipcp up(starting)
isp0: ipcp output <conf-req id=0xd len=10 03-06-00-00-00-00>
isp0: ipv6cp up(starting)
isp0: ipv6cp output <conf-req id=0x17 len=14 01-0a-02-50-04-ff-fe-86-5c-c0>
isp0: ipcp input(req-sent): <conf-req id=0x5 len=16
02-06-00-2d-0f-01-03-06-c3-03-59-59>
isp0: ipcp parse opts:  compression [locally disabled]  address  send
conf-rej
isp0: ipcp output <conf-rej id=0x5 len=10 02-06-00-2d-0f-01>
isp0: ipcp input(req-sent): <conf-nak id=0xd len=10 03-06-3e-2e-e5-f0>
isp0: ipcp nak opts:  address [wantaddr 62.46.229.240] [agree]
isp0: ipcp output <conf-req id=0xe len=10 03-06-3e-2e-e5-f0>
isp0: lcp input(opened): <proto-rej id=0x6 len=20
80-57-01-17-00-0e-01-0a-02-50-04-ff-fe-86-5c-c0>
isp0: lcp: RXJ+ (proto-rej) for proto 0x8057 (ipv6cp/req-sent)
isp0: ipv6cp close(req-sent)
isp0: ipv6cp output <term-req id=0x18 len=4>
isp0: ipcp input(req-sent): <conf-req id=0x7 len=10 03-06-c3-03-59-59>
isp0: ipcp parse opts:  address
isp0: ipcp parse opt values:  address 0.0.0.1 [ack]  send conf-ack
isp0: ipcp output <conf-ack id=0x7 len=10 03-06-c3-03-59-59>
isp0: ipcp input(ack-sent): <conf-ack id=0xe len=10 03-06-3e-2e-e5-f0>
isp0: ipcp tlu
isp0: lcp input(opened): <proto-rej id=0x8 len=10 80-57-05-18-00-04>
isp0: lcp: RXJ+ (proto-rej) for proto 0x8057 (ipv6cp/closing)
isp0: ipv6cp TO(closing) rst_counter = 2
isp0: ipv6cp output <term-req id=0x19 len=4>
isp0: lcp input(opened): <proto-rej id=0x9 len=10 80-57-05-19-00-04>
isp0: lcp: RXJ+ (proto-rej) for proto 0x8057 (ipv6cp/closing)
isp0: ipv6cp TO(closing) rst_counter = 1
isp0: ipv6cp output <term-req id=0x1a len=4>
isp0: lcp input(opened): <proto-rej id=0xa len=10 80-57-05-1a-00-04>
isp0: lcp: RXJ+ (proto-rej) for proto 0x8057 (ipv6cp/closing)
isp0: ipv6cp TO(closing) rst_counter = 0
isp0: rejecting protocol <addr=0xff ctrl=0x3 proto=0x80fd>
isp0: lcp output <proto-rej id=0x17 len=36
80-fd-01-0b-00-1e-12-06-00-00-00-01-11-05-00-01-04-11-05-00-01-03-11-06-00-0
1-01-01-1a-04-78-00>


Config-File to bring interface up:

ifconfig isp0 delete -link1 down
echo -n 'Configuring ISP0 to AON Complete:'
echo -n ' spppcontrol';
spppcontrol isp0 myauthname="xxx" myauthproto=pap myauthsecret="xxx"
disable-vj disable-ipv6
echo -n 'up';
ifconfig isp0 0.0.0.0 0.0.0.1 up debug
echo '.'


And here my rc.conf:

defaultrouter="0.0.0.1"
gateway_enable="YES"
hostname="serwas.localhost"
ifconfig_xl0="inet 192.168.1.254  netmask 255.255.255.0"
ifconfig_isp0="inet 0.0.0.0 0.0.0.1 netmask 255.255.255.255"
inetd_enable="YES"
kern_securelevel_enable="NO"
keymap="german.cp850"
linux_enable="YES"
nfs_client_enable="YES"
nfs_reserved_port_only="NO"
nfs_server_enable="YES"
sendmail_enable="NONE"
sshd_enable="YES"
usbd_enable="YES"
isdn_enable="YES"
isdn_flags="-dn -d0x1f9"
isdn_trace="YES"
isdn_traceflags="-f /var/tmp/isdntrace0"


Sorry for the long posting but this is it.

Hope that will explain something to you!

Dominik



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?BA13CAA8.1009%aero311>