Subject: Re: Netatalk
To: port-mac68k <port-mac68k@netbsd.org>
From: Michael bartosh <bartosh@tamu.edu>
List: port-mac68k
Date: 01/25/1999 00:14:46
--============_-1294877606==_ma============
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Figured out my problem.
in /DISTDIR/etc/rc.atalk the following calls the hostname comand:
if [ -f /usr/local/atalk/bin/nbprgstr ]; then
/usr/local/atalk/bin/nbprgstr -p 4 `hostname|sed
's/\..*$//'`:Workstatio
n
/usr/local/atalk/bin/nbprgstr -p 4 `hostname|sed 's/\..*$//'`:netatalk
echo -n ' nbprgstr'
fi
Hostname of course looks at /etc/rc.conf which is neither looked at
or configured generally under DHCP (according to the DCP HOWTO). So
the script was returning a null value and npbrgstr was failing.
Changing rc.conf doesn't hurt anyhting w/ DHCP since as far as I can tell the
dhclient sn0
line in /etc/netstart has the machine ignore that part of rc.conf and
go straight to dhclient.conf.
Anyway it works again and I'm happy.
-mab
At 3:54 PM -0600 1/24/99, Michael bartosh wrote:
> I just installed Netatalk dist. 1.4b2. I had previously used it
> under another net BSD install, but I hosed my drive and did a
> reinstall.
>
> I can not get it to work this time. I'm not doing anything fancy,
> serving files to my campus LAN- I've been doing it about 6mos, but
> my previous install was a breeze, terribly easy just following the
> readme.
>
> But now on startup I get the error
>
> starting appletalk deamons: atalkdUsage: nprgstr obj:type@zone
> Usage nprgstr obj:type@zone
> nprgstr papd afpd
>
> How do I correct this?
>
> -mab
>
>
>>From the iMac of...
>
> *******
> Michael Bartosh
> bartosh@tamu.edu
> cell: 409/537.2129
> Student Rep
> Apple Computer, Inc.
> Texas A&M University
>
> "The surest way to corrupt a youth is to instruct him to hold in higher
> regard those who think alike than those who think differently."
>
> - -- Nietzsche
> Think Different.
> Apple.
>From the iMac of...
*******
Michael Bartosh
bartosh@tamu.edu
cell: 409/537.2129
Student Rep
Apple Computer, Inc.
Texas A&M University
"The surest way to corrupt a youth is to instruct him to hold in higher
regard those who think alike than those who think differently."
- -- Nietzsche
Think Different.
Apple.
--============_-1294877606==_ma============
Content-Type: text/enriched; charset="us-ascii"
Figured out my problem.
in /DISTDIR/etc/rc.atalk the following calls the hostname comand:
if [ -f /usr/local/atalk/bin/nbprgstr ]; then
/usr/local/atalk/bin/nbprgstr -p 4 `hostname|sed
's/\..*$//'`:Workstatio
n
/usr/local/atalk/bin/nbprgstr -p 4 `hostname|sed
's/\..*$//'`:netatalk
echo -n ' nbprgstr'
fi
Hostname of course looks at /etc/rc.conf which is neither looked at or
configured generally under DHCP (according to the DCP HOWTO). So the
script was returning a null value and npbrgstr was failing.
Changing rc.conf doesn't hurt anyhting w/ DHCP since as far as I can
tell the
dhclient sn0
line in /etc/netstart has the machine ignore that part of rc.conf and
go straight to dhclient.conf.
Anyway it works again and I'm happy.
-mab
At 3:54 PM -0600 1/24/99, Michael bartosh wrote:
<excerpt>I just installed Netatalk dist.
<bold><fontfamily><param>Arial</param>1.4b2</fontfamily></bold>. I had
previously used it under another net BSD install, but I hosed my drive
and did a reinstall.
I can not get it to work this time. I'm not doing anything fancy,
serving files to my campus LAN- I've been doing it about 6mos, but my
previous install was a breeze, terribly easy just following the
readme.
But now on startup I get the error
starting appletalk deamons: atalkdUsage: nprgstr obj:type@zone
Usage nprgstr obj:type@zone
nprgstr papd afpd
How do I correct this?
-mab
>From the iMac of...
*******
Michael Bartosh
bartosh@tamu.edu
cell: 409/537.2129
Student Rep
Apple Computer, Inc.
Texas A&M University
"The surest way to corrupt a youth is to instruct him to hold in
higher
regard those who think alike than those who think differently."
- -- Nietzsche
Think Different.
Apple.
</excerpt>
>From the iMac of...
*******
Michael Bartosh
bartosh@tamu.edu
cell: 409/537.2129
Student Rep
Apple Computer, Inc.
Texas A&M University
"The surest way to corrupt a youth is to instruct him to hold in higher
regard those who think alike than those who think differently."
- -- Nietzsche
Think Different.
Apple.
--============_-1294877606==_ma============--