public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Getting PPP to work against Windows PPP server, anyone?
@ 2004-06-08  9:22 Øyvind Harboe
  2004-06-08 18:03 ` Matt Jerdonek
  0 siblings, 1 reply; 3+ messages in thread
From: Øyvind Harboe @ 2004-06-08  9:22 UTC (permalink / raw)
  To: ecos-discuss

Has anyone succeeded in getting the net/ppp package to work against the
Windows PPP server?

I can get it to work against a Linux pppd server, but with Windows PPP,
no luck.

Rough description of where net/ppp gets stuck with a Windows PPP server:

1. set a breakpoint on the line below(line 1232 tcp_input.c), start
execution of eCos.

		} else {
		    /*
		     * No CC option, but maybe CC.NEW:
		     *   invalidate cached value.
		     */
		     taop->tao_cc = 0;
		}

2. connect to Windows PPP server.

3. telnet into my test app.

http://sources.redhat.com/ml/ecos-discuss/2004-04/msg00324.html

4. execution stops at breakpoint.

5. set breakpoint at cyg_tcp_input

6. continue => execution never stops @ cyg_tcp_input with Windows PPP
server. (With a Linux PPP server, execution stops @ cyg_tcp_input and
when continuing telnet session attaches properly.)

Linux command line:

pppd ttyS0 38400 init "chat -v -f /etc/chatscripts/windows"  dump
nocrtscts dump nodetach  192.168.222.205:192.168.222.206

$ cat /etc/chatscripts/windows
CLIENTCLIENT    CLIENTSERVER\c

-- 
Øyvind Harboe
http://www.zylin.com



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] Getting PPP to work against Windows PPP server, anyone?
  2004-06-08  9:22 [ECOS] Getting PPP to work against Windows PPP server, anyone? Øyvind Harboe
@ 2004-06-08 18:03 ` Matt Jerdonek
  2004-06-08 19:49   ` Øyvind Harboe
  0 siblings, 1 reply; 3+ messages in thread
From: Matt Jerdonek @ 2004-06-08 18:03 UTC (permalink / raw)
  To: Øyvind Harboe, ecos-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 1044 bytes --]

I've run the net/ppp package to a Windows 2000 server,
but there were several configuration items that I
needed to first address in Windows:
1) Windows defaults to using MS-CHAP.  I had to turn
off the authentication.
2) The user rights do not allow dial-in access.  So, I
had to enable dial-in access for my user.
3) I needed to setup a static IP address pool for the
server to assign eCos an IP address.

Once these items were resolved, I was able to get
through IPCP negotiation and I could ping my eCos
target.


--- Øyvind Harboe <oyvind.harboe@zylin.com> wrote:
> Has anyone succeeded in getting the net/ppp package
> to work against the
> Windows PPP server?
> 
> I can get it to work against a Linux pppd server,
> but with Windows PPP,
> no luck.



	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] Getting PPP to work against Windows PPP server, anyone?
  2004-06-08 18:03 ` Matt Jerdonek
@ 2004-06-08 19:49   ` Øyvind Harboe
  0 siblings, 0 replies; 3+ messages in thread
From: Øyvind Harboe @ 2004-06-08 19:49 UTC (permalink / raw)
  To: Matt Jerdonek; +Cc: ecos-discuss

tir, 08.06.2004 kl. 20.03 skrev Matt Jerdonek:
> I've run the net/ppp package to a Windows 2000 server,
> but there were several configuration items that I
> needed to first address in Windows:
> 1) Windows defaults to using MS-CHAP.  I had to turn
> off the authentication.
> 2) The user rights do not allow dial-in access.  So, I
> had to enable dial-in access for my user.
> 3) I needed to setup a static IP address pool for the
> server to assign eCos an IP address.
> 
> Once these items were resolved, I was able to get
> through IPCP negotiation and I could ping my eCos
> target.

Pinging my eCos target works fine.

The problem is when I try to write more substantial
TCP/IP code, like:

http://sources.redhat.com/ml/ecos-discuss/2004-04/msg00324.html

> 
> 
> --- yvind Harboe <oyvind.harboe@zylin.com> wrote:
> > Has anyone succeeded in getting the net/ppp package
> > to work against the
> > Windows PPP server?
> > 
> > I can get it to work against a Linux pppd server,
> > but with Windows PPP,
> > no luck.
> 
> 
> 
> 	
> 		
> __________________________________
> Do you Yahoo!?
> Friends.  Fun.  Try the all-new Yahoo! Messenger.
> http://messenger.yahoo.com/
-- 
Øyvind Harboe
http://www.zylin.com



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

end of thread, other threads:[~2004-06-08 19:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-08  9:22 [ECOS] Getting PPP to work against Windows PPP server, anyone? Øyvind Harboe
2004-06-08 18:03 ` Matt Jerdonek
2004-06-08 19:49   ` Øyvind Harboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).