Sponsored Content
Full Discussion: Cannot change mac address
Special Forums IP Networking Cannot change mac address Post 302908962 by arpagon on Saturday 12th of July 2014 06:23:23 AM
Old 07-12-2014
Signal Cannot change mac address

ubuntu / xubuntu 13.10 and 14.04 (this issue should exist in debian as well)

I use wifi to connect to internet. I would like to change the wifi card mac address before connecting. Let's call the original mac address, macA, and the new mac address, macB.
I do the following:

Code:
ifconfig wlan0 down && ifconfig wlan0 hw ether <macB> && ifconfig wlan0 up

then I check the new mac out:
Code:
watch -n 1 'ifconfig wlan0 | grep HW'

It works: macB appears

as long as I stay without trying to connect to internet, macB stays in place.
as soon as I try to connect to internet, the system gets back to macA instantaneously

So I disabled networking in Network Manager, and erased all existing connections. I performed the above operation, and enabled networking again in Network Manager, the issue remains

I have also tried:
Code:
ifconfig wlan0 down && ip link set wlan0 address <macB> && ifocnfig wlan0 up

I have also tried to put
Code:
'sudo service networking stop'

(which should be the same as disabling networking from Netwok Manager)., do all this, and start networking service again but the issue remains.

I absolutely need to understand what's happening in the system;

Even if you do not have the answer, please give me some leads I can dig in.

Thanx in advance folks!

---------- Post updated at 08:23 AM ---------- Previous update was at 08:20 AM ----------

just one more thing:

I used macchanger (which exists in ubuntu/xubuntu universe repositories) and have the exact same issue.

I asked the author a feedback regarding this issue but no answer so far.
 

10 More Discussions You Might Find Interesting

1. Programming

Get Mac Address

:( Hi I am trying to get Mac address of of my Sun server from my C program running on the host machine. Any suggestions . (1 Reply)
Discussion started by: ss_hpov
1 Replies

2. UNIX for Dummies Questions & Answers

Mac address

Hi Can some one help me How do find out Mac address in Tru64 Unix Thank you (1 Reply)
Discussion started by: Syed_45
1 Replies

3. IP Networking

How to Achive IP address through MAC(Ethernet) address

Hi sir, i want to make such programe which takes MAC(Ethernet) address of any host & give me its IP address....... but i'm nt getting that how i can pass the MAC address to Frame........ Please give me an idea for making such program... Thanks & regards Krishna (3 Replies)
Discussion started by: krishnacins
3 Replies

4. Solaris

Host ID vs MAC Address

Hi, I've got a Sun Solaris machine with host ID (840f8e57) and MAC address (0:14:4f:f:8e:57), how do I: 1. Write the MAC address in standard (IEEE 802) format, i.e. xx-xx-xx-xx-xx-xx? Do I need to add 0's before or after the 'f', i.e. 00-14-4f-0f-8e-57 or 00-14-4f-f0-8e-57? 2. What is... (4 Replies)
Discussion started by: TheBlueSky
4 Replies

5. Solaris

Get ip address from mac address

I have following message in my messages file on solaris 10 WARNING: e1000g3712000:3 has duplicate address 010.022.196.011 (in use by 00:50:56:85:25:ef); disabled Now is there any way i can find which server has 00:50:56:85:25:ef mac address either IP or Hostname ? (6 Replies)
Discussion started by: fugitive
6 Replies

6. Cybersecurity

MAC Address spoofing

There is a question in the SCO section asking for information on how to change the MAC address of a NIC. Is there a valid reason for wanting to change the MAC address? (1 Reply)
Discussion started by: jgt
1 Replies

7. SCO

MAC address

hi every one please help i want to change mac address in sco unix 5.0.6 how can i do this (3 Replies)
Discussion started by: kaydream
3 Replies

8. IP Networking

Tracing a MAC address to IP address: Solaris

Hi there I lost connectivity to one of our remote systems and when I checked the messages log I found the following: Aug 10 23:42:34 host xntpd: time reset (step) 1.681729 s Aug 16 13:20:51 host ip: WARNING: node "mac address" is using our IP address x.x.x.x on aggr1 Aug 16 13:20:51 host... (9 Replies)
Discussion started by: notreallyhere
9 Replies

9. Programming

[C] Change IP and MAC address

Hello, I need to write a program using C language which allow me to change the IP and MAC addresses of a given interface... Now I fork the process and by exec I'm using the "ifconfig interf X.X.X.X" command... but i can't use this solution because i have to avoid the context switch... Can someone... (4 Replies)
Discussion started by: gilby985
4 Replies

10. IP Networking

MAC Address - Four Interfaces with the same MAC Address

four interfaces with ifconfig all interfaces have the same mac. If is not set for unique. but it still works. what difference does it make to have all macs the same or different? (4 Replies)
Discussion started by: rrodgers
4 Replies
MWL(4)							   BSD Kernel Interfaces Manual 						    MWL(4)

NAME
mwl -- Marvell 88W8363 IEEE 802.11n wireless network driver SYNOPSIS
To compile this driver into the kernel, place the following lines in your kernel configuration file: device mwl device mwlfw device wlan device firmware Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): if_mwl_load="YES" DESCRIPTION
The mwl driver provides support for IEEE 802.11n wireless network adapters based on Marvell 88W8363 parts. PCI and/or CardBus interfaces are supported. This driver requires the firmware built with the mwlfw module to work. Normally this module is loaded on demand by the driver but it may also be compiled into the kernel. Supported features include 802.11n, power management, BSS, MBSS, and host-based access point operation modes. All host/device interaction is via DMA. The mwl driver encapsulates IP and ARP traffic as 802.11 frames, however it can receive either 802.11 or 802.3 frames. Devices support 802.11n, 802.11a, 802.11g, and 802.11b operation with transmit speeds appropriate to each. The actual transmit speed used is dependent on signal quality and the ``rate control'' algorithm implemented in the firmware. All chips have hardware support for WEP, AES-CCM, TKIP, and Michael cryptographic operations. The driver supports station, hostap, mesh, and wds mode operation. Multiple hostap virtual interfaces may be configured for simultaneous use. When multiple interfaces are configured each may have a separate mac address that is formed by setting the U/L bits in the mac address assigned to the underlying device. Any number of wds virtual interfaces may be configured together with hostap interfaces. Multiple station interfaces may be operated together with hostap interfaces to construct a wireless repeater device. For more information on configuring this device, see ifconfig(8). Devices supported by the mwl driver come in either Cardbus or mini-PCI packages. Wireless cards in Cardbus slots may be inserted and ejected on the fly. EXAMPLES
Join an existing BSS network (ie: connect to an access point): ifconfig wlan create wlandev mwl0 inet 192.168.0.20 netmask 0xffffff00" Join a specific BSS network with network name ``my_net'': ifconfig wlan create wlandev mwl0 inet 192.168.0.20 netmask 0xffffff00 ssid my_net" Join a specific BSS network with WEP encryption: ifconfig wlan0 create wlandev mwl0 ifconfig wlan0 inet 192.168.0.20 netmask 0xffffff00 ssid my_net wepmode on wepkey 0x8736639624 Create an 802.11g host-based access point: ifconfig wlan0 create wlandev mwl0 wlanmode hostap ifconfig wlan0 inet 192.168.0.10 netmask 0xffffff00 ssid my_ap mode 11g Create an 802.11a mesh station: ifconfig wlan0 create wlandev mwl0 wlanmode mesh ifconfig wlan0 meshid my_mesh mode 11a inet 192.168.0.10/24 Create two virtual 802.11a host-based access points, one with WEP enabled and one with no security, and bridge them to the fxp0 (wired) device: ifconfig wlan0 create wlandev mwl0 wlanmode hostap ssid paying-customers wepmode on wepkey 0x1234567890 mode 11a up ifconfig wlan1 create wlandev mwl0 wlanmode hostap bssid ssid freeloaders up ifconfig bridge0 create addm wlan0 addm wlan1 addm fxp0 up DIAGNOSTICS
mwl%d: unable to setup builtin firmware There was a problem downloading and/or setting up the firmware. The device is not usable. mwl%d: failed to setup descriptors: %d There was a problem setting up the DMA data structures. This typically is caused by not being able to allocate contiguous memory. mwl%d: transmit timeout A frame dispatched to the hardware for transmission did not complete in time. This should not happen. mwl%d: device not present A cardbus device was ejected while active; the request to the firmware was not completed. SEE ALSO
cardbus(4), intro(4), mwlfw(4), pci(4), wlan(4), wlan_ccmp(4), wlan_tkip(4), wlan_wep(4), wlan_xauth(4), hostapd(8), ifconfig(8), wpa_supplicant(8) HISTORY
The mwl device driver first appeared in FreeBSD 8.0. BUGS
The driver does not support power-save operation in station mode; consequently power use is suboptimal (e.g. on a laptop). BSD
July 8, 2009 BSD
All times are GMT -4. The time now is 10:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy