Skip to content

jarvis-1805/macmon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

macmon

macmon is a simple tool to get and change MAC address and mode of any adapter in linux.

How to install

#!/bin/bash
git clone https://github.com/jarvis-1805/macmon.git
cd macmon
sudo ./macmon.sh

File permisions

Before executing macmon.sh provide relevant permissions:

#!/bin/bash
chmod +x macmon.sh

Usage (Commands)

  • To get MAC Address
#!/bin/bash
> macmon --interface [interface name] --getMAC
  • To change MAC Address
#!/bin/bash
> macmon --interface [interface name] --changeMAC [new MAC]
  • To get MODE
#!/bin/bash
> macmon --interface [interface name] --getMODE
  • To change MODE
#!/bin/bash
> macmon --interface [interface name] --changeMODE [new MODE]
  • To EXIT
#!/bin/bash
> macmon exit

Note: Commands can also be given simultaneously:

  • To get and change MAC Address
#!/bin/bash
> macmon --interface [interface name] --getMAC --changeMAC [new MAC]
  • To get and change MODE
#!/bin/bash
> macmon --interface [interface name] --getMODE --changeMODE [new MODE]
P.S. Shortcut arguments can always be given...

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published