changing mac adress very hard!help
hello guys, ok so ive spend cople of houers, neh allmost all day trying to change my macadress manually, im using a wifi hp probook 6560b.
ok so this is what ive tryed.
sudo su=xxxx
sudo ifconfig wlan0 down.
sudo ifconfig wlan0 hw ether 11.22.33.44.55.66
sudo ifconfig wlan0 up
.
ifconfig
now this have changed to 11.22.33.44.55.66.
when i reconect its the old hw adress agen, even ive delete the old internet conection for the ruter.
now ive ben trying to go into the /etc/udev/rules.d/70-persistent-net.rules and its the old adress, and when i then change the adress there agen to 11.22.33.44.55.66 i get this message active conection failed, so then i restarted my computer.
then i go to terminal ifconfig and yeay! now we got the new conection! the wlan1 actually witch have ben added with the same old fantastic adress.
so i looked up /etc/udev/rules.d/70-persistent-net.rules agen, and there where added the wlan1,
so something must have ben asked the device: is this your hw adress? no its........
ah okey il make a wlan1 with that adress.
so i tryed to maby find the file that ask for the adress and maby say this is the dault, but turnd up its really hard when you dont know how to program, or even know how linux where buildt up, this will probably take years, so i thought that, why not ask the community, so here i am, so any one have any idea's? linux 14.04 LTS
Comments
-
I suppose linux 14.04 means ubuntu 14.04 LTS
On Debian, Ubuntu, and similar systems, place the following in the appropriate section of /etc/network/interfaces (within an iface stanza, e.g., right after the gateway line) so that the MAC address is set when the network device is started:
hwaddress ether 02:01:02:03:04:08
http://en.wikibooks.org/wiki/Changing_Your_MAC_Address/Linux
tried something like that?
Maybe you need to change ether I am not sure as it is a wireless device.0 -
mondrago2 wrote:hello guys, ok so ive spend cople of houers, neh allmost all day trying to change my macadress manually, im using a wifi hp probook 6560b.
ok so this is what ive tryed.
sudo su=xxxx
sudo ifconfig wlan0 down.
sudo ifconfig wlan0 hw ether 11.22.33.44.55.66
sudo ifconfig wlan0 up
.
ifconfig
now this have changed to 11.22.33.44.55.66.
when i reconect its the old hw adress agen, even ive delete the old internet conection for the ruter.
now ive ben trying to go into the /etc/udev/rules.d/70-persistent-net.rules and its the old adress, and when i then change the adress there agen to 11.22.33.44.55.66 i get this message active conection failed, so then i restarted my computer.
then i go to terminal ifconfig and yeay! now we got the new conection! the wlan1 actually witch have ben added with the same old fantastic adress.
so i looked up /etc/udev/rules.d/70-persistent-net.rules agen, and there where added the wlan1,
so something must have ben asked the device: is this your hw adress? no its........
ah okey il make a wlan1 with that adress.
so i tryed to maby find the file that ask for the adress and maby say this is the dault, but turnd up its really hard when you dont know how to program, or even know how linux where buildt up, this will probably take years, so i thought that, why not ask the community, so here i am, so any one have any idea's? linux 14.04 LTS
There are sources of information that outline procedures for changing a MAC address in linux. To permenantly do it in Ubuntu, you much change the interface text file, /etc/network/interfaces.
Here another link to add to the one above.
Changing your mac address in ubuntu0
Categories
- All Categories
- 178 LFX Mentorship
- 178 LFX Mentorship: Linux Kernel
- 775 Linux Foundation IT Professional Programs
- 384 Cloud Engineer IT Professional Program
- 175 Advanced Cloud Engineer IT Professional Program
- 75 DevOps IT Professional Program - Discontinued
- 7 DevOps & GitOps IT Professional Program
- 103 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 12 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 33 Cloud & Containers Training
- 3 Cybersecurity Training
- 3 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 2 Networking Training
- 2 Open Source Best Practice Training
- 5 System Administration Training
- 1 System Engineering Training
- 6 Web & Application Development Training
- 798 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 96 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 92 Storage
- 772 Linux Distributions
- 81 Debian
- 68 Fedora
- 24 Linux Mint
- 13 Mageia
- 24 openSUSE
- 151 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 470 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 101 Linux Security
- 79 Network Management
- 102 System Management
- 46 Web Management
- 166 Mobile Computing
- 32 Android
- 119 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 407 Off Topic
- 128 Introductions
- 35 Study Material
- 1K Programming and Development
- 310 Kernel Development
- 720 Software Development
- 1K Software
- 418 Applications
- 182 Command Line
- 5 Compiling/Installing
- 71 Games
- 320 Installation
- Archived
- 183 Small Talk
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)