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 Previous  1, 2, 3, 4  Next
Author Message
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12915
Location: Netherlands

PostPosted: Sat Jan 14, 2023 13:52    Post subject: Reply with quote
I administer networks with 30+ reservations copy paste these is a life saver
_________________
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
Sponsor
thorrrr
DD-WRT User


Joined: 01 Feb 2012
Posts: 63

PostPosted: Sat Jan 14, 2023 14:11    Post subject: Reply with quote
OK
I am about to go for it
If i have read everything correct
1. SSH into router
2. cd /tmp
3. curl --output firmware.bin ftp://ftp.dd-wrt.com/betas/2023/01-12-2023-r51288/netgear-r7800/dd-wrt-webupgrade.bin
4. When router has finished upgrade process and can be seen in web page
5. SSH back into router
6. Run nvram erase && reboot
7. Enter 192.168.1.1 enter back my username and password
8. Manually enter all old settings & paste my DNSMasq List back
9. Reboot everything should be back as it was (i hope)

Is that correct?


Last edited by thorrrr on Sat Jan 14, 2023 14:20; edited 2 times in total
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12915
Location: Netherlands

PostPosted: Sat Jan 14, 2023 14:18    Post subject: Reply with quote
Looks good, it can take up to 2 minutes before the router has detected firmware.bin and upgrades.
So be patient!

I usually do an upgrade via the GUI (Administration/firmware Upgrade) but this should also work.
If you do it via the GUI choose "Do NOT reset" after flashing.

A manual reset like you are doing after the upgrade is safer.

_________________
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 15:00    Post subject: Reply with quote
Ok it upgraded fine it reset fine but soon as I started putting my settings in and saved I lost it
I changed my local ip to 192.168.23.1
Subnet to 255.255.255.0
How can I get back in
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12915
Location: Netherlands

PostPosted: Sat Jan 14, 2023 15:12    Post subject: Reply with quote
If you really upgraded then there is nowhere to put in a mask like 255.255.255.0

See attachement how it should look like, I changed the default IP address from 192.168.1.1 to 192.168.0.1

If you put in 255.255.255.0 somewhere then you need to hit the reset button while the router is running, press it for about 5 sec.

_________________
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 15:44    Post subject: Reply with quote
OK
You were right i entered in wrong place

My first screen is setup new

Please could you review my settings on Wifi to see if i have best settinsh its 4 years since i set this up
thorrrr
DD-WRT User


Joined: 01 Feb 2012
Posts: 63

PostPosted: Sat Jan 14, 2023 15:47    Post subject: Reply with quote
My old wireless was

I have no idea what SuperChannel is must be new

After pressing Save and Apply when i have done them all do i need to reboot ?
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12915
Location: Netherlands

PostPosted: Sat Jan 14, 2023 16:18    Post subject: Reply with quote
For Wireless settings see: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324014 this is a sticky in the Atheros/Qualcomm forum and also mentioned in the R7800 install guide

For using a Pihole for DNS: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=331414
A sticky in the Advanced networking forum

_________________
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: Sun Jan 15, 2023 11:37    Post subject: Reply with quote
Hi

Can I thank you for all your help yesterday and everything is running fine.

I have on 2 occasions when I rebooted the router found it does not show on the correct address http:/192.168.23.1, I must unplug and reboot the router then it works!

My plan is moving to Opensense on Tue or Wed, and I have been dissecting your message on best way to set up WAP. I have understood 90% of your instruction.
The part I would like further help on is the latter part.

Quote:-

“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”



I know where the command tab is but not sure about some of the technical comments.

Query to understand “Keep DNSMasq enabled (both on Basic Setup page and Services page)” Will DNS not be handled by Opensense ?

What is VAP/Bridge ?

You mention I need to add a Firewall rule in the dd-wrt router or add one in Opensense! Is there a preferred way my understanding is Opensense should be the main Firewall and best to handle everything!

Also, I want all my Wi-Fi devices to have full access to my Network. If it is the preferred option to enter firewall rule, what do I need exactly to type into the command area?

Finally, just in case you know does Opensense have the functionality as DNSMasq Additional Options to deal with list like I have in DD-WRT? If not, can you import this list into OpenSense?
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12915
Location: Netherlands

PostPosted: Sun Jan 15, 2023 12:31    Post subject: Reply with quote
This rule is the one that should be added to the firewall of the WAP:
Code:
iptables -t nat -I POSTROUTING -o br0 -j SNAT --to $(nvram get lan_ipaddr)
It is the only rule necessary to get full access from all attached clients to your WAP.

But it is only needed if you have added extra Virtual Interfaces (VAP/Bridges) e.g. for Guest net work /IoT etc.

Maybe you do not need it now but you are wanting it in the future, but in the future you forget about this and as it does not hurt to add the rule so better add it now.

The same applies for keeping DNSMasq enabled that can be necessary for said Guest- IoT network so keep it enabled for now but for your normal network DNS is done by your Opensense router

_________________
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


Last edited by egc on Thu Jan 19, 2023 9:26; edited 1 time in total
thorrrr
DD-WRT User


Joined: 01 Feb 2012
Posts: 63

PostPosted: Wed Jan 18, 2023 22:37    Post subject: Reply with quote
HI
I have moved over just doing the DD-WRT router to WAP
Your instruction

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.
Gateway and Local DNS pointing to primary router
[/i]
My DD-WRT ROuter is 192.168.23.1
Opnsesne Box 192.168.23.2
Subnet 192.168.23.0

https://i.imgur.com/HAtNgFF.png

So are we saying this area should be

https://i.imgur.com/pbwH0Pl.png
thorrrr
DD-WRT User


Joined: 01 Feb 2012
Posts: 63

PostPosted: Thu Jan 19, 2023 9:08    Post subject: Reply with quote
I have followed the instructions everything was fine until i added the firewall rule.
Now my whole LAN is down and i have no access to DD-WRT i have no WiFI and no WAN
from my laptop which is wireless.
But i have no access to anything locally or externally even wired


Last edited by thorrrr on Thu Jan 19, 2023 11:11; edited 2 times in total
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12915
Location: Netherlands

PostPosted: Thu Jan 19, 2023 9:14    Post subject: Reply with quote
I cannot help you with OPNSense you have to ask at the forum over there.
_________________
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 19, 2023 9:22    Post subject: Reply with quote
egc wrote:
I cannot help you with OPNSense you have to ask at the forum over there.


Do you think this is an Opnsense issue?

I lost everything soon as i entered the firewall rule i did each one stage by stage.
But this one thing lost me my network also i did backup DD-WRT but i have no interface now.

Is there anyway of getting back in to restore?
Sorry also i have no Wifi from this unit now
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12915
Location: Netherlands

PostPosted: Thu Jan 19, 2023 15:45    Post subject: Reply with quote
I have no experience with OPNsense so difficult to say.
_________________
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
Goto page Previous  1, 2, 3, 4  Next Display posts from previous:    Page 2 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