From owner-freebsd-questions@FreeBSD.ORG Wed Aug 18 21:03:23 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F378F16A4CE for ; Wed, 18 Aug 2004 21:03:22 +0000 (GMT) Received: from smtp.telmex.com (nlcproxy11.telmex.com [148.235.53.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F17A843D55 for ; Wed, 18 Aug 2004 21:03:17 +0000 (GMT) (envelope-from mparedes@telmex.com) Received: from tmxmailsmtp3.telmex.com (tmxmailsmtp2.telmex.com [148.223.155.50]) by smtp.telmex.com (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0I2N00CLUUAOQV@smtp.telmex.com>; Wed, 18 Aug 2004 16:00:20 -0500 (CDT) Received: from tmxmailmex4.ad.intranet.telmex.com ([10.106.1.36]) by tmxmailsmtp3.telmex.com with Microsoft SMTPSVC(6.0.3790.0); Wed, 18 Aug 2004 16:04:08 -0500 Received: from tmxmail21.ad.intranet.telmex.com ([10.106.1.34]) by tmxmailmex4.ad.intranet.telmex.com with Microsoft SMTPSVC(5.0.2195.6713) ; Wed, 18 Aug 2004 16:04:30 -0500 Received: from tmxmailmex10.ad.intranet.telmex.com ([10.106.1.40]) by tmxmail21.ad.intranet.telmex.com with Microsoft SMTPSVC(6.0.3790.0); Wed, 18 Aug 2004 15:53:55 -0500 Received: from tmxmailhmo1.ad.intranet.telmex.com ([10.106.1.39]) by tmxmailmex10.ad.intranet.telmex.com with Microsoft SMTPSVC(5.0.2195.6713) ; Wed, 18 Aug 2004 15:33:03 -0500 Date: Wed, 18 Aug 2004 13:33:02 -0700 From: Paredes =?UNKNOWN?Q?S=E1nchez_Mart=EDn_A=2E?= To: "BSD." Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.3790.181 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable Content-class: urn:content-classes:message Thread-topic: What is portmapper (I MUST have portmapper running to use pcnfsd) Thread-index: AcSFYb3eyxzQVvEVEdi7rwAJa7r2XQ== X-MS-Has-Attach: X-MS-TNEF-Correlator: X-OriginalArrivalTime: 18 Aug 2004 20:33:03.0274 (UTC) FILETIME=[8F6C38A0:01C48562] Subject: What is portmapper (I MUST have portmapper running to use pcnfsd) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2004 21:03:23 -0000 Hi : I am trying to replace a sparcstation which has solaris 2.5, we use it to boot some diskless pc's into MS-DOS 6.22 and mount a file system in the disk C: of the pc with PC/TCP 4.1. The boot process I had figured out, but the connection of the drive C: to the file system is given me problems. The problem I think is that I don't have running something called portmapper. Since I am not subscribed to the list, please send me a copy of your answer. Let me explain why I think that, I decide that I have to use tcpdump to see what is happening. The diskless is booting with the ip 10.115.44.50 # tcpdump -n ip host 10.115.44.50 tcpdump: listening on xl0 03:44:04.337343 10.115.44.50.603 > 10.115.44.245.111: udp 56 03:44:04.337379 10.115.44.245 > 10.115.44.50: icmp: 10.115.44.245 udp port 111 unreachable 03:44:04.340453 10.115.44.50.604 > 10.115.44.245.111: udp 56 03:44:04.340465 10.115.44.245 > 10.115.44.50: icmp: 10.115.44.245 udp port 111 unreachable So, mi diskless is trying to connect to the port 111/udp, and my services files says: sunrpc 111/tcp rpcbind #SUN Remote Procedure Call sunrpc 111/udp rpcbind #SUN Remote Procedure Call And the inetd.conf does not have nothing called sunrpc or rpcbind, but has the nexts lines: ****************************************************************** # # RPC based services (you MUST have portmapper running to use these) # #rstatd/1-3 dgram rpc/udp wait root /usr/libexec/rpc.rstatd rpc.rstatd #rusersd/1-2 dgram rpc/udp wait root /usr/libexec/rpc.rusersd rpc.rusersd #walld/1 dgram rpc/udp wait root /usr/libexec/rpc.rwalld rpc.rwalld #pcnfsd/1-2 dgram rpc/udp wait root /usr/libexec/rpc.pcnfsd rpc.pcnfsd #rquotad/1 dgram rpc/udp wait root /usr/libexec/rpc.rquotad rpc.rquotad #sprayd/1 dgram rpc/udp wait root /usr/libexec/rpc.sprayd rpc.sprayd ****************************************************************** What is the portmapper and how can I run it?, Do I have to uncomment the pcnfsd line?. I notice that the program rpc.pcnfsd is the only rpc program that is not installed # ll /usr/libexec/rpc.* -r-xr-xr-x 1 root wheel 7068 May 25 14:28 /usr/libexec/rpc.rquotad -r-xr-xr-x 1 root wheel 9380 May 25 14:28 /usr/libexec/rpc.rstatd -r-xr-xr-x 1 root wheel 6808 May 25 14:28 /usr/libexec/rpc.rusersd -r-xr-xr-x 1 root wheel 6176 May 25 14:28 /usr/libexec/rpc.rwalld -r-xr-xr-x 1 root wheel 4628 May 25 14:28 /usr/libexec/rpc.sprayd So, I instaled. # cd /cdrom/packages/All # pkg_add pcnfsd-93.02.16.tgz # pkg_info|grep pcnfsd pcnfsd-93.02.16 Sun PC NFS authentication and printing server # pkg_info -L pcnfsd-93.02.16 Information for pcnfsd-93.02.16: /usr/local/libexec/rpc.pcnfsd /usr/local/man/man8/pcnfsd.8.gz I notice that pcnfsd has installed in /usr/local/libexec/, which is diferent to /usr/libexec/, Do I need to modify inetd.conf? When I check the man page for inetd.conf I found this about RPC-based services that I belive they are TCP-MUX services. ****************************************************************** To specify an ONC RPC-based service, the entry would contain these fields: service name/version socket type rpc/protocol user[:group][/login-class] server program server program arguments There are two types of services that inetd can start: standard and TCP- MUX. A standard service has a well-known port assigned to it; it may be a service that implements an official Internet standard or is a BSD-specific service. As described in RFC 1078, TCPMUX services are non- standard services that do not have a well-known port assigned to them. They are invoked from inetd when a program connects to the ``tcpmux'' well-known port and specifies the service name. This feature is useful for adding locally-developed servers. TCPMUX requests are only accepted when the multiplexor service itself is enabled, above and beyond and spe- cific TCPMUX-based servers; see the discussion of internal services below. ****************************************************************** TIA maps *************************************************************************= *************************************************************************= ********************* Contrata Prodigy Infinitum y navega a Infinitum de velocidad sin ocupar = tu tel=E9fono. Adem=E1s, ll=E9vate 1 mes de renta Gratis y Prodigy = M=F3vil,=20 para que navegues en sitios p=FAblicos sin cables. =BFQu=E9 esperas? = Con=E9ctate al 01 800 123 2222 o ven a tu Tienda Telmex. Precio m=E1s = I.V.A. http://www.hits.telmex.com/app/ad_Mgr/ad_mgrN.jsp?ad=3D166 Prodigy Infinitum la conexi=F3n m=E1s r=E1pida Asom@te a telmex.com http://www.telmex.com