Re: Question regarding wi-fi card support

2019-08-08 Thread Timo Myyrä
flauenroth  writes:

> Dear list, 
>
>
> I am in the need for a proper wi-fi solution for my Lenovo E485. 
>
> The original card was some qualcom stuff that went right into my
> trashcan. I´ve replaced it with a Intel Wireless AC 9260 2230 2x2 + BT
> Gigabit vPro since it was catching dust but no success. Now before I
> spent money on a proper card I want to make sure the card is supported
> and works properly. I am aware of the OpenBSD network FAQ and the
> hardware listed there but hopefully some fellow OpenBSD user can
> recommend a card. My EDIMAX EW-7811UN Wireless USB Adapter works
> pretty decent but it´s no real solution.
>
> Thanks in advance and have a nice weekend. 
>
>
> Fabian

I replaced the default wireless card with following which has worked just fine 
on my e485:
> iwm0 at pci4 dev 0 function 0 "Intel Dual Band Wireless-AC 8265" rev 0x78, msi

Timo



Re: Question regarding wi-fi card support

2019-08-08 Thread Christoph R. Winter
Hello !

I use a "Intel Dual Band Wireless AC 7260" which is supported by iwm(4) in a 
T440p and a W541 (booth M.2 but check if your model supports it before you buy 
it).
BTW Bluetooth is not supported, with no card. I highly recommand, do not start 
the BT topic again because the list is full of it. If you are interested, just 
use the search function.

Regards,


Christoph


8. August 2019 23:31, "flauenroth"  schrieb:

> Dear list, 
> 
> I am in the need for a proper wi-fi solution for my Lenovo E485. 
> 
> The original card was some qualcom stuff that went right into my trashcan. 
> I´ve replaced it with a
> Intel Wireless AC 9260 2230 2x2 + BT Gigabit vPro since it was catching dust 
> but no success. Now
> before I spent money on a proper card I want to make sure the card is 
> supported and works properly.
> I am aware of the OpenBSD network FAQ and the hardware listed there but 
> hopefully some fellow
> OpenBSD user can recommend a card. My EDIMAX EW-7811UN Wireless USB Adapter 
> works pretty decent but
> it´s no real solution. 
> 
> Thanks in advance and have a nice weekend. 
> 
> Fabian



Question regarding wi-fi card support

2019-08-08 Thread flauenroth
Dear list, 


I am in the need for a proper wi-fi solution for my Lenovo E485. 

The original card was some qualcom stuff that went right into my trashcan. I´ve 
replaced it with a Intel Wireless AC 9260 2230 2x2 + BT Gigabit vPro since it 
was catching dust but no success. Now before I spent money on a proper card I 
want to make sure the card is supported and works properly. I am aware of the 
OpenBSD network FAQ and the hardware listed there but hopefully some fellow 
OpenBSD user can recommend a card. My EDIMAX EW-7811UN Wireless USB Adapter 
works pretty decent but it´s no real solution. 

Thanks in advance and have a nice weekend. 


Fabian


signature.asc
Description: OpenPGP digital signature


Re: build with DEBUG defined

2019-08-08 Thread Gleydson Soares
yes, it is crystal-clear in bsd.own.mk
Even though maybe the man page and bsd.README should be tweaked, or we should 
handle it in bsd.own.mk for reflecting the current manual. But I think it 
doesn’t worth it,

Sent from my iPhone

> On 8 Aug 2019, at 04:26, Stuart Henderson  wrote:
> 
>> On 2019-08-07, Edgar Pettijohn  wrote:
>> 
>>> On Aug 6, 2019 8:51 PM, Gleydson Soares  wrote:
>>> 
 On Tue, Aug 06, 2019 at 06:55:15PM -0500, Edgar Pettijohn wrote:
 I'm trying to build smtpd with `-g'. I tried the following:
 
 deathstar$ make -DDEBUG
 ===> smtpd
 yacc  -o parse.c /usr/src/usr.sbin/smtpd/smtpd/../parse.y
 cc -O2 -pipe 1 -fstack-protector-all -I/usr/src/usr.sbin/smtpd/smtpd/.. 
 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
 -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare 
 -Werror-implicit-function-declaration -DIO_TLS -DQUEUE_PROFILING  -MD -MP  
 -c /usr/src/usr.sbin/smtpd/smtpd/../aliases.c
 cc: error: no such file or directory: '1'
 *** Error 1 in smtpd (:87 'aliases.o')
 *** Error 1 in /usr/src/usr.sbin/smtpd (:48 'all')
 
 I then tried:
 
 deathstar$ cat /etc/mk.conf
 DEBUG=1
 
 deathstar$ make
 ===> smtpd
 yacc  -o parse.c /usr/src/usr.sbin/smtpd/smtpd/../parse.y
 cc -O2 -pipe 1 -fstack-protector-all -I/usr/src/usr.sbin/smtpd/smtpd/.. 
 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
 -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare 
 -Werror-implicit-function-declaration -DIO_TLS -DQUEUE_PROFILING  -MD -MP  
 -c /usr/src/usr.sbin/smtpd/smtpd/../aliases.c
 cc: error: no such file or directory: '1'
 *** Error 1 in smtpd (:87 'aliases.o')
 *** Error 1 in /usr/src/usr.sbin/smtpd (:48 'all')
 
 It builds without DEBUG defined. Any suggestions?
>>> 
>>> DEBUG=-g
>>> see mk.conf manpage.
>>> 
>> 
>> The manual says that defining DEBUG adds -g to assembly not that DEBUG 
>> should be set to -g.  Either way I will give it a shot tomorrow. If it works 
>> seems like the manual could be a little more informative.
> 
> The wording in mk.conf(5) seems a little off, but that is exactly what
> you should do. For a one-off, you can use "make DEBUG=-g" instead of
> setting it in /etc/mk.conf.
> 



Re: build with DEBUG defined

2019-08-08 Thread Stuart Henderson
On 2019-08-07, Edgar Pettijohn  wrote:
>
> On Aug 6, 2019 8:51 PM, Gleydson Soares  wrote:
>>
>> On Tue, Aug 06, 2019 at 06:55:15PM -0500, Edgar Pettijohn wrote:
>> > I'm trying to build smtpd with `-g'. I tried the following:
>> > 
>> > deathstar$ make -DDEBUG
>> > ===> smtpd
>> > yacc  -o parse.c /usr/src/usr.sbin/smtpd/smtpd/../parse.y
>> > cc -O2 -pipe 1 -fstack-protector-all -I/usr/src/usr.sbin/smtpd/smtpd/.. 
>> > -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
>> > -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare 
>> > -Werror-implicit-function-declaration -DIO_TLS -DQUEUE_PROFILING  -MD -MP  
>> > -c /usr/src/usr.sbin/smtpd/smtpd/../aliases.c
>> > cc: error: no such file or directory: '1'
>> > *** Error 1 in smtpd (:87 'aliases.o')
>> > *** Error 1 in /usr/src/usr.sbin/smtpd (:48 'all')
>> > 
>> > I then tried:
>> > 
>> > deathstar$ cat /etc/mk.conf
>> > DEBUG=1
>> > 
>> > deathstar$ make
>> > ===> smtpd
>> > yacc  -o parse.c /usr/src/usr.sbin/smtpd/smtpd/../parse.y
>> > cc -O2 -pipe 1 -fstack-protector-all -I/usr/src/usr.sbin/smtpd/smtpd/.. 
>> > -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
>> > -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare 
>> > -Werror-implicit-function-declaration -DIO_TLS -DQUEUE_PROFILING  -MD -MP  
>> > -c /usr/src/usr.sbin/smtpd/smtpd/../aliases.c
>> > cc: error: no such file or directory: '1'
>> > *** Error 1 in smtpd (:87 'aliases.o')
>> > *** Error 1 in /usr/src/usr.sbin/smtpd (:48 'all')
>> > 
>> > It builds without DEBUG defined. Any suggestions?
>>
>> DEBUG=-g
>> see mk.conf manpage.
>>
>
> The manual says that defining DEBUG adds -g to assembly not that DEBUG should 
> be set to -g.  Either way I will give it a shot tomorrow. If it works seems 
> like the manual could be a little more informative.

The wording in mk.conf(5) seems a little off, but that is exactly what
you should do. For a one-off, you can use "make DEBUG=-g" instead of
setting it in /etc/mk.conf.