DD WRT Syslog and DHCP

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
ob2s
DD-WRT Novice


Joined: 04 Dec 2012
Posts: 16

PostPosted: Tue Jun 02, 2020 21:04    Post subject: DD WRT Syslog and DHCP Reply with quote
Before I set up a syslog server, the only reason I wish to do this is to be able to grep the syslog for events where the router (mine linksys e3000) hands a device an ip address via DHCP. I looked for sample messages by searching but I didn't find anything.

edit: searched further and it seems both possible and not possible based on what I found, the possible one involves dnsmasq and dhcp scripting which is certainly over my head.
Sponsor
SurprisedItWorks
DD-WRT Guru


Joined: 04 Aug 2018
Posts: 1447
Location: Appalachian mountains, USA

PostPosted: Wed Jun 03, 2020 15:34    Post subject: Reply with quote
Perhaps it's time for a new build. Recent builds are logging lots of DHCP events in the syslog that older builds omitted.
_________________
2x Netgear XR500 and 3x Linksys WRT1900ACSv2 on 53544: VLANs, VAPs, NAS, station mode, OpenVPN client (AirVPN), wireguard server (AirVPN port forward) and clients (AzireVPN, AirVPN, private), 3 DNSCrypt providers via VPN.
kernel-panic69
DD-WRT Guru


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

PostPosted: Wed Jun 03, 2020 16:23    Post subject: Reply with quote
You won't see dhcp logging on an E3000. It doesn't have enough hardware memory. My E4200v1 doesn't have any logging last I checked. I wasn't going to comment since the information is already posted in the forum...
_________________
"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
ob2s
DD-WRT Novice


Joined: 04 Dec 2012
Posts: 16

PostPosted: Thu Jun 04, 2020 5:01    Post subject: Reply with quote
Thanks for the replies. I lucked out, since I use a Unifi Access Point for Wifi. It has config for a remote syslog server and sends exactly "MACAddress associated" "MACAddress disassociated". Now I can detect those pesky not pingable/arp-able iphones leaving and arriving home.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions 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 can attach files in this forum
You can download files in this forum