View Single Post
  #6   (View Single Post)  
Old 14th May 2011
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by chicago View Post
I edited the hostname.bwi0 file accordingly and ran sh netstart.
It didn't work well. After the sh netstart I got a bwi0: no link ..... sleeping.

After that I typed dhclient bwi0 and got the same output.
Three thoughts.
  • The kernel will deposit what devices are identified into dmesg(8) output. Confirm that the chip found there exactly matches the information found in the bwi(4) manpage.
  • Assuming the chip is supported, simplify the environment by taking DHCP out of the picture. Assign a static IP address to the interface. More information can be found in hostname.if(5) & Section 6.2.1 of the FAQ.
  • The primary file used by bwi(8) is src/sys/dev/ic/bwi.c. This file has not changed since August 2010. You haven't mentioned which version of OpenBSD is being used, but OpenBSD 4.9 was tagged mid-February 2011. This suggests that installing -current will not show different functionality, but src/sys/dev/ic/bwi.c isn't the only file found in this driver either. Installing -current might show different behavior, but nothing can be said conclusively at this point.
Reply With Quote