Hi all,
My name is Pedro and this is my first post here.
I have installed Openwrt in my PLUSNET Hub One [router from an UK internet provider]. Opening LuCI webpage is only possible, when directly connected to the router by cable.
I've been through the forum and tried many approaches but nothing worked.
Please note that I have the following setup:
BT Smart Hub connected to the internet and the router with Openwrt connected wirelessly to the BT router.
The PLUSNET router is able to obtain its IP from the BT one (192.168.1.199).
I can ping the router and the router can ping all the network, as well.
Now, if I try to access the LuCI page or use ssh, it replies with "refused to connect".
Check if you flashed a snapshot as snapshots don't have luci by default.
Also disconnect your openwrt device from the home hub and then try to access luci as both it's lan and wan being on 192.168.1.x subnet may be creating problems. Openwrt uses 192.168.1.1 by default.
Please run the following commands (copy-paste the whole block) and paste the output here, using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have
ubus call system board; \
uci export network; uci export wireless; \
uci export dhcp; uci export firewall; \
head -n -0 /etc/firewall.user; uci export uhttpd; \
ip -4 addr ; ip -4 ro li tab all ; ip -4 ru; netstat -nlp | grep 80
Hi,
Here you have it. The Openwrt router is 192.168.1.144 and the other one is 192.168.1.254.
Thanks
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
5: wlan1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
inet 192.168.1.144/24 brd 192.168.1.255 scope global wlan1
valid_lft forever preferred_lft forever
default via 192.168.1.254 dev wlan1 src 192.168.1.144
192.168.1.0/24 dev wlan1 scope link src 192.168.1.144
broadcast 127.0.0.0 dev lo table local scope link src 127.0.0.1
local 127.0.0.0/8 dev lo table local scope host src 127.0.0.1
local 127.0.0.1 dev lo table local scope host src 127.0.0.1
broadcast 127.255.255.255 dev lo table local scope link src 127.0.0.1
broadcast 192.168.1.0 dev wlan1 table local scope link src 192.168.1.144
local 192.168.1.144 dev wlan1 table local scope host src 192.168.1.144
broadcast 192.168.1.255 dev wlan1 table local scope link src 192.168.1.144
0: from all lookup local
32766: from all lookup main
32767: from all lookup default
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1705/uhttpd
tcp 0 0 fe80::da7d:7fff:feed:bd36:53 :::* LISTEN 1259/dnsmasq
tcp 0 0 fe80::d87d:7fff:feed:bd36:53 :::* LISTEN 1259/dnsmasq
tcp 0 0 :::80 :::* LISTEN 1705/uhttpd
udp 0 0 fe80::da7d:7fff:feed:bd36:53 :::* 1259/dnsmasq
udp 0 0 fe80::d87d:7fff:feed:bd36:53 :::* 1259/dnsmasq
Follow https://openwrt.ebilan.co.uk/viewtopic.php?f=7&t=266
for a comprehensive guide about your device. Keep in mind that OpenWrt defaults the wireless to off after the initial flashing, you first need to configure and enable it.
The main problem is that you have subnet conflict. Both wlan1 and wlan1-1 have IP in 192.168.1.0/24
Further down the list, there are these 2 rules with allowing ssh from wan. Did you add them in an effort to make it work?
Then you have assigned the 5G band to the wan interface.
I am not sure to which one you are connected, but this is not a correct way to configure the device. I suggest you take a backup of what you have configured, reset the device to defaults, and start configuring the device from scratch. This way you have both 2,4 and 5GHz bands bridged to the lan interface and you only need to configure the uplink correctly.
Thanks for the reply.
Yes, I've added the rules, as you guessed, to make it work.
Another piece of information that might be useful is that, everytime I restart the network with the command "/etc/init.d/network restart" the webpage opens normally.
How do I reset to the defaults? Can I do this by just pressing the reset button in the router, or do I have to re-flash the router?
Thanks,
Pedro