troubleshooting network settings

Kouji Ito kouji at cty-net.ne.jp
Sun May 28 19:16:03 PDT 2006


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"
> 



More information about the freebsd-questions mailing list