Date: Mon, 29 May 2006 11:15:45 +0900 From: Kouji Ito <kouji@cty-net.ne.jp> To: freebsd-questions@freebsd.org Cc: Malcolm Fitzgerald <mfitzgerald@pacific.net.au> Subject: Re: troubleshooting network settings Message-ID: <447A5951.3080407@cty-net.ne.jp> In-Reply-To: <7add8fd7934116927f294cd5f8a37e14@pacific.net.au> References: <ec8aa3d06887e2834adccfe00c62cc49@pacific.net.au> <447A471C.9010402@cty-net.ne.jp> <7add8fd7934116927f294cd5f8a37e14@pacific.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=b<RXCSUM,TXCSUM,VLAN_MTU> 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<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 tun0: flags=8010<POINTOPOINT,MULTICAST> 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?447A5951.3080407>