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
-1
votes
1answer
17 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
90 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
45 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 ...
0
votes
0answers
37 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
0answers
18 views

ntuple not working for multicast MAC address

Setup: Two peer-to-peer PCs installed with Debian 10.2 I am running an application in a PC which continuously transmit Ethernet packets to a multicast MAC address (01:00:5E:7F:00:02). In the second ...
0
votes
1answer
116 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
43 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
78 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
58 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
213 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,...
0
votes
0answers
97 views

Alternative of /sys/class/net/<iface>/addr_assign_type in older Kernel version

I have a scenario where I need to find out only physical MAC addresses (excluding virtual MAC addresses of docker container, AWS virtual MAC addresses, or any other virtual MAC address). To do this, ...
1
vote
0answers
79 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
85 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
108 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
87 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
99 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 $...
0
votes
2answers
607 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 ...
0
votes
0answers
122 views

Policy Based Routing with multiple outbound gateways based on source MAC

I'm implementing a central pool of servers to handle "over capacity" error messages in a legacy network, and I'm under the impression that I need to do some tricky policy based routing with ...
-3
votes
2answers
814 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 ...
-1
votes
1answer
288 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 ...
0
votes
1answer
744 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
470 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
746 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
179 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 ...
2
votes
0answers
290 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
40 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
69 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
1k 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
462 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 ...
0
votes
1answer
297 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
1k 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
623 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 ...
1
vote
2answers
803 views

How to assign static ip to devices connecting over wifi using Network Manager?

I have several devices connected to my wifi, and I need to assign them a static ip address, but NetworkManager gives them sometimes different ip addresses. I tried adding a file in /etc/network/if-up....
0
votes
0answers
518 views

Can I use WPA_Supplicant to hardcode a specific MAC address?

I'm trying to use a raspberry pi as an HTTP server from my home network. I have to do this via a USB wireless adapter instead of CAT5 for a number of reasons that I won't get into. Problem is, I can'...
1
vote
1answer
150 views

How to find the MAC address of devices in network path when I do a tracerout?

Scenario: I am doing traceroute (or any path trace program) from sydney-server1 to london-server2. I can see the route its going with device name and IP address. Is there anyway, I can get those ...
1
vote
0answers
60 views

Are virtual devices in Linux ever assigned duplicate MACs (actually duplicate IPv6 link-local addresses)?

I'm creating a completely virtual network between different network namespaces on the same host. I'm going to be telling programs to use IPv6 link-local addresses for networking. One problem I ...
1
vote
0answers
85 views

Reception of Frames with Destination MAC ALL ZERO

We are trying to implement GOOSE message (a multicast message, Generic Object Oriented Substation Event, part of IEC61850 protocol standard) subscription Module. In almost all cases, we are able to ...
9
votes
2answers
14k views

How to stop MAC address from changing after disconnecting?

so i change my MAC address with macchanger -A wlp68s0b1 at boot with crontab, here is what happens when i disconnect and reconnect : while connecting after boot : rahman@debian:~$ macchanger -s ...
0
votes
2answers
902 views

How to avoid mac-adress spoofing auto reset on connecting

Everytime I spoof my mac-adress on Ubuntu using different approaches including macchanger it auto resets as soon as I actually try to reconnect to the network. This is what my problem looks like: ...
1
vote
2answers
357 views

Configure Broadcast domain in Linux

In Linux, how can I see all MAC addresses present in a broadcast domain, and how can I configure a broadcast domain?
-2
votes
1answer
529 views

How to check mac address of the cable? [closed]

For example I have a cable with an Internet connection, but I don't know the mac address of this connection. When I plug it to my laptop, it doesn't work. How could I get it from a command-line? UPD: ...
-1
votes
2answers
278 views

Change MAC address immediately after system activation

I have few computers each with same ethernet MAC address. I want to change ethernet MAC address on each computer as soon as network card is detected so I do not have any conflicts in the network. My ...
1
vote
0answers
41 views

How can I find the chipset of my Arduino board?

I've recently purchased an Arduino Pro Micro, which I am using as a BadUSB for experimental purposes. On Hak5, they spoofed the MAC Address of a USB Rubber Ducky to look like an Apple device (Hak5 ...
9
votes
3answers
35k views

Change Mac Address permanently inside /etc/network/interfaces

QUESTION: How might I be able to specifically change the Mac Address of the enp3s0 and wlp2s0 interfaces through the /etc/network/interfaces file? What code would I have to include inside? I have ...
0
votes
1answer
118 views

macchanger working then stopping

When I run the following code: sudo ifconfig xxxx down sudo macchanger -r xxxx sudo ifconfig xxxx up I do see a change in the mac address when doing the command ifconfig. However after a certain ...
2
votes
2answers
1k views

Cannot connect to internet after changing MAC Address

I've been making a BASh script that changes your MAC Address to that of any manufacturer of your choice from a list. At the last part of the script that is run, it stops before finishing. Here is the ...
2
votes
2answers
72 views

Why is my IP address changing every time I flash a new rootfs?

I'm working on a Raspberry Pi 3 system and building my own rootfs using Buildroot. At first, I was using BusyBox as the init system and when configuring the on-board wifi card using wpa_supplicant, ...
3
votes
2answers
2k views

samsung S7 android fails to tether and not setting up network configuration

Connect your Samsung S7 via usb to your favorite linux machine. Goto 'Settings -> Connections -> mobile hotspot and Tethering' and enable "USB tethering". Android will now enable tethering with the ...
0
votes
1answer
481 views

Samba share security changes: read-only and IP/MAC restrictions

I have a samba share and I want to make some changes for security. Today everybody can read and write my files. It's not safe. I'd like to do the these things: 1- set up for everybody just read files ...