rpi2 as wireless router

Andriy Voskoboinyk avos at freebsd.org
Wed Jul 20 21:28:09 UTC 2016


Thu, 21 Jul 2016 00:18:37 +0300 було написано Adrian Chadd  
<adrian.chadd at gmail.com>:

ifconfig wlan0 -ht ?
(if this will not help - try to disable encryption temporarily)

P.S. RTL8188CUS ?

> hi,
>
> besides changing it to wpa=3, this should work. I haven't used urtwn
> in AP mode though.
>
> Andriy?
>
>
> -a
>
>
> On 20 July 2016 at 14:17, Herminio Hernandez, Jr.
> <herminio.hernandezjr at gmail.com> wrote:
>> Here you go!
>>
>> On Wed, Jul 20, 2016 at 1:56 PM, Adrian Chadd <adrian.chadd at gmail.com>
>> 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.
>>> <herminio.hernandezjr at gmail.com> wrote:
>>> > 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 <peter at rulingia.com>
>>> > wrote:
>>> >
>>> >> On 2016-Jul-19 13:26:19 -0700, "Herminio Hernandez, Jr." <
>>> >> herminio.hernandezjr at 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 at 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
>>> >>
>>> > _______________________________________________
>>> > freebsd-arm at freebsd.org mailing list
>>> > https://lists.freebsd.org/mailman/listinfo/freebsd-arm
>>> > To unsubscribe, send any mail to  
>>> "freebsd-arm-unsubscribe at freebsd.org"
>>


More information about the freebsd-arm mailing list