Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Aug 2001 21:34:42 -0700
From:      Harry Putnam <reader@newsguy.com>
To:        freebsd-mobile@FreeBSD.ORG
Subject:   Frustrating network problem - need diagnotic help
Message-ID:  <m1snefa17h.fsf@reader.newsguy.com>

next in thread | raw e-mail | index | archive | help
Setup: Toshiba 4005CDS
FreeBSD-4.3-20010807-STABLE

In my own defense concerning posting this here:
I've posted this problem on `questions' `stable' and `net'.
To date I have received no help whatever.  Maybe since it is a laptop,
someone here will take time to help.

Summary of network setup:

Local lan of 5 machines behind a hardware (NETGEAR FR314)
Router/firewall.

Machine 1 = Linux (Redhat 7.1)
Machine 2 = Solaris 8 (intel)
Machine 3 = win2k
Machine 4 = Freebsd-4.3(snap) Toshiba laptop
Machine 5 = win98

All machines on lan can communicate except the laptop.
However, the laptop can connect to any lan or internet address with no
problems.  Seemingly this indicates the FreeBSD-4.3 machine has the
ethernet interface and gateway setup well enough for outgoing
connections and replies.

The trouble comes when trying to connect to the FreeBSD machine from
the lan.  I can't ping, telnet, ftp, ssh to it.  Telnet and ftp are
temporarily enabled in /etc/inetd.conf.

The Freebsd machine can ssh to other machines on the lan.  None can
ssh to it.  sshd is running on the laptop. 

Possible pertinent kernel parameters compiled in:
========================================
options 	IPFIREWALL		#firewall
options 	IPFIREWALL_VERBOSE	#print information about
					# dropped packets
options 	IPFIREWALL_DEFAULT_TO_ACCEPT	#allow everything by
options 	IPDIVERT		#divert sockets
options 	TCPDEBUG

Possible pertinent parts of /etc/rc.conf
========================================
firewall_enable="YES"		# Set to YES to enable firewall functionality
firewall_script="/etc/rc.firewall" # Which script to run to set up the firewall
firewall_type="OPEN"		# Firewall type (see /etc/rc.firewall)

sshd_enable="YES"                	# Enable sshd
sshd_program="/usr/local/sbin/sshd"	# path to sshd

sendmail_enable="NO"

========================================

        cat /etc/rc.firewall
        65535 allow ip from any to any

        ipfw list
        65535 allow ip from any to any

Renaming /etc/rc.firewall doesn't help either.

Should the above lines mean all connections are allowed?

If so, what the heck is blocking incoming connectons?

I see nothing in dmesg or syslog output, that I recognize as pointing
to a problem.

One possible line is:
   IP packet filtering initialized, divert enabled, rule-based
   forwarding disabled.  default to accept, unlimited logging

What have I neglected to look at.  Maybe netstat -nr, but it looks ok
to my untrained eye.

   Routing tables
   Internet:
   Destination    Gateway        Flags    Refs      Use  Netif Expire
   default        192.168.0.1    UGSc        0        0    ed0
   127.0.0.1      127.0.0.1      UH          0        0    lo0
   192.168        link#3         UC          1        0    ed0 =>
   192.168.0.1    link#3         UHLW        1        0    ed0 =>

However ed0 ip address does not appear there. (192.168.0.4)

What other diagnostic things can I do?

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m1snefa17h.fsf>