How to turn Modem into Repeater is it possible?

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page 1, 2, 3, 4  Next
Author Message
thorrrr
DD-WRT User


Joined: 01 Feb 2012
Posts: 63

PostPosted: Mon Jan 09, 2023 16:59    Post subject: How to turn Modem into Repeater is it possible? Reply with quote
Hi Guys
I have a Netgear R7800 running an old DD-WRT v3.0-r37495M kongat (10/28/1Cool i was about to update it after pontificating for months.
But i have been given a Zim Board which i intend to put OpenSense on it.
My current setup is Outside>Modem>Netgear R7800>Wifi & Switch>LAN this has worked fine

I want to go Outside>Modem>Zim(OpenSense)>Switch> LAN & Netgear R7800 (Repeater)
Is this the correct way?
Can i set the Netgear R7800 running DD-WRT v3.0-r37495M kongat (10/28/1Cool as a repeater?
I only want OpenSense to do dhcp not the router


Last edited by thorrrr on Mon Jan 09, 2023 17:11; edited 1 time in total
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12889
Location: Netherlands

PostPosted: Mon Jan 09, 2023 17:05    Post subject: Reply with quote
Better upgrade the router to 51275 which is the current build.

*After* upgrading reset to defaults and setup the way you want.

Are you connecting wired/ethernet?

If so you can setup as a Wireless Acces Point (WAP).

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
thorrrr
DD-WRT User


Joined: 01 Feb 2012
Posts: 63

PostPosted: Mon Jan 09, 2023 17:29    Post subject: Reply with quote
Hi
Cheers for rapid reply so just to clarify

I need ISP>Modem>Zim Box (Opensense)>Switch>LAN & Router all wired

I need Zim box to provide IP a for router and disable any dhcp from router.

Re your advice upgrade the router to 51275 is this the latest DD-WRT?
From https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2022/08-15-2022-r49741/netgear-r7800/

When you say after upgrading i need to reset!
I thought upgrading this version i have have to do a new install or will it upgrade no issue ?

To answer you question this will be wired conection
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12889
Location: Netherlands

PostPosted: Mon Jan 09, 2023 17:59    Post subject: Reply with quote
thorrrr wrote:
Hi
Cheers for rapid reply so just to clarify

I need ISP>Modem>Zim Box (Opensense)>Switch>LAN & Router all wired

I need Zim box to provide IP a for router and disable any dhcp from router.

Re your advice upgrade the router to 51275 is this the latest DD-WRT?
From https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2022/08-15-2022-r49741/netgear-r7800/

When you say after upgrading i need to reset!
I thought upgrading this version i have have to do a new install or will it upgrade no issue ?

To answer you question this will be wired conection


We already have 2023 updates:
https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2023/01-09-2023-r51275/

https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2023/01-09-2023-r51275/netgear-r7800/dd-wrt-webupgrade.bin

If you are really cautious reset before upgrading, but the most important thing is the reset after the upgrade (do that manually after you have upgraded).

Recommended reading, see the forum guidelines with helpful pointers about how to research your router, where and what firmware to download, where and how to post and many other helpful tips:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087

R7800 install guide: see link in my signature at the bottom

You are connecting wired (the sensible choice Smile ) so you can setup the R7800 as an Access Point.

There is a wiki: https://wiki.dd-wrt.com/wiki/index.php/Wireless_access_point
But IMHO opinion that is somewhat flawed.

I do it like this:

Wireless Access Point (WAP):
A secondary router connected wired LAN<>LAN on the same subnet as the primary router.
On Basic Setup page:
• On Basic Setup page:
o WAN disabled
o DHCP server Disabled (=off and NOT set as Forwarder!)
o Local IP address in subnet of primary router but outside DHCP scope, make sure the used IP address is unique on your network you cannot have duplicates.
o Gateway and Local DNS pointing to primary router
• Keep DNSMasq enabled (both on Basic Setup page and Services page)
• On Setup > Advanced Routing, keep Operating mode in the default Gateway (the wiki says Router mode but do not do that, either it does not matter (this case) or break things)
• On Security > Firewall keep the SPI Firewall enabled, although you do not want a firewall it will be automatically disabled as there is no WAN so no need to change this setting form default.
• Connect LAN <> LAN (do not use the WAN port unless you really need that extra port, for most routers traffic still must use the CPU so performance is lacklustre and there are some routers where the WAN port is not added to the br0 so the WAN port could be non-functional on some routers).

Note: for Broadcom routers for best throughput enable CTF on Basic Setup Page

You have to add the following rule to the firewall in order to get internet access from clients attached to a VAP/Bridge on your WAP.
In the web-interface of the router (the WAP): Administration > Commands save Firewall:
#Always necessary (alternatively set static route on main router and NAT traffic from VAP/Bridge out via WAN):
iptables -t nat -I POSTROUTING -o br0 -j SNAT --to $(nvram get lan_ipaddr)

If you want to only have the VAP/bridge to have internet access and not access to the rest of the network
#Replace with the appropriate interface of your VAP, e.g. wl0.1, wlan0.1 etc:
GUEST_IF="wlan1.1"
#Net Isolation does not work on a WAP so keep it disabled, add for isolating VAP from main network:
iptables -I FORWARD -i $GUEST_IF -d $(nvram get lan_ipaddr)/$(nvram get lan_netmask) -m state --state NEW -j REJECT

#For isolating the WAP itself from the VAP/bridge:
iptables -I INPUT -i $GUEST_IF -m state --state NEW -j REJECT
iptables -I INPUT -i $GUEST_IF -p udp --dport 67 -j ACCEPT
iptables -I INPUT -i $GUEST_IF -p udp --dport 53 -j ACCEPT
iptables -I INPUT -i $GUEST_IF -p tcp --dport 53 -j ACCEPT

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
thorrrr
DD-WRT User


Joined: 01 Feb 2012
Posts: 63

PostPosted: Mon Jan 09, 2023 20:47    Post subject: Reply with quote
Hi
Thank you again for an indepth reply and i will spend the next few days reading through all the info.

Can i ask (i apprciate you are a DD-WRT Guru) and i understand if you send me off to Opensense forums but i am in this grey area. I know if i go to them they will say we have no knowlege in DD-WRT (my grey area) Sad

Will following your good advice from your extensive knowledge allow this Router to work with Opensense and allow Opensense to control everything?
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12889
Location: Netherlands

PostPosted: Mon Jan 09, 2023 21:20    Post subject: Reply with quote
I was assuming that that was your intent Smile

The opensense router is your firewall/dhcp/dns router and the R7800 is just a wireless access point.

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
thorrrr
DD-WRT User


Joined: 01 Feb 2012
Posts: 63

PostPosted: Thu Jan 12, 2023 13:28    Post subject: Reply with quote
On a sidenote if i take this process step by step (as you have spotted i have to think about my life my other half works from home online)

My thought was to upgrade the router to 51275 with the links you provided and the well written HOWTO document. But to use it for a few days under my current setup.

After i run the upgrade and to run on my current setup do you still recommend i reset it after upgrade?

Also a point a failed to mention i use Additional DNSMasq Options with a txt list of me devices
I guess i will have to enter these manually into Opensense?
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12889
Location: Netherlands

PostPosted: Thu Jan 12, 2023 15:00    Post subject: Reply with quote
Coming from build 37495M a reset to defaults *after* upgrading to a recent build e.g. 51288 (as of today) is necessary, put settings in manually.

The DHCP reservations have to be transferred to your Opensense router, the other entries in DNSMasq options should also be deleted but that will all be deleted after you reset to defaults (and should not be put back).

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
thorrrr
DD-WRT User


Joined: 01 Feb 2012
Posts: 63

PostPosted: Fri Jan 13, 2023 18:55    Post subject: Reply with quote
Hi
Ok read the guide a few times just for clarity after upgrade you say reset AFTER upgrade.
So does this mean from GUI or CLI or do you mean do the 30/30/30?

Also i see in the GUI a reset option in th firmware area but i also see the other tab restore to factory defualt i guess you mean the reset from the firmware area if its not 30/30/30.

Also after reset does it reset its IP address to 192.168.1.1 with default login as USERNAME admin and PASSWORD password

At which point i manually add all my old settings back in.

As i have a BT Modem feeding the router direct is the default IP of 192.168.1.1 guaranteed ?
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12889
Location: Netherlands

PostPosted: Fri Jan 13, 2023 19:13    Post subject: Reply with quote
Do not do a 30/30/30 that can brick you router.

I reset from the CLI with:
nvram erase && reboot

But using the GUI or reset button also works.

After a reset login at http://192.168.1.1

Note it is http and not https

There you will be greeted by a set username/password setup screen.

But as said the important reset is done after upgrade.

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
thorrrr
DD-WRT User


Joined: 01 Feb 2012
Posts: 63

PostPosted: Sat Jan 14, 2023 11:55    Post subject: Reply with quote
HI

Reading the Wiki for DHCP in the new version can i through command line import the static dnsmasque into the dns static leases with the CLI

Planning doing it this afternoon
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12889
Location: Netherlands

PostPosted: Sat Jan 14, 2023 12:24    Post subject: Reply with quote
That is how we do it with DDWRT.

Keep those DHCP reservations in a text file and copy paste in Additional DNSMasq options

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
thorrrr
DD-WRT User


Joined: 01 Feb 2012
Posts: 63

PostPosted: Sat Jan 14, 2023 12:28    Post subject: Reply with quote
egc wrote:
Coming from build 37495M a reset to defaults *after* upgrading to a recent build e.g. 51288 (as of today) is necessary, put settings in manually.

The DHCP reservations have to be transferred to your Opensense router, the other entries in DNSMasq options should also be deleted but that will all be deleted after you reset to defaults (and should not be put back).


You have me confused now Very Happy
You say should NOT be put back !
Or do you mean when i move over to OPensense ?
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12889
Location: Netherlands

PostPosted: Sat Jan 14, 2023 12:36    Post subject: Reply with quote
You should not restore a backup config from a different build.

You have to put settings in manually.

But what is the difference if you manually type in the Additional DNSMasq options or copy text in it (hint: it is the same)

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
thorrrr
DD-WRT User


Joined: 01 Feb 2012
Posts: 63

PostPosted: Sat Jan 14, 2023 13:28    Post subject: Reply with quote
HI
I was vever going to do any restore just follow your advice.
I was going to type or copy paste things by hand.
But when i read Additional DNSMasq options do not add them back i was under the impression you no longer used that option.

So i take it i can just paste them back in which is great it makes things easier
Goto page 1, 2, 3, 4  Next Display posts from previous:    Page 1 of 4
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum