From owner-freebsd-questions@FreeBSD.ORG Tue Sep 4 00:37:23 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E798616A41A for ; Tue, 4 Sep 2007 00:37:23 +0000 (UTC) (envelope-from beech@freebsd.org) Received: from stargate.alaskaparadise.com (137-42-178-69.gci.net [69.178.42.137]) by mx1.freebsd.org (Postfix) with ESMTP id B945413C457 for ; Tue, 4 Sep 2007 00:37:23 +0000 (UTC) (envelope-from beech@freebsd.org) Received: by stargate.alaskaparadise.com (Postfix, from userid 0) id C84287DD4; Mon, 3 Sep 2007 16:37:22 -0800 (AKDT) From: Beech Rintoul To: freebsd-questions@freebsd.org Date: Mon, 3 Sep 2007 16:37:15 -0800 User-Agent: KMail/1.9.7 References: <200709032258.03656.lists-fbsd@shadypond.com> <200709040013.14531.lists-fbsd@shadypond.com> <200709040021.35918.lists-fbsd@shadypond.com> In-Reply-To: <200709040021.35918.lists-fbsd@shadypond.com> X-Face: jC2w\k*Q1\0DA2Q0Eh&BrP/Rt2M,^2O#R07VoT98m*>miQF9%Bi9vy`F6cPjwEe?m,)=?utf-8?q?2=0A=09X=3FM=5C=3AOE9QgZ?="xT3/n3,3MJ7N=Cfkmi%f(w^~X"SUxn>; 27NO; C+)g[7J`$G*SN>{<=?utf-8?q?O=3Bg7=7C=0A=09o=7D=265A=5D4?=@7D`=Eb@Zs1Ln814?]|k@'bG=.Ca"[|8+_.OsNAo8!#?4u MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200709031637.18901.beech@freebsd.org> Cc: Pollywog Subject: Re: ssh forwarding question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Beech Rintoul List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Sep 2007 00:37:24 -0000 On Monday 03 September 2007, Pollywog said: > On Tuesday 04 September 2007 00:13:13 Pollywog wrote: > > On Monday 03 September 2007 23:08:45 Predrag Punosevac wrote: > > > Pollywog wrote: > > > > bind: Can't assign requested address > > > > channel_setup_fwd_listener: cannot listen to port: 15901 > > > > Could not request local forwarding. > > > > > > It seems to me that you have a problem with a firewall. Look at > > > your own message. It looks like port 15901 is closed for > > > listening. > > > > Here is another clue. Something seems to be wrong with the > > loopback: > > > > lo0: flags=8049 mtu 16384 > > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 > > inet6 ::1 prefixlen 128 > > ripple# ping localhost > > PING localhost (127.0.0.1): 56 data bytes > > ping: sendto: Can't assign requested address > > ping: sendto: Can't assign requested address > > ping: sendto: Can't assign requested address > > ping: sendto: Can't assign requested address > > ping: sendto: Can't assign requested address > > ping: sendto: Can't assign requested address > > > > I have not set up a firewall on this host, so the problem is > > something else, perhaps the output above from ifconfig helps. > > Yes that was the problem. I did this: > > ifconfig lo0 127.0.0.1 netmask 255.0.0.0 > > After that I could ping localhost and my VNC connection via SSH > succeeded. Now how do I fix this problem permanently in FreeBSD, by > running sysinstall again and setting the loopback address from > there? Make sure you have this line in /etc/rc.conf: ifconfig_lo0="inet 127.0.0.1" Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://www.freebsd.org X - NO Word docs in e-mail | Latest Release: / \ - http://www.FreeBSD.org/releases/6.2R/announce.html ---------------------------------------------------------------------------------------