Re: Issues with urtwn

2014-09-07 Thread Vladimir Botka
Hi Matthias,

On Mon, 8 Sep 2014 07:47:34 +0200
Matthias Apitz  wrote:
> [...]
> I only encountered one problem while traveling through Italy in a
> hotel: They gave me a piece of paper saying "Password:
> "N@tur%Wieser"  and I could not construct a
> good /etc/wpa_supplicant.conf to connect correctly. I could figure
> out the SSID of the AP ("Naturhotel Wieserhof") and tried a lot of
> network={ ... } settings, nothing worked. Sometimes I could associate
> and got an IP addr from the AP, but only in places where the hotel
> said it should not work (im my room). In places where it should work
> (in the lobby) I could not even associate. I have a lot of
> wpa_supplicant debug if someone is willing to check for details. At
> the end I was frustated and gave up, more frustated due to the fact
> that all the other clients with their stupid smartphones did not have
> had any problem at all :-(
> 
>   matthias

maybe the wpa_passphrase utility could help you to create the config.
In this particular case:

$ wpa_passphrase "Naturhotel Wieserhof" "N@tur%Wieser"
network={
ssid="Naturhotel Wieserhof"
#psk="N@tur%Wieser"
psk=b853709a9edcd50edf0835f68bf099255cb32fc462e492117fe3c42ab2a387cb
}

,or you might want to try wpa_gui.

Cheers,

-vlado


signature.asc
Description: PGP signature


Re: Issues with urtwn

2014-09-08 Thread Vladimir Botka
Hi Matthias,

On Mon, 8 Sep 2014 09:32:29 +0200
Matthias Apitz  wrote:

> El día Monday, September 08, 2014 a las 08:19:45AM +0200, Vladimir
> Botka escribió:
> 
> Hi Vladimir,
> 
> > maybe the wpa_passphrase utility could help you to create the
> > config. In this particular case:
> > 
> > $ wpa_passphrase "Naturhotel Wieserhof" "N@tur%Wieser"
> > network={
> > ssid="Naturhotel Wieserhof"
> > #psk="N@tur%Wieser"
> > psk=b853709a9edcd50edf0835f68bf099255cb32fc462e492117fe3c42ab2a387cb
> > }
> 
> What is the benefit of coding the PSK? I have never used it; the
> wpa_supplicant.conf file tested was:
> 
> ctrl_interface=/var/run/wpa_supplicant
> ctrl_interface_group=wheel
> eapol_version=1
> ap_scan=1
> fast_reauth=1
> 
> # Hotel Wieserhof
> #
> network={
> ssid="Naturhotel Wieserhof"
> scan_ssid=1
> # key_mgmt=WPA-PSK WPA-EAP IEEE8021X
> key_mgmt=WPA-PSK
> # key_mgmt=WPA-PSK WPA-EAP
> psk="N@tur%Wieser"
> # key_mgmt=NONE
> # wep_tx_keyidx=0
> # wep_key0="N@tur%Wieser"
> }
> 
> as you see in the comments, I tested a lot of different key_mgmt=
> values; the one shown active, gave the best results (but only in my
> hotel room, not in the lobby);
> 
> > ,or you might want to try wpa_gui.
> 
> I have never used it, but will install the port and give it a try next
> time.
> 
> Thx
> 
>   matthias
> 
> PD: To Adrian, I'm willing to file a PR, but the problem is, I will
> not return to this hotel and can not provide more information or
> tests.

psk="N@tur%Wieser"
and
psk=b853709a9edcd50edf0835f68bf099255cb32fc462e492117fe3c42ab2a387cb
are equivalent.

If you have troubles to configure it manually, I recommend to try
wpa_gui as a next step. In the upstream, wpa_gui is maintained together
with wpa_supplicant by the same maintainer. Therefor wpa_gui has always
been working fine with wpa_supplicant and might help you to create a
consistent configuration.

If this doesn't work, there might be a problem in the (1) lower layer
(driver), (2) AP, or (3) HW in general. If so, to debug it might be a
complex issue suitable for a bug entry. 

Cheers,

-vlado


signature.asc
Description: PGP signature


Re: Intel Centrino wireless-n 2230

2015-01-26 Thread Vladimir Botka
Hi,

On Sun, 25 Jan 2015 18:52:45 + (UTC)
Kostya Berger  wrote:

> Updates: I've set up a guest network on that router, now it connects
> OK.
[...]
>  On Sunday, 25 January 2015, 20:14, Adrian Chadd
>  wrote: 
>  On 25 January 2015 at 10:12, Kostya Berger 
> wrote:
> > Yes, it says WPA2-PERSONAL with AES encryption. And I connect to it
> > using my tablet and other devices.
> 
> What's the result of "ifconfig -v wlan0 list scan" and in wpa_cli,
> "scan_results" ?
> There's something about the SSID that has wpa_supplicant think it
> can't use it.
> -adrian

I've booted 11.0 [3] and found out that N2230 [1] associated with the
AP, but disconnected (message.wlan0 attached). RT5572 [2] under the
same conditions works fine (message.wlan1 attached). I've only brought
up the interface and started wpa_supplicant manually with -dd. N2230
"ifconfig -v wlan0 list scan" lists available APs.

JFYI, N 2230 works fine with Linux kernel 3.13. I'll check the firmware
in 11.0 next.

[1] Intel Corporation Centrino Wireless-N 2230 [8086:0888] (rev c4)
[2] 148f:5572 Ralink Technology, Corp. RT5572 Wireless Adapter
[3] FreeBSD-11.0-CURRENT-i386-20150121-r277486-mini-memstick.img
[4]
Jan 26 07:32:00  wpa_supplicant[2870]: wlan0: Associated with
c4:3d:c7:b0:59:13

Jan 26 07:32:09  kernel: wlan0: link state changed to DOWN

Jan 26 07:32:09  wpa_supplicant[2870]: wlan0: CTRL-EVENT-DISCONNECTED
bssid=c4:3d:c7:b0:59:13 reason=0

Jan 26 07:32:09  wpa_supplicant[2870]: wlan0: WPA: 4-Way Handshake
failed - pre-shared key may be incorrect

Jan 26 07:32:09  wpa_supplicant[2870]: wlan0:
CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="aleta" auth_failures=1
duration=10

-vlado


messages.wlan0
Description: Binary data


messages.wlan1
Description: Binary data


pgpwOL3VFiddy.pgp
Description: OpenPGP digital signature


Re: How to make working new Broadcom chips like BCM4331?

2015-02-01 Thread Vladimir Botka
Hi,

On Mon, 02 Feb 2015 08:12:17 +0300
Alexander Perechnev  wrote:

> Hello everyone,
> 
> I’ve installed FreeBSD 10.1 on my MacBook Pro 13 mid 2012. Everything
> works pretty good, except wireless. It works with [ndis], but it
> doesn’t work with existing [bwi-firmware-kmod] and
> [bwn-firmware-kmod] facilities.
> 
> I’ve looked into [bwn] port Makefile
> (https://github.com/aperechnev/freebsd-ports/blob/master/net/bwn-firmware-kmod/Makefile)
> and found that all it does is just to download necessary firmware
> (4.150.10.5 and 4.178.10.4), extracts it via [b43-fwcutter-015] and
> compiles it into kernel module.
> 
> So the first problem is that 4th gen firmware does not support my
> BCM4331.
> 
> Also i’ve found the [siba-bwn], which recognizes the broadcom
> devices:
> https://github.com/freebsd/freebsd/blob/master/sys/dev/siba/siba_bwn.c.
> 
> So summary it seems that it is not so hard to support my BCM4331. I
> have to:
> 
> - port [b43-fwcutter-018] to FreeBSD, because earlier versions
> doesn’t work with newest firmware
> - update existing [bwn-firmware-kmod] to point it to newest firmware
> - add my BCM4331 device to [siba-bwn]
> 
> I expect that after this steps my BCM4331 should be working. But I am
> new in FreeBSD and I’m just asking you for any help like related
> information, existing problems, links, etc.
> 
> I am not sure if I am right in my theory, but for me it seems that it
> should work. So if you know another problems, which I don’t, please
> let me know before I go through this steps.
> 
> Thank you for excellent operating system, now it’s my favorite one!
> 
> Best regards,
> Alexander Perechnev.
> ___
> freebsd-wireless@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to
> "freebsd-wireless-unsubscr...@freebsd.org"

Hi,

out of curiosity I reviewed the BCM status.

IMO you don't have to port the b43-fwcutter to BSD. It would be nice,
but you can use any Linux to get the firmware (from /lib/firmware/). For
example.
https://help.ubuntu.com/community/MacBookPro8-2/Oneiric#Wireless

As of the support, JFYI
BCM4331 Linux driver is provided by Broadcom
http://www.broadcom.com/docs/linux_sta/README_6.30.223.248.txt

,there is no support in the Linux kernel atm
https://wireless.wiki.kernel.org/en/users/drivers/brcm80211

and I'm not sure, where do the bwi/bwn drivers come from (to see how
probable is the support of BCM4331).
bwi -- Broadcom BCM43xx IEEE 802.11b/g wireless network driver
bwn -- Broadcom BCM43xx IEEE 802.11b/g wireless network driver


Cheers,

-vlado


pgpmnoETYTw9l.pgp
Description: OpenPGP digital signature


Re: D-link wireless not detected

2015-12-29 Thread Vladimir Botka
Hi Danny,

On Tue, 29 Dec 2015 11:16:27 +0200
Daniel Braniss  wrote:
> Hi All,
> I have a working tp-link usb (realtek), but can’t get a d-link(also realtek) 
> to work.
> usbconfig:
>   ugen0.4:  at usbus0, cfg=0 md=HOST 
> spd=HIGH (480Mbps) pwr=ON (500mA)
> This is on a raspberry pi running a resent current.
> cheers & season greetings,
>   danny

I've added freebsd-wireless list.

My 2 cents. It might be helpful to see more details about the adapters.
For example:

# usbconfig -u 0 -a 7 dump_device_desc
ugen0.7: <802.11 n WLAN Ralink> at usbus0, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=ON (450mA)
  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x  
  bDeviceSubClass = 0x 
  bDeviceProtocol = 0x 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x148f 
  idProduct = 0x5370 
  bcdDevice = 0x0101 
  iManufacturer = 0x0001  
  iProduct = 0x0002  <802.11 n WLAN>
  iSerialNumber = 0x0003  <1.0>
  bNumConfigurations = 0x0001


Cheers,

-vlado


pgpKpac3S2hCX.pgp
Description: OpenPGP digital signature


Re: Intel 3945ABG keeps on switch transmitter off

2016-02-19 Thread Vladimir Botka
Hi,

On Thu, 18 Feb 2016 22:17:25 +0100
Chris Van Steenlandt  wrote:
> I recently installed FreeBSD release 10.2 on my old Sony Vaio laptop. It 
> has an intel 3945ABG wireless interface.
> A lot of times however, I get the following two messages that pop up :
> wpi0: Radio transmitter is switched off
> wpi0: Hardware Switch Enabled.
> ...
> Chris

your problem might be similar to this one
http://www.allthingstechie.net/2014/10/bypass-laptop-wireless-hardware-radio.html
Cheers,

-vlado


pgpP0EV1eHdYH.pgp
Description: OpenPGP digital signature


Re: wpa_supplicant doesn't communicate with zyd(4) interface well

2016-10-09 Thread Vladimir Botka
Hello!

On Sat, 8 Oct 2016 16:09:30 -0700
Yuri  wrote:
> I use wpa_gui program (net/wpa_gui port), and it talked to ndis-based 
> driver very well. wpa_supplicant is the latest version from ports.
> Now I switched to the Belkin device using zyd driver, and wpa_gui just 
> doesn't communicate well with it. It can't switch wifi network using the 
> combobox, for example.
> Anybody know what might be the problem?
> Yuri

To find the problem more details from wpa_supplicant would be needed.
You might want to add following line to /etc/rc.conf and post the log.

wpa_supplicant_flags="-dd -t -f /var/log/wpa_supplicant.log"

But, I'd recommend to try and configure the interface without wpa_gui
first. If this doesn't work wpa_gui won't help. wpa_gui is just an GUI
to configure wpa_supplicant.
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html

But, to save time, you might want to change the adapter. Best choice is
Intel for client and Atheros for hostap. Ralink is doing well too. For
example RT5370 USB dongles work fine for me in 10.3. Available from $20
(amazon) to $3 (aliexpress).

# usbconfig -u 0 -a 4 dump_device_desc
ugen0.4: <802.11 n WLAN Ralink> at usbus0, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=ON (450mA)

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x  
  bDeviceSubClass = 0x 
  bDeviceProtocol = 0x 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x148f 
  idProduct = 0x5370 
  bcdDevice = 0x0101 
  iManufacturer = 0x0001  
  iProduct = 0x0002  
  iSerialNumber = 0x0003  
  bNumConfigurations = 0x0001

HTH. Cheers and have fun,

-vlado


pgpI294aEJ1qK.pgp
Description: OpenPGP digital signature


Re: What is the best choice of USB WiFi adapter working on FreeBSD?

2016-10-09 Thread Vladimir Botka
Hello!

On Sat, 8 Oct 2016 23:25:36 -0700
Yuri  wrote:
> I have Belkin F5D7050 USB WiFI NIC, but zyd driver is faulty and the 
> card freezes up with the timeout message: 
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=138292.
> Can anybody recommend the USB NIC that works well on FreeBSD, is 
> inexpensive and easily available?
> Yuri

RT5370 USB dongles work for me without any problem for over a year. (No
11n for USB in 10.3, just 11g).
https://www.aliexpress.com/price/ralink-rt5370_price.html

Cheers,

-vlado


pgpIS9NoPu6HI.pgp
Description: OpenPGP digital signature


Fw: stuck beacon

2016-12-10 Thread Vladimir Botka
Hi! Let's forward it to wireless.

-vlado

Begin forwarded message:

Date: Fri, 9 Dec 2016 21:12:13 -0500
From: laszlo 
To: freebsd-questi...@freebsd.org
Subject: stuck beacon


running 11.0 on a mini ITX as a router in hostap mode

getting error messages in log

usually once i start seeing these errors things go down hill fast, like 
start not getting ipaddresses and then not authenticating or connection 
goes up and down etc.


i believe this has been a big issue long time ago but has anyone ever 
found a fix for it.?

is there another brand/model of wireless card that can do hostap mode 
with some power output.



kernel: ath0: ath_tx_aggr_comp_aggr: AR5416 bug: hasba=0; txok=1,
isaggr=1, seq_st=1306 Dec  9 20:25:13 gatekeeper kernel: ath0: stuck
beacon; resetting (bmiss count 4)


ath0:  mem 0x9120-0x9121 irq 19 at device 0.0
on pci2
ar9300_attach: calling ar9300_hw_attach
ar9300_hw_attach: calling ar9300_eeprom_attach
ar9300_flash_map: unimplemented for now
Restoring Cal data from DRAM
Restoring Cal data from EEPROM
Restoring Cal data from Flash
Restoring Cal data from Flash
Restoring Cal data from OTP
ar9300_hw_attach: ar9300_eeprom_attach returned 0
ath0: [HT] enabling HT modes
ath0: [HT] enabling short-GI in 20MHz mode
ath0: [HT] 1 stream STBC receive enabled
ath0: [HT] 1 stream STBC transmit enabled
ath0: [HT] LDPC transmit/receive enabled
ath0: [HT] 2 RX streams; 2 TX streams
ath0: AR9580 mac 448.4 RF5110 phy 0.0
ath0: 2GHz radio: 0x; 5GHz radio: 0x

___
freebsd-questi...@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscr...@freebsd.org"


-- 
Vladimír Botka
+420 603.282.699
Šmeralova 13, Praha 17000


pgpWr8fub6BBo.pgp
Description: OpenPGP digital signature


Re: Good board/router for testing TDMA?

2017-09-08 Thread Vladimir Botka
On Thu, 7 Sep 2017 20:42:11 -0700
Goo Gle  wrote:

> Hello,
> I'd like to test some long distance Wi-Fi links (a few kilometers) ...

Aren't you looking for Ad-hoc connection
http://www.freebsd.cz/doc/handbook/network-wireless.html
and directional antennas?
https://en.wikipedia.org/wiki/Long-range_Wi-Fi

You might want to opt for Atheros
https://wiki.freebsd.org/dev/ath%284%29
or Intel
https://wiki.freebsd.org/dev/iwn%284%29

-vlado


pgpWeHqrUeH_m.pgp
Description: OpenPGP digital signature


Re: Why WiFi connections are established so slowly?

2018-10-30 Thread Vladimir Botka
On Tue, 30 Oct 2018 16:01:10 -0700
Yuri  wrote:
> I just measured: 20-40 seconds elapse between the insertion of the WiFi 
> card and the host obtaining IP address. This is quite slow IMHO. It is 
> hard to imagine that exchanging a few packets back and forth should take 
> that long.
> ...

Setting "scan_freq: List of frequencies to scan" makes the connection faster
(especially for dual-band).
https://w1.fi/cgit/hostap/plain/wpa_supplicant/wpa_supplicant.conf

HTH,
-vlado


pgp5pUSXNyTcU.pgp
Description: OpenPGP digital signature


Re: DHCP problems while connecting with a Wifi AP

2018-12-27 Thread Vladimir Botka
Hi,

On Thu, 27 Dec 2018 13:25:17 +0100
Matthias Apitz  wrote:
> [...]
> Dec 27 11:59:52 c720-r314251 wpa_supplicant[7871]: wlan0: Associated with
> 4e:74:03:65:46:a9 Dec 27 11:59:52 c720-r314251 kernel: wlan0: link state
> changed to UP Dec 27 11:59:52 c720-r314251 dhclient[7941]: send_packet: No
> buffer space available Dec 27 11:59:53 c720-r314251 wpa_supplicant[7871]:
> wlan0: WPA: Key negotiation completed with 4e:74:03:65:46:a9 [PTK=CCMP
> GTK=CCMP] Dec 27 11:59:53 c720-r314251 wpa_supplicant[7871]: wlan0:
> CTRL-EVENT-CONNECTED - Connection to 4e:74:03:65:46:a9 completed [id=1
> id_str=]
> 
> As you can see, the 'dhclient[7941]: send_packet: No buffer space
> available' comes *before* the connection to the AP is completed.
> [...]

In my case there is no problem with dhclient coming before the connection 
completed.

Dec 17 14:28:38 pland wpa_supplicant[2084]: wlan0: Associated with 
a4:2b:b0:a5:6f:83
Dec 17 14:28:38 pland kernel: wlan0: link state changed to UP
Dec 17 14:28:38 pland dhclient[2237]: send_packet: No buffer space available
Dec 17 14:28:39 pland wpa_supplicant[2084]: wlan0: WPA: Key negotiation 
completed with a4:2b:b0:a5:6f:83 [PTK=CCMP GTK=CCMP]
Dec 17 14:28:39 pland wpa_supplicant[2084]: wlan0: CTRL-EVENT-CONNECTED - 
Connection to a4:2b:b0:a5:6f:83 completed [id=0 id_str=]
Dec 17 14:28:45 pland dhclient[2246]: New IP Address (wlan0): 10.1.0.12
Dec 17 14:28:45 pland dhclient[2247]: New Subnet Mask (wlan0): 255.255.255.0
Dec 17 14:28:45 pland dhclient[2248]: New Broadcast Address (wlan0): 10.1.0.255

Cheers,

-vlado


pgpx13tytxbHF.pgp
Description: OpenPGP digital signature


Re: debugging a Wifi association problem

2019-07-17 Thread Vladimir Botka
Hello,

On Wed, 17 Jul 2019 07:38:26 +0200
Matthias Apitz  wrote:

> ... The association requests are always rejected with a package
> CTRL-EVENT-ASSOC-REJECT with 'status_code=1'...
> Do we have any tool in FreeBSD to monitor/debug this problem between the
> device in question and the AP? Any other ideas?

Best practice is to sniff packets and see what's going on.
http://www.wireless-nets.com/resources/tutorials/sniff_packets_wireshark.html

Cheers,

-vlado


pgpq9psFbWO4j.pgp
Description: OpenPGP digital signature


Re: debugging a Wifi association problem

2019-07-17 Thread Vladimir Botka
On Wed, 17 Jul 2019 19:35:32 +0200
Matthias Apitz  wrote:

> El día miércoles, julio 17, 2019 a las 09:05:43a. m. +0200, Vladimir Botka 
> escribió:
> > On Wed, 17 Jul 2019 07:38:26 +0200
> > Matthias Apitz  wrote:
> >   
> > > ... The association requests are always rejected with a package
> > > CTRL-EVENT-ASSOC-REJECT with 'status_code=1'...
> > > Do we have any tool in FreeBSD to monitor/debug this problem between the
> > > device in question and the AP? Any other ideas?  
> > 
> > Best practice is to sniff packets and see what's going on.
> > http://www.wireless-nets.com/resources/tutorials/sniff_packets_wireshark.html
> 
> I installed wireshark-2.6.5_2 in my FreeBSD (CURRENT from December last
> year). I tried to enable from
>   View --> [x] Wireless Toolbar
> but this gives an error about "Failed to initialize ws80211" in the GUI
> and I can not set the channel or Frequency. Is this not possible with
> FreeBSD?

FreeBSD is not needed to analyse the the problem. Use whatever system is able
to set wifi card into the "monitor" mode and sniff the packets first. The
link below is complete how to do it
https://wiki.wireshark.org/CaptureSetup/WLAN
When you got the data analyse it with wireshark. The captured data might grow
fast.

Cheers,

-vlado


pgpP_8DQ34idM.pgp
Description: OpenPGP digital signature


Re: debugging a Wifi association problem

2019-07-17 Thread Vladimir Botka
On Wed, 17 Jul 2019 20:53:24 +0200
Matthias Apitz  wrote:

> El día miércoles, julio 17, 2019 a las 08:26:02p. m. +0200, Vladimir Botka 
> escribió:
> 
> > > I installed wireshark-2.6.5_2 in my FreeBSD (CURRENT from December last
> > > year). I tried to enable from
> > >   View --> [x] Wireless Toolbar
> > > but this gives an error about "Failed to initialize ws80211" in the GUI
> > > and I can not set the channel or Frequency. Is this not possible with
> > > FreeBSD?  
> > 
> > FreeBSD is not needed to analyse the the problem.  
> > Use whatever system is able
> > to set wifi card into the "monitor" mode and sniff the packets first. The
> > link below is complete how to do it
> > https://wiki.wireshark.org/CaptureSetup/WLAN
> > When you got the data analyse it with wireshark. The captured data might 
> > grow
> > fast.  
> 
> I only have FreeBSD laptops (and an older Ubuntu) and the question was
> not if FreeBSD is needed, but if FreeBSD is *able* to capture Wifi.
> Thanks
>   matthias

Yes. FreeBSD is able to capture Wifi. Find below the link to the BSD chapter.
https://wiki.wireshark.org/CaptureSetup/WLAN#A.2ABSD

Cheers,

-vlado


pgp3dAVnF2Bh7.pgp
Description: OpenPGP digital signature


Re: debugging a Wifi association problem

2019-07-18 Thread Vladimir Botka
On Thu, 18 Jul 2019 08:20:33 +0200
Matthias Apitz  wrote:

> El día miércoles, julio 17, 2019 a las 11:13:14p. m. +0200, Vladimir Botka 
> escribió:
> 
> > 
> > FreeBSD is not needed to analyse the the problem.  
> > Use whatever system is able
> > to set wifi card into the "monitor" mode and sniff the packets first. The
> > link below is complete how to do it
> > https://wiki.wireshark.org/CaptureSetup/WLAN
> > When you got the data analyse it with wireshark. The captured data might 
> > grow
> > fast.
> > >
> > > I only have FreeBSD laptops (and an older Ubuntu) and the question was
> > > not if FreeBSD is needed, but if FreeBSD is *able* to capture Wifi.
> > 
> > Yes. FreeBSD is able to capture Wifi. Find below the link to the BSD 
> > chapter.
> > https://wiki.wireshark.org/CaptureSetup/WLAN#A.2ABSD
> 
> # wireshark -i wlan0 -I
> The capture session could not be initiated on interface 'wlan0' (That
> device doesn't support monitor mode). # ifconfig wlan0 monitor
> does not help and does nos say anything.
>
> # ifconfig wlan0
> wlan0: flags=48843 metric 0
> mtu 1500 ...
> Any ideas?

You've successfully set MONITOR mode of wlan0. Use tcpdump to capture packets.
https://www.freebsd.org/cgi/man.cgi?tcpdump(1)
When you got the data analyse it with wireshark. The captured data might grow
fast.


Cheers,

-vlado


pgpqIOw5I1E59.pgp
Description: OpenPGP digital signature


Re: FreeBSD wifi Usb (pfsense)

2020-06-11 Thread Vladimir Botka
On Fri, 12 Jun 2020 04:33:01 +
carmezsa via freebsd-wireless  wrote:

> ... USB wifi adapter with support on 2,4GHz and 5GHz

I've found only one. It's Ralink RT5572
https://www.freebsd.org/cgi/man.cgi?run(4)

Not available anymore from US/EU vendors. (Might be you'll find any). For
example
https://www.amazon.co.uk/TP-LINK-TL-WDN3200-N600-Wireless-Adapter/dp/B007SUYM72

Search "RT5572" https://www.aliexpress.com/ Model "RT5572N" $12.65/piece
including antennas works for me.

HTH,

-vlado


pgpvVzIugyWAo.pgp
Description: OpenPGP digital signature


Re: FreeBSD wifi Usb (pfsense)

2020-06-11 Thread Vladimir Botka
On Fri, 12 Jun 2020 07:33:46 +0200
Vladimir Botka  wrote:

> On Fri, 12 Jun 2020 04:33:01 +
> carmezsa via freebsd-wireless  wrote:
> 
> > ... USB wifi adapter with support on 2,4GHz and 5GHz  
> 
> I've found only one. It's Ralink RT5572
> https://www.freebsd.org/cgi/man.cgi?run(4)
> 
> Not available anymore from US/EU vendors. (Might be you'll find any). For
> example
> https://www.amazon.co.uk/TP-LINK-TL-WDN3200-N600-Wireless-Adapter/dp/B007SUYM72
> 
> Search "RT5572" https://www.aliexpress.com/ Model "RT5572N" $12.65/piece
> including antennas works for me.

One more thing. The performance is very poor.

TP-Link TL-WDN3200 on 5GHz transfer ~8MB/s tested with Netgear WNDR3700

-- 
Vladimir Botka


pgpj4zcGuvyNf.pgp
Description: OpenPGP digital signature


Re: FreeBSD wifi Usb (pfsense)

2020-06-12 Thread Vladimir Botka
Hi!

On Thu, 11 Jun 2020 22:23:54 -0700
Adrian Chadd  wrote:

> > Can you help me to search one model with 2,4 and 5Ghz support?

> I'm using if_run and if_rtwn devices here. :)
> 
> rtwn should work ok as an 11n AP; we're working on 11n support on if_run
> right now.

5Ghz ? What chipset except RT5572 ?

Thank you,

-vlado


pgpU5gH_TZGJH.pgp
Description: OpenPGP digital signature


Re: FreeBSD wifi Usb (pfsense)

2020-06-13 Thread Vladimir Botka
> > > > .. buy and USB wifi adapter with support on 2,4GHz and 5GHz
> > > > Can you help me to search one model with 2,4 and 5Ghz support?  

> > > I'm using if_run and if_rtwn devices here. :)
> > > rtwn should work ok as an 11n AP; we're working on 11n support on if_run
> > > right now.  

> > 5Ghz ? What chipset except RT5572 ?

> I'm actually using an RT3593. Right now whilst talking with you :)

It's PCIe. The question was 5GHz USB.
https://www.mediatek.com/products/broadbandWifi/rt3593

-- 
Vladimir Botka


pgpOYaYzGuhlx.pgp
Description: OpenPGP digital signature


Re: FreeBSD wifi Usb (pfsense)

2020-06-13 Thread Vladimir Botka
On Sat, 13 Jun 2020 11:32:42 -0700
Adrian Chadd  wrote:

> On Sat, 13 Jun 2020 at 11:26, Vladimir Botka  wrote:
> 
> > > > > > .. buy and USB wifi adapter with support on 2,4GHz and 5GHz
> > > > > > Can you help me to search one model with 2,4 and 5Ghz support?  
> >  
> > > > > I'm using if_run and if_rtwn devices here. :)
> > > > > rtwn should work ok as an 11n AP; we're working on 11n support on  
> > if_run  
> > > > > right now.  
> >  
> > > > 5Ghz ? What chipset except RT5572 ?  
> >  
> > > I'm actually using an RT3593. Right now whilst talking with you :)  
> >
> > It's PCIe. The question was 5GHz USB.
> > https://www.mediatek.com/products/broadbandWifi/rt3593  
> 
> It's USB; it's an old ASUS 3x3 USB N-66 dongle.

Cool! Unfortunately, RT3593 is not available any more and rtwn is 2.4GHz
only. The result is, atm, the only 5GHz USB ,available in the stores, is
RT5572. Right?

-- 
Vladimir Botka


pgpcEeVwePH1F.pgp
Description: OpenPGP digital signature


Re: FreeBSD wifi Usb (pfsense)

2020-06-13 Thread Vladimir Botka
On Sat, 13 Jun 2020 19:35:18 +
"Bjoern A. Zeeb"  wrote:

> > the only 5GHz USB ,available in the stores, is RT5572

> ZyXEL NWD2705-EU0101F Dual-Band Wireless-LAN USB-Adapter (450Mbps)
> https://www.amazon.de/gp/product/B00B1YJORO/
> is a run(4) I think and still a few available shipping from the UK.
> run0: MAC/BBP RT3593 (rev 0x0402), RF RT3053 (MIMO 3T3R), address 
> run0: firmware RT3071 ver. 0.33 loaded

Thank you!

-- 
Vladimir Botka


pgpt_cauCzfaZ.pgp
Description: OpenPGP digital signature