Hello all, I don’t have a technical background and after days of struggling with unsuccessful trial and error and searching for answers elsewhere, have come here for help. If there is relevant documentation that I should read, some pointers in the right direction would also be great.
Thanks in advance.
In response to COVID-19 I have set up my raspberry pi with DietPi at home to run a Nextcloud server and Wifi hotspot so that my parents can work from home. (Thanks to documentation here and elsewhere!)
However there is one big issue I would like to fix, and another minor issue.
- The DietPi Wifi hotspot is on a separate subnet. 192.168.42.x rather than 192.168.1.x as well as having a different SSID to “Router 2”. If possible I would like to have the hosts connected to the DietPi to be on the same subnet as the rest of the network, as well as share the same SSID to the other wireless router. (I know I can change the SSID for the DietPi through dietpi-config → network adapters, but when I changed it to the same SSID, the network stopped working. I don’t know why, regardless simply changing the SSID does not solve the issue with them being on different subnets.)
My intuition tells me that changing the static IP of DietPi wlan0 from 192.168.42.1 to 192.168.1.3 would result in something bad. Or is this safe to do?
- At the moment with dnsmasq on “Router 1”, LAN traffic to the nextcloud server (directed at the DDNS domain e.g. mysubdomain.ddns.com), is redirected to 192.168.1.10. However with this current setup, clients connected to the DietPi hotspot are (probably?) connecting to the hotspot, which then forwards traffic to the router, which then redirects back to the DietPi to access the Nextcloud server. This seems kind of redundant and a waste of bandwidth. If possible, it would be great if clients connected to the DietPi Hotspot directly access the Nextcloud server without going through “Router 1” How would I go about doing this?
This is the current setup:
Both routers are running ddwrt.
Please let me know if I should provide further details.
Under normal circumstances I would try to sort this myself after many days of trial and error. However due to COVID-19, the network is being heavily used for professional academic purposes by family members working from home, so I can’t afford to break the network constantly, and it would help them if this got fixed sooner rather than later.