CONFIGURE OPENWRT AS A CLIENT BRIDGE WITH A REPEATER
opkg update opkg install relayd /etc/init.d/relayd enable /etc/config/wireless config wifi-iface option device 'radio0' option mode 'ap' option ssid 'OPENWRT REPEATER No.2' option encryption 'psk' option key 'ef0c1de21c' option network 'lan' /etc/config/network config interface 'lan' option ifname 'eth0.1' option type 'bridge' option force_link '1' option proto 'static' option netmask '255.255.255.0' option ip6assign '60' option ipaddr '192.168.0.11' config interface 'wlan' option proto 'static' option ipadder 192.168.0.99 option netmask '255.255.255.0' option gateway '192.168.0.22' config 'interface' 'stabridge' option 'proto' 'relay' option 'network' 'lan wlan' option ipaddr '192.168.0.99' config switch option name 'switch0' option reset '1' option enable_vlan '1' /etc/config/dhcp config dhcp lan option interface ' lan' option start ' 100' option limit '150' option leasetime ' 12h' option ignore '1' As we want to make all the same network, we can disable the firewall: /etc/init.d/firewall stop /etc/init.d/firewall disable
opkg update opkg install relayd /etc/init.d/relayd enable /etc/config/wireless config wifi-iface option device 'radio0' option mode 'ap' option ssid 'OPENWRT REPEATER No.2' option encryption 'psk' option key 'ef0c1de21c' option network 'lan' /etc/config/network config interface 'lan' option ifname 'eth0.1' option type 'bridge' option force_link '1' option proto 'static' option netmask '255.255.255.0' option ip6assign '60' option ipaddr '192.168.0.11' config interface 'wlan' option proto 'static' option ipadder 192.168.0.99 option netmask '255.255.255.0' option gateway '192.168.0.22' config 'interface' 'stabridge' option 'proto' 'relay' option 'network' 'lan wlan' option ipaddr '192.168.0.99' config switch option name 'switch0' option reset '1' option enable_vlan '1' /etc/config/dhcp config dhcp lan option interface ' lan' option start ' 100' option limit '150' option leasetime ' 12h' option ignore '1' As we want to make all the same network, we can disable the firewall: /etc/init.d/firewall stop /etc/init.d/firewall disable