author | zautrix <zautrix> | 2004-10-28 17:07:24 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-28 17:07:24 (UTC) |
commit | 709e2793be2dd47dc0a15488f43fd2f058db2036 (patch) (unidiff) | |
tree | f2f90d42bd0125d73bb57f5e3d1c3e1bd9d05196 /bin/kdepim | |
parent | 4254a88dbb00ebf5f5b323e1ddddf3491e3fdb24 (diff) | |
download | kdepimpi-709e2793be2dd47dc0a15488f43fd2f058db2036.zip kdepimpi-709e2793be2dd47dc0a15488f43fd2f058db2036.tar.gz kdepimpi-709e2793be2dd47dc0a15488f43fd2f058db2036.tar.bz2 |
showing clcok skew in pisync
-rw-r--r-- | bin/kdepim/Zaurus-KDE_syncHowTo.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/kdepim/Zaurus-KDE_syncHowTo.txt b/bin/kdepim/Zaurus-KDE_syncHowTo.txt index 6ceabdb..8186dd7 100644 --- a/bin/kdepim/Zaurus-KDE_syncHowTo.txt +++ b/bin/kdepim/Zaurus-KDE_syncHowTo.txt | |||
@@ -1,239 +1,242 @@ | |||
1 | 1 | ||
2 | Sync HowTo Zaurus <-> KDE | 2 | Sync HowTo Zaurus <-> KDE |
3 | 3 | ||
4 | 4 | ||
5 | This is a | 5 | This is a |
6 | Sync HowTo Zaurus <-> K-Desktop Environment(KDE) | 6 | Sync HowTo Zaurus <-> K-Desktop Environment(KDE) |
7 | using the KDE-Pim/Pi applications | 7 | using the KDE-Pim/Pi applications |
8 | KAddressbook/Pi (KA/Pi) and KOrganizer/Pi (KO/Pi) | 8 | KAddressbook/Pi (KA/Pi) and KOrganizer/Pi (KO/Pi) |
9 | on the Zaurus (Z). | 9 | on the Zaurus (Z). |
10 | 10 | ||
11 | You can now easily sync your Z with the | 11 | You can now easily sync your Z with the |
12 | PIM data of the KDE. | 12 | PIM data of the KDE. |
13 | (addressbook and calendar data). | 13 | (addressbook and calendar data). |
14 | You need to install the desktop versions | 14 | You need to install the desktop versions |
15 | of KA/Pi+KO/Pi on the desktop. | 15 | of KA/Pi+KO/Pi on the desktop. |
16 | You need KDE version 3.3.0 or higher on your desktop. | 16 | You need KDE version 3.3.0 or higher on your desktop. |
17 | You need KA/Pi+KO/Pi version 1.9.11 or higher on the desktop | 17 | You need KA/Pi+KO/Pi version 1.9.11 or higher on the desktop |
18 | and on the Z. | 18 | and on the Z. |
19 | 19 | ||
20 | NOTE: Almost the same procedure will make it possible to | 20 | NOTE: Almost the same procedure will make it possible to |
21 | sync KA/Pi+KO/Pi running on Windows with KDE via network. | 21 | sync KA/Pi+KO/Pi running on Windows with KDE via network. |
22 | 22 | ||
23 | The setup+sync procedure is: | 23 | The setup+sync procedure is: |
24 | 24 | ||
25 | 0) How the syncing works | 25 | 0) How the syncing works |
26 | 1) Installing KA/Pi+KO/Pi on the Z | 26 | 1) Installing KA/Pi+KO/Pi on the Z |
27 | 2) Installing desktop version of KA/Pi+KO/Pi on the desktop | 27 | 2) Installing desktop version of KA/Pi+KO/Pi on the desktop |
28 | 3) Connection your Z to the desktop via network | 28 | 3) Connection your Z to the desktop via network |
29 | (network connection can be set up via USB cable or (W)Lan | 29 | (network connection can be set up via USB cable or (W)Lan |
30 | 4) Configuring KA/Pi+KO/Pi on Z for Sync | 30 | 4) Configuring KA/Pi+KO/Pi on Z for Sync |
31 | 5) Enable remote sync in KA/Pi+KO/Pi on the desktop | 31 | 5) Enable remote sync in KA/Pi+KO/Pi on the desktop |
32 | 6) Sync | 32 | 6) Sync |
33 | 33 | ||
34 | ***************************************************** | 34 | ***************************************************** |
35 | 0) How the syncing works | 35 | 0) How the syncing works |
36 | ***************************************************** | 36 | ***************************************************** |
37 | 37 | ||
38 | After setting up everything, the following actions will | 38 | After setting up everything, the following actions will |
39 | be performed when syncing: | 39 | be performed when syncing: |
40 | User enables "remote pi-sync" on desktop. | 40 | User enables "remote pi-sync" on desktop. |
41 | User chooses "sync with configured desktop profile" on the Z. | 41 | User chooses "sync with configured desktop profile" on the Z. |
42 | Z sends sync request via network to configured IP/port/password. | 42 | Z sends sync request via network to configured IP/port/password. |
43 | KO/Pi on desktop detects sync request and syncs with KDE (configurable!). | 43 | KO/Pi on desktop detects sync request and syncs with KDE (configurable!). |
44 | A window pops up, that KO/Pi on desktop is in "remote syncing mode". | 44 | A window pops up, that KO/Pi on desktop is in "remote syncing mode". |
45 | If a conflict occurs when syncing KO/PI<->KDE on the desktop, | 45 | If a conflict occurs when syncing KO/PI<->KDE on the desktop, |
46 | automatically the newest entry is choosen. | 46 | automatically the newest entry is choosen. |
47 | (To avoid the need of user interaction) | 47 | (To avoid the need of user interaction) |
48 | KO/Pi on desktop sends synced file to Zaurus. | 48 | KO/Pi on desktop sends synced file to Zaurus. |
49 | KO/Pi on desktop is in "waiting mode" to get synced file back. | 49 | KO/Pi on desktop is in "waiting mode" to get synced file back. |
50 | Zaurus is syncing it's own calendar with the received file. | 50 | Zaurus is syncing it's own calendar with the received file. |
51 | Here can be some user interaction needed, i.e. | 51 | Here can be some user interaction needed, i.e. |
52 | if the sync profile is configured as | 52 | if the sync profile is configured as |
53 | "ask for every entry on conflict" and a conflict occurs. | 53 | "ask for every entry on conflict" and a conflict occurs. |
54 | Zaurus sends back synced file to desktop. | 54 | Zaurus sends back synced file to desktop. |
55 | Syncing on Zaurus is complete now. | 55 | Syncing on Zaurus is complete now. |
56 | KO/Pi on desktop gets back synced file. | 56 | KO/Pi on desktop gets back synced file. |
57 | KO/Pi on desktop removes all entries in its own calendar and | 57 | KO/Pi on desktop removes all entries in its own calendar and |
58 | reloads the synced file. | 58 | reloads the synced file. |
59 | KO/Pi on desktop syncs with KDE. | 59 | KO/Pi on desktop syncs with KDE. |
60 | After syncing with KDE is finished, KO/Pi closes | 60 | After syncing with KDE is finished, KO/Pi closes |
61 | the "remote syncing mode" window and displays | 61 | the "remote syncing mode" window and displays |
62 | a "syncing complete" message in the headline. | 62 | a "syncing complete" message in the headline. |
63 | 63 | ||
64 | The actual syncing KO/Pi on desktop <-> KDE is | 64 | The actual syncing KO/Pi on desktop <-> KDE is |
65 | performed by a small command line tool "kdecaldump", | 65 | performed by a small command line tool "kdecaldump", |
66 | which writes/reads the complete KDE calendar resources to | 66 | which writes/reads the complete KDE calendar resources to |
67 | a file/from a file. | 67 | a file/from a file. |
68 | KO/Pi tags changed entries such that an unchanged entry | 68 | KO/Pi tags changed entries such that an unchanged entry |
69 | is not changed in KDE by kdecaldump. That is important for | 69 | is not changed in KDE by kdecaldump. That is important for |
70 | calendar entries in KDE, stored in a "disconnected IMAP" calendar resource. | 70 | calendar entries in KDE, stored in a "disconnected IMAP" calendar resource. |
71 | 71 | ||
72 | 72 | ||
73 | Same way is KA/Pi working. | 73 | Same way is KA/Pi working. |
74 | 74 | ||
75 | 75 | ||
76 | ***************************************************** | 76 | ***************************************************** |
77 | 1) Installing KA/Pi+KO/Pi on the Z | 77 | 1) Installing KA/Pi+KO/Pi on the Z |
78 | ***************************************************** | 78 | ***************************************************** |
79 | 79 | ||
80 | Download latest version of KA/Pi+KO/Pi from | 80 | Download latest version of KA/Pi+KO/Pi from |
81 | http://sourceforge.net/projects/kdepimpi/ | 81 | http://sourceforge.net/projects/kdepimpi/ |
82 | Project KDE/Pim. | 82 | Project KDE/Pim. |
83 | Direct link is: | 83 | Direct link is: |
84 | http://sourceforge.net/project/showfiles.php?group_id=104103&package_id=112604 | 84 | http://sourceforge.net/project/showfiles.php?group_id=104103&package_id=112604 |
85 | Click on the version number to read the release notes/change log. | 85 | Click on the version number to read the release notes/change log. |
86 | Choose there the right precompiled package for your Z: | 86 | Choose there the right precompiled package for your Z: |
87 | For Sharp ROM | 87 | For Sharp ROM |
88 | -File: kdepim_1.x.xx_for_SharpROM.ipk.zip | 88 | -File: kdepim_1.x.xx_for_SharpROM.ipk.zip |
89 | For Open Zaurus ROM: | 89 | For Open Zaurus ROM: |
90 | -File: kdepim_1.x.xx_for_OZ-gcc3xx.ipk.zip | 90 | -File: kdepim_1.x.xx_for_OZ-gcc3xx.ipk.zip |
91 | If unsure, choose: | 91 | If unsure, choose: |
92 | -File: kdepim_1.x.xx_for_SharpROM.ipk.zip | 92 | -File: kdepim_1.x.xx_for_SharpROM.ipk.zip |
93 | 93 | ||
94 | Unzip the file and install the packages as usual on your Z. | 94 | Unzip the file and install the packages as usual on your Z. |
95 | In order to intstall KA/Pi+KO/Pi on your Z, | 95 | In order to intstall KA/Pi+KO/Pi on your Z, |
96 | you need to install the following files: | 96 | you need to install the following files: |
97 | kmicrokdelibs_1.x.xx_arm.ipk | 97 | kmicrokdelibs_1.x.xx_arm.ipk |
98 | kaddressbook_1.x.xx_arm.ipk | 98 | kaddressbook_1.x.xx_arm.ipk |
99 | korganizer_1.x.xx_arm.ipk | 99 | korganizer_1.x.xx_arm.ipk |
100 | 100 | ||
101 | ***************************************************** | 101 | ***************************************************** |
102 | 2) Installing desktop version of KA/Pi+KO/Pi on the desktop | 102 | 2) Installing desktop version of KA/Pi+KO/Pi on the desktop |
103 | ***************************************************** | 103 | ***************************************************** |
104 | 104 | ||
105 | Precompiled packages are available for SuSE 9.1. | 105 | Precompiled packages are available for SuSE 9.1. |
106 | Choose on the above download location: | 106 | Choose on the above download location: |
107 | File: KDE-Pim-Pi-1.9.11-SuSE9.1.i586.rpm | 107 | File: KDE-Pim-Pi-1.9.11-SuSE9.1.i586.rpm |
108 | Download file and install it on console with | 108 | Download file and install it on console with |
109 | su | 109 | su |
110 | rpm -ihv KDE-Pim-Pi-1.9.11-SuSE9.1.i586.rpm | 110 | rpm -ihv KDE-Pim-Pi-1.9.11-SuSE_9.1.i586.rpm |
111 | (NOTE:update with rpm -Uhv KDE-Pim-Pi-1.9.11-SuSE9.1.i586.rpm) | 111 | NOTE:update with |
112 | rpm -Uhv KDE-Pim-Pi-1.9.11-SuSE_9.1.i586.rpm | ||
113 | erase (uninstall) with | ||
114 | rpm -e KDE-Pim-Pi-1.9.11-SuSE_9.1 | ||
112 | NOTE for users of SuSE 9.1: | 115 | NOTE for users of SuSE 9.1: |
113 | You need KDE version 3.3.0 or higher on your desktop. | 116 | You need KDE version 3.3.0 or higher on your desktop. |
114 | Plese make an online update in SuSE (YAST), then update | 117 | Plese make an online update in SuSE (YAST), then update |
115 | your KDE to version 3.3.0 or higher. | 118 | your KDE to version 3.3.0 or higher. |
116 | You can find links to updated precompiled versions of KDE | 119 | You can find links to updated precompiled versions of KDE |
117 | for SuSE 9.1 on the SusE web site, | 120 | for SuSE 9.1 on the SusE web site, |
118 | a direct link is for example: | 121 | a direct link is for example: |
119 | ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/suse/i386/supplementary/KDE/update_for_9.1 | 122 | ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/suse/i386/supplementary/KDE/update_for_9.1 |
120 | HOWTO UPDATE KDE: | 123 | HOWTO UPDATE KDE: |
121 | Download there the packages in "base". | 124 | Download there the packages in "base". |
122 | And the needed package for your language in "internationalization". | 125 | And the needed package for your language in "internationalization". |
123 | Put all downloaded files in one "installation" directory. | 126 | Put all downloaded files in one "installation" directory. |
124 | Open console and go to the downloaded "installation" directory. | 127 | Open console and go to the downloaded "installation" directory. |
125 | Do there a | 128 | Do there a |
126 | su | 129 | su |
127 | and then perform a test for the update: | 130 | and then perform a test for the update: |
128 | rpm -Uhv --test *.rpm | 131 | rpm -Uhv --test *.rpm |
129 | 132 | ||
130 | If no dependencies are shown, you can do the actual update with | 133 | If no dependencies are shown, you can do the actual update with |
131 | rpm -Uhv *.rpm | 134 | rpm -Uhv *.rpm |
132 | 135 | ||
133 | If there are missing dependencies, you can resolve them by | 136 | If there are missing dependencies, you can resolve them by |
134 | - download the needed updated KDE package from the | 137 | - download the needed updated KDE package from the |
135 | "applications" or from the "development" folder on the server. | 138 | "applications" or from the "development" folder on the server. |
136 | - adding a needed rpm package from the SuSE install DVD | 139 | - adding a needed rpm package from the SuSE install DVD |
137 | - remove the package that has dependencies from your "installation" directory. | 140 | - remove the package that has dependencies from your "installation" directory. |
138 | 141 | ||
139 | Do the | 142 | Do the |
140 | rpm -Uhv --test *.rpm | 143 | rpm -Uhv --test *.rpm |
141 | until you get no dependencies and no errors, then do a | 144 | until you get no dependencies and no errors, then do a |
142 | rpm -Uhv *.rpm | 145 | rpm -Uhv *.rpm |
143 | Run | 146 | Run |
144 | SuSEconfig | 147 | SuSEconfig |
145 | after installing with rpm is finished. | 148 | after installing with rpm is finished. |
146 | Restart KDE. | 149 | Restart KDE. |
147 | 150 | ||
148 | ***************************************************** | 151 | ***************************************************** |
149 | 3) Connection your Z to the desktop via network | 152 | 3) Connection your Z to the desktop via network |
150 | (network connection can be set up via USB cable or (W)Lan | 153 | (network connection can be set up via USB cable or (W)Lan |
151 | ***************************************************** | 154 | ***************************************************** |
152 | 155 | ||
153 | a) Connection via network cable/(W)Lan cards | 156 | a) Connection via network cable/(W)Lan cards |
154 | Connect your desktop to the network. | 157 | Connect your desktop to the network. |
155 | Set up networking on the Z. | 158 | Set up networking on the Z. |
156 | Make sure, you can ping the desktop from Z. | 159 | Make sure, you can ping the desktop from Z. |
157 | b) Connection via USB cable:(is working for Z 7x0 and Z5500) | 160 | b) Connection via USB cable:(is working for Z 7x0 and Z5500) |
158 | (i) Open console on desktop and type | 161 | (i) Open console on desktop and type |
159 | su | 162 | su |
160 | tail -f /var/log/messages | 163 | tail -f /var/log/messages |
161 | (ii) Connect your Z with the USB cable to your desktop | 164 | (ii) Connect your Z with the USB cable to your desktop |
162 | You should get as output in the above console | 165 | You should get as output in the above console |
163 | something like this: | 166 | something like this: |
164 | ("BUG" is the name of the desktop computer!) | 167 | ("BUG" is the name of the desktop computer!) |
165 | Oct 26 12:49:37 BUG kernel: usb 2-2: new full speed USB device using address 2 | 168 | Oct 26 12:49:37 BUG kernel: usb 2-2: new full speed USB device using address 2 |
166 | Oct 26 12:49:37 BUG kernel: usb 2-2: Product: SL-C860 | 169 | Oct 26 12:49:37 BUG kernel: usb 2-2: Product: SL-C860 |
167 | Oct 26 12:49:37 BUG kernel: usb 2-2: Manufacturer: Sharp | 170 | Oct 26 12:49:37 BUG kernel: usb 2-2: Manufacturer: Sharp |
168 | Oct 26 12:49:37 BUG /etc/hotplug/usb.agent[22659]: need a device for this command | 171 | Oct 26 12:49:37 BUG /etc/hotplug/usb.agent[22659]: need a device for this command |
169 | Oct 26 12:49:43 BUG kernel: usb0: register usbnet at usb-0000:00:1d.0-2, Sharp Zaurus, PXA-2xx based | 172 | Oct 26 12:49:43 BUG kernel: usb0: register usbnet at usb-0000:00:1d.0-2, Sharp Zaurus, PXA-2xx based |
170 | Oct 26 12:49:43 BUG kernel: usbcore: registered new driver usbnet | 173 | Oct 26 12:49:43 BUG kernel: usbcore: registered new driver usbnet |
171 | You see in the 5. line ("BUG kernel: usb0: register"), that usb device usb0 is used. | 174 | You see in the 5. line ("BUG kernel: usb0: register"), that usb device usb0 is used. |
172 | (iii) Create a network startup entry in /etc/sysconfig/network | 175 | (iii) Create a network startup entry in /etc/sysconfig/network |
173 | Depending of the number X of the used usb device, create a file | 176 | Depending of the number X of the used usb device, create a file |
174 | /etc/sysconfig/network/ifcfg-usbX | 177 | /etc/sysconfig/network/ifcfg-usbX |
175 | (in our case /etc/sysconfig/network/ifcfg-usb0 ) | 178 | (in our case /etc/sysconfig/network/ifcfg-usb0 ) |
176 | with the following content: | 179 | with the following content: |
177 | # usbX config for Zaurus | 180 | # usbX config for Zaurus |
178 | IPADDR='192.168.129.200' | 181 | IPADDR='192.168.129.200' |
179 | NETMASK='255.255.255.0' | 182 | NETMASK='255.255.255.0' |
180 | NETWORK='192.168.129.0' | 183 | NETWORK='192.168.129.0' |
181 | BROADCAST='192.168.129.255' | 184 | BROADCAST='192.168.129.255' |
182 | STARTMODE='hotplug' | 185 | STARTMODE='hotplug' |
183 | (iv) Disconnect the Z and connect the Z again to the desktop. | 186 | (iv) Disconnect the Z and connect the Z again to the desktop. |
184 | Now you should be able to ping the Z from the desktop, try in console on desktop: | 187 | Now you should be able to ping the Z from the desktop, try in console on desktop: |
185 | ping 192.168.129.201 | 188 | ping 192.168.129.201 |
186 | Now you should be able to ping the desktop from the Z, try in console on Z: | 189 | Now you should be able to ping the desktop from the Z, try in console on Z: |
187 | ping 192.168.129.200 | 190 | ping 192.168.129.200 |
188 | 191 | ||
189 | Now you will get a network connection automatically, | 192 | Now you will get a network connection automatically, |
190 | if you connect your Z to the desktop via the USB cable. | 193 | if you connect your Z to the desktop via the USB cable. |
191 | 194 | ||
192 | 195 | ||
193 | In the following, we assume, that | 196 | In the following, we assume, that |
194 | the desktop has the IP address: 192.168.129.200 | 197 | the desktop has the IP address: 192.168.129.200 |
195 | and that | 198 | and that |
196 | the Z has the IP address: 192.168.129.201 | 199 | the Z has the IP address: 192.168.129.201 |
197 | 200 | ||
198 | ***************************************************** | 201 | ***************************************************** |
199 | 4) Configuring KA/Pi+KO/Pi on Z for Sync | 202 | 4) Configuring KA/Pi+KO/Pi on Z for Sync |
200 | ***************************************************** | 203 | ***************************************************** |
201 | 204 | ||
202 | Start KO/Pi on the Z. | 205 | Start KO/Pi on the Z. |
203 | Choose Menu: Synchronize - Configure | 206 | Choose Menu: Synchronize - Configure |
204 | Fill in name for "Local device name:", e.g. "Z760" | 207 | Fill in name for "Local device name:", e.g. "Z760" |
205 | Click on "New profile" | 208 | Click on "New profile" |
206 | Set name of "Profile:", e.g. "BUG". | 209 | Set name of "Profile:", e.g. "BUG". |
207 | (that is the above name of the desktop computer) | 210 | (that is the above name of the desktop computer) |
208 | Choose "Profile kind": Pi-Sync. | 211 | Choose "Profile kind": Pi-Sync. |
209 | Set "Password for remote access", e.g. "xyz" for | 212 | Set "Password for remote access", e.g. "xyz" for |
210 | Calendar and Addressbook. | 213 | Calendar and Addressbook. |
211 | Set Remote IP address to 192.168.129.200 for | 214 | Set Remote IP address to 192.168.129.200 for |
212 | Calendar and Addressbook. | 215 | Calendar and Addressbook. |
213 | (Note: That is the IP address of the desktop!). | 216 | (Note: That is the IP address of the desktop!). |
214 | The "Remote port number" is 9197/9198 for | 217 | The "Remote port number" is 9197/9198 for |
215 | Calendar and Addressbook. | 218 | Calendar and Addressbook. |
216 | You do not have to change the | 219 | You do not have to change the |
217 | "Remote port number" or any other settings. | 220 | "Remote port number" or any other settings. |
218 | Click "OK" button to save your settings. | 221 | Click "OK" button to save your settings. |
219 | 222 | ||
220 | Now you have configured KA/Pi+KO/Pi sync on the Z, | 223 | Now you have configured KA/Pi+KO/Pi sync on the Z, |
221 | no need to configure anything in KA/Pi. | 224 | no need to configure anything in KA/Pi. |
222 | 225 | ||
223 | 226 | ||
224 | ***************************************************** | 227 | ***************************************************** |
225 | 5) Enable remote sync in KA/Pi+KO/Pi on the desktop | 228 | 5) Enable remote sync in KA/Pi+KO/Pi on the desktop |
226 | ***************************************************** | 229 | ***************************************************** |
227 | 230 | ||
228 | Start KO/Pi on the desktop. | 231 | Start KO/Pi on the desktop. |
229 | Do a "test" sync with KDE, choose menu: | 232 | Do a "test" sync with KDE, choose menu: |
230 | Synchronize - KDE_Desktop | 233 | Synchronize - KDE_Desktop |
231 | After syncing, you should have the same data in KDE | 234 | After syncing, you should have the same data in KDE |
232 | and in KO/Pi. | 235 | and in KO/Pi. |
233 | NOTE: | 236 | NOTE: |
234 | The KO/Pi version 1.9.10 had the bug, that on the first | 237 | The KO/Pi version 1.9.10 had the bug, that on the first |
235 | sync with KDE, all data in KDE was deleted. | 238 | sync with KDE, all data in KDE was deleted. |
236 | DO NOT USE VERSION 1.9.10! | 239 | DO NOT USE VERSION 1.9.10! |
237 | 240 | ||
238 | The bevaviour on the first sync is | 241 | The bevaviour on the first sync is |
239 | (in versions >= 1.9.11) | 242 | (in versions >= 1.9.11) |