can i edit mac allowed list and how

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


Joined: 03 Oct 2014
Posts: 244

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: 5009
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 48646 WAP
TP-Link WR1043NDv2 -DD-WRT 48865 Gateway,DNS,AP Isolation,Ad-Block,Firewall,Forced DNS,DoT,VPN,VLAN
TP-Link WR1043NDv2 -DD-WRT 48886 Gateway,DNS,Ad-Block,Firewall,Forced DNS,DoT,VPN,VLAN
TP-Link WR1043NDv2 -Gargoyle OS 1.13.0b AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear R7800 --DD-WRT 48886 Gateway,DNS,AD-Block,AP&Net Isolation,VLAN's,Firewall,DoT,Vanilla
Netgear R9000 --DD-WRT 48886 Gateway,DNS,AD-Block,AP Isolation,Firewall,Forced DNS,DoT,2,4Ghz only,Vanilla
Broadcom
Netgear R7000 ---DD-WRT 48886 Gateway,DNS,AD-Block,Firewall,Forced DNS,VLAN's,DoT,VPN
------------------------------------------------------
Stubby for DNS over TLS I DNSCrypt v2 by mac913
slowmotionscene
DD-WRT User


Joined: 03 Oct 2014
Posts: 244

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: 12476
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)?
_________________
Official Forum Rules, Guidelines & Helpful InformationFirmware FAQInstallation WikiWhere Do I Download Firmware‽
DON'T use Chromium-based browsersRTFM/STFW TL;DR is NOT an excuse. • Why Should I Care What Color the Bikeshed Is‽
Please DO NOT PM me with questions; Ask in the forum. ---------------------- 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: 244

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: 244

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: 244

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: 244

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: 12476
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.

_________________
Official Forum Rules, Guidelines & Helpful InformationFirmware FAQInstallation WikiWhere Do I Download Firmware‽
DON'T use Chromium-based browsersRTFM/STFW TL;DR is NOT an excuse. • Why Should I Care What Color the Bikeshed Is‽
Please DO NOT PM me with questions; Ask in the forum. ---------------------- Linux User #377467 counter.li.org / linuxcounter.net
slowmotionscene
DD-WRT User


Joined: 03 Oct 2014
Posts: 244

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