Hi,
it just so happens that I had the same problem yesterday evening while
playing around with the same package to get an imac to connect to my cooker box.
I first tried just changing the line "ATALK_CONF_DIR=/usr/etc/netatalk" in
/etc/init.d/atalk to "ATALK_CONF_DIR=/etc/atalk" but as is obvious
from the logs this path seems to be compiled in:
Jan 14 23:36:19 gandalf atalkd[29368]: /usr/etc/netatalk/atalkd.tmp: No such file or
directory
So I did the "ln -s /etc/atalk /usr/etc/netatalk" like you, but I also
had to add this line to atalkd.conf:
eth0 -seed
After that nbprgstr successfully registers my server. In the conf file
they say:
# -seed only works if you have multi-interfaces. Any missing arguments are
# automatically configured from the network. Note: lines can't actually be
# split, tho it's a good idea.
#
# -router is like -seed but it allows single-interface routing. -dontroute
# disables routing for the specified interface.
However only -seed works for me (I do have two NICs, only one used
for atalk). So there:
Jan 16 08:08:38 gandalf atalk: Registering gandalf:Workstation: succeeded
Jan 16 08:08:44 gandalf atalk: Registering gandalf:netatalk: succeeded
I now have another problem tough (and I'm sorry if this is getting OT
for cooker but I'd love to have a fully functional netatalk package
for Mandrake). netatalk uses some weird encoding for accentuated
characters in filenames by default and one easy way to correct this is
to use
~ options:noadouble,mswindows
^^^^^^^^^ this option
in the /etc/atalk/AppleVolumes.default file, which should do:
# mswindows -> enforce filename restrictions imposed by MS
# Windows. this will also invoke a default
# codepage (iso8859-1) if one isn't already
# specified.
However I now find this in my logs:
Jan 15 21:03:05 gandalf afpd[10097]: /usr/etc/netatalk/nls/maccode.iso8859-1: failed
to open codepage
There is no nls dir in /etc/atalk and I have no idea where to get this
file.
If anyone has some pointers or hints I'd be very grateful.
PS: I know about the HOWTO at http://www.anders.com/projects/netatalk/
but it's outdated and incomplete, and there's almost no documentation
on the sourceforge site.
a+
Tomas
On Tue, 15 Jan 2002, Frederic Corne wrote:
> (I repost a message send at 13h41 which seems to have finished in
> /dev/null...)
>
> With a "ln -s /etc/atalk /usr/etc/netatalk" I have a working atalkd (see
> my previous post)
>
> but I get others problems : I am unable to register the name of the
> server with nbprgstr
>
> A mac client can connect to the netatalk server but only if i give the
> ip of the server.
>
> last year, with a Mdk 7.2 I don't have these problems
>
> perhaps, this is not a cooker problem but a netatalk problem in general.
>
>
> Thanks you for any help
>
> FC
>
> ----------
>
> If specify the ATALK_ZONE=MyZone in the netatalk.conf file , I get :
> (hostname is 'poussin')
> /etc/init.d/atalk start
>
> Starting AppleTalk services:
> Starting atalkd: [ OK ]
> Registering poussin:Workstation@MyZone: nbp_rgstr: Success
> Can't register poussin:Workstation@MyZone
> [ERREUR]
> Registering poussin:netatalk@MyZone: nbp_rgstr: Success
> Can't register poussin:netatalk@MyZ
>
> one
> [ERREUR]
> Starting papd: [ OK ]
> Starting afpd: [ OK ]
>
>
> /var/log/message :
>
> Jan 15 13:28:20 poussin kernel: NET4: AppleTalk 0.18a for Linux NET4.0
> Jan 15 13:28:20 poussin atalkd[2426]: restart (1.5.0)
> Jan 15 13:28:22 poussin atalkd[2426]: zip_getnetinfo for eth0
> Jan 15 13:28:40 poussin last message repeated 2 times
> Jan 15 13:28:50 poussin atalkd[2426]: config for no router
> Jan 15 13:28:51 poussin atalkd[2426]: ready 0/0/0
> jan 15 13:28:51 poussin atalk: atalkd startup succeeded
> jan 15 13:28:58 poussin nbprgstr: nbp_rgstr: Success
> jan 15 13:28:58 poussin nbprgstr: Can't register poussin:Workstation@MyZone
> jan 15 13:28:58 poussin atalk: Registering poussin:Workstation@MyZone:
> failed
> jan 15 13:29:04 poussin nbprgstr: nbp_rgstr: Success
> jan 15 13:29:04 poussin nbprgstr: Can't register poussin:netatalk@MyZone
> jan 15 13:29:04 poussin atalk: Registering poussin:netatalk@MyZone: failed
> Jan 15 13:29:04 poussin papd[2460]: restart (1.5.0)
> jan 15 13:29:04 poussin atalk: papd startup succeeded
> jan 15 13:29:05 poussin atalk: afpd startup succeeded
> Jan 15 13:29:11 poussin afpd[2471]: Can't register poussin:AFPServer@MyZone
> Jan 15 13:29:11 poussin afpd[2471]: ASIP started on 192.168.0.1:548(0)
> (1.5.0)
> Jan 15 13:29:11 poussin afpd[2471]: uam: uams_clrtxt.so loaded
> Jan 15 13:29:11 poussin afpd[2471]: uam: uams_dhx.so loaded
> Jan 15 13:29:11 poussin afpd[2471]: uam: "DHCAST128" available
> Jan 15 13:29:11 poussin afpd[2471]: uam: "Cleartxt Passwrd" available
>
>
> # ps axf :
> 2426 ? S 0:01 /usr/sbin/atalkd
> 2460 ? S 0:00 /usr/sbin/papd
> 2471 ? S 0:00 /usr/sbin/afpd -g nobody -c 20 -n poussin@MyZone
>
> # getzones
> atp_rresp: Connection timed out
>
> # nbplkup
> Vega:ARA - Client-Only 65280.173:2
> Vega: Power Macintosh 65280.173:252
> Vega:Workstation 65280.173:4
>
>
>
>
> kernel-2.4.17.2mdk-1-1mdk
> netatalk-1.5.0-2mdk
> eth0 and eth1 ethernet interfaces . but only "eth0" in atalkd
>
>
>
>
>
>
--
"It's Choi."
"Yeah. Yeah. You're two hours late."
"I know, it's her fault."
-- Choi and Neo, "The Matrix"
starkiller powered by Mandrake Linux 8.1 running kernel 2.4.17
AMD Duron 701.255 MHz (1399.19 BogoMIPS) with 262080k Mem
8:02am up 2 days, 13:42, 2 users, load average: 0.57, 0.58, 0.26