Author Topic: Sync Problem  (Read 3048 times)

david_dahan

  • Newbie
  • *
  • Posts: 43
    • View Profile
    • http://
Sync Problem
« on: April 22, 2005, 10:03:48 pm »
Dear All,

I am trying to establish synchronization between my Linux desktop (SuSe 9.2) and my Caco rom based SL-C750 PDA.
I have installed kdepim-pi in the desktop and in the C750 . I followed the 'Sync HowTo Zaurus <-> KDE' instructions in http://pi-sync.net/ .
I'm in the stage of creating the /etc/sysconfig/network/ifcfg-usb0 file (USB0 was registered) :
# usbX config for Zaurus
IPADDR='192.168.168.252'
NETMASK='255.255.255.0'
NETWORK='192.168.129.0'
BROADCAST='192.168.129.255'
STARTMODE='hotplug'

- My desktop IPAddress is 192.168.168.252 (DHCP assigned)

I do not know what addresses to put in NETWORK and BROADCAST , can you please guide me finding the right addresses .

(I tried the above addresses and the following : NETWORK='192.168.168.0' ,  BROADCAST='192.168.168.255' but failed )

--
thanks,
David
SL-C750 running pdaXrom 1.1.0 Beta1
512MB SD
Linux SuSE 10.0 Laptop + desktop

zenyatta

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Sync Problem
« Reply #1 on: April 23, 2005, 02:29:20 am »
Quote
IPADDR='192.168.168.252'
NETMASK='255.255.255.0'
NETWORK='192.168.129.0'
BROADCAST='192.168.129.255'
STARTMODE='hotplug'
Your desktop's DHCP-assigned address is not relevant here. When the USB connection to your Zaurus activates, an additional network interface is normally set up automatically. You can check this by running 'ifconfig' on the command line when Zaurus is connected to the PC. You should see three entries: lo, eth0 and usb0.

The usb0 interface will probably have an address in the 192.168.129.* range - hence the setup you describe is correct except for the IPADDR which should be 192.168.129.252.

Hope this helps,
z.
SL-5500, 256MB Kingston CF card, 128MB EDGE SD card, Thomson HED-155 headphones
OpenZaurus 3.5.3 / Opie (kernel 64-0)

david_dahan

  • Newbie
  • *
  • Posts: 43
    • View Profile
    • http://
Sync Problem
« Reply #2 on: April 23, 2005, 10:11:02 pm »
Quote
Quote
IPADDR='192.168.168.252'
NETMASK='255.255.255.0'
NETWORK='192.168.129.0'
BROADCAST='192.168.129.255'
STARTMODE='hotplug'
Your desktop's DHCP-assigned address is not relevant here. When the USB connection to your Zaurus activates, an additional network interface is normally set up automatically. You can check this by running 'ifconfig' on the command line when Zaurus is connected to the PC. You should see three entries: lo, eth0 and usb0.

The usb0 interface will probably have an address in the 192.168.129.* range - hence the setup you describe is correct except for the IPADDR which should be 192.168.129.252.

Hope this helps,
z.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76504\"][{POST_SNAPBACK}][/a][/div]

Now I can ping the C750 from my desktop , but I can not ping my Linux desktop (192.168.129.200) from my C750.
I am able to synchronize the calendar only from my desktop and I'm not able to do it for KA/PI .

I have created /etc/sysconfig/network/ifcfg-usb0 file (USB0 was registered) as the following :
# usbX config for Zaurus
IPADDR='192.168.129.200'
NETMASK='255.255.255.0'
NETWORK='192.168.129.0'
BROADCAST='192.168.129.255'
DEVICE=usb0

The latest KDE-PIM/pi version were installed .

Thanks,
David.
SL-C750 running pdaXrom 1.1.0 Beta1
512MB SD
Linux SuSE 10.0 Laptop + desktop

zenyatta

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Sync Problem
« Reply #3 on: April 24, 2005, 02:42:21 am »
That's strange. Pinging means you can route packages both ways, so it should work. Can you run 'netstat -rn' on Zaurus and post the output?

z.
SL-5500, 256MB Kingston CF card, 128MB EDGE SD card, Thomson HED-155 headphones
OpenZaurus 3.5.3 / Opie (kernel 64-0)

david_dahan

  • Newbie
  • *
  • Posts: 43
    • View Profile
    • http://
Sync Problem
« Reply #4 on: April 24, 2005, 01:30:23 pm »
Quote
That's strange. Pinging means you can route packages both ways, so it should work. Can you run 'netstat -rn' on Zaurus and post the output?

z.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76596\"][{POST_SNAPBACK}][/a][/div]

This is the output of netstat -n :
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt   Iface
192.168.129.0   0.0.0.0         255.255.255.0      U        40 0            0    usbd0

thanks,
David.
SL-C750 running pdaXrom 1.1.0 Beta1
512MB SD
Linux SuSE 10.0 Laptop + desktop

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Sync Problem
« Reply #5 on: April 24, 2005, 02:14:06 pm »
Quote
Now I can ping the C750 from my desktop , but I can not ping my Linux desktop (192.168.129.200) from my C750.
I am able to synchronize the calendar only from my desktop and I'm not able to do it for KA/PI .

sounds like you have firewalling enabled.

try, on the desktop, as root

"iptables -I INPUT -s 192.168.129.0/24 -d 0/0 -j ACCEPT"

and see if that fixed the ping and the sync.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

david_dahan

  • Newbie
  • *
  • Posts: 43
    • View Profile
    • http://
Sync Problem
« Reply #6 on: April 24, 2005, 08:07:09 pm »
Quote
Quote
Now I can ping the C750 from my desktop , but I can not ping my Linux desktop (192.168.129.200) from my C750.
I am able to synchronize the calendar only from my desktop and I'm not able to do it for KA/PI .

sounds like you have firewalling enabled.

try, on the desktop, as root

"iptables -I INPUT -s 192.168.129.0/24 -d 0/0 -j ACCEPT"

and see if that fixed the ping and the sync.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76636\"][{POST_SNAPBACK}][/a][/div]

Thanks , Now it is woring . I have ping in both directions and able to sync KA/pi and KO/pi .
Appreciate your help .

cheers,
David.
SL-C750 running pdaXrom 1.1.0 Beta1
512MB SD
Linux SuSE 10.0 Laptop + desktop