[Dnsmasq-discuss] Determine wireless SSID

A C dnsmasq6pJH at acarver.net
Wed Jan 23 23:30:06 GMT 2019


The only other method of exporting an SSID is via 802.1X (RADIUS)
authentication mechanisms which contain the SSID in the authentication
exchange.  However, this requires an 802.1X capable access point to
ensure the wireless device stays off the network until the
authentication is complete.

Typically controlling guest networks falls under either VLANs or 802.1X.
 The SSID, being an entirely internal attribute of the access point, is
not something that is routinely exported.  The only exceptions are the
mentioned DHCP Option 82 (assuming the access point supports Option 82
and can be told to include the SSID) or 802.1X/RADIUS (assuming the
access point supports 802.1X).

Typical consumer grade routers will likely not support DHCP Option 82
unless you have replaced the firmware with a custom version (such as
OpenWRT or similar) and modify its configurations to send the data.

On 2019-01-23 14:39, Donald Muller wrote:
> I will check with Netgear to see if can be enabled.
> 
> Is there any other way to determine guest wi-fi DHCP requests vs other DHCP requests?
> 
> From: Luis Kleber <luis.kleber at gmail.com>
> If you can enable "DHCP option 82" on your Netgear Wifi then I think Yes.
> When enabled, look for DHCP packets on dnsmasq server  "tcpdump -i ethx  -nnvvvN port 67"
> 
> Something like this should appear:
> Circuit-ID SubOption 1 :  "Netgear wifi guest ..."
> 
> In dnsmasq config file:
> dhcp-circuitid=set:TEST1,"Netgear wifi guest ..."
> dhcp-range=net:TEST1,192.168.31.171,192.168.31.179,86400s
> dhcp-option=tag:TEST1,3,192.168.31.1
> dhcp-option=tag:TEST1,option:dns-server,8.8.8.8
> 
> 
> 
> Em qua, 23 de jan de 2019 às 17:51, Donald Muller <donmuller22 at outlook.com<mailto:donmuller22 at outlook.com>> escreveu:
> Since no one responded I am assuming this is not possible.
> 
> From: Dnsmasq-discuss <dnsmasq-discuss-bounces at lists.thekelleys.org.uk<mailto:dnsmasq-discuss-bounces at lists.thekelleys.org.uk>> On Behalf Of Donald Muller
> Sent: Friday, January 11, 2019 4:58 PM
> To: dnsmasq-discuss at lists.thekelleys.org.uk<mailto:dnsmasq-discuss at lists.thekelleys.org.uk>
> Subject: [Dnsmasq-discuss] Determine wireless SSID
> 
> This is probably not possible but I thought I would ask.
> 
> Is it possible for DNSMASQ to determine the SSID for a DHCP request? I would like to be able to assign different values for devices using the guest network. DNSMASQ is running on my QNAP NAS while I have a Netgear wireless router providing the wireless connectivity.
> 



More information about the Dnsmasq-discuss mailing list