{"id":154,"date":"2015-04-25T18:40:48","date_gmt":"2015-04-25T18:40:48","guid":{"rendered":"http:\/\/toolbox.pingvinfeszek.hu\/?p=154"},"modified":"2015-04-25T18:42:06","modified_gmt":"2015-04-25T18:42:06","slug":"openwrt-wi-fi-repeater-wireless-bridge","status":"publish","type":"post","link":"https:\/\/wp.gaborhargitai.hu\/openwrt-wi-fi-repeater-wireless-bridge\/","title":{"rendered":"OpenWRT Wi-Fi Repeater \/ Wireless Bridge"},"content":{"rendered":"
Let us have a nice Wi-Fi range extander be born from the ashes of a long discarded router now, shall we?<\/p>\n
I’m going to assume that you’ve successfully:<\/p>\n
Scenario<\/strong><\/span>: \u00a0[distant_router][ssid:’AP_1′] <—-> [openwrt][ssid:’AP_Extended’] <—> [you_as_a_client]<\/p>\n What for?<\/strong><\/span><\/p>\n The Steps<\/strong><\/span><\/p>\n Log in to your router via SSH and issue the following command:<\/p>\n Press ‘i’ to enter interactive mode, then paste in the following but keep in mind that you have to change the necessary parts of the config to reflect your setup (mostly ssid and the password related stuff)<\/p>\n <\/p>\n\n
vi \/etc\/config\/wireless<\/code><\/p>\n
config 'wifi-device' 'radio0'
\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>option 'type' 'mac80211'
\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>option 'macaddr' '74:ea:3a:f2:3c:2c'
\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>option 'hwmode' '11ng'
\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>option 'htmode' 'HT20'
\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>list 'ht_capab' 'SHORT-GI-40'
\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>list 'ht_capab' 'TX-STBC'
\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>list 'ht_capab' 'RX-STBC1'
\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>list 'ht_capab' 'DSSS_CCK-40'
\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>option 'txpower' '27'
\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>option 'country' 'US'
\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>option 'disabled' '0'
\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>option 'channel' '1'
\nconfig 'wifi-iface'
\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>option 'ssid' 'AP_1'
\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>option 'encryption' 'psk2'
\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>option 'device' 'radio0'
\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>option 'mode' 'sta'
\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>option 'network' 'wwan'
\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>option 'key' 'DistantPassword'<\/code>
\nconfig 'wifi-iface'
\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>option 'device' 'radio0'
\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>option 'network' 'lan'
\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>option 'mode' 'ap'
\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>option 'ssid' 'AP_Extended'
\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>option 'encryption' 'psk2'
\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code>option 'key' 'OurShinyNewPassword'
\n<\/code><\/div>\n