Tagged Questions

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

learn more… | top users | synonyms

1
vote
4answers
126 views

How to find IP address of device connected on the same network as PC based on MAC id

A PC and embedded Linux device is connected on the same local network.(We don't have DHCP server access, IT admin has the access). We also don't have access to debug UART on the embedded Linux board. ...
7
votes
2answers
362 views

Identical MAC address on two different VM, yet I have internet connectivity

I have set up a network as such: Set up host-only networking on VirtualBox. The first adapter is configured with NAT, the second with host-only networking HOST: Windows GUEST: CentOS VM1, CentOS VM2 ...
0
votes
1answer
21 views

WiFi Connection to ADSL Modem based on MAC

Recently my desktop machine is under attack and someone is leeching my DSL bandwidth. After consultation I find out I can tell my modem to only accept wifi connection according to system MAC address. ...
0
votes
1answer
18 views

How to censor the MAC from a dmesg output?

INPUT: dmesg | grep [0-9][0-9]:[0-9][0-9] f0:de:f1:11:22:33 ... OUTPUT: dmesg | SOMEMAGIC | grep [0-9][0-9]:[0-9][0-9] f0:de:f1:52:22:17 ... How did I get the "52:22:17"? echo 11:22:33 | ...
3
votes
1answer
197 views

Spoof current MAC address to a known address to trick router and register device

I want to connect to a device to the internet, a Roku player, that has its own MAC address. The network that I currently have access to requires that I login using my credentials prior to being ...
5
votes
2answers
157 views

How to use shell to derive an IPv6 address from a MAC address?

We know that we can use the MAC address to create an interface identifier, e.g. for a link-local IPv6 address which should be unique in the Network. The image shows the way to do this: My ...
5
votes
3answers
6k views

Resolving MAC Address from IP Address in Linux

I need to write a bash script wherein I have to create a file which holds the details of IP Addresses of the hosts and their mapping with corresponding MAC Addresses. Is there any possible way with ...
0
votes
0answers
99 views

Connecting BeagleBoard-xm OS Angstrom direct to Laptop ubuntu 12.04

I have BeagleBoard-xm with Angstrom OS. My Laptop's OS is Ubuntu 12.04. I managed to connect Laptop to another Laptop, direct through crossover cable. I wanted to connect BeagleBoard-xm to the ...
0
votes
2answers
171 views

Problem accessing Internet on Linux (kubuntu)

I am new to Linux (in fact just installed it last night). I am setting up my internet. I made a switch from Windows 7 to Linux in order to learn it. On Windows 7 I was accessing the internet by ...
2
votes
2answers
1k views

ethtool get permanent MAC address returns all 0's

I need to read permanent (burned-in) MAC address of network adapter. Since MAC address can be easily spoofed, I need to read the real one which is written on EEPROM. I need to do it using C++ on ...
0
votes
1answer
195 views

How to get switch MAC address if it's a layer2 one?

arp -a doesn't show it. How can I get the MAC of it then? (on ex.: from a Linux)
3
votes
3answers
1k views

Why is delay after ifconfig down needed before up if changing MAC address?

Hi I made bash script to put down my interface, change MAC address and get it up again. #!/bin/bash INTERFACE_STATUS=$( cat /sys/class/net/eth0/operstate ) echo "$INTERFACE_STATUS" if [ ...
10
votes
2answers
4k views

Can one ping a NIC by MAC

I have an NIC card on a Debian machine somewhere. The machine is turned off, but I need to know whether the NIC card is turned on so that I can send a wake-on-lan magic packet later (from another ...
2
votes
0answers
295 views

Failed to execute shell script from “network” udev rule to change the MAC-address

I am trying to execute a shell script from udev rule, when a network interface is added, as follows: SUBSYSTEM=="net", ACTION=="add", KERNEL=="eth*", PROGRAM="/usr/local/bin/changemac.sh", ...
4
votes
2answers
1k views

Set MAC address to default

Sometimes I need to spoof MAC address, I'm doing so with this command: ip link set dev eth0 address XX:XX:XX:XX:XX:XX Is there a way how to set MAC address back to default without reboot?
4
votes
3answers
1k views

Any way to list wireless clients in range

I'm looking to see whether it's possible to implement a staff 'in office/out of office' facility by tracking the active wifi (phones/tablets/laptops) in the building. Is it possible to return a list ...
1
vote
1answer
1k views

UUID based on global MAC address

I used the uuid command from the uuid-1.6.2-8.fc17.x86_64 package to generate version 1 UUIDs. The man page said that the default is to use the real MAC address of the host, but when I decoded the ...
3
votes
2answers
862 views

Is there a way to find the mac address of a remote machine I have connected to with ssh?

I have machine at the office which is shut off I was hoping to turn it on from home using wake on lan. Reading about this, I have realized that I need the MAC address of the machine. Is there a way to ...
3
votes
0answers
282 views

MAC OS X lion mac address spoofing problem

I have to change the MAC address of my Macbook due to ISP issues. I changed it using: sudo ifconfig en1 ether my_new_mac_address And it is changed successfully when I check it through: ifconfig ...
2
votes
1answer
896 views

macchanger: Too many open files in system

I'm having a problem with macchanger. Whenever I try to run the command macchanger -r eth1, I get the following error: ERROR: Can't change MAC: interface up or not permission: Too many open files in ...
3
votes
4answers
5k views

Make some virtual MAC address

I want to make some virtual MAC addresses for my network adapter or wireless adapter, so I can connect to network with more than one IP address from one computer or laptop. How can I do it? (I know ...
2
votes
1answer
630 views

static ip to a freebsd server

I have Comcast cable <====> modem <===> router <===> freebsd server My freebsd server is connected to wireless router via a network cable. What I want to do is, to have a static ...
6
votes
3answers
1k views

Print mac address to file

With a bash script, can I read the mac address of my eth0 and print it to a file?