[iPAQ] Problem when connecting IPAQ hx2790(wm5.0) to Linux(fc7 2.6.21) via the serial cable

From: 张建武 <zzuwarning_at_gmail.com>
Date: Thu, 10 Jan 2008 11:38:00 +0800

Hi,
        I'm trying to connect my 2790(wm5.0) to Linux (fc7 2.6.21)via the serial
cable.here is the way i follows :
http://handhelds.org/minihowto/wince-link/.while I've encountered several
problems:

1. I find no way to finish the WinCE Configuration because i can't find
way to creat a new direct connection on wm5.0(i can't find 'Start/
Programs/ Communication/Connections/PC Connection/Enable Direct
Connections' etc.. ).then how can i config the wm5.0 (so-called wince5.0)
to make the "Direct Connection"?

2. Leave the configuration on wm5.0 alone,here's my config files on Linux:

/etc/ppp/peers/wince

--------------start---------------------------

  /dev/ttyS0 115200 crtscts debug
connect '/usr/sbin/chat -v -f /etc/ppp/wince.chat'
noauth
local
nodetach
90.0.0.1:90.0.0.2
---------------end-----------------------------

/etc/ppp/wince.chat

--------------start----------------------------

TIMEOUT 3600
"CLIENT" "CLIENT\c"
"" "SERVER\c"
----------------end----------------------------

when i tried to connect them with "pppd call wince",it was terminated
after a short while of connetion.and here is the log:

----------------start--------------------------

Serial connection established.
using channel 20
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS0
rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf003715a> <pcomp>
<accomp>]
sent [LCP ConfAck id=0x0 <asyncmap 0x0> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xf003715a> <pcomp>
<accomp>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 90.0.0.1>]
rcvd [CCP ConfReq id=0x0 <mppe -H -M -S -L -D +C>]
sent [CCP ConfRej id=0x0 <mppe -H -M -S -L -D +C>]
rcvd [IPCP ConfReq id=0x0 <compress VJ 0f 00> <addr 0.0.0.0> <ms-dns1
0.0.0.0> <ms-wins 0.0.0.0> <ms-dns3 0.0.0.0> <ms-wins 0.0.0.0>]
sent [IPCP ConfRej id=0x0 <ms-dns1 0.0.0.0> <ms-wins 0.0.0.0> <ms-dns3
0.0.0.0> <ms-wins 0.0.0.0>]
rcvd [IPV6CP ConfReq id=0x0 <addr fe80::0202:78ff:fe58:d893>]
Unsupported protocol 'IPv6 Control Protovol' (0x8057) received
sent [LCP ProtRej id=0x2 80 57 01 00 00 0e 01 0a 02 02 78 ff fe 58 d8 93]
rcvd [CCP ConfRej id=0x1 <deflate 15> <deflate(old#) 15>]
sent [CCP ConfReq id=0x2]
rcvd [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 90.0.0.1>]
rcvd [CCP ConfReq id=0x1]
sent [CCP ConfAck id=0x1]
rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 00> <addr 0.0.0.0>]
sent [IPCP ConfNak id=0x1 <addr 90.0.0.2>]
rcvd [CCP ConfNak id=0x2 <mppe -H -M -S -L -D +C>]
sent [CCP ConfReq id=0x3]
rcvd [IPCP ConfReq id=0x2 <compress VJ 0f 00> <addr 90.0.0.2>]
sent [IPCP ConfAck id=0x2 <compress VJ 0f 00> <addr 90.0.0.2>]
local IP address 90.0.0.1
remote IP address 90.0.0.2
Script /etc/ppp/ip-up started (pid 20658)
rcvd [CCP ConfAck id=0x3]
Script /etc/ppp/ip-up finished (pid 20658), status = 0x0
rcvd [LCP TermReq id=0x1]
LCP terminated by peer
Connect time 0.1 minutes.
Sent 398 bytes, received 1319 bytes.
Script /etc/ppp/ip-down started (pid 20660)
sent [LCP TermAck id=0x1]
Script /etc/ppp/ip-down finished (pid 20660), status = 0x0
Connection terminated.
Modem hangup
----------------------end-------------------------------------
Do i need some patch on Linux to make all work like SynCE even i'm using
serial cable? if not,any sugetsions?
thanks for ur help

-- 
ISC  张建武
Received on Wed Jan 09 2008 - 22:38:17 EST

This archive was generated by hypermail 2.2.0 : Wed Jan 09 2008 - 22:38:52 EST