Re: [iPAQ] Trying to use synce fails, wince cuts ppp

From: Benjamin Herrenschmidt <benh_at_kernel.crashing.org>
Date: Fri, 14 Jan 2005 11:10:10 +1100

On Fri, 2005-01-14 at 10:43 +1100, Benjamin Herrenschmidt wrote:
> Hi !
>
> In order to transfer bootldr to my ipaq, I'm trying to run synce. The
> setup is an HP 5500 with the serial cradle connected to a keyspan serial
> adapter to my linux laptop (powerpc machine).
>
> When I do synce-serial-start, the thing kicks properly on the ipaq side,
> i see them negociating, pppd is brought up... and disconnects right
> away.
>
 .../...

More data: once ppp is established, I do a tcmpdump, and I get the stuff below.
WinCE is trying to do bootp/dhcp, to connect via TCP to some local port, and to
do DNS... Could it be unhappy because of my lack of reply to those ? (I have no
DNS server, no bootp/dhcp server nor a daemon listening on the port it tries to
connect to).

Ben.

Trace:

No. Time Source Destination Protocol Info
      1 0.000000 192.168.131.201 255.255.255.255 BOOTP Boot Request from 005345000000[Short Frame]

Frame 1 (291 bytes on wire, 96 bytes captured)
Linux cooked capture
Internet Protocol, Src Addr: 192.168.131.201 (192.168.131.201), Dst Addr: 255.255.255.255 (255.255.255.255)
User Datagram Protocol, Src Port: bootpc (68), Dst Port: bootps (67)
Bootstrap Protocol
[Short Frame: BOOTP/DHCP]

No. Time Source Destination Protocol Info
      2 0.250911 192.168.131.201 255.255.255.255 BOOTP Boot Request from 005345000000[Short Frame]

Frame 2 (291 bytes on wire, 96 bytes captured)
Linux cooked capture
Internet Protocol, Src Addr: 192.168.131.201 (192.168.131.201), Dst Addr: 255.255.255.255 (255.255.255.255)
User Datagram Protocol, Src Port: bootpc (68), Dst Port: bootps (67)
Bootstrap Protocol
[Short Frame: BOOTP/DHCP]

No. Time Source Destination Protocol Info
      3 0.729836 192.168.131.201 192.168.131.102 TCP supfiledbg > 5679 [SYN] Seq=0 Ack=0 Win=32768 Len=0 MSS=1460

Frame 3 (64 bytes on wire, 64 bytes captured)
Linux cooked capture
Internet Protocol, Src Addr: 192.168.131.201 (192.168.131.201), Dst Addr: 192.168.131.102 (192.168.131.102)
Transmission Control Protocol, Src Port: supfiledbg (1127), Dst Port: 5679 (5679), Seq: 0, Ack: 0, Len: 0
    Source port: supfiledbg (1127)
    Destination port: 5679 (5679)
    Sequence number: 0 (relative sequence number)
    Header length: 28 bytes
    Flags: 0x0002 (SYN)
    Window size: 32768
    Checksum: 0x2d6f (correct)
    Options: (8 bytes)

No. Time Source Destination Protocol Info
      4 0.729913 192.168.131.102 192.168.131.201 TCP 5679 > supfiledbg [RST, ACK] Seq=0 Ack=0 Win=0 Len=0

Frame 4 (56 bytes on wire, 56 bytes captured)
Linux cooked capture
Internet Protocol, Src Addr: 192.168.131.102 (192.168.131.102), Dst Addr: 192.168.131.201 (192.168.131.201)
Transmission Control Protocol, Src Port: 5679 (5679), Dst Port: supfiledbg (1127), Seq: 0, Ack: 0, Len: 0
    Source port: 5679 (5679)
    Destination port: supfiledbg (1127)
    Sequence number: 0 (relative sequence number)
    Acknowledgement number: 0 (relative ack number)
    Header length: 20 bytes
    Flags: 0x0014 (RST, ACK)
    Window size: 0
    Checksum: 0xda1f (correct)
    SEQ/ACK analysis

No. Time Source Destination Protocol Info
      5 1.232760 192.168.131.201 192.168.131.102 TCP supfiledbg > 5679 [SYN] Seq=0 Ack=0 Win=32768 Len=0 MSS=1460

Frame 5 (64 bytes on wire, 64 bytes captured)
Linux cooked capture
Internet Protocol, Src Addr: 192.168.131.201 (192.168.131.201), Dst Addr: 192.168.131.102 (192.168.131.102)
Transmission Control Protocol, Src Port: supfiledbg (1127), Dst Port: 5679 (5679), Seq: 0, Ack: 0, Len: 0
    Source port: supfiledbg (1127)
    Destination port: 5679 (5679)
    Sequence number: 0 (relative sequence number)
    Header length: 28 bytes
    Flags: 0x0002 (SYN)
    Window size: 32768
    Checksum: 0x2d6f (correct)
    Options: (8 bytes)

No. Time Source Destination Protocol Info
      6 1.232807 192.168.131.102 192.168.131.201 TCP 5679 > supfiledbg [RST, ACK] Seq=0 Ack=1 Win=0 Len=0

Frame 6 (56 bytes on wire, 56 bytes captured)
Linux cooked capture
Internet Protocol, Src Addr: 192.168.131.102 (192.168.131.102), Dst Addr: 192.168.131.201 (192.168.131.201)
Transmission Control Protocol, Src Port: 5679 (5679), Dst Port: supfiledbg (1127), Seq: 0, Ack: 1, Len: 0
    Source port: 5679 (5679)
    Destination port: supfiledbg (1127)
    Sequence number: 0 (relative sequence number)
    Acknowledgement number: 1 (relative ack number)
    Header length: 20 bytes
    Flags: 0x0014 (RST, ACK)
    Window size: 0
    Checksum: 0xda1f (correct)
    SEQ/ACK analysis

