From owner-freebsd-questions@FreeBSD.ORG Wed Feb 20 10:21:19 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4C8EEA77 for ; Wed, 20 Feb 2013 10:21:19 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 1512026B for ; Wed, 20 Feb 2013 10:21:18 +0000 (UTC) Received: from irix.bris.ac.uk ([137.222.10.39] helo=ncs.bris.ac.uk) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1U86nZ-0001pK-9m; Wed, 20 Feb 2013 10:21:18 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1U86nZ-0002I3-1w; Wed, 20 Feb 2013 10:21:13 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6) with ESMTP id r1KALC5V057660; Wed, 20 Feb 2013 10:21:12 GMT (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6/Submit) id r1KALCOR057657; Wed, 20 Feb 2013 10:21:12 GMT (envelope-from mexas) Date: Wed, 20 Feb 2013 10:21:12 GMT From: Anton Shterenlikht Message-Id: <201302201021.r1KALCOR057657@mech-cluster241.men.bris.ac.uk> To: mexas@bristol.ac.uk, ml@my.gd Subject: Re: cannot ssh into a box with DHCP assigned IP address In-Reply-To: <9A8F9CCD-C90B-4033-992F-0458D6128005@my.gd> X-Spam-Score: -1.6 X-Spam-Level: - Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Feb 2013 10:21:19 -0000 From ml@my.gd Wed Feb 20 10:11:12 2013 Run this on your server: tcpdump -ni wlan0 ip and port 22 Then try to ssh to the box, see if SYN packets arrive, see if your box sends SYN/ACK back. 172.21.220.12 is the ssh server 137.222.187.241 is the ssh client (where I login from) There's lots of output on the server: 10:13:40.396933 IP 172.21.220.12.20541 > 137.222.187.241.22: Flags [P.], seq 528 :576, ack 897, win 1040, options [nop,nop,TS val 166697722 ecr 2764601194], leng th 48 10:13:40.400142 IP 137.222.187.241.22 > 172.21.220.12.20541: Flags [P.], seq 897 :945, ack 576, win 1040, options [nop,nop,TS val 2764601829 ecr 166697722], leng th 48 10:13:40.499768 IP 172.21.220.12.20541 > 137.222.187.241.22: Flags [.], ack 945, win 1040, options [nop,nop,TS val 166697825 ecr 2764601829], length 0 10:13:41.126804 IP 172.21.220.12.20541 > 137.222.187.241.22: Flags [P.], seq 576 :624, ack 945, win 1040, options [nop,nop,TS val 166698452 ecr 2764601829], leng th 48 10:13:41.129465 IP 137.222.187.241.22 > 172.21.220.12.20541: Flags [P.], seq 945 :993, ack 624, win 1040, options [nop,nop,TS val 2764602558 ecr 166698452], leng th 48 10:13:41.229792 IP 172.21.220.12.20541 > 137.222.187.241.22: Flags [.], ack 993, win 1040, options [nop,nop,TS val 166698555 ecr 2764602558], length 0 10:14:06.042148 IP 137.222.187.241.22 > 172.21.220.12.46009: Flags [P.], seq 691 166491:691166555, ack 2147595671, win 1040, options [nop,nop,TS val 2121228740 e cr 166423364], length 64 10:14:06.043854 IP 172.21.220.12.46009 > 137.222.187.241.22: Flags [P.], seq 1:3 3, ack 64, win 1040, options [nop,nop,TS val 166723368 ecr 2121228740], length 3 2 10:14:06.144924 IP 137.222.187.241.22 > 172.21.220.12.46009: Flags [.], ack 33, win 1040, options [nop,nop,TS val 2121228843 ecr 166723368], length 0 10:15:02.017361 IP 137.222.187.241.22 > 172.21.220.12.46009: Flags [P.], seq 159 04:16240, ack 7169, win 1040, options [nop,nop,TS val 2121284715 ecr 166779337], length 336 10:15:02.017969 IP 137.222.187.241.22 > 172.21.220.12.46009: Flags [P.], seq 162 40:16576, ack 7169, win 1040, options [nop,nop,TS val 2121284716 ecr 166779337], length 336 10:15:02.018079 IP 172.21.220.12.46009 > 137.222.187.241.22: Flags [.], ack 1657 6, win 1035, options [nop,nop,TS val 166779343 ecr 2121284715], length 0 10:15:02.018319 IP 137.222.187.241.22 > 172.21.220.12.46009: Flags [P.], seq 165 76:16896, ack 7169, win 1040, options [nop,nop,TS val 2121284716 ecr 166779337], length 320 10:15:02.018510 IP 137.222.187.241.22 > 172.21.220.12.46009: Flags [P.], seq 168 96:17232, ack 7169, win 1040, options [nop,nop,TS val 2121284716 ecr 166779337], length 336 10:15:02.018626 IP 172.21.220.12.46009 > 137.222.187.241.22: Flags [.], ack 1723 2, win 1030, options [nop,nop,TS val 166779344 ecr 2121284716], length 0 10:15:02.019583 IP 137.222.187.241.22 > 172.21.220.12.46009: Flags [P.], seq 172 32:17568, ack 7169, win 1040, options [nop,nop,TS val 2121284716 ecr 166779337], length 336 10:15:02.019840 IP 137.222.187.241.22 > 172.21.220.12.46009: Flags [P.], seq 175 68:17840, ack 7169, win 1040, options [nop,nop,TS val 2121284717 ecr 166779337], length 272 10:15:02.019927 IP 172.21.220.12.46009 > 137.222.187.241.22: Flags [.], ack 1784 0, win 1036, options [nop,nop,TS val 166779345 ecr 2121284716], length 0 Thanks Anton