From 561f2901e4c547b0bd95e5eb08ea11bfc981f870 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Mon, 21 Jun 2021 15:29:19 +0200 Subject: use macchanger for the wireless instead of wpa_supplicant --- my-x200.confd | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) (limited to 'my-x200.confd') diff --git a/my-x200.confd b/my-x200.confd index ae9606e..0080db2 100644 --- a/my-x200.confd +++ b/my-x200.confd @@ -30,21 +30,39 @@ PWMFREQ_RATE="0x8bb7b16dc5b6a" # IMPORTANT NOTICE: As dhcpcd uses ANY ONE network interface that is # connected to the DHCP device to generate the DIUD-LLT file, the -# wireless interface MUST have its MAC address spoofed as well. To -# make wpa_supplicant handle this, add the following lines in +# wireless interface MUST have its MAC address spoofed as well. + +# To have wpa_supplicant handle this, add the following lines in # /etc/wpa_supplicant/wpa_supplicant.conf: +# # ctrl_interface=DIR=/run/wpa_supplicant GROUP=netdev # update_config=1 # mac_addr=1 # preassoc_mac_addr=1 +# +# Alternatively, supply the actual wireless interface name as value of +# the variable 'wireless_interface' below. # Finally, it is advisable to set the hostname to "localhost" and have # "hostname_short" in /etc/dhcpcd.conf so that the actual hostname of # the machine should not be sent to the DHCP server. -enable_privacy="false" # either 'true' or 'false' -wired_interface="" # supply the actual interface name! In case of - # doubt, see the output of 'ls /sys/class/net/' +enable_privacy="false" # either 'true' or 'false' + +# If not set below, the MAC address of the wired interface will not be +# spoofed. +wired_interface="" # supply the actual interface name! In case of + # doubt, see the output of 'ls /sys/class/net/' + +# If not set below, the MAC address of the wireless interface will not +# be spoofed, unless the spoofing is handled by wpa_supplicant as +# described above. +wireless_interface="" # supply the actual interface name! In case of + # doubt, see the output of 'ls /sys/class/net/' + +# macchanger options: +macchanger_options="-r" # this sets a fully random MAC. Adapt. (Read + # `man macchanger` on how to do this.) ################## # Backup options # -- cgit v1.2.3