Linux PPP protocol development
 help / color / mirror / Atom feed
* Connection between Draytek 2500We and Eee fails with "No auth is
@ 2008-03-21 17:21 Martin Ereth
  2008-03-21 19:18 ` James Carlson
  2008-03-22 21:20 ` Connection between Draytek 2500We and Eee fails with "No auth Martin Ereth
  0 siblings, 2 replies; 3+ messages in thread
From: Martin Ereth @ 2008-03-21 17:21 UTC (permalink / raw)
  To: linux-ppp

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello!

I wanted to connect my Asus Eee (original installation) over Wireless-LAN to my Router
Draytek Vigor 2500We. This Router is capable of those connections, my dad is able to
connect his windows-notebook (pptp/mppe).
The routers IP is 192.168.0.1. The Eee's IP is dhcp-managed (also by this router).

When I try to use ppp, it fails with the following:
pppd options in effect:
debug debug		# (from command line)
nodetach		# (from command line)
logfd 2		# (from command line)
linkname vpn-home		# (from /etc/ppp/peers/vpn-home)
dump		# (from command line)
noauth		# (from /etc/ppp/options.pptp)
refuse-eap		# (from /etc/ppp/peers/vpn-home)
name asus-1535775183		# (from /etc/ppp/peers/vpn-home)
usehostname		# (from /etc/ppp/options)
remotename vpn-home		# (from /etc/ppp/peers/vpn-home)
		# (from /etc/ppp/options.pptp)
pty pptp 192.168.0.1 --nolaunchpppd 		# (from /etc/ppp/peers/vpn-home)
crtscts		# (from /etc/ppp/options)
		# (from /etc/ppp/options)
asyncmap 0		# (from /etc/ppp/options)
lcp-echo-failure 4		# (from /etc/ppp/options)
lcp-echo-interval 30		# (from /etc/ppp/options)
hide-password		# (from /etc/ppp/options)
ipparam vpn-home		# (from /etc/ppp/peers/vpn-home)
proxyarp		# (from /etc/ppp/options)
usepeerdns		# (from /etc/ppp/peers/vpn-home)
nobsdcomp		# (from /etc/ppp/options.pptp)
nodeflate		# (from /etc/ppp/options.pptp)
require-mppe		# (from /etc/ppp/peers/vpn-home)
noipx		# (from /etc/ppp/options)
using channel 4
Using interface ppp0
Connect: ppp0 <--> /dev/pts/1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x26a95f6d> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x0 <auth chap MS-v2> <magic 0x1>]
No auth is possible
sent [LCP ConfRej id=0x0 <auth chap MS-v2>]
rcvd [LCP ConfRej id=0x1 <asyncmap 0x0> <pcomp> <accomp>]
sent [LCP ConfReq id=0x2 <magic 0x26a95f6d>]
rcvd [LCP ConfReq id=0x1 <auth chap MD5> <magic 0x1>]
No auth is possible
sent [LCP ConfRej id=0x1 <auth chap MD5>]
rcvd [LCP ConfAck id=0x2 <magic 0x26a95f6d>]
rcvd [LCP ConfReq id=0x2 <auth pap> <magic 0x1>]
No auth is possible
sent [LCP ConfRej id=0x2 <auth pap>]
sent [LCP ConfReq id=0x2 <magic 0x26a95f6d>]
sent [LCP ConfReq id=0x2 <magic 0x26a95f6d>]
sent [LCP ConfReq id=0x2 <magic 0x26a95f6d>]
sent [LCP ConfReq id=0x2 <magic 0x26a95f6d>]
sent [LCP ConfReq id=0x2 <magic 0x26a95f6d>]
sent [LCP ConfReq id=0x2 <magic 0x26a95f6d>]
sent [LCP ConfReq id=0x2 <magic 0x26a95f6d>]
sent [LCP ConfReq id=0x2 <magic 0x26a95f6d>]
sent [LCP ConfReq id=0x2 <magic 0x26a95f6d>]
sent [LCP ConfReq id=0x2 <magic 0x26a95f6d>]
LCP: timeout sending Config-Requests
Connection terminated.
Modem hangup
Waiting for 1 child processes...
~  script pptp 192.168.0.1 --nolaunchpppd , pid 4168
Script pptp 192.168.0.1 --nolaunchpppd  finished (pid 4168), status = 0x0

/etc/ppp/chap-secrets:
123 vpn-home 123 *

So I don't know, why this fails.

Maybe you are able to help me?

Thanks a lot!
Martin Ereth
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH4+6lE5UqXaCvB8IRAhlIAKCTiLxSaOHJYE7ZTZBEDy+5EUFGewCfeZ2Z
Jv6zTPHsYiJi9E8DSghjCbQ=+4u5
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Connection between Draytek 2500We and Eee fails with "No auth is
  2008-03-21 17:21 Connection between Draytek 2500We and Eee fails with "No auth is Martin Ereth
@ 2008-03-21 19:18 ` James Carlson
  2008-03-22 21:20 ` Connection between Draytek 2500We and Eee fails with "No auth Martin Ereth
  1 sibling, 0 replies; 3+ messages in thread
From: James Carlson @ 2008-03-21 19:18 UTC (permalink / raw)
  To: linux-ppp

Martin Ereth writes:
> crtscts		# (from /etc/ppp/options)
> 		# (from /etc/ppp/options)
> asyncmap 0		# (from /etc/ppp/options)

Those are a bit odd here.  Probably not harmful, though.

> hide-password		# (from /etc/ppp/options)

That's the default.  You shouldn't have to specify it.

> proxyarp		# (from /etc/ppp/options)

That's likely wrong.  It's typically used when pppd is set up to
behave as a dial-in server.

> nobsdcomp		# (from /etc/ppp/options.pptp)
> nodeflate		# (from /etc/ppp/options.pptp)

That shouldn't be necessary.

> noipx		# (from /etc/ppp/options)

That's also the default.

> rcvd [LCP ConfReq id=0x0 <auth chap MS-v2> <magic 0x1>]

He demands that you use Microsoft's proprietary MS-CHAPv2.

> No auth is possible
> sent [LCP ConfRej id=0x0 <auth chap MS-v2>]

You don't have it configured, so you refuse.  That's the problem.  You
haven't set up your local credentials properly.

You'll need to put correct entries into /etc/ppp/chap-secrets to make
this work.

Note that you'll also want to use the pppd "user" option *instead* of
the "name" option.  The latter is designed for servers.  It may work
here, but it's not quite what you want.

-- 
James Carlson         42.703N 71.076W         <carlsonj@workingcode.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Connection between Draytek 2500We and Eee fails with "No auth
  2008-03-21 17:21 Connection between Draytek 2500We and Eee fails with "No auth is Martin Ereth
  2008-03-21 19:18 ` James Carlson
@ 2008-03-22 21:20 ` Martin Ereth
  1 sibling, 0 replies; 3+ messages in thread
From: Martin Ereth @ 2008-03-22 21:20 UTC (permalink / raw)
  To: linux-ppp

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

James Carlson wrote:
| Martin Ereth writes:
[...]
| You don't have it configured, so you refuse.  That's the problem.  You
| haven't set up your local credentials properly.
|
| You'll need to put correct entries into /etc/ppp/chap-secrets to make
| this work.
|
| Note that you'll also want to use the pppd "user" option *instead* of
| the "name" option.  The latter is designed for servers.  It may work
| here, but it's not quite what you want.

Thank you very much!
I was able to resolve my problem with your help!

Martin

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH5XgEE5UqXaCvB8IRAs5gAKCWFe5P0i3lCiCrOj+dgchn8bLRpACgu6To
38LrA1WaknFX1uftVnu/Jj8=bhTc
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-03-22 21:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-21 17:21 Connection between Draytek 2500We and Eee fails with "No auth is Martin Ereth
2008-03-21 19:18 ` James Carlson
2008-03-22 21:20 ` Connection between Draytek 2500We and Eee fails with "No auth Martin Ereth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox