Repeating or bridging a wifi-spot

As I understand you need to configure your OpenWrt router to connect with wifi to an hot spot and connect your pc to the router ( by wire between lan sockets pc <--> router) just to let the pc to surf internet (you don't need relayd).
Try starting from the begin!
Reset router by button or by luci web page( system/backup-flash...).
Connect you pc as usual to router using lan cable.
Reach the router at 192.168.1.1 up.
On page network/wireless click scan button.
When scan is finished on the row of your target wifi select join network button.
Fill fields as necessary, is better to fill also field of dns with google ips (8.8.8.8 and 8.8.4.4) in case your internet connection would fail for a dns resolving failure.
Save and apply.
After applied in network/wireless you should see that the router is associated with hotspot succesfully under Associated Stations section.
In network/interfaces you should notice only two, wwan and lan, just in case the two interfaces join similar class of network ( in that bad case wwan could be 192.168.1.x) you have to change ip of lan interface (say 192.168.2.1) editing it and leaving all as is except for ip.
You should be ready now, just for test in network/ diagnostics click on ping button if ok your pc is able to surf internet, if not ok in the field over ping button with 'openwrt.org' delete and insert 8.8.8.8 and ping again if ok you forgot dns values in wwan interface. If happens the same on pc ( ping domain and ping ip) dns configuration leaks in lan interface.
Let me know...

1 Like