主板有4个网口,通过自编译7.0.1引导,在3615中4个网口都已正常工作。现需要修改4个网口的mac,在grub.cfg中只有mac1=这一项,于是自行添加mac2=、mac3=、mac4=,修改完后重新启动,mac1的地址修改成功,mac2、3、4的地址没修改上。 请问一下,mac2、3、4的地址该如何修改。 谢谢! 将添加的mac2=、mac3=、mac4=,变成set mac2=、set mac3=、set mac4=也无法修改2、3、4的mac地址。 后续: 问题已解决,经过CCK大神的指点,在grub.cfg中,修改netif_num=4,再在后面加上mac2= mac3= mac4=,就可以了
是這樣?? menuentry 'RedPill DS918+ v7.0.1-42218 (USB, Verbose)' { savedefault set root=(hd0,msdos1) echo Loading Linux... linux /zImage HddHotplug=0 withefi console=ttyS0,115200n8 netif_num=2 syno_hdd_detect=0 syno_port_thaw=1 vender_format_version=2 earlyprintk mac1=0011327A14XX mac2=0011327A14XX syno_hdd_powerup_seq=1 pid=0x5567 log_buf_len=32M syno_hw_version=DS918+ vid=0x0781 earlycon=uart8250,io,0x3f8,115200n8 sn=1790PDN98XXXX elevator=elevator root=/dev/md0 loglevel=15 echo Loading initramfs... initrd /rd.gz echo Starting kernel with USB boot } menuentry 'RedPill DS918+ v7.0.1-42218 (SATA, Verbose)' { savedefault set root=(hd0,msdos1) echo Loading Linux... linux /zImage HddHotplug=0 withefi console=ttyS0,115200n8 synoboot_satadom=2 netif_num=2 syno_hdd_detect=0 syno_port_thaw=1 vender_format_version=2 earlyprintk mac1=0011327A14XX mac2=0011327A14XX syno_hdd_powerup_seq=1 pid=0x5567 log_buf_len=32M syno_hw_version=DS918+ vid=0x0781 earlycon=uart8250,io,0x3f8,115200n8 sn=1790PDN98XXXX elevator=elevator root=/dev/md0 loglevel=15 echo Loading initramfs... initrd /rd.gz echo Starting kernel with SATA boot echo WARNING: SATA boot support on this platform is experimental!
netif_num=表示有几个网口....明 后面跟上相应的mac就行了....不明 netif_num=4 syno_hdd_detect=0 syno_port_thaw=1 vender_format_version=2 earlyprintk mac1=0011327A14XX mac2=0011327A14XX mac3=0011327A14XX mac4=0011327A14XX 對?...不對?