layout hack
layout hackMain Pagelayout hack
layout hack
RSS Feed RSS Feed Main page
layout hack
layout hack
layout hackAbout Melayout hack
layout hack
Software I wrote
Resume
Friends of mine
Pictures
Musicianship
Stuff I have for sale
layout hack
layout hack
layout hackPersonal Newslayout hack
layout hack
2010:
March, April.
2009:
January, March, August.
2008:
Jan, Feb, Apr, May, July, August, September, October.
2007:
Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec.
2006:
Jan, Feb, Mar, Apr, Jun, Jul, Aug, Sep, Oct, Nov, Dec.
2005:
Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec.
2004:
Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec.
2003:
Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec.
2002:
Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec.
2001:
Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec.
2000:
Jan, Feb, Apr, May, Jun, Jul, Aug, Oct, Nov, Dec.
1999:
Jan, Feb, Jun, Oct, Dec.
1998:
Jul, Aug, Sep, Nov.
layout hack
layout hack
layout hackGeek Stuff (computer related)layout hack
layout hack
Digital Music
Java
Why LiveWire Sucks
Why ASP Sucks (a bit)
Linux
MacOS
Unix
Oracle
Perl
Emacs
O'Reilly
layout hack
layout hack
layout hack(some of) My Interestslayout hack
layout hack
Humor
Sony Playstation
Cars
layout hack
layout hack
layout hackSearchlayout hack
layout hack

layout hack
layout hackAdslayout hack
layout hack



Notes from netatalk installation

I took notes (as I always do) when I was installing netatalk, so that it'd be easier to do next time. I hope this info may help someone set up AppleShare file sharing on Linux (or any other platform, really) with netatalk.

Read about appleshare on Linux from
 http://www1.macintouch.com/asiplinux.html

Got Netatalk from http://www.umich.edu/~rsug/netatalk/
- untarred
- looked at README.LINUX
- it says "you need DDP", ok...

Had to enable DDP protocol
- it's a kernel module
- no modules were compiled!
- from /usr/src/linux I typed "make modules"
- it left an "appletalk.o" in /usr/src/linux/modules

Compiled netatalk 1.3.3
- it complained, some errors

gcc -p  -O2 -I../../include -c asp_getsess.c
asp_getsess.c: In function `asp_getsession':
asp_getsess.c:178: incompatible types in assignment
asp_getsess.c:186: incompatible types in assignment
make[3]: *** [asp_getsess.o] Error 1
make[3]: Leaving directory `/usr/local/atalk/netatalk-1.3.3/libatalk/asp'
make[2]: *** [asp] Error 2
make[2]: Leaving directory `/usr/local/atalk/netatalk-1.3.3/libatalk'
make[1]: *** [../../libatalk] Error 2
make[1]: Leaving directory `/usr/local/atalk/netatalk-1.3.3/sys/linux'
make: *** [all] Error 2

Remembered that the guy who wrote the MacInTouch bit was using 1.4b2,
not 1.3.3, so I didn't want 1.3.3. anyway.

Got patched netatalk for AppleShare IP from ftp://ftp.u.washington.edu/public/asun/
- compiled it, similar but not quite identical problem. It wants des.h this time.
- dug around and found that I had to *enable* crypt but *disable* DES:

1) Altered sys/linux/Makefile:

diff Makefile Makefile~
9c9
< AFPLIBS=-lcrypt
---
> AFPLIBS=

2) Altered root-level Makefile:

diff Makefile Makefile~
32c32
< #DESDIR=/usr/local
---
> DESDIR=/usr/local

Now it finally builds and works! Wohoo!