Removing NetworkManager is not necessary. However, I still think the bug
is NetworkManager. The MAC address cannot be changed while the interface
is up. The MAC address can be manually changed while NetworkManager is
running by disabling wireless in NetworkManager, and using a command
like the following to change the MAC address, before bringing wireless
back up and connecting:
ip link set dev "${interface}" address "${macaddr}"
I'm not sure if the kernel previously allowed MAC addresses to change
while the interface was up, or if NetworkManager previously brought
interfaces down, but either way, I think it's NetworkManager's
responsibility to bring the interface down before attempting a change in
the MAC address.
The reason seandepagnier's removal of NetworkManager works is because
the interfaces are down by default when a daemon like NetworkManager is
not active, so the MAC address changed with no problem.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1320752
Title:
MAC Spoofing / Cloning for WiFi is broken in Trusty 14.04 / 14.10 and
all others including Mint 17
Status in network-manager package in Ubuntu:
Confirmed
Status in wpasupplicant package in Ubuntu:
Confirmed
Bug description:
**SHORT OVERVIEW**
"Cloned MAC Address" feature doesn't work with any USB WiFi adapters
in 14.04, 14.10, Mint 17 and likely all others based on Ubuntu.
It worked under 13.10 and was broken from day one in 14.04+.
This is not an upgrade issue, i did a clean install to test.
Atheros, Realtek, Ralink adapters tested, this has nothing to do with the
driver type.
The only symptoms are WiFi not connecting and the following dmesg
output:
[ 214.296350] wlan0: authenticate with 98:fc:11:f2:f7:43
[ 214.305098] wlan0: send auth to 98:fc:11:f2:f7:43 (try 1/3)
[ 214.307421] wlan0: authenticated
[ 219.367559] wlan0: deauthenticating from 98:fc:11:f2:f7:43 by local choice
(reason=3)
------------------------------------------------------------------------
**TEMP SOLUTION***
This bug is caused by wpasupplicant (2.1-0ubuntu1.1) in Trusty,
network-manager is not the culprit.
I quick fix is to downgrade wpasupplicant to the Saucy version,
wpasupplicant (1.0-3ubuntu2). This is relatively easy and doesn't seem
to affect anything else.
------------------------------------------------------------------------
Original bug report info:
after setting the mac to change in networkmanager i try to connect yet it
never will, when looking at the logs it says it got disconnected by local
choice (reason 3), it appeared it was because the mac wasnt effectively changed
but then again i tried to do so disabling network-manager -> macchanger -m ->
enabling network-manager, i checked with ifconfig if the mac has changed and it
did however the result was the same
maybe its because of this
http://people.canonical.com/~ubuntu-security/cve/2013/CVE-2013-4579.html?
**UPDATE**
now works doing the macchanger procedure, directly from network-
manager it doesnt
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ubuntu-release-upgrader-core 1:0.220.2
ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.14.1-0ubuntu3.1
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: KDE
Date: Mon May 19 02:00:41 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-05-06 (12 days ago)
InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Release amd64
(20140416.1)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: release-upgrade
UpgradeStatus: No upgrade log present (probably fresh install)
---
ApportVersion: 2.14.1-0ubuntu3.1
Architecture: amd64
CurrentDesktop: KDE
DistroRelease: Ubuntu 14.04
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-05-06 (13 days ago)
InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Release amd64
(20140416.1)
MachineType: Hewlett-Packard HP Pavilion g7 Notebook PC
NonfreeKernelModules: fglrx
Package: linux (not installed)
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-24-generic
root=UUID=b249fe00-d117-42dc-a2a4-e2b8763b5b7c ro rootflags=subvol=@ quiet
splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
RelatedPackageVersions:
linux-restricted-modules-3.13.0-24-generic N/A
linux-backports-modules-3.13.0-24-generic N/A
linux-firmware 1.127.2
RfKill:
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
Tags: trusty
Uname: Linux 3.13.0-24-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 10/24/2012
dmi.bios.vendor: Insyde
dmi.bios.version: F.53
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 3568
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 21.3A
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: Chassis Version
dmi.modalias:
dmi:bvnInsyde:bvrF.53:bd10/24/2012:svnHewlett-Packard:pnHPPaviliong7NotebookPC:pvr0690130000204610000620100:rvnHewlett-Packard:rn3568:rvr21.3A:cvnHewlett-Packard:ct10:cvrChassisVersion:
dmi.product.name: HP Pavilion g7 Notebook PC
dmi.product.version: 0690130000204610000620100
dmi.sys.vendor: Hewlett-Packard
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1320752/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp