DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

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

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 25th July 2016
jakeswen jakeswen is offline
New User
 
Join Date: Jul 2016
Posts: 9
Question TEW-649UB usb wifi adapter doesn't work

Hi Daemons,

Has anyone been able to use Trendnet TEW-649UB USB Wifi adapter with OpenBSD 5.9 or 6.0? I know that rsu firmware does not support 802.11n but it doesn't work in 802.11g/b/auto mode either. Would you be able to provide any hint about why this adapter does not work with the rsu(4) firmware?

I have the latest snapshot OpenBSD v6.0 and rsu-rtl8712fw v1.2 firmware installed. On bootup I think the firmware loads but the following error messages are displayed and I am not able to get an IP address:

Partial dmesg output:

Code:
rsu0: could not send join command
rsu0: could not send site survey command
After login to Gnome:

Code:
user@pc15 /etc/firmware % ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768
        index 2 priority 0 llprio 3
        groups: lo
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
        inet 127.0.0.1 netmask 0xff000000
enc0: flags=0<>
        index 1 priority 0 llprio 3
        groups: enc
        status: active
rsu0: flags=8c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST> mtu 1500
        lladdr d8:eb:97:14:b6:7a
        index 3 priority 4 llprio 3
        groups: wlan
        media: IEEE802.11 autoselect (DS1)
        status: no network
        ieee80211: nwid mywifi-ssid
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33144
        index 4 priority 0 llprio 3
        groups: pflog


user@pc15 ~ % sudo sh /etc/netstart
Password:
DHCPDISCOVER on rsu0 - interval 3
DHCPDISCOVER on rsu0 - interval 3
DHCPDISCOVER on rsu0 - interval 5
DHCPDISCOVER on rsu0 - interval 13
DHCPDISCOVER on rsu0 - interval 21
DHCPDISCOVER on rsu0 - interval 16
No acceptable DHCPOFFERS received.
No working leases in persistent database - sleeping.
This SSID does not require a WEP/WPA key so my /etc/hostname.rsu0 file is simple:

Code:
nwid mywifi-ssid
dhcp
My friend's RTL8187L (with urtw firmware) on the same laptop connects just fine to the same SSID.

Thanks
Reply With Quote
  #2   (View Single Post)  
Old 25th July 2016
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,377
Default

Hello and welcome!

That particular NIC is mentioned in the rsu(4) man page. If it is not working with a -current snapshot, I recommend reporting your problem problem to the Project. Right now, -current is very close to what will be OpenBSD 6.0.

www.openbsd.org/report.html
Reply With Quote
  #3   (View Single Post)  
Old 25th July 2016
jakeswen jakeswen is offline
New User
 
Join Date: Jul 2016
Posts: 9
Default

Thanks jggimi. Yes I switched from FreeBSD to OpenBSD after reading the rsu(4) man page which states that the firmware should work with this wifi adapter, but it doesn't work, so I'm glad that my friend let me borrow his adapter. The exact version of the wifi adapter that the developer used might have been somewhat different than what I have but I'm not sure. All other essential hardware in my laptop is working great in OpenBSD.

Recently I requested help from the developer, who wrote the firmware several years ago, and I also posted to this forum to find out whether anyone else has had success with this hardware. If I am not able to resolve the issue in a few days then I will also create a problem report as you suggested.
Reply With Quote
  #4   (View Single Post)  
Old 26th July 2016
jakeswen jakeswen is offline
New User
 
Join Date: Jul 2016
Posts: 9
Default

As you recommended, I submitted a bug report. The bug was confirmed, fixed, and committed in a few hours. I just downloaded the -current source tree, rebuilt the kernel, and verified that the wifi adapter works!

Now I'm getting much more signal!
Reply With Quote
  #5   (View Single Post)  
Old 26th July 2016
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,377
Default

Wonderful! I'm glad to learn that the problem has been resolved.
Reply With Quote
Reply

Tags
openbsd, rsu, wifi, wireless

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
Xen 3.3 Winxp Domu doesn't work AgustinSainato NetBSD Package System (pkgsrc) 3 12th May 2016 11:22 PM
USB WiFi adapter? dirty_hammer General Hardware 2 5th January 2016 08:29 PM
Help: NAT doesn't work on OpenBSD 4.9 lcxpics OpenBSD General 1 18th May 2011 09:46 AM
ln -f at boot doesn't work lordyan OpenBSD General 3 19th February 2009 03:50 PM
fluxbox-generate_menu doesn't work nihonto NetBSD General 1 25th January 2009 06:46 PM


All times are GMT. The time now is 06:58 PM.


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