Re: Recognition Of My Wireless Network Device

2023-08-09 Thread Anders Andersson
On Wed, Aug 9, 2023 at 4:26 PM Jan Stary  wrote:
>
> On Aug 09 07:36:00, stu.li...@spacehopper.org wrote:
> > On 2023-08-08, Jan Stary  wrote:
> > > On Aug 07 15:32:05, mill...@openbsd.org wrote:
> > >> Your best bet may be to replace the onboard wireless with a card
> > >> that is supported by OpenBSD.
> > >
> > > On Aug 08 09:55:58, stu.li...@spacehopper.org wrote:
> > >> Swapping to a different card is likely to give better results (generally
> > >> faster, more stable, and able to use the proper antennas in the laptop,
> > >> usually around the display, rather than a tiny pcb trace antenna)
> > >
> > > Exactly. Replace the BCM with Intel or something.
> > > Takes about ten minutes and costs peanuts.
> >
> > Maybe. But these were popular on some HP stuff where changing it often
> > requires some dodgy hacked BIOS download which may or may not be safe
> > to use. That's why I added the other bit.
>
> Ah, right: some Thinkpads for example have a whitelist
> of allowed wifi chips they will let you booth with ...

I just installed libreboot on one of my Thinkpads, that will take care
of that problem while speeding up the boot a lot. But it turns the
"Where's my driver?" into a process of physically reflashing an IC
with external probes etc, depending on your laptop.

https://libreboot.org/docs/bsd/



Re: Recognition Of My Wireless Network Device

2023-08-09 Thread Jan Stary
On Aug 09 07:36:00, stu.li...@spacehopper.org wrote:
> On 2023-08-08, Jan Stary  wrote:
> > On Aug 07 15:32:05, mill...@openbsd.org wrote:
> >> Your best bet may be to replace the onboard wireless with a card
> >> that is supported by OpenBSD.
> >
> > On Aug 08 09:55:58, stu.li...@spacehopper.org wrote:
> >> Swapping to a different card is likely to give better results (generally
> >> faster, more stable, and able to use the proper antennas in the laptop,
> >> usually around the display, rather than a tiny pcb trace antenna)
> >
> > Exactly. Replace the BCM with Intel or something.
> > Takes about ten minutes and costs peanuts.
> 
> Maybe. But these were popular on some HP stuff where changing it often
> requires some dodgy hacked BIOS download which may or may not be safe
> to use. That's why I added the other bit.

Ah, right: some Thinkpads for example have a whitelist
of allowed wifi chips they will let you booth with ...



Re: Recognition Of My Wireless Network Device

2023-08-09 Thread Stuart Henderson
On 2023-08-08, Jan Stary  wrote:
> On Aug 07 15:32:05, mill...@openbsd.org wrote:
>> Your best bet may be to replace the onboard wireless with a card
>> that is supported by OpenBSD.
>
> On Aug 08 09:55:58, stu.li...@spacehopper.org wrote:
>> Swapping to a different card is likely to give better results (generally
>> faster, more stable, and able to use the proper antennas in the laptop,
>> usually around the display, rather than a tiny pcb trace antenna)
>
> Exactly. Replace the BCM with Intel or something.
> Takes about ten minutes and costs peanuts.

Maybe. But these were popular on some HP stuff where changing it often
requires some dodgy hacked BIOS download which may or may not be safe
to use. That's why I added the other bit.




Re: Recognition Of My Wireless Network Device

2023-08-08 Thread Jan Stary
On Aug 07 15:32:05, mill...@openbsd.org wrote:
> Your best bet may be to replace the onboard wireless with a card
> that is supported by OpenBSD.

On Aug 08 09:55:58, stu.li...@spacehopper.org wrote:
> Swapping to a different card is likely to give better results (generally
> faster, more stable, and able to use the proper antennas in the laptop,
> usually around the display, rather than a tiny pcb trace antenna)

Exactly. Replace the BCM with Intel or something.
Takes about ten minutes and costs peanuts.



Re: Recognition Of My Wireless Network Device

2023-08-08 Thread Stuart Henderson
On 2023-08-07, Jay F. Shachter  wrote:
>
> Esteemed Colleagues:
>
> How do I get OpenBSD to recognize my wireless network device?
>
> When I install OpenBSD on my computer, the second-to-last thing the
> installer says, is that I have a multiprocessor machine, so it will
> use bsd_mp instead of bsd.  Then there is a very long pause -- so long
> that you are nearly certain that the installer is hung, and you will
> have to power-cycle.  Then the installer reports that fw_update has

