can i edit mac allowed list and how

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
slowmotionscene
DD-WRT User


Joined: 03 Oct 2014
Posts: 365

PostPosted: Mon Jan 24, 2022 8:27    Post subject: can i edit mac allowed list and how Reply with quote
i got 70 macs that i use for more secure i use mac allowed list is it posibile to edit .bin and how in what file what line?

i ask for tplink wr1043 v1.4
Sponsor
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6445
Location: UK, London, just across the river..

PostPosted: Mon Jan 24, 2022 11:32    Post subject: Reply with quote
tplink wr1043 v1.4... but on witch firmware build...number ?
_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
slowmotionscene
DD-WRT User


Joined: 03 Oct 2014
Posts: 365

PostPosted: Mon Jan 24, 2022 14:36    Post subject: Reply with quote
on DD-WRT v3.0-r47608 std (10/28/21) wich is now on wr1043v1,4

sorry i forgot to write what is fw version i replay now when i see

Информације о рутеру
Систем
Назив рутера
DD-WRT
Модел рутера
TP-Link TL-WR1043ND
Верзија фирмвера
DD-WRT v3.0-r47608 std (10/28/21)
Верзија кернела
Linux 3.10.108-d11 #94034 Thu Oct 28 14:59:43 +07 2021 mips
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14242
Location: Texas, USA

PostPosted: Mon Jan 24, 2022 16:22    Post subject: Reply with quote
Are you trying to restrict access to the router's wifi or change router's MAC address(es)?
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
bvideo
DD-WRT User


Joined: 04 Mar 2014
Posts: 69

PostPosted: Mon Jan 24, 2022 16:43    Post subject: Reply with quote
You can't edit .bin directly.
At the command line you might be able to get away with:
Code:

nvram set <mac_list>="mac1 mac2 mac3 ... mac70"
nvram commit

I don't know how long the command line can be.
Determine which <mac_list>:
ath0_maclist
ath0.1_maclist
etc.

(edited for proper syntax)

_________________
dd-wrt on TP-Link Archer A7 v5
slowmotionscene
DD-WRT User


Joined: 03 Oct 2014
Posts: 365

PostPosted: Mon Jan 24, 2022 20:10    Post subject: Reply with quote
i trying to restrict unknow macs(not listed in allow onlu list) macs in case thay crack my wifi password ,not to change wifi mac (i think thats easy in mac clone addres option but i dont need that no errors no changes no need ) is the wlan0 ath0_maclist if it is i want that to select ? so it means i put macs like in code nvram set <mac_list>="mac1 mac2 mac3 ... mac70" wich is emtyspace(space) is separator betwene macs? and start and end of list is with " right? and on end nvram commit and on end is it will be in allowed mac list i mean allow only box listed if not maybe is better to enter my one by one ? i will try now before that i will make backup cfg
bvideo
DD-WRT User


Joined: 04 Mar 2014
Posts: 69

PostPosted: Mon Jan 24, 2022 20:17    Post subject: Reply with quote
Then you can go to the [wireless]->[MAC filter] page and enable "Permit only ..." for the chosen SSID.
Also you can check or edit your list from there.

_________________
dd-wrt on TP-Link Archer A7 v5
slowmotionscene
DD-WRT User


Joined: 03 Oct 2014
Posts: 365

PostPosted: Mon Jan 24, 2022 20:36    Post subject: Reply with quote
yes but that is one by one and its slow can i edit text nvram set <mac_list>="mac1 mac2 mac3 ... mac70" with my macs end commit command?
bvideo
DD-WRT User


Joined: 04 Mar 2014
Posts: 69

PostPosted: Mon Jan 24, 2022 20:54    Post subject: Reply with quote
Right, that page might be a little slow for entering a bunch of MACs. That's why I showed you the nvram way using commands. But when you are done, that page is how "enable" the filter and select "Permit only ...' the list you entered.
_________________
dd-wrt on TP-Link Archer A7 v5
slowmotionscene
DD-WRT User


Joined: 03 Oct 2014
Posts: 365

PostPosted: Mon Jan 24, 2022 21:15    Post subject: Reply with quote
i will do on wlan0 SSID ap i tryed these nvram set <wlan0_maclist>="macs macs"

type enter sayse these


-sh: can't open wlan0_maclist: no such file
slowmotionscene
DD-WRT User


Joined: 03 Oct 2014
Posts: 365

PostPosted: Mon Jan 24, 2022 21:30    Post subject: Reply with quote
i do it manual Sad
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14242
Location: Texas, USA

PostPosted: Mon Jan 24, 2022 21:35    Post subject: Reply with quote
Use the proper syntax:
Code:
nvram set wlan0_maclist=mac1 mac2 mac 3

But you still have to enable in webUI. I just used the webUI since it works now.

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
slowmotionscene
DD-WRT User


Joined: 03 Oct 2014
Posts: 365

PostPosted: Mon Jan 24, 2022 21:46    Post subject: Reply with quote
nvram set wlan0_maclist="mac mac1 mac2 mac3 mac999"
nvram commit
it did it


thank you verry much ddwrt Smile

yes it is enabled by on and allow only listed addresses to acces the wireless network in list

https://i.imgur.com/2kcZ3Oh.jpg
Display posts from previous:    Page 1 of 1
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