I want to use second router as a swtich mode(or ap mode) which installed openwrt.
I changed in Luci page.
Network > interfaces > lan > general settings
rounter's IPv4 to 192.168.0.99(for example), IPv4 gatewat to 192.168.0.1(main router's gateway)
Network > interfaces > lan > advanced settings
use custom DNS servers to 192.168.0.1
To verify, you have the following connections, correct? internet > [wan] main router [lan] > [lan] dumb AP [lan] > PC
and you are unable to reach the router (via ping, for example) at 192.168.0.99?
When you changed the address of the dumb AP device, did you verify that it had accepted the change? There is an auto-rollback mechanism that is there to prevent a lock-out situation... it is possible the dumb AP is still on 192.168.1.1 (assuming you were configuring from the default state), but with the DHCP server off.
If it rollled back, your computer should be able to reach the router if you set a static IP on your computer for 192.168.1.10 and subnet mask 255.255.255.0. Then try pinging 192.168.1.1