Questions tagged [mac-address]

The MAC address is the network address of an interface at data link layer in IEEE 802 networks such as ethernet.

Filter by
Sorted by
Tagged with
0
votes
0answers
8 views

Specify SSID for option wifi.cloned-mac-address=random in NetworkManager

As from title, how to set an specify ssid for option wifi.cloned-mac-address in NetworkManager.con for ignore? Thanks
0
votes
0answers
39 views

Detecting IP/MAC spoofing using iptables

Is there any way to detect IP or MAC address spoofing with iptables?
0
votes
0answers
28 views

Unable to connect via SSH to when eth0 is disconnected

I've seen a few similar questions, to this one, but have not found a solution. I'm working on a Raspberry Pi and wiring up a second Ethernet port (ultimately it will be the only port on a Pi Zero, ...
0
votes
1answer
80 views

Read MAC using Buildroot 20.20 NVMEM_IMX_OCOTP on i.MX7s

We are migrating from Buildroot 2018.02.9 (linux-4.14.85) to Buildroot 2020.02.2 (linux-5.4.40), and have found that we can no longer read the MAC address on an I.MX7s SoC. The following indicates why:...
0
votes
0answers
33 views

Proxy ARP/SNAT MAC address with ebtables to openvswitch bridge

I have a public infrastructure hosted VM with nested virtualization working and have created a single vyos guest assigned to a public IP address I have assigned. The provider has port security enabled ...
18
votes
7answers
2k views

Find the IP address of a newly-booted Raspberry Pi

I've attached a Raspberry Pi running Ubuntu to my home network with a cable. It is booted up and connected to the network. The Pi has no keyboard, mouse, or monitor. If I know the IP address that was ...
1
vote
1answer
37 views

How to find where zoom is getting MAC

It looks like based on stdout output after running a malicious app called zoom, that it gathers the currently used MAC Address. I am looking to block this functionality via AppArmor, however I cant ...
0
votes
1answer
190 views

Changing of MAC Address with Network Manager on Debian 10

Looking at syslog files on Debian 10 form a previous session I have noticed a MAC Address change and I do not know why it is happening. Any ideas on how to stop this? Jun 8 15:43:46 NetworkManager[...
1
vote
1answer
169 views

mac address of usb ethernet device changes each time on reboot on raspberry pi 3b running raspbian

Mac address of embedded usb ethernet device (smsc95xx driver) is being changed on each reboot - its happening despite adding to the /boot/cmdline.txt smsc95xx.macaddr=00:11:22:33:45:67 - I know that ...
0
votes
1answer
150 views

Does a DHCP server assign MAC addresses to network computers?

I have been working on basic Linux network configuration. I am aware that IP addresses, default gateways, subnetmasks etc are assigned by a DHCP server but am unsure if MAC addresses are assigned by ...
0
votes
1answer
61 views

How can I change the mac address on a Linux 3.3.8 device without macchanger?

I'm trying to permanently modify my MAC address on a device running Linux 3.3.8 I cannot get macchanger to install either. When I try it with ifconfig eth0 hw ether I get ifconfig: SIOCSIFHWADDR:...
0
votes
0answers
107 views

systemd: assignment of br0 MAC address and change of MAC during runtime

I got system, where br0 bridge interface is instantiated using systemd bridge.netdev file, then two physical network interfaces are assigned to that br0 bridge. Is there a way how I can assign MAC ...
1
vote
1answer
351 views

Macchanger works until connecting to network in Debian 10 [duplicate]

I’ve been trying to test out my MAC spoofing abilities on my home network using Macchanger. When not connected to WiFi, it works just fine. I can bring the interface down using ifconfig, change the ...
4
votes
1answer
129 views

SSH with MAC based filtering using iptables - recommended?

I have a server in an internal network (login there via VPN) from where I login to the server via SSH with OpenSSH public/private key authentication. From a security point of view, I want to tie the ...
0
votes
2answers
20 views

Can I remotely connect my office system “PC-A” to another neighbouring office system “PC-B” through mac address?

System description I have two Ubuntu (Mate-flavour) systems in my office "PC-A" and "PC-B". previously(4 days ago) I was able to remotely connect both the PC from home. both are connected with the ...
0
votes
1answer
276 views

Changing `iptables` rules by `MAC` address

I'm using a gateway connected to VPN to do forwarding with the port of an industrial LAN element. I use iptables forwarding to access port 80/443 of my gateway in the browser to show me the contents ...
0
votes
0answers
22 views

Pinging default gateway on a Linux virtual machine

I have two question about the network. I started to ping my router from my Linux virtual machine and I have intercepted these ICMP frames. I noticed that the destination MAC address is not my router ...
0
votes
1answer
25 views

Upgrading stretch to buster interface MAC issues

After upgrading Debian from stretch to buster I am encountering weird behaviour of the ethernet interface. This installation runs on a Hyper-V host. After rebooting, the mac address reported by the ...
0
votes
1answer
201 views

How to change eth0 MAC address only using a text editor?

I am running OpenWrt (=Busybox per SSH) so my amount of binaries is limited. I would like to change my MAC address only using a text editor like nano.
2
votes
2answers
105 views

Is it necessary to down/up interface during MAC address change?

I'm using SuSE 12.2 with custom kernel 4.4.21 (minor changes related to real time environment). Is it really necessary to down/up the interface during the MAC address change? What I observed is that ...
-1
votes
1answer
119 views

Attempting to use airmon-ng returns error

So im trying to use airmon-ng so i can get some mac addresses and deauth them 'with permission, ofc' im on Nethunter and airmon returns this ls: cannot access '/sys/class/net': No such file or ...
0
votes
3answers
629 views

bash script to get MAC address and paste it to ifconfig file after HWADDR

Is there a way to get the MAC address from ifconfig and append after HWADDR in ifconfig-eth0 file? I have used awk command to show MAC address but couldn't figure it out to hold that information and ...
0
votes
1answer
326 views

getting MAC address of system: eth0 vs PredictableNetworkInterfaceNames

I wrote some C code having a rudimentary software licensing function within, where the executable will only run if the MAC address of the system I whitelisted in my C code. I only want this to work ...
1
vote
1answer
217 views

Host key verification failed after changing MAC address

I changed my MAC address, I believe using sudo ip link set dev interface address XX:XX:XX:XX:XX:XX, in order to be assigned a new local IP address to fix some network issues I was having. This worked ...
0
votes
1answer
1k views

Read a json file and run a command in Bash

I wanna block a mac address which downloaded value is over "20480": The json file: { "client_length": 3, "clients": { "ac:07:5f:77:40:e9": { "id": 1, "ip": "192.168.5.40", ...
0
votes
0answers
192 views

setting/using MAC that is multicast and local

is it possible to set a MAC address using ifconfig where it has a 11 in the least significant bits of the first octet? For testing I want to do ifconfig em1 hw ether 13ffffffffff using 12ffffffffff ...
-1
votes
1answer
181 views

DHCP lease table in router shows weird entries when connected to Linux server

I have a domestic server where a MitraStar ADSL router is connected to a bunch of mobile devices plus two desktop machines (one Linux and one Windows) connected by Ethernet cables. IP address 192.168....
0
votes
0answers
119 views

systemd macchanger start job hanging

I am running Arch Linux and I have set up systemd to change my MAC address on startup with macchanger # /etc/systemd/system/macspoof@.service [Unit] Description=macchanger on %I Wants=network-pre....
6
votes
3answers
418 views

Replace MAC address with UUID

I am looking for a way to mask the client MAC address every time it appears in a logfile before using the logfile to present data to a customer (GDPR rules). I can identify the MAC string using regex,...
1
vote
0answers
198 views

Identifying physical network devices using /sys/class/net/<iface>

I wanted to know if there is a way to differentiate physical and virtual network devices. ip a doesn't have an option. So I am trying /sys/class/net/<iface>. There are 2 attributes ...
1
vote
0answers
134 views

Why do kernel updates on Manjaro change my network MAC address?

I've configured NAS access based on client IP address. It's now the third time that I've updated the kernel on my Manjaro installation, and each time I get booted off the NAS. Why? Because my ...
0
votes
1answer
356 views

Macchanger not working automatically

So I installed macchanger and it works manually, but I also set it up in the installation to automatically change the MAC address when a network change is detected in a device and it does not work at ...
0
votes
1answer
323 views

DHCPD with two different ranges

I have set up a DHCPD service on a Linux server, which shall provide fixed public IP addresses for cable modem devices based on MAC addresses. Here is the configuration file of the DHCPD. The server'...
1
vote
1answer
150 views

How do I add this field?

I'm trying to print the signal strength of two wifi devices connected to a hotspot. I manage to do this script that prints the ip, hostname, mac and signal. In the script below the macs are stored in $...
1
vote
2answers
894 views

Hetzner reported not allowed MAC addresses in subnet

We had email from Hetzner network team asking us not to use MAC addresses belonging to the Virtual Machines belonging to the subnet. We configured Xen server host as a router using this guide. After ...
-2
votes
2answers
3k views

Does `ifconfig` show the MAC address of a network interface following `ether`?

Does ifconfig show the MAC address of a network interface following ether? Does ether mean ethernet? How does it mean Mac address? virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ...
0
votes
1answer
1k views

Does `lo` have no MAC address?

From https://networkengineering.stackexchange.com/questions/57935/is-a-network-interface-supposed-to-have-no-more-than-one-mac-address/57937?noredirect=1#comment100988_57937 A network interface in ...
1
vote
1answer
1k views

Systemd - Set MAC address and IP address

I am trying to use systemd to set the MAC address and IP address of eth1 on my board. MAC address To set the MAC address, have created the following service: /lib/systemd/system/eth1mac.service [...
0
votes
1answer
808 views

Altering eth1 MAC address [duplicate]

I need to alter the MAC address for eth1 ethernet device on my embedded system permanently so it retains this MAC address on every boot. The OS I'm using: VERSION_ID="v2015.12" NAME="Angstrom" ID="...
2
votes
0answers
1k views

NetworkManager fails to connect with a cloned MAC address

I need to spoof a specific MAC address to be able to connect to the local ethernet. So I filled in the "Cloned MAC address" field in nm-connection-editor. After this, nm-applet shows a spinning icon ...
0
votes
1answer
292 views

Perl script for generating MAC addresses

This perl line very useful to change mac address but retain the first three pair. perl -e 'for ($i=00;$i<6;$i++){@m[$i]=int(rand(256));} printf "00:16:3E:%X:%X:%X\n",@m;' Generate some good ...
1
vote
0answers
441 views

automatic mac address randomization on up-to-date Debian 9.5 with 4.18-amd64, Intel wifi 7260, NetworkManager, KDE/Networks fails?

I am trying to have a random mac address by default before I connect to any network. My results are ambiguous. 1. My approach 1.1) updated my box to the latest backported Debian 9.5 (as of 23 Oct, ...
0
votes
2answers
31 views

link MAC adresses and port IDs

I have text file which include MAC address and its relevant ports, these were ordered in a way where the MAC address matches the single number of the same line numbers, in other words MAC address on ...
1
vote
0answers
51 views

MAC/IP binding doesn't work

I use Centos-7 server for assigning MAC/IP. But some times users get other IP addresses. My dhcpd.conf authoritative; subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.10 192.168.1.254;...
0
votes
1answer
87 views

Virtual Machine MAC Address or Host Operating System MAC Address?

Let's say I'm browsing from Ubuntu Virtual Machine using Firefox. IF the website I am visiting can see the MAC Address, which MAC address will it see? Is MAC Address of Ubuntu VM or MAC Address of ...
1
vote
3answers
2k views

NMAP network scan shows IP-addresses and MAC addresses of items that are then missing from a subsequent arp-cache dump?

The logic I have is this get the definition of the subnet use nmap to scan every item in the subnet to populate the arp cache use the /usr/sbin/arp tool to dump the arp cache parse the arp-cache to ...
0
votes
0answers
645 views

How many mac addresses for a bridge?

I have a bridge set up on a Ubuntu box using two ethernet devices. It seems to work, but I am trying to understand some network traffic, and why these show up in my dhcp client list (/var/lib/dhcp/ is ...
1
vote
1answer
652 views

how to show only mac address on virtualbox

I'm trying to know a way to show only MAC address from every NIC I have on any running virtual machine: So far I have this: ipcopv2 ----------------------------------------------- Groups: /...
5
votes
1answer
2k views

FreeBSD static ARP entry when link cycles

we are trying to add a static ARP entry to a FreeBSD system. This works well with, for example, arp -S 172.16.16.9 11:54:33:A8:B2:6B . We have added this to a startup script to survive a reboot. ...
0
votes
8answers
958 views

How to pipe & convert the first field from decimal to hex

I've got the following onscreen output 170.170.170.0.156.96 24 that I would like to pipe & convert to the following format b8:27:eb:ef:3b:4a 24 in essence it is a decimal to hex conversion of ...