From: ipcpblues <tsutherland@iders.ca>
To: linux-ppp@vger.kernel.org
Subject: IPCP-Nak doesn't do anything
Date: Wed, 12 Dec 2007 21:15:45 +0000 [thread overview]
Message-ID: <14303969.post@talk.nabble.com> (raw)
Hi,
I'm trying to get two PPP devices to work together to setup a PPP
connection. I have control over one of them - meaning I can set whatever
options I please - but I can't control the other device, it's options are
hard-wired.
I think I've almost got them working because they pass the LCP request - ack
stage and enter the IPCP stage. In the IPCP stage, my IPCP-Req is Ack'd, so
I'm halfway there. Their IPCP-Req is received by me with IP-addr=0.0.0.0
and I respond with IPCP-Nak IP-addr\x192.168.20.50. All this seems correct
to me, but then the device doesn't accept my Nak and either re-sends its
original IPCP-Req or goes back to the LCP-Req stage.
Does any have ideas on why this could happen or something I can try?
My log is below, Thanks for reading :)
# pppd file options.pppBCM nodetach
pppd options in effect:
debug # (from options.pppBCM)
nodetach # (from command line)
dump # (from options.pppBCM)
noauth # (from options.pppBCM)
/dev/ttyUSB1 # (from options.pppBCM)
9600 # (from options.pppBCM)
lock # (from options.pppBCM)
nocrtscts # (from options.pppBCM)
asyncmap ffffffff # (from options.pppBCM)
192.168.30.1:192.168.30.50 # (from options.pppBCM)
nobsdcomp # (from options.pppBCM)
nodeflate # (from options.pppBCM)
using channel 21
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB1
sent [LCP ConfReq id=0x1 <magic 0xec2490cf> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <magic 0xec2490cf> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <magic 0xec2490cf> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <magic 0xec2490cf> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <magic 0xec2490cf> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <magic 0xec2490cf> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <magic 0xec2490cf> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <magic 0xec2490cf> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <magic 0xec2490cf> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <magic 0xec2490cf> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <magic 0xec2490cf> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <magic 0xec2490cf> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <magic 0xec2490cf> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <magic 0xec2490cf> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <magic 0xec2490cf> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <magic 0xec2490cf> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <magic 0xec2490cf> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <magic 0xec2490cf> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <magic 0xec2490cf> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <magic 0xec2490cf> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <magic 0xec2490cf> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <magic 0xec2490cf> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <magic 0xec2490cf> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <magic 0xec2490cf> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <magic 0xec2490cf> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <magic 0xec2490cf> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x25 <asyncmap 0x0> <magic 0xa5a44a5a>]
sent [LCP ConfAck id=0x25 <asyncmap 0x0> <magic 0xa5a44a5a>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 192.168.30.1>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 192.168.30.1>]
rcvd [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 192.168.30.1>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 192.168.30.1>]
rcvd [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 192.168.30.1>]
rcvd [IPCP ConfReq id=0x27 <addr 0.0.0.0>]
sent [IPCP ConfNak id=0x27 <addr 192.168.30.50>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 192.168.30.1>]
rcvd [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 192.168.30.1>]
rcvd [IPCP ConfReq id=0x28 <addr 0.0.0.0>]
sent [IPCP ConfNak id=0x28 <addr 192.168.30.50>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 192.168.30.1>]
rcvd [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 192.168.30.1>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 192.168.30.1>]
rcvd [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 192.168.30.1>]
rcvd [IPCP ConfReq id=0x2a <addr 0.0.0.0>]
sent [IPCP ConfNak id=0x2a <addr 192.168.30.50>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 192.168.30.1>]
rcvd [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 192.168.30.1>]
rcvd [LCP ConfReq id=0x2c <asyncmap 0x0> <magic 0xa5a44a5a>]
sent [LCP ConfReq id=0x2 <magic 0xae75be4b> <pcomp> <accomp>]
sent [LCP ConfAck id=0x2c <asyncmap 0x0> <magic 0xa5a44a5a>]
rcvd [LCP ConfAck id=0x2 <magic 0xae75be4b> <pcomp> <accomp>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 192.168.30.1>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 192.168.30.1>]
rcvd [IPCP ConfAck id=0x2 <compress VJ 0f 01> <addr 192.168.30.1>]
rcvd [IPCP ConfReq id=0x2d <addr 0.0.0.0>]
sent [IPCP ConfNak id=0x2d <addr 192.168.30.50>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 192.168.30.1>]
rcvd [IPCP ConfAck id=0x2 <compress VJ 0f 01> <addr 192.168.30.1>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 192.168.30.1>]
rcvd [IPCP ConfAck id=0x2 <compress VJ 0f 01> <addr 192.168.30.1>]
--
View this message in context: http://www.nabble.com/IPCP-Nak-doesn%27t-do-anything-tp14303969p14303969.html
Sent from the linux-ppp mailing list archive at Nabble.com.
next reply other threads:[~2007-12-12 21:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-12 21:15 ipcpblues [this message]
2007-12-12 21:29 ` IPCP-Nak doesn't do anything Bill Unruh
2007-12-12 21:36 ` James Carlson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=14303969.post@talk.nabble.com \
--to=tsutherland@iders.ca \
--cc=linux-ppp@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox