Synchronizacja palmtopa po usb.

Paweł Chuchmała pawel.chuchmala w gmail.com
Śro, 27 Wrz 2006, 23:05:34 CEST


Witam.

Mam problem z nawiązaniem połączenia. Używam pakietów synce,
dystrybucja to th. Wszystko działa ładnie, udev rozpoznaje podłączone
urządzenie, uruchamia synce-serial-start. Potem uruchamia się pppd.
Chwilę pogadają sobie i następuje rozłączenie. Log poniżej:
Sep 27 22:57:00 elis pppd[8110]: Serial connection established.
Sep 27 22:57:00 elis pppd[8110]: using channel 5
Sep 27 22:57:00 elis pppd[8110]: Using interface ppp0
Sep 27 22:57:00 elis pppd[8110]: Connect: ppp0 <--> /dev/tts/USB0
Sep 27 22:57:00 elis pppd[8110]: rcvd [LCP ConfReq id=0x0 <asyncmap
0x0> <pcomp> <accomp>]
Sep 27 22:57:00 elis pppd[8110]: sent [LCP ConfReq id=0x1 <asyncmap
0x0> <magic 0x4d2ac1d5> <pcomp> <accomp>]
Sep 27 22:57:00 elis pppd[8110]: sent [LCP ConfAck id=0x0 <asyncmap
0x0> <pcomp> <accomp>]
Sep 27 22:57:00 elis pppd[8110]: rcvd [LCP ConfAck id=0x1 <asyncmap
0x0> <magic 0x4d2ac1d5> <pcomp> <accomp>]
Sep 27 22:57:00 elis pppd[8110]: sent [LCP EchoReq id=0x0 magic=0x4d2ac1d5]
Sep 27 22:57:00 elis pppd[8110]: sent [CCP ConfReq id=0x1 <mppe -H -M
-S -L -D -C> <deflate 15> <deflate(old#) 15> <bsd v1 15>]
Sep 27 22:57:00 elis pppd[8110]: sent [IPCP ConfReq id=0x1 <compress
VJ 0f 01> <addr 192.168.131.102>]
Sep 27 22:57:00 elis pppd[8110]: rcvd [CCP ConfReq id=0x0 <mppe -H -M
-S -L -D +C>]
Sep 27 22:57:00 elis pppd[8110]: sent [CCP ConfNak id=0x0 <mppe -H -M
-S -L -D +C>]
Sep 27 22:57:00 elis pppd[8110]: rcvd [IPCP ConfReq id=0x0 <compress
VJ 0f 01> <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>]
Sep 27 22:57:00 elis pppd[8110]: sent [IPCP ConfRej id=0x0 <ms-wins
0.0.0.0> <ms-wins 0.0.0.0>]
Sep 27 22:57:00 elis pppd[8110]: rcvd [IPV6CP ConfReq id=0x0 <addr
fe80::ce3f:278f:46f6:881d>]
Sep 27 22:57:00 elis pppd[8110]: Unsupported protocol 'IPv6 Control
Protovol' (0x8057) received
Sep 27 22:57:00 elis pppd[8110]: sent [LCP ProtRej id=0x2 80 57 01 00
00 0e 01 0a ce 3f 27 8f 46 f6 88 1d]
Sep 27 22:57:00 elis pppd[8110]: rcvd [LCP EchoRep id=0x0 magic=0x0]
Sep 27 22:57:00 elis pppd[8110]: rcvd [CCP ConfRej id=0x1 <deflate 15>
<deflate(old#) 15> <bsd v1 15>]
Sep 27 22:57:00 elis pppd[8110]: sent [CCP ConfReq id=0x2 <mppe -H -M
-S -L -D -C>]
Sep 27 22:57:00 elis pppd[8110]: rcvd [IPCP ConfAck id=0x1 <compress
VJ 0f 01> <addr 192.168.131.102>]
Sep 27 22:57:00 elis pppd[8110]: rcvd [CCP ConfReq id=0x1 <mppe -H -M
-S -L -D +C>]
Sep 27 22:57:00 elis pppd[8110]: sent [CCP ConfNak id=0x1 <mppe -H -M
-S -L -D +C>]
Sep 27 22:57:00 elis pppd[8110]: rcvd [IPCP ConfReq id=0x1 <compress
VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
Sep 27 22:57:00 elis pppd[8110]: sent [IPCP ConfNak id=0x1 <addr
192.168.131.201> <ms-dns1 192.168.131.102> <ms-dns3 192.168.131.102>]
Sep 27 22:57:00 elis pppd[8110]: rcvd [CCP ConfAck id=0x2 <mppe -H -M
-S -L -D -C>]
Sep 27 22:57:00 elis pppd[8110]: rcvd [CCP ConfReq id=0x2 <mppe -H -M
-S -L -D +C>]
Sep 27 22:57:00 elis pppd[8110]: sent [CCP ConfNak id=0x2 <mppe -H -M
-S -L -D +C>]
Sep 27 22:57:00 elis pppd[8110]: rcvd [IPCP ConfReq id=0x2 <compress
VJ 0f 01> <addr 192.168.131.201> <ms-dns1 192.168.131.102> <ms-dns3
192.168.131.102>]
Sep 27 22:57:00 elis pppd[8110]: sent [IPCP ConfAck id=0x2 <compress
VJ 0f 01> <addr 192.168.131.201> <ms-dns1 192.168.131.102> <ms-dns3
192.168.131.102>]
Sep 27 22:57:00 elis pppd[8110]: Cannot determine ethernet address for proxy ARP
Sep 27 22:57:00 elis pppd[8110]: local  IP address 192.168.131.102
Sep 27 22:57:00 elis pppd[8110]: remote IP address 192.168.131.201
Sep 27 22:57:00 elis pppd[8110]: Script /etc/ppp/ip-up started (pid 8155)
Sep 27 22:57:00 elis pppd[8110]: rcvd [CCP ConfReq id=0x3 <mppe -H -M
-S -L -D +C>]
Sep 27 22:57:00 elis pppd[8110]: sent [CCP ConfNak id=0x3 <mppe -H -M
-S -L -D +C>]
Sep 27 22:57:00 elis pppd[8110]: rcvd [CCP ConfReq id=0x4 <mppe -H -M
-S -L -D +C>]
Sep 27 22:57:00 elis pppd[8110]: sent [CCP ConfNak id=0x4 <mppe -H -M
-S -L -D +C>]
Sep 27 22:57:00 elis pppd[8110]: rcvd [CCP ConfReq id=0x5 <mppe -H -M
-S -L -D +C>]
Sep 27 22:57:00 elis pppd[8110]: sent [CCP ConfRej id=0x5 <mppe -H -M
-S -L -D +C>]
Sep 27 22:57:00 elis pppd[8110]: rcvd [CCP ConfReq id=0x6]
Sep 27 22:57:00 elis pppd[8110]: sent [CCP ConfAck id=0x6]
Sep 27 22:57:00 elis pppd[8110]: Script /etc/ppp/ip-up finished (pid
8155), status = 0x0
Sep 27 22:57:01 elis pppd[8110]: rcvd [LCP TermReq id=0x1]
Sep 27 22:57:01 elis pppd[8110]: LCP terminated by peer
Sep 27 22:57:01 elis pppd[8110]: Connect time 0.1 minutes.
Sep 27 22:57:01 elis pppd[8110]: Sent 34 bytes, received 849 bytes.
Sep 27 22:57:01 elis pppd[8110]: Script /etc/ppp/ip-down started (pid 8206)
Sep 27 22:57:01 elis pppd[8110]: sent [LCP TermAck id=0x1]
Sep 27 22:57:01 elis pppd[8110]: Script /etc/ppp/ip-down finished (pid
8206), status = 0x0
Sep 27 22:57:04 elis pppd[8110]: Connection terminated.
Sep 27 22:57:05 elis pppd[8110]: Modem hangup
Sep 27 22:57:05 elis pppd[8110]: Exit.

Konfiguracja /etc/ppp/peers/synce-device:
/dev/tts/USB0 115200
connect '/usr/bin/synce-serial-chat'
noauth
debug
192.168.131.102:192.168.131.201
ms-dns 192.168.131.102

Udało mi się, połączyć dwa razy. Raz jeszcze zanim bawiłem się udevem
i ręcznie uruchamiałem synce-serial-start po włączeniu palma, drugi
raz już z udevem po starcie system, gdy było wszystko podłączone.
Niestety nie udało mi się tego świadomie powtórzyć.

Pozdr,

-- 
Paweł Chuchmała
pawel.chuchmala at gmail dot com


Więcej informacji o liście dyskusyjnej pld-users-pl