i350MAC地址烧录

这篇博客详细介绍了如何在Linux系统中使用intel_mac_tool工具烧录MAC地址。首先,将工具拷贝到U盘并挂载,然后通过命令行查看USB设备,确定设备名为sdb1并进行卸载和挂载操作。接着,利用ifconfig查看设备名,并使用./intel_mac_tool命令烧录指定设备(如enp2s0f0)的MAC地址。最后,重启系统检查烧录是否成功。
摘要由CSDN通过智能技术生成
  1. 拷贝intel_mac_tool工具至U盘

  2. 开机进入系统,插入U盘

  3. 调出命令行

[hg@localhost ~]$ su
密码:
[root@localhost ~]# 
  1. 查看usb设备
[root@localhost ~]# fdisk -l
磁盘 /dev/sda:1024.2 GB, 1024209543168 字节,2000409264 个扇区
Units = 扇区 of 1 * 512 = 512 bytes
...(省略)
磁盘标识符:0xf1c258c0

   设备 Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          64    62912511    31456224    c  W95 FAT32 (LBA)
  1. usb设备为sdb1;卸载并挂载u盘
[root@localhost ~]# umount /dev/sdb1
[root@localhost ~]# mount /dev/sdb1 /mnt/
  1. 进入挂载文件夹
[root@localhost ~]# cd /mnt
  1. ifconfig查看设备名
[root@localhost mnt]# ifconfig
enp0s3f0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 56:6c:e0:e2:57:29  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 76  

enp2s0f0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 20:20:00:00:09:01  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0x46000000-4601ffff  

enp2s0f1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
...(省略)

  1. 使用intel_mac_tool烧录MAC:./intel_mac_tool [设备名] [mac地址]
    如烧录4口设备MAC地址(工具会顺序烧录i350四个网口):
[root@localhost mnt]# ./intel_mac_tool_2020 enp2s0f0 20:21:00:00:00:01
0x20: 0x21: 0x00: 0x00: 0x00: 0x01
igb
Set igb MAC Address done!
  1. reboot重启后再进系统查看是否烧录成功
评论 8
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值