OpenWrt Forum Archive

Topic: wr703n with rtl8187 driver

The content of this topic has been archived on 18 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

I want to install my alfa awus036h with my tp-wr703n to create a wifi bridge.  I got everything working but the speed is very slow.  the txpower show 0dbm and i can't change to anything higher.   The internal wifi @18db is a lot faster.

Is there some special file i need to change?

I am running Bleeding Edge, r33288
opkg update
opkg install kmod-usb-storage
opkg install kmod-rtl8187

root@OpenWrt:/etc/config# iwconfig
lo        no wireless extensions.

wlan0     IEEE 802.11bg  ESSID:off/any 
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
         
eth0      no wireless extensions.

br-lan    no wireless extensions.



/etc/config/wireless setting
config wifi-device radio1
        option type mac80211
        option channel  6
        option macaddr  00:xx:xx:xx:xx:xx
        option hwmode   11g

config wifi-iface
        option device   radio1
        option network  wwan
        option mode     sta
        option ssid     linksys
        option encryption none

/etc/config/network setting
config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config interface 'lan'
        option ifname 'eth0'
        option proto 'static'
        option ipaddr '192.168.1.100'
        option netmask '255.255.255.0'

config interface 'wwan'
        option proto 'dhcp'

config interface 'stabridge'
        option proto 'relay'
        option network 'lan wwan'


Wiphy phy0                                                                                                                                                                                                                                                                                                                                                               
        Band 1:                                                                                                                                                                                                                                                                                                                                                           
                Frequencies:                                                                                                                                                                                                                                                                                                                                             
                        * 2412 MHz [1] (0.0 dBm)                                                                                                                                                                                                                                                                                                                         
                        * 2417 MHz [2] (0.0 dBm)                                                                                                                                                                                                                                                                                                                         
                        * 2422 MHz [3] (0.0 dBm)                                                                                                                                                                                                                                                                                                                         
                        * 2427 MHz [4] (0.0 dBm)                                                                                                                                                                                                                                                                                                                         
                        * 2432 MHz [5] (0.0 dBm)                                                                                                                                                                                                                                                                                                                         
                        * 2437 MHz [6] (0.0 dBm)                                                                                                                                                                                                                                                                                                                         
                        * 2442 MHz [7] (0.0 dBm)                                                                                                                                                                                                                                                                                                                         
                        * 2447 MHz [8] (0.0 dBm)                                                                                                                                                                                                                                                                                                                         
                        * 2452 MHz [9] (0.0 dBm)                                                                                                                                                                                                                                                                                                                         
                        * 2457 MHz [10] (0.0 dBm)                                                                                                                                                                                                                                                                                                                         
                        * 2462 MHz [11] (0.0 dBm)                                                                                                                                                                                                                                                                                                                         
                        * 2467 MHz [12] (disabled)                                                                                                                                                                                                                                                                                                                       
                        * 2472 MHz [13] (disabled)                                                                                                                                                                                                                                                                                                                       
                        * 2484 MHz [14] (disabled)                                                                                                                                                                                                                                                                                                                       
                Bitrates (non-HT):                                                                                                                                                                                                                                                                                                                                       
                        * 1.0 Mbps                                                                                                                                                                                                                                                                                                                                       
                        * 2.0 Mbps                                                                                                                                                                                                                                                                                                                                       
                        * 5.5 Mbps                                                                                                                                                                                                                                                                                                                                       
                        * 11.0 Mbps                                                                                                                                                                                                                                                                                                                                       
                        * 6.0 Mbps                                                                                                                                                                                                                                                                                                                                       
                        * 9.0 Mbps                                                                                                                                                                                                                                                                                                                                       
                        * 12.0 Mbps                                                                                                                                                                                                                                                                                                                                       
                        * 18.0 Mbps                                                                                                                                                                                                                                                                                                                                       
                        * 24.0 Mbps                                                                                                                                                                                                                                                                                                                                       
                        * 36.0 Mbps                                                                                                                                                                                                                                                                                                                                       
                        * 48.0 Mbps                                                                                                                                                                                                                                                                                                                                       
                        * 54.0 Mbps                                                                                                                                                                                                                                                                                                                                       
        max # scan SSIDs: 4                                                                                                                                                                                                                                                                                                                                               
        max scan IEs length: 2285 bytes                                                                                                                                                                                                                                                                                                                                   
        Coverage class: 0 (up to 0m)                                                                                                                                                                                                                                                                                                                                     
        Supported Ciphers:                                                                                                                                                                                                                                                                                                                                               
                * WEP40 (00-0f-ac:1)                                                                                                                                                                                                                                                                                                                                     
                * WEP104 (00-0f-ac:5)                                                                                                                                                                                                                                                                                                                                     
                * TKIP (00-0f-ac:2)                                                                                                                                                                                                                                                                                                                                       
                * CCMP (00-0f-ac:4)                                                                                                                                                                                                                                                                                                                                       
        Available Antennas: TX 0 RX 0                                                                                                                                                                                                                                                                                                                                     
        Supported interface modes:                                                                                                                                                                                                                                                                                                                                       
                 * IBSS                                                                                                                                                                                                                                                                                                                                                   
                 * managed                                                                                                                                                                                                                                                                                                                                               
                 * monitor                                                                                                                                                                                                                                                                                                                                               
        software interface modes (can always be added):                                                                                                                                                                                                                                                                                                                   
                 * monitor                                                                                                                                                                                                                                                                                                                                               
        interface combinations are not supported