IMHO this can be an annoyingly long time especially if you have a slow
internet connection, but last time I asked there were objections to
adding more lines of output to the installer to show what it's doing
there.

> obtained intel and inteldrm, and congratulates me on a successful
> installation.  When I reboot and log in for the first time, fw_update
> reports that it has just obtained uvideo and vmm (why it did not do
> this at the end of the installation, when it obtained intel and
> inteldrm, is never explained).

Firmware is installed based on devices that show up in dmesg. The
install kernel has limited device support (no point wasting space on
devices which are no use to the installer) - no uvideo/vmm - so the
firmware installer is unaware of the devices until you boot onto a full
kernel. (The GPU is recognised by the installer without having a full
driver for it based on other IDs; on some machines it's important to
have this available from first boot of a kernel with the driver). 

> At this point, after two opportunities to obtain the firmware that it
> needs, I would expect that my computer's operating system would
> recognize my computer's wireless network device (which, according to
> the output of "pciconf -v", is a Broadcom BCM4313, Vendor ID: 14e4,
> Product ID: 4727).

Unsupported wireless adapter.

Your easiest option is probably an 802.11n (*not* 11ac) USB device, as
most are supported. It will probably be "ok" though not great.

Swapping to a different card is likely to give better results (generally
faster, more stable, and able to use the proper antennas in the laptop,
usually around the display, rather than a tiny pcb trace antenna) - but
given the age and type of machines that usually came supplied with
BCM4313 I don't expect it's worth putting that much effort into it.




Re: Recognition Of My Wireless Network Device

2023-08-07 Thread Todd C . Miller
Unfortunately, no OpenBSD driver for the Broadcom BCM4313 exists.
The bwfm driver support Broadcom "FullMAC" chips but the BCM4313
is a "SoftMAC" chip and would need a different driver.

There is a driver for this chip in Linux (brcmsmac) so it might be
possible for someone to write an OpenBSD driver but this is no small
undertaking.

Your best bet may be to replace the onboard wireless with a card
that is supported by OpenBSD.

 - todd



Re: Recognition Of My Wireless Network Device

2023-08-07 Thread Greg Thomas
On Mon, Aug 7, 2023 at 2:02 PM Jay F. Shachter  wrote:

>
> It does not.  The "ifconfig -a" command reports an awareness of lo0,
> em0 (my Ethernet device), enc0, and pflog0.  And nothing else.  How do
> I get OpenBSD to recognize my Broadcom BCM4313 wireless network device?
>

Did you Google "BCM4313 OpenBSD"

The results aren't very encouraging.


Recognition Of My Wireless Network Device

2023-08-07 Thread Jay F. Shachter


Esteemed Colleagues:

How do I get OpenBSD to recognize my wireless network device?

When I install OpenBSD on my computer, the second-to-last thing the
installer says, is that I have a multiprocessor machine, so it will
use bsd_mp instead of bsd.  Then there is a very long pause -- so long
that you are nearly certain that the installer is hung, and you will
have to power-cycle.  Then the installer reports that fw_update has
obtained intel and inteldrm, and congratulates me on a successful
installation.  When I reboot and log in for the first time, fw_update
reports that it has just obtained uvideo and vmm (why it did not do
this at the end of the installation, when it obtained intel and
inteldrm, is never explained).

At this point, after two opportunities to obtain the firmware that it
needs, I would expect that my computer's operating system would
recognize my computer's wireless network device (which, according to
the output of "pciconf -v", is a Broadcom BCM4313, Vendor ID: 14e4,
Product ID: 4727).

It does not.  The "ifconfig -a" command reports an awareness of lo0,
em0 (my Ethernet device), enc0, and pflog0.  And nothing else.  How do
I get OpenBSD to recognize my Broadcom BCM4313 wireless network device?

If your answer to this question is something alone the lines of "read
the fabulous manual" please be aware that I have tried to read the
fabulous manual, and I do not see where the fabulous manual provides
an answer to this question.  If you do direct me to the fabulous
manual, please be so kind as to tell me where the fabulous manual
answers the question.

As always, thank you in advance for any and all replies.

Jay F. Shachter
6424 North Whipple Street
Chicago IL  60645-4111
(1-773)7613784   landline
(1-410)9964737   GoogleVoice
j...@m5.chicago.il.us
http://m5.chicago.il.us

"Quidquid latine dictum sit, altum videtur"