首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > change-mac-address-ubuntu

change-mac-address-ubuntu

  • 资源大小:618.00 B
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

! /bin/sh Change MAC-address of network interface cards to choose from. echo "This script allows you to change MAC-address, without having to run again" echo "All the available network interfaces:" sudo ifconfig -a && echo -n "Enter the interface to change the MAC-address:" read INT && echo cd /etc/network/if-up.d echo "#! /bin/sh" > pre-up && echo -n "Enter the desired MAC-address format aa: bb: cc: dd: ee: ff:" read MAC && echo "sudo ifconfig $INT hw ether $MAC" >> pre-up && sudo chmod a+x /etc/network/if-up.d/pre-up echo "The new MAC-address for network interface $INT : $MAC. reboot comp" exit 0

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP