Showing posts with label sync. Show all posts
Showing posts with label sync. Show all posts

08/05/2013

Alekto - dual booting a Zenbook

After Tisiphone, an Asus Bamboo U43JC, bowed out after 2 1/2 years with FUBAR hinges, a 3/4 working LCD panel and a dead battery, the natural choice was to stick to Asus, of course. In fairness, finding something ultraportable with a full metal body and decent screen resolution that's not a Macbook Air and doesn't break the bank doesn't leave you many options beyond a Zenbook. I went for the UX31A DB71 with a 256 GB SSD and i7 3517U processor.

21/07/2009

Browseable backups with rdiff-backup and archfs

Note: archfs is now rdiff-backup-fs (see comment below).
In contrast to tools like rsnapshot, which always backs up full versions, rdiff-backup saves only incremental changes in diff files, which takes much less space (and can take a lot of time, too). Because of this it is rather unsuitable for browsing different versions, which is where archfs cuts in.
You need:
  • rdiff-backup (Python script, in main repo)
  • librsync (from repos, or patched sources, see below)
  • Keep (rdiff-backup-frontend, e.g. from the community repos)
  • archfs
  • fuse-devel

11/05/2009

Unison fails to set permissions

Unison persistently refused to synchronise new files not present on one of the machines claiming:
"Failed to set permissions of file …" (different user names and IDs, by the way).
The solution (found here) is to disable owner and permission setting in the corresponding ~/.unison/<theproject>.prf file. Add the lines
owner=false
perms=0
and you should be fine.
Update (12/2014): I ran into a permissions problem again after installing a fresh 14.10 Kubuntu while keeping my old home partition (at least I think that's what changed between Unison runs ;) ).
This time it was "Error in setting permissions". This bug discussion recommended adding a
dontchmod=true
line to the .prf file (in addition to the options listed above), which solved  my issue.

15/04/2008

Synchronise via unison and ssh

I've seen one crashed hard disk too many last week, so I decided to tackle my long overdue synchronisation issues.
Situation: 3 computers (Archimedes, Xanthippe and Tisiphone), creative work-in-progress chaos on all three of them and one ssh-accessed backup account on our server to synchronise all three accounts.
Rsync is a nice simple console backup tool which also works with ssh, but neither runs a diff nor a modification date comparison of duplicate files. Files in the source directory are written over those in the destination directory, no matter what.
Unison is more sophisticated. It comes with a nice Gtk GUI capable of diff viewing and setting file replacement rules (e.g. last modified).

04/12/2007

HowTo (almost) synchronize your Motorola RAZR V3 with KAddressBook

Enable bluetooth. YaST --> Hardware --> Bluetooth

Then plug in your dongle, kbluetooth should start automatically and settle into your systray. Right-click on it and select "KBlueMon". Enable "FindMe" mode ("Sichtbar" in German) and start scanning.

To put new ringtones (32 kbps/22kHz for mp3s is definitely enough) on your phone, right click on KBluetooth again, then select "Send File". Find the file you want to send, select your phone and click "Send". Wow, that was easy ;-)

To bind your phone to a device node (eg. to use in kitchensync or kmobiletools), first figure out its MAC address by

hcitool scan

then configure rfcomm by editing your /etc/bluetooth/rfcomm.conf file and putting in an entry like

rfcomm0 {
bind yes;
device 00:12:8A:A3:70:34;
channel 1;
comment "taaris RAZR V3";
}

now you can either reboot, or bind manually

rfcomm bind all

then create the device node, if you don't have it already

mknod /dev/rfcomm0 c 216 0

Now get the permissions sorted out. Create a group called phone and put yourself (and anyone else who's going to access your gadget) in it. Restart your session.

chgrp phone /dev/rfcomm0 (you might have to repeat this if you cannot access the device anymore after a reboot)
chmod 660 /dev/rfcomm0

To give credit where it's due, most of this info was found here.

Now you can configure kmobiletools to use with your RAZR V3. Not that this is really helpful at the moment, since you cannot actually synchronize your phone just yet - but let's hope for KDE4 and KDEPIM.

launch kmobiletools
Settings --> Main Settings. The Configure dialog will pop up.
nnder Devices set:
'Mobile phone device': /dev/rfcomm0
Leave other settings at defaults.
Under Mobile phone set:
'Phone type': Generic GSM device
'Dialing options': CKPD dial System
Select the 'Use Motorola battery indicator' check box.

Then go to Settings --> Reinitialize GSM Device.

10/11/2007

Holy palmer's kiss...

Sorry, pun right from the bottom of my niveau limbo.
My biological dis-organiser somewhere above my shoulders is getting increasingly buggy these days, so I invested into a Palm Tungsten E2.
I am quite impressed by the palm implementation in Linux/KDE, Kpilot worked without a glitch up to now (however, occasional problems even resulting in data loss have been reported elsewhere). Kontact is synchronised automatically.
What Kpilot can't do is install programs on the Palm's SD card. This is possible with the pilot-link library, to be precise, pilot-xfer. Although Kpilot seems to build on pilot-link, the library has to be installed separately to be used from command-line. However, pilot-link is available from the main SuSE-repository.

Do the following to install to SD (taken from the pilot-xfer man page):
Shut down Kpilot.
Press the HotSync button.
avocadohead@tisiphone:~/misc._soft/palm> pilot-xfer -p /dev/pilot -i teapot_en.prc -D /Palm/Launcher
Listening for incoming connection on /dev/pilot... connected!
Installing 'teapot_en.prc' ... (77738 bytes) 75 KiB total.
Thank you for using pilot-link.

I will certainly never let my tea brew too long again ;-).
According to its extremely useful man page (check out the other usage examples!), pilot-xfer is the "swiss-army-knife of the entire pilot-link suite". The -p option specifies the port (note: /dev/pilot exists only on HotSync), -i is of course the install option, and -D lets you choose the directory. I don't know much about Palm OS directory structure handling, but apparently the /Palm/Launcher folder on the card is recognised as a root dir.

N.B.: If this isn't working, try installing FileZ on your palm, install to main memory and shift your apps inside Palm OS. Or take an external card reader and transfer the file directly to the Palm/Launcher dir on your SD card.