From owner-freebsd-ports Thu Oct 16 09:02:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA07252 for ports-outgoing; Thu, 16 Oct 1997 09:02:17 -0700 (PDT) (envelope-from owner-freebsd-ports) Received: from gk.imedia.ru (gk.imedia.ru [195.208.80.251]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA07218; Thu, 16 Oct 1997 09:02:03 -0700 (PDT) (envelope-from sergey@gk.imedia.ru) Received: (from sergey@localhost) by gk.imedia.ru (8.8.7/8.8.7) id UAA00358; Thu, 16 Oct 1997 20:08:37 +0400 (MSD) From: Sergey Vnotchenko Message-Id: <199710161608.UAA00358@gk.imedia.ru> Subject: [H] netatalk To: freebsd-questions@FreeBSD.ORG Date: Thu, 16 Oct 1997 20:08:32 +0400 (MSD) Cc: freebsd-ports@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31H (25)] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=ELM877018112-279-0_ Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk --ELM877018112-279-0_ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi! I try use netatalk 1.4b2 on FreeBSD 3.0-970921-SNAP... I have (after fixing addmulti errors) successfully(?) running atalkd. It logs message "atalkd: ready 0/0/0" after discovering my Apple's internetworks. But papd can't start - it fails to start with message "atp_open: Protocol not supported"... I've located that problem in socket(2) call, but I see no way to fix it... It works before atalkd, btw... Does somebody solve this or have any ideas? Thanks in advance, Sergey. --- P.S: My patches for solving addmulti problem added as attachment. I'm unsure that they right, but atalkd seems to worked... --ELM877018112-279-0_ Content-Type: text/plain; charset=KOI8-R Content-Disposition: attachment; filename=patch-ab Content-Description: patch-ab Content-Transfer-Encoding: 7bit --- etc/atalkd/main.c.orig Thu Oct 16 18:28:59 1997 +++ etc/atalkd/main.c Thu Oct 16 18:33:12 1997 @@ -1152,6 +1152,7 @@ /* configure multicast for this interface */ bzero( &sa, sizeof( struct sockaddr )); bcopy( ethermulti, sa.sa_data, sizeof( ethermulti )); + sa.sa_family=AF_LINK; sa.sa_len=0; if ( ifconfig( iface->i_name, SIOCADDMULTI, &sa )) { syslog( LOG_ERR, "addmulti: %m" ); exit( 1 ); --ELM877018112-279-0_ Content-Type: text/plain; charset=KOI8-R Content-Disposition: attachment; filename=patch-ac Content-Description: patch-ac Content-Transfer-Encoding: 7bit --- etc/atalkd/nbp.c.orig Thu Oct 16 18:39:31 1997 +++ etc/atalkd/nbp.c Thu Oct 16 18:42:45 1997 @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -177,7 +178,7 @@ sizeof( ethermulti )); bzero( &sa, sizeof( struct sockaddr )); bcopy( zt->zt_bcast, sa.sa_data, sizeof( ethermulti )); - + sa.sa_family=AF_LINK; sa.sa_len=0; for ( iface = interfaces; iface; iface = iface->i_next ) { if (( iface->i_flags & IFACE_PHASE2 ) == 0 ) { continue; --ELM877018112-279-0_ Content-Type: text/plain; charset=KOI8-R Content-Disposition: attachment; filename=patch-ad Content-Description: patch-ad Content-Transfer-Encoding: 7bit --- etc/atalkd/rtmp.c.orig Thu Oct 16 18:43:27 1997 +++ etc/atalkd/rtmp.c Thu Oct 16 18:43:49 1997 @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include --ELM877018112-279-0_--