LuCI accessible via Linux and mobile(wifi), not working via Windows

After reading about OpenWRT for quite a while, finally took the jump and installed OpenWRT on my TP-Link Archer C60 v2, everything seems to working including LuCI and SSH access from my Linux machine and from my mobile via Wifi, but then I dual-booted into Windows for gaming. And can't access LuCI or SSH from windows. I'm getting "Unable to connect error". Network is working okay from both systems, so any idea what to check ?

Access it using IP or openwrt.lan?

1 Like

Via IP, should that make a difference ?

It could, depending on what DNS you browser is using.

1 Like

Did you change the ip address of your router (relative to the OpenWrt default of 192.168.1.1)

I booted into windows and checked, "Unable to connect" error with openwrt.lan also.

No and I can access Luci page at 192.168.1.1 from PC-Linux and mobile, but can't from PC-Windows.

  • maybe post output of „ipconfig /all“ from your Windows
  • is there any other router or AP in your network?

could be your Windows is already using 192.168.1.x for some local virtual network (hyper V, VMware, virtualPC or alike…) or has a seconds NIC config that has some interfering config or some LTE USB dongle is attached to the PC (some USB LTE sticks act like routers).

I would change the subnet in OpenWRT on the LAN interface by setting the static IP e.g. to 192.168.2.1 (or any subnet you like, but that is guaranteed to not yet be in use in your network)

There's only one router and no VMs/USB LTE dongles, adding the ipconfig/all output below.

C:\Windows\system32>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : AdminMC-Win10
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : lan

Unknown adapter sg-surfshark:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : WireGuard Tunnel
   Physical Address. . . . . . . . . :
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 10.14.0.2(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.0.0
   Default Gateway . . . . . . . . . : 0.0.0.0
   DNS Servers . . . . . . . . . . . : 162.252.172.57
                                       149.154.159.92
   NetBIOS over Tcpip. . . . . . . . : Enabled

Wireless LAN adapter WiFi:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Realtek 8822BE Wireless LAN 802.11ac PCI-E NIC
   Physical Address. . . . . . . . . : D0-C5-D3-33-97-33
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Wireless LAN adapter Local Area Connection* 7:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter
   Physical Address. . . . . . . . . : D2-C5-D3-33-97-33
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . : lan
   Description . . . . . . . . . . . : Intel(R) Ethernet Connection (2) I219-V
   Physical Address. . . . . . . . . : 0C-9D-92-C9-60-9D
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.1.191(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : 11 December 2022 19:55:18
   Lease Expires . . . . . . . . . . : 12 December 2022 07:55:18
   Default Gateway . . . . . . . . . : 192.168.1.1
   DHCP Server . . . . . . . . . . . : 192.168.1.1
   DNS Servers . . . . . . . . . . . : 162.252.172.57
                                       149.154.159.92
   NetBIOS over Tcpip. . . . . . . . : Enabled

This is why you are unable to connect. Your Windows machine has a vpn enabled (surfshark via a wireguard connection). Turn that off and you should be able to connect to your openwrt router.

I will try after disabling, but I have wireguard to surfshark setup on Linux and mobile too, where I can access LuCI.

The WG settings are identical?

And why on earth would you run it on the clients, and not on the router itself?

Okay, it seems my wireguard config in windows was blocking untunneled traffic, now LuCI access working.

I usually change locations for gaming and streaming, so kept on client. Need to check how to set up multiple interfaces on router.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.