From owner-freebsd-questions@FreeBSD.ORG Tue Sep 4 00:59:45 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5BE516A417 for ; Tue, 4 Sep 2007 00:59:45 +0000 (UTC) (envelope-from punosevac@math.arizona.edu) Received: from smtp224.math.arizona.edu (smtp224.math.arizona.edu [128.196.224.202]) by mx1.freebsd.org (Postfix) with ESMTP id CFD9213C46C for ; Tue, 4 Sep 2007 00:59:45 +0000 (UTC) (envelope-from punosevac@math.arizona.edu) Received: from Debian-exim by smtp224.math.arizona.edu with local-bsmtp (Exim 4.50) id 1ISMm5-0000ke-N0 for questions@freebsd.org; Mon, 03 Sep 2007 18:00:14 -0700 Received: from 71-220-146-155.tcsn.qwest.net ([71.220.146.155] helo=oko.kicks-ass.net) by smtp224.math.arizona.edu with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1ISMm5-0000kX-HM for questions@freebsd.org; Mon, 03 Sep 2007 18:00:13 -0700 Message-ID: <46DCADFE.6070406@math.arizona.edu> Date: Mon, 03 Sep 2007 17:59:42 -0700 From: Predrag Punosevac User-Agent: Thunderbird 2.0.0.4 (X11/20070713) MIME-Version: 1.0 To: questions@freebsd.org References: <200709032258.03656.lists-fbsd@shadypond.com> <46DC93FD.8020701@math.arizona.edu> <200709040013.14531.lists-fbsd@shadypond.com> <200709040021.35918.lists-fbsd@shadypond.com> <46DCADC8.9090801@math.arizona.edu> In-Reply-To: <46DCADC8.9090801@math.arizona.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ACL-Warn: The HELO/EHLO greeting oko.kicks-ass.net is invalid X-Outgoing-Spam-Score: -5.9 (-----) Cc: Subject: Re: ssh forwarding question 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: Tue, 04 Sep 2007 00:59:46 -0000 Predrag Punosevac wrote: > Pollywog wrote: >> 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? >> _______________________________________________ >> 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" >> > You can just edit your rc.conf file >