From owner-freebsd-arm@freebsd.org Wed Jul 20 21:28:09 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 9BDB6B9FBA9 for ; Wed, 20 Jul 2016 21:28:09 +0000 (UTC) (envelope-from andriyvos@gmail.com) Received: from mail-lf0-f51.google.com (mail-lf0-f51.google.com [209.85.215.51]) (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 29A161D58 for ; Wed, 20 Jul 2016 21:28:08 +0000 (UTC) (envelope-from andriyvos@gmail.com) Received: by mail-lf0-f51.google.com with SMTP id g62so47060940lfe.3 for ; Wed, 20 Jul 2016 14:28:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:cc:subject:references:date:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=GrLEbUR4y+ijLvLn+Qey+GSo/GqPvW+jq3QbMAZZm44=; b=fETjzogSBXpx1jNhxRqN5T5n5L7mZ0EAHgilPaUE08AiDjByYoCRSg9gCib6Et8mJU 696q27APXZI/TBqYOeLK4ToZ4lUGHcwKoD4JK6Xxr98Hgrf8cLWH8YPNYMlsDsrItR33 lAkVG7Ky9WLI9KeSg3Tt85mewRZ8fs3D2/qYaO8DhJOEq5bzWaj9whOho/zrXgbK1tu/ fMoifCnRQk754ltzUUs909YLckQ0t8OBejFwxI3Lom3S6RZ2NAVB8trOMP6964UEYF8S J8E+EeQQZwpoN7JoiaEqaiXMimhxa/FDYEaBF8rMxZUVxjV+v+NJ/EiphKe/8GHSPn/T aVDA== X-Gm-Message-State: ALyK8tJoeM09mh1ckH8JF/e4nnnS6aCZD/tzI7uFXaxDjabf+zLsE7AinM1MZQQSm6lHeg== X-Received: by 10.46.33.217 with SMTP id h86mr7712959lji.39.1469050080554; Wed, 20 Jul 2016 14:28:00 -0700 (PDT) Received: from localhost (host-176-37-109-22.la.net.ua. [176.37.109.22]) by smtp.gmail.com with ESMTPSA id h22sm952543lji.21.2016.07.20.14.27.59 (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 20 Jul 2016 14:28:00 -0700 (PDT) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Herminio Hernandez, Jr." , "Adrian Chadd" Cc: "Peter Jeremy" , "freebsd-arm@freebsd.org" Subject: Re: rpi2 as wireless router References: <20160720063002.GC35271@server.rulingia.com> Date: Thu, 21 Jul 2016 00:27:54 +0300 MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable From: "Andriy Voskoboinyk" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.16 (FreeBSD) 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 21:28:09 -0000 Thu, 21 Jul 2016 00:18:37 +0300 =D0=B1=D1=83=D0=BB=D0=BE =D0=BD=D0=B0=D0= =BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE Adrian Chadd = : ifconfig wlan0 -ht ? (if this will not help - try to disable encryption temporarily) P.S. RTL8188CUS ? > hi, > > besides changing it to wpa=3D3, this should work. I haven't used urtwn= > in AP mode though. > > Andriy? > > > -a > > > On 20 July 2016 at 14:17, Herminio Hernandez, Jr. > wrote: >> Here you go! >> >> On Wed, Jul 20, 2016 at 1:56 PM, Adrian Chadd >> wrote: >>> >>> Hi, >>> >>> Please supply 'dmesg' and 'ifconfig -a' and maybe /etc/hostapd.conf >>> (minus the encryption key, of course) >>> >>> Thanks! >>> >>> >>> -a >>> >>> >>> On 20 July 2016 at 11:05, Herminio Hernandez, Jr. >>> wrote: >>> > I ran tcpdump on both freebsd and my laptop running Debian. Freebs= d = >>> sees >>> > the DHCP Discover and then sends the DHCP Offer, but never receive= s = >>> the >>> > DHCP Request. Debian sends the DHCP Discover, but never sees the D= HCP >>> > 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 Iphon= e = >>> 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 FL= AG >>> >> >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, b= ut >>> >> > there >>> >> is >>> >> >no connection establishing. Is there anything I am missing. >>> >> >>> >> That means the iPhone is associated and you are seeing traffic fr= om = >>> 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 th= e >>> >> iPhone get and what IP address are you sending in the DHCP respon= se? >>> >> >>> >> Do you have a Unix-like host that you can run as a client so you = can >>> >> run tcpdump on it? >>> >> >>> >> -- >>> >> Peter Jeremy >>> >> >>> > _______________________________________________ >>> > freebsd-arm@freebsd.org mailing list >>> > https://lists.freebsd.org/mailman/listinfo/freebsd-arm >>> > To unsubscribe, send any mail to = >>> "freebsd-arm-unsubscribe@freebsd.org" >>