Experience with TL-WA850RE - Gargoyle 1.8.1 and 1.9.2

Report wireless and/or network connectivity problems in this forum.

Moderator: Moderators

Post Reply
cki61
Posts: 3
Joined: Thu Apr 27, 2017 5:05 pm

Experience with TL-WA850RE - Gargoyle 1.8.1 and 1.9.2

Post by cki61 »

Hi all,
since several years I'm using a TP-Link TL-WA850RE WLAN-Repeater with Gargoyle 1.8.1. I configured it as Wireless Bridge see appended configs. Worked very well. Then I decided to upgrade to 1.9.2. Everything worked but one tiny but urgent exception: unable to receive an ip address at the lan port. With a fixed address, a device is running smoothly attached to the lan port. I disabled the firewall with no result. Several configurations ended with no results: no dhcp inform packet is received by a device attached to the lan port. Converted back to 1.8.1.

Has anybody an idea, solution or comparable experience with this TP-Link device and Gargoyle?

I appended some configuration info’s of both versions.
Regards, cki61

Code: Select all

------------------------------------------------------------------
|            _____                             _                 |
|           |  __ \                           | |                |
|           | |  \/ __ _ _ __ __ _  ___  _   _| | ___            |
|           | | __ / _` | '__/ _` |/ _ \| | | | |/ _ \           |
|           | |_\ \ (_| | | | (_| | (_) | |_| | |  __/           |
|            \____/\__,_|_|  \__, |\___/ \__, |_|\___|           |
|                             __/ |       __/ |                  |
|                            |___/       |___/                   |
|                                                                |
|----------------------------------------------------------------|
| Gargoyle version 1.8.1    | OpenWrt Barrier Breaker branch     |
| Gargoyle revision 294a025 | OpenWrt revision r46817            |
| Built November 07, 2015   | Target  ar71xx/default             |                                                                             
------------------------------------------------------------------
(works perfectly)
*******************************************************************
root@Gargoyle:/etc/config# cat network

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fdce:c6d7:0c3e::/48'

config interface 'lan'
        option ifname 'eth0'
        option force_link '1'
        option type 'bridge'
        option proto 'static'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option ipaddr '172.30.220.99'
        option gateway '172.30.220.1'
        option dns '172.30.220.1'

*******************************************************************
root@Gargoyle:/etc/config# cat wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option path 'platform/ar934x_wmac'
        option htmode 'HT20'
        option channel '1'
        option hwmode '11ng'

config wifi-iface 'cfg2'
        option device 'radio0'
        option network 'lan'
        option mode 'sta'
        option client_bridge '1'
        option ssid 'aabbccdd'
        option encryption 'psk2'
        option key '1234567'
        
*******************************************************************
root@Gargoyle:/etc/config# ifconfig
br-lan    Link encap:Ethernet  HWaddr E8:94:F6:89:2B:AF  
          inet addr:172.30.220.99  Bcast:172.30.220.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2045 errors:0 dropped:3 overruns:0 frame:0
          TX packets:1910 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:193392 (188.8 KiB)  TX bytes:456108 (445.4 KiB)

eth0      Link encap:Ethernet  HWaddr E8:94:F6:89:2B:AF  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15567 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17445 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1822300 (1.7 MiB)  TX bytes:12073452 (11.5 MiB)
          Interrupt:4 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr E8:94:F6:89:2B:AF  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7244 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6604 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:5084728 (4.8 MiB)  TX bytes:962575 (940.0 KiB)

*******************************************************************
root@Gargoyle:/etc/config# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         172.30.220.1    0.0.0.0         UG    0      0        0 br-lan
172.30.220.0    *               255.255.255.0   U     0      0        0 br-lan

*******************************************************************
root@Gargoyle:/etc/config# cat system

config timeserver 'ntp'
        option enabled '1'
        option enable_server '1'
        list server 'timeserver'

config led 'led_lan'
        option name 'LAN'
        option sysfs 'tp-link:blue:lan'
        option trigger 'netdev'
        option dev 'eth0'
        option mode 'link tx rx'

config led 'led_wlan'
        option name 'WLAN'
        option sysfs 'tp-link:blue:wlan'
        option trigger 'phy0tpt'

config rssid 'rssid_wlan0'
        option dev 'wlan0'
        option refresh '40000'
        option threshold '1'

config led 'led_rssilow'
        option name 'RSSILOW'
        option sysfs 'tp-link:blue:signal1'
        option trigger 'rssi'
        option iface 'rssid_wlan0'
        option minq '1'
        option maxq '100'
        option offset '0'
        option factor '13'

config led 'led_rssimediumlow'
        option name 'RSSIMEDIUMLOW'
        option sysfs 'tp-link:blue:signal2'
        option trigger 'rssi'
        option iface 'rssid_wlan0'
        option minq '20'
        option maxq '100'
        option offset '-19'
        option factor '13'

config led 'led_rssimedium'
        option name 'RSSIMEDIUM'
        option sysfs 'tp-link:blue:signal3'
        option trigger 'rssi'
        option iface 'rssid_wlan0'
        option minq '40'
        option maxq '100'
        option offset '-39'
        option factor '13'

config led 'led_rssimediumhigh'
        option name 'RSSIMEDIUMHIGH'
        option sysfs 'tp-link:blue:signal4'
        option trigger 'rssi'
        option iface 'rssid_wlan0'
        option minq '60'
        option maxq '100'
        option offset '-59'
        option factor '13'

config led 'led_rssihigh'
        option name 'RSSIHIGH'
        option sysfs 'tp-link:blue:signal5'
        option trigger 'rssi'
        option iface 'rssid_wlan0'
        option minq '80'
        option maxq '100'
        option offset '-79'
        option factor '13'

config system 'system'
        option hostname 'Gargoyle'
        option cronloglevel '9'
        option timezone 'CET-1CEST,M3.5.0/2,M10.5.0/3'
        
*******************************************************************        
        
------------------------------------------------------------------
|            _____                             _                 |
|           |  __ \                           | |                |
|           | |  \/ __ _ _ __ __ _  ___  _   _| | ___            |
|           | | __ / _` | '__/ _` |/ _ \| | | | |/ _ \           |
|           | |_\ \ (_| | | | (_| | (_) | |_| | |  __/           |
|            \____/\__,_|_|  \__, |\___/ \__, |_|\___|           |
|                             __/ |       __/ |                  |
|                            |___/       |___/                   |
|                                                                |
|----------------------------------------------------------------|
| Gargoyle version 1.9.2    | OpenWrt Chaos Calmer branch        |
| Gargoyle revision ecc1da74| OpenWrt commit 03d52cf             |
| Built February 10, 2017   | Target  ar71xx/default             |
------------------------------------------------------------------
(dhcp doesnt work on lan side (addresses should be recieved from
wwan side), static ip works)
*******************************************************************
root@Gargoyle:/etc/config# cat network

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fd6f:309f:1162::/48'

config interface 'lan'
        option ifname 'eth0'
        option force_link '1'
        option type 'bridge'
        option proto 'static'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option ipaddr '172.30.220.99'
        option gateway '172.30.220.1'
        option dns '172.30.220.1'

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

config interface 'wwan'
        option proto 'dhcp'
        
*******************************************************************
root@Gargoyle:/etc/config# cat wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option channel '11'
        option hwmode '11g'
        option path 'platform/ar934x_wmac'
        option htmode 'HT20'

config wifi-iface 'cfg2'
        option device 'radio0'
        option network 'wwan'
        option mode 'sta'
        option client_bridge '1'
        option ssid 'aabbccdd'
        option encryption 'psk2'
        option key '1234567'
        
*******************************************************************
br-lan    Link encap:Ethernet  HWaddr E8:94:F6:89:2B:AF  
          inet addr:172.30.220.99  Bcast:172.30.220.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:403 errors:0 dropped:0 overruns:0 frame:0
          TX packets:282 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:41079 (40.1 KiB)  TX bytes:66262 (64.7 KiB)

eth0      Link encap:Ethernet  HWaddr E8:94:F6:89:2B:AF  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9443 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9742 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1045991 (1021.4 KiB)  TX bytes:3945848 (3.7 MiB)
          Interrupt:4 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:250 errors:0 dropped:0 overruns:0 frame:0
          TX packets:250 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:23138 (22.5 KiB)  TX bytes:23138 (22.5 KiB)

wlan0     Link encap:Ethernet  HWaddr E8:94:F6:89:2B:AF  
          inet addr:172.30.220.224  Bcast:172.30.220.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:182 errors:0 dropped:0 overruns:0 frame:0
          TX packets:197 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:52916 (51.6 KiB)  TX bytes:30003 (29.2 KiB)

*******************************************************************
root@Gargoyle:/etc/config# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         172.30.220.1    0.0.0.0         UG    0      0        0 wlan0
172.30.220.0    *               255.255.255.0   U     0      0        0 br-lan
172.30.220.0    *               255.255.255.0   U     0      0        0 wlan0
172.30.220.1    *               255.255.255.255 UH    0      0        0 wlan0

*******************************************************************
root@Gargoyle:/etc/config# cat system

config timeserver 'ntp'
        option enabled '1'
        option enable_server '1'
        list server 'zeitserver'

config led 'led_lan'
        option name 'LAN'
        option sysfs 'tp-link:blue:lan'
        option trigger 'netdev'
        option dev 'eth0'
        option mode 'link tx rx'

config led 'led_wlan'
        option name 'WLAN'
        option sysfs 'tp-link:blue:wlan'
        option trigger 'phy0tpt'

config rssid 'rssid_wlan0'
        option dev 'wlan0'
        option refresh '40000'
        option threshold '1'

config led 'led_rssilow'
        option name 'RSSILOW'
        option sysfs 'tp-link:blue:signal1'
        option trigger 'rssi'
        option iface 'rssid_wlan0'
        option minq '1'
        option maxq '100'
        option offset '0'
        option factor '13'

config led 'led_rssimediumlow'
        option name 'RSSIMEDIUMLOW'
        option sysfs 'tp-link:blue:signal2'
        option trigger 'rssi'
        option iface 'rssid_wlan0'
        option minq '20'
        option maxq '100'
        option offset '-19'
        option factor '13'

config led 'led_rssimedium'
        option name 'RSSIMEDIUM'
        option sysfs 'tp-link:blue:signal3'
        option trigger 'rssi'
        option iface 'rssid_wlan0'
        option minq '40'
        option maxq '100'
        option offset '-39'
        option factor '13'

config led 'led_rssimediumhigh'
        option name 'RSSIMEDIUMHIGH'
        option sysfs 'tp-link:blue:signal4'
        option trigger 'rssi'
        option iface 'rssid_wlan0'
        option minq '60'
        option maxq '100'
        option offset '-59'
        option factor '13'

config led 'led_rssihigh'
        option name 'RSSIHIGH'
        option sysfs 'tp-link:blue:signal5'
        option trigger 'rssi'
        option iface 'rssid_wlan0'
        option minq '80'
        option maxq '100'
        option offset '-79'
        option factor '13'

config system 'system'
        option hostname 'Gargoyle'
        option cronloglevel '9'
        option timezone 'CET-1CEST,M3.5.0/2,M10.5.0/3'
        
*******************************************************************        

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Experience with TL-WA850RE - Gargoyle 1.8.1 and 1.9.2

Post by Lantis »

The configuration changed between those two versions.
Please read the UI carefully, you'll note that your LAN IP now needs to be outside the AP subnet. This address will be used to set up a relay which will make your bridge function like it used to.

Thanks for attaching detailed information. It makes solving these things very clear and much easier.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

cki61
Posts: 3
Joined: Thu Apr 27, 2017 5:05 pm

Re: Experience with TL-WA850RE - Gargoyle 1.8.1 and 1.9.2

Post by cki61 »

Thanks, Lantis,
I'll reconfigure and test next week.
Best Regards,
cki61

cki61
Posts: 3
Joined: Thu Apr 27, 2017 5:05 pm

Re: Experience with TL-WA850RE - Gargoyle 1.8.1 and 1.9.2

Post by cki61 »

1.9.2: With configuration as recommended the device works comparable with version 1.8.1. The only difference: The web GUI over the bridge ip address can directly only be accessed after changing the PCs ip address to bridge network. If you know the dynamic relay ip address off course you have direct access.
In my opinion the speed is 1/3 higher.
Regards,
cki61

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Experience with TL-WA850RE - Gargoyle 1.8.1 and 1.9.2

Post by Lantis »

As you say you should be able to access via either address.
I believe I added the relay IP to the main status page so it is easy to find.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Post Reply