Ads are not an endorsement by the blog author.

Tinkering

Public Journal
Exploring Linux, open content & home networking Archives | Subscribe to Alerts Alerts Subscribe to Alerts | Feeds
   
Sunday, July 13, 2008
12:21:58 PM EDT

Some GPS tips


Witloof route: http://www.gpstracks.nl/fietsroutes-be-vlaams-brabant.php?id=25
- but provides only tracks rather than routes, which are more use for my Garmin 605


Written by simhampton Permalink | Blog about this entry
This entry has 0 comments: Add your own

Thursday, March 6, 2008
12:53:18 AM EST

Export OS X Address book to Thunderbird


I tweaked the script at incisive geek so that it could deal with longer notes (with carriage returns) and with commas in fields and to add code for extra emails and multiple mobile phones.

My version is here.


Written by simhampton Permalink | Blog about this entry
This entry has 0 comments: Add your own

Tuesday, March 4, 2008
1:48:11 PM EST

Export Outlook addresses (to Linux/Mac)


Took me several steps to get outlook addressbook ready for Thunderbird and OS X Addressbook.

1) Export CSV - e.g. to all.csv

2) Convert to utf (thanks): iconv -f ISO8859-1 -t utf-8 -o all-utf.csv all.CSV

3) Use openoffice to change the email display names into a regular first name surname
I used this formula: =CONCATENATE(B2;" ";D2) on each row

4) Use kaddressbook to import csv file (Thunderbird has an outlook import wizard in its windows version,but it does not catch very much information).

I only had to tweak the outlook template a little to get it to import all the email addresses.  By default it uses the "email display name" field as as the "display name" - hence the reason for step 3.

5) Export as ldif

6) Import ldif into Thunderbird.

An alternative is to use a Yahoo! mail account.


Written by simhampton Permalink | Blog about this entry
This entry has 0 comments: Add your own

Thursday, February 21, 2008
9:34:33 AM EST

Export Outlook to iCal


I'm not sure exactly but I think export2ical did not take into account letters with accents etc.  Luckily I found this - http://www.mhsoftware.com/bin/iCalConvert.msi -  which seems to work as expected.


Written by simhampton Permalink | Blog about this entry
This entry has 0 comments: Add your own

Sunday, December 2, 2007
6:01:21 AM EST

Centralised Mac addressbook using LDAP (2)


This time I just used the Mandriva wizard to setup the LDAP database and password, and added

include    /etc/openldap/schema/abxldap.schema
include    /etc/openldap/schema/apple.schema

to slapd.conf.  I then had to enable the following in the samba.schema:
acctFlags, pwdLastSet, logonTime, logonTime, kickoffTime, homeDrive, scriptPath, profilePath, userWorkstations, smbHome, rid, & primaryGroupID.

Then I was able to upload  from my Mac addressbook using  ABxLDAP.


Written by simhampton Permalink | Blog about this entry
This entry has 0 comments: Add your own

Sunday, July 22, 2007
9:03:41 AM EDT

Centralised address book using LDAP


This was my starting point, but Mandriva provides a wizard to get this started.  In retrospect they were not entirely compatible as they use different naming conventions.  I used the online info but changed "addressbook" into "People" "Manager" into "root".

I needed to add the Thunderbird schema.  I found a useful script to help convert the ldif export from Thurderbird so that it can be ldapadd-ed.  The last line needed to be changed to:
s/objectclass: mozillaAbPerson/objectclass: mozillaOrgPerson/;

To enable Mac's Addressbook.app to read, I need to add the apple.schema to my ldap.conf.  I then need this on how to rearrange it and had to uncomment several elements in samba.schema.

To enable uploading of address info from the Mac I turned to
ABxLDAP.
 This did not work out of the box, but the author advised to use the old abxldap schema for the time being and (aside from endless config mistakes on my side) worked.

The end result is, however, not yet satisfactory.  I don't at the moment see very careful synchronisation.  If I capitalise a letter in a name for example, that does not seem to be propagated (although the address book is now right).  Likewise, I seem to get entries left in the LDAP server even when the original has been deleted.  But it does seem to be a useful start.


Written by simhampton Permalink | Blog about this entry
This entry has 0 comments: Add your own

Tuesday, June 19, 2007
4:04:00 PM EDT
Feeling Surprised

Printing from Mac to Linux


With Apple using (and owning) CUPS, this should be the obvious way to set up the print queue.  Once I discovered that i could surf to http://printserver:631/ and set up ipp URIs either using the Apple GUI or at the command line all was well.

The Macbook also found the printer on the Linux box when shared using samba, and seemed prepared to use the CUPS drivers on the Linux box (I could tell because I have an iPixma 3000 - see below - that is not supported out of the box by OS X Tiger).  However, I needed to add an entry to /Private/etc/hosts for the IP address of the Linux box in order for queued files to be sent across from the Macbook.

Written by simhampton Permalink | Blog about this entry
This entry has 0 comments: Add your own

Monday, June 4, 2007
3:16:22 AM EDT

smb.conf in Mandriva 2007.1


I could not get access to shares using the smb.conf setup by draktools or KDE until I added:

smb passwd file = /etc/samba/smbpasswd

That enabled me to see localhost, but I still could not get access from another computer and it was not a firewall issue as I had the smb.conf from my previous install that works fine

Written by simhampton Permalink | Blog about this entry
This entry has 0 comments: Add your own

3:15:31 AM EDT

Linux OSX file sharing


Getting my new Macbook to see my main Linux box turned out to be  rather complicated.
I followed this guide to begin with.  I just had to change a few names for a Mandriva system:
- /etc/init.d/atalk is the rc.d script
- the config files were in /etc/netatalk

This provided instructions on using howl, but that has been deprecated in favour of the avahi that is installed with Mandriva.  The rest of the instructions I used were these.


Written by simhampton Permalink | Blog about this entry
This entry has 0 comments: Add your own

3:14:54 AM EDT

iPixma 3000


Mandriva used to include drivers for the iPixma 3000 but the 2007.1 Spring edition did not.  Although text printing with the BJC7004 did work fine, I discovered that this site provided great info about where to find the drivers.

There were some dependency issues, and I had rpm them using --no-deps and then fix the missing library issues by linking
libxml2 to libxml.so.1; and
libpng.so.3 to libpng.so.2
and then it worked.

Next I'll take a look at the enhancements he suggests can be achieved by editing the config files.


Written by simhampton Permalink | Blog about this entry
This entry has 0 comments: Add your own