This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Getting PPP to work against Windows PPP server, anyone?
- From: Øyvind Harboe <oyvind dot harboe at zylin dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Tue, 08 Jun 2004 11:22:27 +0200
- Subject: [ECOS] Getting PPP to work against Windows PPP server, anyone?
- Organization: Zylin AS
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