Active Topics

 


Reply
Thread Tools
Posts: 11 | Thanked: 0 times | Joined on Mar 2008
#1
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
 
Posts: 118 | Thanked: 26 times | Joined on Feb 2008
#2
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.
 
Posts: 11 | Thanked: 0 times | Joined on Mar 2008
#3
That's working! Thanks a lot!!

Raph
 
wv9k's Avatar
Posts: 145 | Thanked: 20 times | Joined on Dec 2007 @ Seattle, WA USA
#4
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!
__________________
Nokia N800 - 24G (16G internal - 8G external) - KDE-3.5.8 :-)!
(2008-2?): RX-34_2008SE_2.2007.50-2_PR_COMBINED_MR0_ARM
iBlue 737 BT GPS - iGo Stowaway Ultra-Slim BT Keyboard.
Homebrew OTG cable and power injector.
 
Posts: 21 | Thanked: 9 times | Joined on Feb 2008
#5
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.
 
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#6
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.
 
Posts: 21 | Thanked: 9 times | Joined on Feb 2008
#7
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.
 

The Following User Says Thank You to rhkuo For This Useful Post:
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#8
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.
 
Posts: 21 | Thanked: 9 times | Joined on Feb 2008
#9
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
 
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#10
Originally Posted by rhkuo View Post
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.

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.
 
Reply

Tags
garnet, palm


 
Forum Jump


All times are GMT. The time now is 15:13.