From owner-freebsd-arm@freebsd.org Wed Jul 20 18:05:07 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0D522B9F204 for ; Wed, 20 Jul 2016 18:05:07 +0000 (UTC) (envelope-from herminio.hernandezjr@gmail.com) Received: from mail-oi0-x22a.google.com (mail-oi0-x22a.google.com [IPv6:2607:f8b0:4003:c06::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C65E61468 for ; Wed, 20 Jul 2016 18:05:06 +0000 (UTC) (envelope-from herminio.hernandezjr@gmail.com) Received: by mail-oi0-x22a.google.com with SMTP id l65so82794383oib.1 for ; Wed, 20 Jul 2016 11:05:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=BEiAnGJhl7LaJhUOWfCHZSoVECB1eGf2/6NMuVRr6cY=; b=0C/RJ2klDNa0NK9UmNjy4RwBNcpJd9P16tlvORCKS011ymvxqZ7n6aQg+Rv9pv/QJF tIKuLGDlClrNUQCrb6TzwcB7DQsTy95N/jTmPq3t3Na49RGsIbzQFy6Pz7eonNdLzCiz XyhcwjyNC6LTRFuvJu4HHKv5NAvD/ai/z6iNWmpeMc99j1NCd1dqkAp9BYdZCBmqImlW 9LVMZxhIrIn8oZIZFJCSKVqenV8bRqa7FfA67dV60s7SahelDoYIN2I+ePjD803PtWqF g8RLUAgp0bf0RnaCuOw9wsxYorLiXKP1aEb1BwkgFTD+PnxK6+ec/31Vzf6ekGvggSLo QZ4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=BEiAnGJhl7LaJhUOWfCHZSoVECB1eGf2/6NMuVRr6cY=; b=XlHwPtOkP+lSeVY4+SuXAP/6Fe9cmyF76UmJQkyq2DpRcDzlzx1GLwnUVdNHNRY1DD JwochERa31LtoHvi74ad/pc8qNKORM0FFekK5rpRPNvIFiKqGy95KP22H07N3vEhXKCU U7SWwcfGS0kHeeZF4dht3EX1DRlNJdHd5LU2tIr/tgnzLulk9UE73clOvtdVzGxu6/dB f17exDdENCtc7nRjUh2ITkPRnphONZsF32+nsYIJevDnhp688yGnkvk7K7WTVwu5NK0C n+GNHgXyFT/cQOGcnMxnIjhAs224B7qvYl5WLESVhSBDn7WalicF3pT5ulmMw5o6FwR5 V7OQ== X-Gm-Message-State: ALyK8tI9jn0ycwa+W31nXaUADKXl6PIwcUxzG8cU49zAE/o9FDH/Xl2iAbrYCePNMaJ089OZiT0smGbgm4RMww== X-Received: by 10.157.4.21 with SMTP id 21mr26167267otc.182.1469037906093; Wed, 20 Jul 2016 11:05:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.7.1 with HTTP; Wed, 20 Jul 2016 11:05:05 -0700 (PDT) In-Reply-To: <20160720063002.GC35271@server.rulingia.com> References: <20160720063002.GC35271@server.rulingia.com> From: "Herminio Hernandez, Jr." Date: Wed, 20 Jul 2016 11:05:05 -0700 Message-ID: Subject: Re: rpi2 as wireless router To: Peter Jeremy Cc: freebsd-arm@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2016 18:05:07 -0000 I ran tcpdump on both freebsd and my laptop running Debian. Freebsd sees the DHCP Discover and then sends the DHCP Offer, but never receives the DHCP Request. Debian sends the DHCP Discover, but never sees the DHCP Offer, therefore never sends the DHCP Request. On Tue, Jul 19, 2016 at 11:30 PM, Peter Jeremy wrote: > On 2016-Jul-19 13:26:19 -0700, "Herminio Hernandez, Jr." < > herminio.hernandezjr@gmail.com> wrote: > >I am trying to set freebsd as a wifi router on my rpi2. My Iphone can see > >the ssid but it is failing to conect. FreeBSD can see the phone: > > > > > >root@rpi2:~ # ifconfig wlan0 list sta > >ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG > >iphone-macaddress 1 6 1M 20.0 0 11 44944 EPS AQEPHTR RSN > >HTCAP WME > > > >I am running tcp dump and I see the dhcp requests and replies, but there > is > >no connection establishing. Is there anything I am missing. > > That means the iPhone is associated and you are seeing traffic from it > but it seems it isn't seeing traffic from your AP. What is the output > from "ifconfig -a"? How far through the DHCP negotiation does the > iPhone get and what IP address are you sending in the DHCP response? > > Do you have a Unix-like host that you can run as a client so you can > run tcpdump on it? > > -- > Peter Jeremy >