I have the same problem of fuqffarj.

My configuration:

TL-WR703N v1.6
12B048
U-Boot 1.1.4 Sep 25 2012 09:05:04

and a RTL8187L USB device (Kasens G5000)

FW OpenWrt Barrier Breaker r35205

My step:
opkg update
opkg install luci
opkg install kmod-rtl8187 kmod-usb-core kmod-usb-ohci kmod-usb2
(without any problem)
-----------------------------
RTL8187L as client to generate a WAN
PC connected to LAN of TL-WR703N

/etc/config/wireless

config wifi-device 'radio1'
        option type 'mac80211'
        option channel '11'
        option hwmode '11g'
        option path 'platform/ehci-platform/usb1/1-1/1-1:1.0'
        option disabled '0'
        option txpower '27'
        option country 'US'

config wifi-iface
        option ssid 'my home'
        option encryption 'none'
        option device 'radio1'
        option mode 'sta'
        option network 'wwan'
        option bssid '00:xx:xx:xx:xx:xx'

The speed is very slow.
(instead, connecting the usb adapter directly to PC, the speed is very fast)

In the link of vitaliy_86 i have not found any solution, my fault.
I need to a solution for this specific problem.

Thanks,
Mario

Is possible to use the linux driver available in the realtek website?
Pls help me

Thanks

It might work, and is certainly worth a go. However, you will need to crosscompile it for the router.

thank you for the fast reply,
Can you explain me the steps to perform?

(Last edited by Mario81 on 19 Jan 2013, 11:34)

I am no able to crosscompile the original driver.
There is someone that have a RTL8187L on wr703n and is working?

TL-WR703N v1.6 (With this version I cannot use older FW) FW OpenWrt Barrier Breaker r35205
12B048

I need testimonies that it works!

i have same problem 8187L more wr703n last trunk openwrt very very slow

anyone can open this problem for solve in trunk?

i never test 8187 linux maybe problems with new kernel

but solution for this ? use other chip like 3070?

Hi all,

Using in my laptop a live distro of linux (kernel 2.6.35) and the rtl8187 adapter (so without WR-703N), the internet connection is very fast.

I have wrote others detail in bug
https://dev.openwrt.org/ticket/14881

If someone has found a solution, please let me know

It's a Power thing. Either supply  separate 5V to the awus036, or Bridge the usb Power limitter with a soldering iron. The Wr703n then No Longer can Power Down USB Power. Sorry for adding to an old thread, but not althings are software troubles.

The discussion might have continued from here.