Dumb AP not working!

I’m trying to setup my second openwrt router as an access point (dump ap) I followed the guide on the website but I can’t get no internet or access the openwrt interface.
These are the steps of what I did.

  1. Change the lan of my openwrt router to 192.168.0.2. I did this because my main router has a default gateway of 192.168.0.1 also my main router gives out dchp from 2 to 254. I stated that because I heard people saying to put it at 255 which I tried and also had no success.
  2. Turn off dchp on the lan interface and then disabled everything in the ipv6 settings.
  3. Finally I disabled firewall, dsnmasq(not sure what’s called), and then ohcdp(not sure what this is called really).

Please, post the current contents of the '/etc/config/network' file from the second device.

Did you connect one of the LAN sockets (not WAN) from your openwrt to a spare LAN socket on your main router?

1 Like

Did you add a default gateway and dns in the LAN interface?

I can’t ssh into my router, I also can’t access the interface of the router even when I manually change the ip of my computer to 192.168.1.1 but fortunately i have access to the internet now.

I guess I just needed to wait awhile I now have access to the internet.

Feel really dumb now🤦‍♂️ thank you although I still can’t ssh or access the web interface.

Maybe the IP .2 is used by some other device?
It would be best to reduce the dhcp pool, let's say from 100-250

So change the dchp pool of my main router from 100-250 and the use .2 as the ip address on the lan interface?

yes, that might solve your problem.
Make sure the other settings on the dumb AP are correct. Connect some PC directly on the dumbAP with static IP and mask.

That sounds quite wrong, as your main router likely has either 192.168.1.1 or 192.168.0.1. The PC can't have the same IP as the router.

It is also confusing that you first claim

the lan of my openwrt router to 192.168.0.2. I did this because my main router has a default gateway of 192.168.0.1

then you say

I manually change the ip of my computer to 192.168.1.1

which 192.168.1.x would naturally be wrong if your OpenWrt router has its address from the 192.168.0.x subnet.

Is 192.168.0.1 your main router's WAN address or its LAN address? What have you configured as the subnet? Where did the 192.168.1.1 come from?

Note that if your main router has its gateway as 192.168.0.1 (like you seem to say) on the WAN side, then you naturally can't use 192.168.0.x on its LAN side. Like eduperez already asked, you should explain the IPs and network config with more detail. Otherwise this is just guessing (although there are typical mistakes which can be guessed).

1 Like

Alright so I meant to say I manually changed it to 192.168.1.2.
So are you saying if my main routers gateway is 192.168.0.1 I shouldn’t change the lan ip address on the openwrt router to an ip on that subnet? Just asking because that’s what the instructions on openwrt said to do.

as suggested by @trendy 192.168.0.2 may be in use?

Have you tried pinging it to see if it is 192.168.0.2 in use from a working computer when dumb AP is disconnected? It may also be listed in the System overview page of your main openwrt router (192.168.0.1) if it is active.

Changes to the DHCP pool on your main router (192.168.0.1) won't suddenly stop the 'device' using 192.168.0.2 until you restart that 'device' btw.

Try changing the LAN IP of your dumb AP to 192.168.0.240 if your main router is using 192.168.0.1

1 Like

I am just asking for details, as you seem to throw all kind of addresses to the air without any care to the details.

E.g. the difference in 192.168.0.x and 192.168.1.x on routing is huge. So, if you said 192.168.0.2, but actually mean 192.168.1.2, we all are on the wrong track with the advice.

Alright so should the lan ip be in the dhcp pool my main router is giving. Like if my main router dhcp pool is 192.168.100-192.168.1.250, should it be in that range?

You probably meant 192.168.1.100, right?

sorry for that I actually meant 192.168.0.100-192.168.0.250

The IP address of your dumb AP should be outside the DHCP pool range.

if your main router dhcp pool is 192.168.1.100 to .250, then use any IP below .100 for dumb AP.

(I suggested using .240 because chances of it being in use are pretty low unless you have over 100+ devices.....)

Can you please explain to me how to do this?

In that garbled /etc/config you say that in the OpenWrt router you have:

option ipaddr '192.168.1.1'  

That sounds wrong for a LAN-connected dumb AP, as you also claim that the main router has DHCP pool from the 192.168.0.x range:

Just slow down.

If your main router has 192.168.0.1 as its LAN address, you need to have in the OpenWrt router a fixed address from the same 192.168.0.x subnet (and then connect via LAN ports).

Second OpenWrt router could e.g. have

  • IP address 192.168.0.2
  • gateway 192.168.0.1 (the main router)
  • dns 192.168.0.1 (the main router)
  • netmask 255.255.255.0
  • and connected via Openwrt LAN port to main router's LAN port.