maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [Palm OS] Sync on Linux with Jpilot? (https://talk.maemo.org/showthread.php?t=17832)

raphinou 2008-03-13 07:59

[Palm OS] Sync on Linux with Jpilot?
 
Hi,

I'm having trouble setting up sync between jpilot and gvm.

I've found various ways of doing it (setting the serial port to use to ".":http://www.faqs.org/docs/Linux-HOWTO....html#SOFTWARE or using pppd http://howto.pilot-link.org/ppp/cd.html ), but none worked.

Could someone confirm the procedure to follow? I'm running Jpilot 0.99.9.10 on Ubuntu 7/10.


Thanks in advance!

Raph

m_stolle 2008-03-13 13:29

Re: Sync on Linux with Jpilot?
 
try "net:" as the port to use. That worked for me, at least in gnome-pilot, and has worked in the past for network sync in jpilot.

raphinou 2008-03-13 20:18

Re: Sync on Linux with Jpilot?
 
That's working! Thanks a lot!!

Raph

wv9k 2008-03-13 23:10

Re: Sync on Linux with Jpilot?
 
jpilot for the n800?!? Wow, gotta find that, all of a sudden I could quit dragging the z31 around for the PIM functions :-) :-) :-)!!!

Going to check this out now, THANKS!

rhkuo 2008-06-12 04:30

Re: Sync on Linux with Jpilot?
 
Can someone help me debug this? I'm trying to do a network sync with jpilot. I used net: as the port in jpilot. I press the sync button in Jpilot and nothing appears to happen (howver I'm not sure what I should see when it does work). Then I press "Start Hotsync" on my n800. After a few seconds the N800 displays "Failed (Can't connect)".

Did some googling and tried the following linux command from desktop: pilot-xfer -p net:any -l
which is supposed to test the connection, bypassing jpilot. I get:
Listening for incoming connection on net:any...

and it just sits there forever, after I press "start hotsync" on the n800.

Any ideas would be truly appreciated.

lma 2008-06-12 06:37

Re: Sync on Linux with Jpilot?
 
Did you enter the PC's correct hostname or IP address in the GVM hotsync dialog? Note that if you use the hostname it must be fully qualified.

rhkuo 2008-06-12 15:26

Re: Sync on Linux with Jpilot?
 
yes, I set my router up for static IP and have put the host IP in the GVM dialog. I forgot to mention that hotsync works fine with the Palm Desktop when I boot into Windows, but I use Linux 99% of the time, so am trying to get Jpilot to work.

Is there a daemon that needs to run in the background to allow jpilot to intercept the network connections?

Thanks.

lma 2008-06-13 00:00

Re: Sync on Linux with Jpilot?
 
No, jpilot (or pilot-xfer) is the network-listening daemon.

Just to eliminate any unrelated network issues, can you ping the Linux box from the tablet and/or vice versa?

Do you have firewalling enabled on the Linux side by any chance (see output of "sudo iptables -L -n")? GVM needs to be able to connect to your PC's TCP port 14238 for hotsync to work.

rhkuo 2008-06-13 04:48

Re: Sync on Linux with Jpilot?
 
Hi Ima,
Am I correct in assuming then that jpilot calls pilot-xfer? Does pilot-xfer need to be running in the background?

Pinging works both ways from the desktop to/from the n800.

As far as I know, I'm not running a software firewall, though I could be wrong if it's enabled by default (using SUSE 10.2). Here is the output of iptables; I'm not sure how to interpret it. Thanks for your help.

Code:

# iptables -L -n
Chain INPUT (policy DROP)
target    prot opt source              destination
ACCEPT    0    --  0.0.0.0/0            0.0.0.0/0
ACCEPT    0    --  0.0.0.0/0            0.0.0.0/0          state RELATED,ESTAB
LISHED
input_ext  0    --  0.0.0.0/0            0.0.0.0/0
input_ext  0    --  0.0.0.0/0            0.0.0.0/0
LOG        0    --  0.0.0.0/0            0.0.0.0/0          limit: avg 3/min bu
rst 5 LOG flags 6 level 4 prefix `SFW2-IN-ILL-TARGET '
DROP      0    --  0.0.0.0/0            0.0.0.0/0

Chain FORWARD (policy DROP)
target    prot opt source              destination
LOG        0    --  0.0.0.0/0            0.0.0.0/0          limit: avg 3/min bu
rst 5 LOG flags 6 level 4 prefix `SFW2-FWD-ILL-ROUTING '

