DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 23rd December 2011
tolstoi tolstoi is offline
Port Guard
 
Join Date: Dec 2011
Posts: 22
Thanked 0 Times in 0 Posts
Default bcm43227 wl driver or broadcom-sta

Hello,
unfortunately I ran into the problem that NetBSD does not recognize my ethernet nor my wireless card.

Under Gentoo I use the tg3 (Tigon) driver from the kernel for my ethernet and broadcom-sta for my wireless card from portage to get these cards going.

The wireless one is a bcm43227. Broadcom offers the driver for cards depending on the wl driver as download. I'm not able to compile it on NetBSD because I have absolutely no clue what to do?

Anyone done this before? Or any hints?
Reply With Quote
  #2   (View Single Post)  
Old 24th December 2011
tolstoi tolstoi is offline
Port Guard
 
Join Date: Dec 2011
Posts: 22
Thanked 0 Times in 0 Posts
Default

Just decided to buy another wireless card next week.
Reply With Quote
  #3   (View Single Post)  
Old 24th December 2011
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,148
Thanked 182 Times in 149 Posts
Default

Linux has a larger community of, sometimes company sponsored, developers than the BSD's

On most BSD's you usually have a greater chance that your hardware is recognized by the kernel, when the hardware is not that bleeding edge anymore
I hope you find a good card.

If you would have been running OpenBSD I would have advised you to try OpenBSD current, the development branch.

The last official NetBSD release, 5.1, was released in Nov 2010. That is more than a year ago.
You still could try the latest NetBSD before you spent your hard earned cash on more hardware

See http://netbsd.org/releases/current.html for information about the NetBSD current development branch.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #4   (View Single Post)  
Old 24th December 2011
tolstoi tolstoi is offline
Port Guard
 
Join Date: Dec 2011
Posts: 22
Thanked 0 Times in 0 Posts
Default

Thanks for your advice. I have the latest NetBSD current packages and sources installed and I'm very determined to get it working..... but without a functional network ... ...it's no fun.

The driver for Linux, broadcom-sta is not very reliable. I experience a lot of annoying connection issues if the network is up. Sometimes everything works well for hours and then my card fails to connect every few minutes even though I believe I've done everything right regarding the kernel setttings and the firmware.

So I guess it won't be a too difficult decision to buy another card which will work. I decided to buy one from Intel.
Reply With Quote
  #5   (View Single Post)  
Old 26th December 2011
tolstoi tolstoi is offline
Port Guard
 
Join Date: Dec 2011
Posts: 22
Thanked 0 Times in 0 Posts
Default

I think I'll go for a N-1000 (112bn) or an Advanced N-6205. I guess the N-1000 should work but I'm not sure about the N-6205. Has anyone used one of these cards or knows if they work?
Reply With Quote
  #6   (View Single Post)  
Old 30th December 2011
tolstoi tolstoi is offline
Port Guard
 
Join Date: Dec 2011
Posts: 22
Thanked 0 Times in 0 Posts
Default

My wireless card arrived yesterday. It's a WIRELESS WIFI LINK 622AN --> also known as n6200.
Booting up my previously installed NetBSD didn't recognize the card. To get the card working without a network I had to do the following steps:
- download pksrc-current
-download src
- copy it to an usb
- copy pkgsrc and src to /usr
- unpack the files
- build toolchain
- compile kernel
Before doing that I copied my iwl-firmware from my Gentoo system to the libdata/firmware directory.

Because there seems to be a difference between Linux (iwl) and NetBSD (iwn) I copied the files to both directories/or had to delete the file iwl_iwl (this one is a file and not a directory as the other ones) and create the directory if_iwl and copy the firmware files there as well.

Booting up system with the new kernel immediately recognized the new card.

The idea I had is that if you have at least a little confidence that your card could be supported and that it is not recognized during the installation that you can at least do that firmware and kernel recompile thing before giving up.
Reply With Quote
  #7   (View Single Post)  
Old 30th December 2011
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,883
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by tolstoi View Post
Because there seems to be a difference between Linux (iwl) and NetBSD (iwn) I copied the files to both directories/or had to delete the file iwl_iwl (this one is a file and not a directory as the other ones) and create the directory if_iwl and copy the firmware files there as well.
According to the iwn(4) manpage, firmware is looked for in /libdata/firmware/if_iwn. I suspect any remaining vestiges of Linux can be deleted.
Reply With Quote
  #8   (View Single Post)  
Old 30th December 2011
tolstoi tolstoi is offline
Port Guard
 
Join Date: Dec 2011
Posts: 22
Thanked 0 Times in 0 Posts
Default

Good to know.
Reply With Quote
  #9   (View Single Post)  
Old 31st December 2011
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 563
Thanked 14 Times in 13 Posts
Default

tolstoi, thanks that is very interesting.

Initially I thought maybe I could do something similar for my laptop's wireless hardware, but it looks like rtw(4) doesn't use firmware, so I assume it's not close enough to what I need.

Anyway, back on topic, one small question. What was the role of installing pkgsrc? I've never needed that to compile a kernel.
Reply With Quote
Old 31st December 2011
tolstoi tolstoi is offline
Port Guard
 
Join Date: Dec 2011
Posts: 22
Thanked 0 Times in 0 Posts
Default

Sorry, installing pkgsrc didn't have anything to do with it. Just src to be able to compile the kernel.
Reply With Quote
Old 31st December 2011
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 563
Thanked 14 Times in 13 Posts
Default

Ah ok, thanks for clarifying. I guess good to get pkgsrc at the same time if you're going to use it.
Reply With Quote
Old 16th January 2012
tolstoi tolstoi is offline
Port Guard
 
Join Date: Dec 2011
Posts: 22
Thanked 0 Times in 0 Posts
Default

I went through those steps mentioned above again. It only works with the current branch.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VMT driver (VMware Tools driver) on OpenBSD 4.8 xinform3n OpenBSD General 7 9th December 2010 10:48 PM
Broadcom wireless driver rpindy OpenBSD Installation and Upgrading 13 17th July 2010 02:58 PM
Broadcom BCM5906M 10/100 Ethernet Driver? revzalot Solaris 0 15th June 2009 05:47 PM
Broadcom NIC syrushcw FreeBSD General 5 4th June 2009 01:55 AM
Freebsd broadcom driver jaideep_jdof FreeBSD Ports and Packages 9 10th November 2008 06:25 PM


All times are GMT. The time now is 06:00 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick