OpenWrt Forum Archive

Topic: Disabled dhcp and assigned static ip in luci, now I cant access router

The content of this topic has been archived on 3 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I already have a router in my home network so I wanted to enable the dumb AP option in my openwrt installed router, I disabled dhcp, assigned ip as 192.168.1.4 and also disabled firewall from startup scripts. But now I can access only the main router via default gateway and I can't access the openwrt installed router via the ip I gave earlier.
What is the issue here?
Edit :I can access internet fine from my openwrt wifi, but I just can't access the openwrt router's LuCi interface. If I try to access the default gateway it takes me to my main router's configuration page.

Edit 2: the ipconfig command shows two values for the default gateway 192.168.1.4(assigned to openwrt) and 192.168.31.1, I can only accept the latter which takes me to the main router page.

Also the weird thing I noticed is the main router config page which gets opened has the uri 192.168.31.1/cgi-bin/luci/web.

(Last edited by sapneshnaik on 7 Nov 2017, 19:27)

i'm just guessing your pc is having an address in the 192.168.31.x subnet and if it isnt a typo your new router is at 192.168.1.4 when it should have been 192.168.31.4.  assign a static ip of 192.168.1.33 (or whatever) to your pc then you can fix your new one, most likely.

The discussion might have continued from here.