Chain OUTPUT (policy ACCEPT)
target    prot opt source              destination
ACCEPT    0    --  0.0.0.0/0            0.0.0.0/0
ACCEPT    0    --  0.0.0.0/0            0.0.0.0/0          state NEW,RELATED,E
STABLISHED
LOG        0    --  0.0.0.0/0            0.0.0.0/0          limit: avg 3/min bu
rst 5 LOG flags 6 level 4 prefix `SFW2-OUT-ERROR '

Chain forward_ext (0 references)
target    prot opt source              destination

Chain input_ext (2 references)
target    prot opt source              destination
DROP      0    --  0.0.0.0/0            0.0.0.0/0          PKTTYPE = broadcast

ACCEPT    icmp --  0.0.0.0/0            0.0.0.0/0          icmp type 4
ACCEPT    icmp --  0.0.0.0/0            0.0.0.0/0          icmp type 8
ACCEPT    icmp --  0.0.0.0/0            0.0.0.0/0          state RELATED,ESTAB
LISHED icmp type 0
ACCEPT    icmp --  0.0.0.0/0            0.0.0.0/0          state RELATED,ESTAB
LISHED icmp type 3
ACCEPT    icmp --  0.0.0.0/0            0.0.0.0/0          state RELATED,ESTAB
LISHED icmp type 11
ACCEPT    icmp --  0.0.0.0/0            0.0.0.0/0          state RELATED,ESTAB
LISHED icmp type 12
ACCEPT    icmp --  0.0.0.0/0            0.0.0.0/0          state RELATED,ESTAB
LISHED icmp type 14
ACCEPT    icmp --  0.0.0.0/0            0.0.0.0/0          state RELATED,ESTAB
LISHED icmp type 18
ACCEPT    icmp --  0.0.0.0/0            0.0.0.0/0          state RELATED,ESTAB
LISHED icmp type 3 code 2
ACCEPT    icmp --  0.0.0.0/0            0.0.0.0/0          state RELATED,ESTAB
LISHED icmp type 5
reject_func  tcp  --  0.0.0.0/0            0.0.0.0/0          tcp dpt:113 state
 NEW
LOG        0    --  0.0.0.0/0            0.0.0.0/0          limit: avg 3/min bu
rst 5 PKTTYPE = multicast LOG flags 6 level 4 prefix `SFW2-INext-DROP-DEFLT '
DROP      0    --  0.0.0.0/0            0.0.0.0/0          PKTTYPE = multicast

LOG        tcp  --  0.0.0.0/0            0.0.0.0/0          limit: avg 3/min bu
rst 5 tcp flags:0x17/0x02 LOG flags 6 level 4 prefix `SFW2-INext-DROP-DEFLT '
LOG        icmp --  0.0.0.0/0            0.0.0.0/0          limit: avg 3/min bu        rst 5 LOG flags 6 level 4 prefix `SFW2-INext-DROP-DEFLT '
LOG        udp  --  0.0.0.0/0            0.0.0.0/0          limit: avg 3/min bu        rst 5 LOG flags 6 level 4 prefix `SFW2-INext-DROP-DEFLT '
LOG        0    --  0.0.0.0/0            0.0.0.0/0          limit: avg 3/min bu        rst 5 state INVALID LOG flags 6 level 4 prefix `SFW2-INext-DROP-DEFLT-INV '
DROP      0    --  0.0.0.0/0            0.0.0.0/0

Chain reject_func (1 references)
target    prot opt source              destination
REJECT    tcp  --  0.0.0.0/0            0.0.0.0/0          reject-with tcp-res        et
REJECT    udp  --  0.0.0.0/0            0.0.0.0/0          reject-with icmp-po        rt-unreachable
REJECT    0    --  0.0.0.0/0            0.0.0.0/0          reject-with icmp-pr        oto-unreachable


lma 2008-06-13 06:55

Re: Sync on Linux with Jpilot?
 
Quote:

Originally Posted by rhkuo (Post 191563)
As far as I know, I'm not running a software firewall, though I could be wrong if it's enabled by default (using SUSE 10.2).

Looks like it is.

Quote:

Here is the output of iptables; I'm not sure how to interpret it.
There's a bit of info like network interfaces missing (my mistake, I probably should have said "iptables -L -n -v -x") but I think I can guess what that is.

It looks like you need an ACCEPT rule for tcp dpt:14238 in the input_ext chain for network hotsync to get through. I'm afraid I'm not very familiar with SuSE, but have a look at this and this.


All times are GMT. The time now is 09:00.

vBulletin® Version 3.8.8