OpenWrt Forum Archive

Topic: Repeater passes Inet fine, but local lan keeps offline

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

Hi folks,

i pray, someone is able to see what i'm blind for.

my config:

= cablemodem incl. router=
       192.168.0.1
[wired]
=AVM-Fritz =  DHCP is on, local wired and wifi clients connected
       192.168.16.1 (dhcp 10-99)
[wireless]
=TP-WR1043ND V1= - openwrt attitude adj. as repeater
        192.168.1.1 (wanted is 192.168.16.2 (dhcp 100-199))
[wired]  [wireless]
   |                  |
no conn.        works fine

I tried prepared gateway - no effect.bridged wan to eth0.1 - no effect. dhcp off at WR1043 - no effect.

thats totally stupid. Repeating wifi is working, but at local ports no interenet is passed? Even can't update due opkg.

Pls. spend me some suggestion for passing inet to local ports of WR1043 and maybe why wanted repeated range won't work.
thx in advance


###### /network ######


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.1'
    option type 'bridge'
    option proto 'static'
    option ipaddr '192.168.1.1'
    option netmask '255.255.255.0'

config interface 'wan'
    option ifname 'eth0.2'
    option proto 'dhcp'

config switch
    option name 'rtl8366rb'
    option reset '1'
    option enable_vlan '1'

config switch_vlan
    option device 'rtl8366rb'
    option vlan '1'
    option ports '1 2 3 4 5t'

config switch_vlan
    option device 'rtl8366rb'
    option vlan '2'
    option ports '0 5t'

config interface 'wwan'
    option proto 'dhcp'

###### wireless ######


config wifi-device 'radio0'
    option type 'mac80211'
    option macaddr '*******44'
    option hwmode '11ng'
    option htmode 'HT20'
    list ht_capab 'SHORT-GI-40'
    list ht_capab 'DSSS_CCK-40'
    option disabled '0'
    option channel '10'
    option txpower '27'
    option country 'US'

config wifi-iface
    option network 'wwan'
    option ssid 'WLAN1'
    option device 'radio0'
    option mode 'sta'
    option bssid '**********E3'
    option key '*******'
    option encryption 'psk2+ccmp'

config wifi-iface
    option device 'radio0'
    option mode 'ap'
    option ssid 'WLAN1RR'
    option network 'lan'
    option encryption 'psk2+ccmp'
    option key '********'

(Last edited by olum on 24 Feb 2015, 00:58)

ok, i figured it out.

using barrier breaker.
1. normal config to work as repeater
2. add the relayd package and luci-prot-relay as well.
3. assign a static IP in range of repeated network, bridge between lan and "wwan"
4. lan dhcp server is turned off
5. firewall rule for lan should accept anything.

now wifi clients of repeater are connected to inet and wired lan clients are connected too.

Maybe barrier breaker or the wr1043nd is reason for using wwan to repeat function. wan won't work.

(Last edited by olum on 2 Mar 2015, 10:38)

The discussion might have continued from here.