View Single Post
  #1   (View Single Post)  
Old 22nd April 2016
CristhofferBR CristhofferBR is offline
DOOM listener :)
 
Join Date: Apr 2016
Location: Brasil
Posts: 5
Exclamation [Analisys]Driver rtwn doesn't work on OpenBSD

What's up guys, its me again... without histories, directly to the point

Recently i got upgraded my OpenBSD 5.8 to 5.9 (current) and i had some problems.

The driver rtwn for Realtek wireless devices RTL8188CE shows up first time in OpenBSD 5.8, without firmware by standard installation. After i got the firmware files though another system connected to internet was possible load the firmwares and make the rtwn driver do his magic perfectly though rtwn0 interface, everythin was running nice. But when i upgraded to 5.9 version i saw that firmware file has been deleted because be of 5.8 version. Until there that is okaaaaay, no problem; i installed the right firmware files (5.9) at the same way before. However did not connect to the internet though wireless device anymore.

get my logic;
Code:
BSD4LIFE# pwd;ls -li /etc/firmware |grep rtwn
/etc/firmware/
46472 -r--r--r-- 1 root bin 2115 Jun 18 2015 rtwn-license
46473 -rwxrwxrwx 1 root bin 14818 Apr 21 2016 rtwn-rtl8192cfwU
46474 -rwxrwxrwx 1 root bin 16332 Apr 21 2016 rtwn-rtl8192cfwU_B

BSD4LIFE# dmesg |grep rtwn0
rtwn0 at pci1 dev 0 function 0 "Realtek 8188CE" rev 0x01: msi
rtwn0: MAC/BB RTL8188CE, RF 6052 1T1R, address 5c:c9:d3:07:88:79

BSD4LIFE# ifconfig rtwn0
rtwn0: flags=8843<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
lladdr 5c:c9:d3:07:88:79
priority: 4
groups: wlan
media: IEEE802.11 autoselect (DS1 mode 11g)
status: no network
ieee80211: nwid ''

BSD4LIFE# echo dhcp nwid ASM wpa wpakey ******* > /etc/hostname.rtwn0 2>&1

BSD4LIFE# sh /etc/netstart rtwn0
rtwn0: no link ............. sleeping
So, i can conclude that perhaps the driver/firmware was developed with some flaw in current version, or what? Detail; im under GENERIC.MP kernel.

Last edited by CristhofferBR; 22nd April 2016 at 05:12 AM. Reason: reformulating
Reply With Quote