LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   OpenBSD Wifi Capability (https://www.linuxquestions.org/questions/%2Absd-17/openbsd-wifi-capability-4175636278/)

00x 08-13-2018 10:52 AM

OpenBSD Wifi Capability
 
I have a laptop (ASUS F550L) that I have recently installed OpenBSD 6.3 on.
This laptop used to run Windows 8 before and had built-in Wifi capabilities (it could connect to my home's wireless router).

Is OpenBSD also able to do this? During the install it didn't detect any networks (unless I plugged in an Ethernet cable, and that is the only way it gets internet at the moment).

If OpenBSD can't make use of the Wifi hardware in the laptop, is there a wireless adapter that I can buy that OpenBSD can recognize and use?

Thanks.

jggimi 08-13-2018 12:44 PM

There are many wireless chipsets supported by OpenBSD. But not all. If you are able to post your dmesg(8) we can at least see what the OS has to say about the hardware it discovered during boot.

Support is based on chipset, rather than brand, which can make predetermination difficult, as chipsets used by vendors are not always published, and are subject to change without the vendors changing make or model.

There are a number of USB-attached wireless chipsets supported. To my understanding, most inexpensive USB dongles on the market today are based on the Atheros or Realtek chipsets noted in this list, extracted from "$ apropos wireless":
Code:

uath(4)        Atheros USB IEEE 802.11a/b/g wireless network device
upgt(4)        Conexant/Intersil PrismGT SoftMAC USB IEEE 802.11b/g wireless network device
ural(4)  Ralink Technology/MediaTek USB IEEE 802.11b/g wireless network device
urtw(4)  Realtek RTL8187L/RTL8187B USB IEEE 802.11b/g wireless network device
urtwn(4) Realtek RTL8188CU/RTL8188EU/RTL8192CU USB IEEE 802.11b/g/n wireless network device


00x 08-14-2018 03:49 AM

Code:

$ dmesg
OpenBSD 6.3 (GENERIC.MP) #107: Sat Mar 24 14:21:59 MDT 2018
    deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8451301376 (8059MB)
avail mem = 8188100608 (7808MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xebe90 (23 entries)
bios0: vendor American Megatrends Inc. version "X550LD.306" date 05/14/2014
bios0: ASUSTeK COMPUTER INC. X550LD
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT ECDT LPIT SSDT SSDT SSDT SSDT SSDT MCFG SSDT HPET SSDT SSDT SSDT SSDT MSDM
acpi0: wakeup devices PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) RP05(S4) PEGP(S4) PEGA(S4) PXSX(S4) RP06(S4) PXSX(S4) RP07(S4) PXSX(S4) RP08(S4) PXSX(S4) RP03(S4) GLAN(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz, 1895.94 MHz
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
cpu0: 256KB 64b/line 8-way L2 cache
acpitimer0: recalibrated TSC frequency 2594004409 Hz
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz, 1895.62 MHz
cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz, 1895.61 MHz
cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 1, core 0, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz, 1895.61 MHz
cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 40 pins
acpiec0 at acpi0
acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpihpet0: recalibrated TSC frequency 2594009500 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (RP01)
acpiprt2 at acpi0: bus 4 (RP05)
acpiprt3 at acpi0: bus 2 (RP03)
acpiprt4 at acpi0: bus 3 (RP04)
acpicpu0 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpipwrres0 at acpi0: PC05, resource for RP05
acpitz0 at acpi0: critical temperature is 103 degC
"INT3F0D" at acpi0 not configured
"ETD0108" at acpi0 not configured
"ATK3001" at acpi0 not configured
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model "X550A26" serial  type LIon oem "ASUSTeK"
"INT3402" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"ATK4001" at acpi0 not configured
"INT340E" at acpi0 not configured
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
"INT3400" at acpi0 not configured
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: LCDD
cpu0: Enhanced SpeedStep 1895 MHz: speeds: 2601, 2600, 2500, 2300, 2200, 2000, 1900, 1800, 1600, 1500, 1400, 1200, 1100, 1000, 800, 754 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x0b
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics" rev 0x0b
drm0 at inteldrm0
inteldrm0: msi
inteldrm0: 1366x768, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
azalia0 at pci0 dev 3 function 0 "Intel Core 4G HD Audio" rev 0x0b: msi
vendor "Intel", unknown product 0x0a03 (class DASP subclass miscellaneous, rev 0x0b) at pci0 dev 4 function 0 not configured
xhci0 at pci0 dev 20 function 0 "Intel 8 Series xHCI" rev 0x04: msi
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1
"Intel 8 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
azalia1 at pci0 dev 27 function 0 "Intel 8 Series HD Audio" rev 0x04: msi
azalia1: codecs: Realtek/0x0233
audio0 at azalia1
ppb0 at pci0 dev 28 function 0 "Intel 8 Series PCIE" rev 0xe4
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 2 "Intel 8 Series PCIE" rev 0xe4: msi
pci2 at ppb1 bus 2
rtsx0 at pci2 dev 0 function 0 "Realtek RTL8411B Card Reader" rev 0x01: msi
sdmmc0 at rtsx0: 4-bit, dma
re0 at pci2 dev 0 function 1 "Realtek 8168" rev 0x12: RTL8411B (0x5c80), msi, address 54:a0:50:be:0a:cf
rgephy0 at re0 phy 7: RTL8251 PHY, rev. 0
ppb2 at pci0 dev 28 function 3 "Intel 8 Series PCIE" rev 0xe4: msi
pci3 at ppb2 bus 3
"Atheros AR9485" rev 0x01 at pci3 dev 0 function 0 not configured
ppb3 at pci0 dev 28 function 4 "Intel 8 Series PCIE" rev 0xe4: msi
pci4 at ppb3 bus 4
vendor "NVIDIA", unknown product 0x1140 (class display subclass 3D, rev 0xa1) at pci4 dev 0 function 0 not configured
pcib0 at pci0 dev 31 function 0 "Intel 8 Series LPC" rev 0x04
ahci0 at pci0 dev 31 function 2 "Intel 8 Series AHCI" rev 0x04: msi, AHCI 1.3
ahci0: port 0: 3.0Gb/s
ahci0: port 1: 1.5Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, WDC WD3200BUCT-6, 01.0> SCSI3 0/direct fixed naa.50014ee602d0a74a
sd0: 305245MB, 512 bytes/sector, 625142448 sectors
cd0 at scsibus1 targ 1 lun 0: <MATSHITA, DVD-RAM UJ8FBS, 1.00> ATAPI 5/cdrom removable
ichiic0 at pci0 dev 31 function 3 "Intel 8 Series SMBus" rev 0x04: apic 8 int 18
iic0 at ichiic0
spdmem0 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-12800 SO-DIMM
"Intel 8 Series Thermal" rev 0x04 at pci0 dev 31 function 6 not configured
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pms0: Elantech Clickpad, version 4, firmware 0x461f15
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
error: [drm:pid0:ivybridge_set_fifo_underrun_reporting] *ERROR* uncleared fifo underrun on pipe A
error: [drm:pid0:intel_cpu_fifo_underrun_irq_handler] *ERROR* CPU pipe A FIFO underrun
uvideo0 at uhub0 port 5 configuration 1 interface 0 "Chicony Electronics Co.,Ltd. USB2.0 HD UVC WebCam" rev 2.00/69.55 addr 2
video0 at uvideo0
uhidev0 at uhub0 port 7 configuration 1 interface 0 "Atmel Atmel maXTouch Digitizer" rev 2.00/10.99 addr 3
uhidev0: iclass 3/0, 5 report ids
ums0 at uhidev0 reportid 1: 1 button, tip
wsmouse1 at ums0 mux 0
uhid0 at uhidev0 reportid 2: input=0, output=0, feature=1
ums1 at uhidev0 reportid 5
ums1: mouse has no X report
uhidev1 at uhub0 port 7 configuration 1 interface 1 "Atmel Atmel maXTouch Digitizer" rev 2.00/10.99 addr 3
uhidev1: iclass 3/0, 2 report ids
uhid1 at uhidev1 reportid 1: input=63, output=63, feature=0
uhid2 at uhidev1 reportid 2: input=63, output=63, feature=0
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (9225863e3f2c7348.a) swap on sd0b dump on sd0b

Code:

rtsx0 at pci2 dev 0 function 0 "Realtek RTL8411B Card Reader" rev 0x01: msi
re0 at pci2 dev 0 function 1 "Realtek 8168" rev 0x12: RTL8411B (0x5c80), msi, address 54:a0:50:be:0a:cf

The above seems relevant, I think.

The touchscreen on the laptop works when I run xfce, so I'm sure there is a way to get the wireless adapter to work. But I am no good with driver/hardware stuff.

However I am happy to just buy any USB Wireless Adapter that will work with OpenBSD.

Thanks for any help.

jggimi 08-14-2018 05:10 AM

Your wireless NIC was recognized, but is not supported. The "not configured" message means, "there is no matching driver available."
Code:

"Atheros AR9485" rev 0x01 at pci3 dev 0 function 0 not configured
Edited to add: your re(4) device is your wired NIC, and is unrelated to the wireless NIC.

00x 08-14-2018 08:16 AM

OK, thanks for letting me know that was the problem.

I was expecting it to not work anyway, so while on my search for an adapter, I tried typing `man urtwn' and it had a list of adapters that are supported.

Now I have bought the edimax ew-7811un
https://www.megabuy.com.au/edimax-ew...r-p219664.html

So that should accomplish what I want hopefully.

jggimi 08-14-2018 02:21 PM

Should. There is always a chance that the the chipset was altered without a change to the product model number. As I noted in my first reply, this does happen from time to time among peripheral equipment suppliers. It's relatively rare, though.


All times are GMT -5. The time now is 03:32 PM.