Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #227975

WiFi adapter MAC address spoofing

From Xianwen Chen (陈贤文) <xianwen.chen@gmail.com>
Newsgroups linux.debian.user
Subject WiFi adapter MAC address spoofing
Date 2020-10-19 15:30 +0200
Message-ID <B1DoB-4n5-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi, 

I would like to set a permanent MAC address spoofing for both the
Ethernet and the Wife adapters. 

I set the following in /etc/network/interfaces: 

################################################# 

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5). 

source /etc/network/interfaces.d/* 

# The loopback network interface
auto lo
iface lo inet loopback 

# Change the ethernet's MAC address
auto enp0s31f6
iface enp0s31f6 inet manual
hwaddress ether 0a:eb:71:c8:c8:2b 

# Change the wifie adapter's MAC address
allow-hotplug wlp2s0
iface wlp2s0 inet manual
hwaddress ether 53:c0:43:08:2b:cc 

################################################# 

After rebooting, I run "ip addr" to check MAC addresses. The Ethernet's
MAC address is changed, but not the WiFi adapter. 

I also tried to set "allow-hotplug wlp2s0" to "auto wlp2s0". But then
systemd (?) reported a problem with bring up networking. 

Yours sincerely, 

Xianwen

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

WiFi adapter MAC address spoofing Xianwen Chen (陈贤文)  <xianwen.chen@gmail.com> - 2020-10-19 15:30 +0200
  Re: WiFi adapter MAC address spoofing Charles Curley <charlescurley@charlescurley.com> - 2020-10-19 16:20 +0200
    Re: WiFi adapter MAC address spoofing Xianwen Chen (陈贤文)  <xianwen.chen@gmail.com> - 2020-10-19 21:20 +0200

csiph-web