I fixed the issue by adding the following lines to /etc/rc.local:

sudo service network-manager stop && 
sudo ifconfig wlp2s0 down &&
sudo macchanger -e wlp2s0 &&
sudo ifconfig wlp2s0 up &&
sudo service network-manager start 

Now my MAC address is getting changed every time I restart.

-- 
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     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to