From owner-freebsd-mobile Sat Aug 25 21:35:47 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from mail.networkone.net (mail.networkone.net [209.144.112.246]) by hub.freebsd.org (Postfix) with SMTP id 6CB8D37B405 for ; Sat, 25 Aug 2001 21:35:43 -0700 (PDT) (envelope-from reader@newsguy.com) Received: (qmail 8621 invoked from network); 26 Aug 2001 04:35:42 -0000 Received: from unknown (HELO reader.local.lan) (209.144.117.151) by mail.networkone.net with SMTP; 26 Aug 2001 04:35:42 -0000 Received: (from reader@localhost) by reader.local.lan (8.11.2/8.11.0) id f7Q4ZVY27863; Sat, 25 Aug 2001 21:35:31 -0700 X-Authentication-Warning: reader.local.lan: reader set sender to reader@newsguy.com using -f To: freebsd-mobile@FreeBSD.ORG Subject: Frustrating network problem - need diagnotic help From: Harry Putnam Date: Sat, 25 Aug 2001 21:34:42 -0700 Message-ID: User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.104 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Lines: 87 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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