Discussion:
starting synce on archlynux?
a***@hotmail.com
2010-08-27 15:32:42 UTC
Permalink
Sorry, I sent this out before, but it never reached the list.
Message: 1
Date: Sun, 25 Jul 2010 13:43:14 +0100
Subject: RE: starting synce on archlynux?
Content-Type: text/plain; charset="utf-8"
greetings,
I noticed when I did my weekly routine system-update, there was an
upgrade to synce-odccm. I tried it out, and there's noticable
improvement, even though we're still not up and running alltogether.
$ pacman -Qs odccm
local/synce-odccm 0.13-4
provide a means of communication with a Windows CE device - daemon
to communicate with a handheld device
$ sudo odccm -f -l 6
** (odccm:2209): DEBUG: _odccm_interface_address: waiting for IP
address on ppp0
** (odccm:2209): DEBUG: _odccm_interface_address: waiting for IP
address on ppp0
** (odccm:2209): DEBUG: _odccm_interface_address: waiting for IP
address on ppp0
** (odccm:2209): DEBUG: _odccm_interface_address: waiting for IP
address on ppp0
** (odccm:2209): DEBUG: _odccm_interface_address: waiting for IP
address on ppp0
two things I notice right away. Before, there was an extra failure
notice about dbus not being compiled right and odccm actually failed
and returned to the command prompt. Now, odccm stays running until I
disable it. The connection to my mobile device appears to remain
stable and not drop out right away like before. I get the connection
chirp on my device, but the disconnect chime waits until I run
synce-serial-abort.
$ sudo synce-serial-start
Serial connection established.
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB0
Cannot determine ethernet address for proxy ARP
local IP address 192.168.131.1
remote IP address 192.168.131.129
synce-serial-start is now waiting for your device to connect
Can you ping the device IP at this point ?
Also check the output of iptables -L again.
I'm not overly familiar with ping. I skimmed the manual, but if you need different output, let me know.


$ sudo synce-serial-start
Password:
Serial connection established.
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB0
Cannot determine ethernet address for proxy ARP
local IP address 192.168.131.1
remote IP address 192.168.131.129

synce-serial-start is now waiting for your device to connect

$ ping -U -v -r -c 1 192.168.131.129
PING 192.168.131.129 (192.168.131.129) 56(84) bytes of data.
64 bytes from 192.168.131.129: icmp_seq=1 ttl=32 time=45.0 ms

--- 192.168.131.129 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 45.040/45.040/45.040/0.000 ms
$ sudo pls "/flash disk"
Password:
** Message: Hal reports no devices connected
** Message: No devices connected to odccm
pls: Could not find configuration at path '(Default)'
$ sudo pls
Password:
** Message: Hal reports no devices connected
** Message: No devices connected to odccm
pls: Could not find configuration at path '(Default)'

$ sudo synce-serial-abort
Password:

synce-serial-abort-device has requested shutdown of synce-device0.


synce-serial-abort-device has requested shutdown of synce-device0.

$

$ sudo odccm -f -l 6
Password:
** (odccm:2210): DEBUG: _odccm_interface_address: waiting for IP address on ppp0
** (odccm:2210): DEBUG: _odccm_interface_address: waiting for IP address on ppp0
** (odccm:2210): DEBUG: _odccm_interface_address: waiting for IP address on ppp0
** (odccm:2210): DEBUG: _odccm_interface_address: waiting for IP address on ppp0
** (odccm:2210): DEBUG: _odccm_interface_address: waiting for IP address on ppp0

$ sudo iptables -L
Password:
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
$

Loading...