Re: [Cooker] netatalk-1.5.0-2mdk : unable to register the service

2002-01-16 Thread Tomas Perez

Thanks a lot, I'll test it tonight.

Regards,
Tomas

On Wed, 16 Jan 2002, Stew Benedict wrote:

> 
> On Thu, 17 Jan 2002, Tomas Perez wrote:
> 
> > Sorry for the delay, we don't have Macs at work...
> > 
> > I just created a file test_éèàöüä.txt on the iMac and transferred it 
> > to the Linux box. The result is:
> > 
> > test_:8e:8f:88:9a:9f:8a.txt
> > 
> > And in /var/log/messages I have:
> > 
> > Jan 17 00:25:19 gandalf afpd[15739]: /usr/etc/netatalk/nls/maccode.iso8859-1: 
>failed to open codepage
> > 
> > (Inside is the string "Ceci est un test éèàöüä", which incidentally 
> > appears as "ceci est un test ŽˆšŸŠ" in vim, nedit and kedit)
> > 
> > Hope this helps
> > 
> 
> Just posted an update with codepages in place in /usr/lib/netatalk/nls. I
> patched the Makefile so hopefully the progs will find them there as /etc
> wasn't really appropriate.  I did a brief test here, but it did not seem
> to need to use them for what I was doing. If there's still a problem let
> me know.  I did not add that option as the default though in
> AppleVolumes.default. The initscript should be OK now too.
> 
> Stew Benedict
> 
> 





Re: [Cooker] netatalk-1.5.0-2mdk : unable to register the service

2002-01-16 Thread Stew Benedict


On Thu, 17 Jan 2002, Tomas Perez wrote:

> Sorry for the delay, we don't have Macs at work...
> 
> I just created a file test_éèàöüä.txt on the iMac and transferred it 
> to the Linux box. The result is:
> 
> test_:8e:8f:88:9a:9f:8a.txt
> 
> And in /var/log/messages I have:
> 
> Jan 17 00:25:19 gandalf afpd[15739]: /usr/etc/netatalk/nls/maccode.iso8859-1: failed 
>to open codepage
> 
> (Inside is the string "Ceci est un test éèàöüä", which incidentally 
> appears as "ceci est un test ŽˆšŸŠ" in vim, nedit and kedit)
> 
> Hope this helps
> 

Just posted an update with codepages in place in /usr/lib/netatalk/nls. I
patched the Makefile so hopefully the progs will find them there as /etc
wasn't really appropriate.  I did a brief test here, but it did not seem
to need to use them for what I was doing. If there's still a problem let
me know.  I did not add that option as the default though in
AppleVolumes.default. The initscript should be OK now too.

Stew Benedict

-- 
MandrakeSoftOH/TN, USA http://people.mandrakesoft.com/~sbenedict/
PPC FAQ: http://www.linux-mandrake.com/en/demos/PPC/FAQ/





Re: [Cooker] netatalk-1.5.0-2mdk : unable to register the service

2002-01-16 Thread Tomas Perez

Sorry for the delay, we don't have Macs at work...

I just created a file test_éèàöüä.txt on the iMac and transferred it 
to the Linux box. The result is:

test_:8e:8f:88:9a:9f:8a.txt

And in /var/log/messages I have:

Jan 17 00:25:19 gandalf afpd[15739]: /usr/etc/netatalk/nls/maccode.iso8859-1: failed 
to open codepage

(Inside is the string "Ceci est un test éèàöüä", which incidentally 
appears as "ceci est un test ŽˆšŸŠ" in vim, nedit and kedit)

Hope this helps

On Wed, 16 Jan 2002, Stew Benedict wrote:

> 
> On Wed, 16 Jan 2002, Tomas Perez wrote:
> 
> > 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
> > 
> 
> I'll recheck the source tree and see if this file can be included. Can you
> give me an example filename I can create in MacOS to verify the behavior?
> 
> Stew Benedict
> 
> 

-- 
starkiller powered by Mandrake Linux 8.1 running kernel 2.4.17
AMD Duron 701.263 MHz (1399.19 BogoMIPS) with 262080k Mem
12:29am  up 3 days,  6:09,  2 users,  load average: 0.00, 0.00, 0.00






Re: [Cooker] netatalk-1.5.0-2mdk : unable to register the service

2002-01-16 Thread Stew Benedict


On Wed, 16 Jan 2002, Tomas Perez wrote:

> 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
> 

I'll recheck the source tree and see if this file can be included. Can you
give me an example filename I can create in MacOS to verify the behavior?

Stew Benedict

-- 
MandrakeSoftOH/TN, USA http://people.mandrakesoft.com/~sbenedict/
PPC FAQ: http://www.linux-mandrake.com/en/demos/PPC/FAQ/





Re: [Cooker] netatalk-1.5.0-2mdk : unable to register the service

2002-01-15 Thread Tomas Perez

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 afp

Re: [Cooker] netatalk-1.5.0-2mdk : unable to register the service

2002-01-15 Thread Stew Benedict


On Tue, 15 Jan 2002, Frederic Corne wrote:

> (I repost a message send at 13h41 which seems to have finished in 
> /dev/null...)
> 

Not /dev/null - I'm working on it now.

> 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.
> 

Server is showing up in the chooser by name, I can connect to my home dir
with the default config, once I shortened my passwd to 8 chars.

> 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

Not seeing that error here, but I haven't setup any zones. Register is
successful.

> 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
> 

same here

> # nbplkup
> Vega:ARA - Client-Only  65280.173:2
> Vega:  Power Macintosh  65280.173:252
> Vega:Workstation65280.173:4
> 
> 

similar output

> 
> 
> kernel-2.4.17.2mdk-1-1mdk
> netatalk-1.5.0-2mdk
> eth0 and eth1 ethernet interfaces . but only "eth0" in atalkd
> 

kernel-2.4.13 on PPC
soon to be netatalk-1.5.0-3mdk

Stew Benedict

-- 
MandrakeSoftOH/TN, USA http://people.mandrakesoft.com/~sbenedict/
PPC FAQ: http://www.linux-mandrake.com/en/demos/PPC/FAQ/





[Cooker] netatalk-1.5.0-2mdk : unable to register the service

2002-01-15 Thread Frederic Corne

(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:Workstation65280.173:4




kernel-2.4.17.2mdk-1-1mdk
netatalk-1.5.0-2mdk
eth0 and eth1 ethernet interfaces . but only "eth0" in atalkd