No. Time Source Destination Protocol Info
      7 1.740686 192.168.131.201 192.168.131.102 TCP supfiledbg > 5679 [SYN] Seq=0 Ack=0 Win=32768 Len=0 MSS=1460

Frame 7 (64 bytes on wire, 64 bytes captured)
Linux cooked capture
Internet Protocol, Src Addr: 192.168.131.201 (192.168.131.201), Dst Addr: 192.168.131.102 (192.168.131.102)
Transmission Control Protocol, Src Port: supfiledbg (1127), Dst Port: 5679 (5679), Seq: 0, Ack: 0, Len: 0
    Source port: supfiledbg (1127)
    Destination port: 5679 (5679)
    Sequence number: 0 (relative sequence number)
    Header length: 28 bytes
    Flags: 0x0002 (SYN)
    Window size: 32768
    Checksum: 0x2d6f (correct)
    Options: (8 bytes)

No. Time Source Destination Protocol Info
      8 1.740760 192.168.131.102 192.168.131.201 TCP 5679 > supfiledbg [RST, ACK] Seq=0 Ack=1 Win=0 Len=0

Frame 8 (56 bytes on wire, 56 bytes captured)
Linux cooked capture
Internet Protocol, Src Addr: 192.168.131.102 (192.168.131.102), Dst Addr: 192.168.131.201 (192.168.131.201)
Transmission Control Protocol, Src Port: 5679 (5679), Dst Port: supfiledbg (1127), Seq: 0, Ack: 1, Len: 0
    Source port: 5679 (5679)
    Destination port: supfiledbg (1127)
    Sequence number: 0 (relative sequence number)
    Acknowledgement number: 1 (relative ack number)
    Header length: 20 bytes
    Flags: 0x0014 (RST, ACK)
    Window size: 0
    Checksum: 0xda1f (correct)
    SEQ/ACK analysis

No. Time Source Destination Protocol Info
      9 2.062633 192.168.131.201 192.168.131.102 DNS Standard query A isatap

Frame 9 (68 bytes on wire, 68 bytes captured)
Linux cooked capture
Internet Protocol, Src Addr: 192.168.131.201 (192.168.131.201), Dst Addr: 192.168.131.102 (192.168.131.102)
User Datagram Protocol, Src Port: 1128 (1128), Dst Port: domain (53)
Domain Name System (query)
    Transaction ID: 0x005a
    Flags: 0x0100 (Standard query)
    Questions: 1
    Answer RRs: 0
    Authority RRs: 0
    Additional RRs: 0
    Queries
        isatap: type A, class inet
            Name: isatap
            Type: Host address
            Class: inet

No. Time Source Destination Protocol Info
     10 2.062686 192.168.131.102 192.168.131.201 ICMP Destination unreachable

Frame 10 (96 bytes on wire, 96 bytes captured)
Linux cooked capture
Internet Protocol, Src Addr: 192.168.131.102 (192.168.131.102), Dst Addr: 192.168.131.201 (192.168.131.201)
Internet Control Message Protocol
    Type: 3 (Destination unreachable)
    Code: 3 (Port unreachable)
    Checksum: 0x85af (correct)
    Internet Protocol, Src Addr: 192.168.131.201 (192.168.131.201), Dst Addr: 192.168.131.102 (192.168.131.102)
    User Datagram Protocol, Src Port: 1128 (1128), Dst Port: domain (53)
    Domain Name System (query)
        Transaction ID: 0x005a
        Flags: 0x0100 (Standard query)
        Questions: 1
        Answer RRs: 0
        Authority RRs: 0
        Additional RRs: 0
        Queries
            isatap: type A, class inet
                Name: isatap
                Type: Host address
                Class: inet

No. Time Source Destination Protocol Info
     11 2.248616 192.168.131.201 192.168.131.102 TCP supfiledbg > 5679 [SYN] Seq=0 Ack=0 Win=32768 Len=0 MSS=1460

Frame 11 (64 bytes on wire, 64 bytes captured)
Linux cooked capture
Internet Protocol, Src Addr: 192.168.131.201 (192.168.131.201), Dst Addr: 192.168.131.102 (192.168.131.102)
Transmission Control Protocol, Src Port: supfiledbg (1127), Dst Port: 5679 (5679), Seq: 0, Ack: 0, Len: 0
    Source port: supfiledbg (1127)
    Destination port: 5679 (5679)
    Sequence number: 0 (relative sequence number)
    Header length: 28 bytes
    Flags: 0x0002 (SYN)
    Window size: 32768
    Checksum: 0x2d6f (correct)
    Options: (8 bytes)

No. Time Source Destination Protocol Info
     12 2.248656 192.168.131.102 192.168.131.201 TCP 5679 > supfiledbg [RST, ACK] Seq=0 Ack=1 Win=0 Len=0

Frame 12 (56 bytes on wire, 56 bytes captured)
Linux cooked capture
Internet Protocol, Src Addr: 192.168.131.102 (192.168.131.102), Dst Addr: 192.168.131.201 (192.168.131.201)
Transmission Control Protocol, Src Port: 5679 (5679), Dst Port: supfiledbg (1127), Seq: 0, Ack: 1, Len: 0
    Source port: 5679 (5679)
    Destination port: supfiledbg (1127)
    Sequence number: 0 (relative sequence number)
    Acknowledgement number: 1 (relative ack number)
    Header length: 20 bytes
    Flags: 0x0014 (RST, ACK)
    Window size: 0
    Checksum: 0xda1f (correct)
    SEQ/ACK analysis
Received on Thu Jan 13 2005 - 19:11:36 EST

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 18:33:26 EDT