Repeat a Wifi Hotspot
In this setup we will show how we can connect to a wifi hotspot and redistribute the signal so that several computers/phone can connect. This setup is proven to work really well with BTwifi and FON hotspots. This same configuration should also work for other hotspots.
Hardware
Software
Documentation written for OpenWRT Barrier Breaker 14.07 from fresh install.
Configuration from Web Interface (Luci)
From the menu go to Network | Wifi. Then Hit The Scan button to find your hotspot network.
Select your network with the Join Network button.
Leave everything as default then hit Submit
Hit Save & Apply on the next page.
Return to Network | Wifi. Then hit the Add button to add the Access point interface.
On this page enter the Essid that you would like to use (Using OpenWRT in this example). Make sure that LAN is ticked in the Network section. Then save it with Save & Apply.
Now navigate to Network | DHCP & DNS. Untick Rebind protection then do Save & Apply.
Connect a wifi device to the network just created. OpenWRT in our case here. Connect to any website then the hotspot login page will appear. Enter your credentials and any device connecting to the WR703N wifi will be connected.
Configuration from Command Line (ssh)
For those who are more command line oriented we provide the configuration below for the three files involved.
/etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211' option hwmode '11g' option path 'platform/ar933x_wmac' option htmode 'HT20' option disabled '0' option channel '1' option txpower '30' option country 'US'
config wifi-iface
option ssid 'BTWifi-with-FON' option encryption 'none' option device 'radio0' option mode 'sta' option network 'wwan' option bssid '42:E9:DD:6A:E0:6A'
config wifi-iface
option device 'radio0' option mode 'ap' option ssid 'OpenWrt' option encryption 'none' option network 'lan'