From owner-freebsd-questions@FreeBSD.ORG Mon May 29 02:16:02 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 4012016AD1F for ; Mon, 29 May 2006 02:16:02 +0000 (UTC) (envelope-from kouji@cty-net.ne.jp) Received: from radius.cynet.co.jp (radius.cynet.co.jp [210.130.249.86]) by mx1.FreeBSD.org (Postfix) with SMTP id 6F54543D48 for ; Mon, 29 May 2006 02:16:00 +0000 (GMT) (envelope-from kouji@cty-net.ne.jp) Received: (qmail 27480 invoked by uid 902); 29 May 2006 11:15:57 +0900 Received: from unknown (HELO ?219.102.246.35?) (219.102.246.35) by radius.cynet.co.jp with SMTP; 29 May 2006 11:15:57 +0900 Message-ID: <447A5951.3080407@cty-net.ne.jp> Date: Mon, 29 May 2006 11:15:45 +0900 From: Kouji Ito User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051008) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <447A471C.9010402@cty-net.ne.jp> <7add8fd7934116927f294cd5f8a37e14@pacific.net.au> In-Reply-To: <7add8fd7934116927f294cd5f8a37e14@pacific.net.au> Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Cc: Malcolm Fitzgerald Subject: Re: troubleshooting network settings X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 May 2006 02:16:03 -0000 Sorry. (1) Commented /etc/inetd.conf #ssh stream tcp nowait root /usr/sbin/sshd sshd -i -4 (2) Add /etc/rc.conf sshd_enable="YES" (3) Send HUP signal to inetd # pkill -HUP inetd (4) Start sshd # cd /etc/rc.d # sh sshd start (5) Try ssh login # ssh -l user_name localhost How about? I tryed . inchiki# ifconfig -a fxp0: flags=8843 mtu 1500 options=b inet6 fe80::208:dff:fe87:be0d%fxp0 prefixlen 64 scopeid 0x1 inet 0.0.0.0 netmask 0xff000000 broadcast 0.255.255.255 ether 00:08:0d:87:be:0d media: Ethernet autoselect (none) status: no carrier lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 tun0: flags=8010 mtu 1500 fxp0 is down. lo0 is up. inchiki# ps -ax | grep sshd 1003 ?? Is 0:00.03 /usr/sbin/sshd sshd is running. inchiki# ssh -l kouji localhost Password:XXXXXX : : % logged in at kouji user. Malcolm Fitzgerald wrote: >> Malcolm Fitzgerald wrote: >> >>> I am running freeBSD v6.0 security on a home network behind an adsl >>> router. >>> I cannot connect to localhost from a browser (apache is running!) >>> I cannot connect to localhost port 22 (KPackage tries to use ssh) >>> What can cause these problems? How can I troubleshoot them? >>> I am very new to freeBSD, so part of my question is "where do I >>> begin?". I have a copy of Complete freeBSD beside me but can't get >>> the magical incantations right. Suggestions appreciated. > > > > On 29/05/2006, at 10:58 AM, Kouji Ito wrote: > >> Check /etc/rc.conf >> inetd_enable="YES" > > > I added that line. No change after rebooting > >> Check /etc/inetd.conf >> ssh stream tcp nowait root /usr/sbin/sshd sshd -i -4 > > > It is now uncommented. Every line in that file was commented out > No change after rebooting > > malcolm > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >