SnowDrifter Posted May 17, 2021 Share #1 Posted May 17, 2021 (edited) Declared the actual mac address of my NIC in the grub cfg Network card works as expected otherwise. But mac address in network matches neither my config, nor the address printed on the card. A reboot of the machine will result in a different, seemingly randomly assigned mac address. Jun 1.4b have the extended driver pack 918+ Intel i3-9100 DSM 6.2.3 update 3 Intel X540-T2 Network interfaces were enabled in synoinf.conf and all 4 show up fine (2x onboard, 2x nic) within DSM. It's just this randomly assigned mac address issue I can't figure out Edited May 17, 2021 by SnowDrifter Quote Link to comment Share on other sites More sharing options...
SnowDrifter Posted May 24, 2021 Author Share #2 Posted May 24, 2021 @IG-88 any input on this one? Quote Link to comment Share on other sites More sharing options...
sojab0on Posted June 11, 2021 Share #3 Posted June 11, 2021 Mac addresses should not change the are hard coded to the nic if the nic in dsm some how get a new mac then we need te check configs and bios/efi of the system Quote Link to comment Share on other sites More sharing options...
SnowDrifter Posted June 11, 2021 Author Share #4 Posted June 11, 2021 (edited) 11 hours ago, sojab0on said: Mac addresses should not change the are hard coded to the nic if the nic in dsm some how get a new mac then we need te check configs and bios/efi of the system It's assigned a new one on every boot. Something funky. swapped a drive to a larger one so it's in limbo to 3-4 days but once that's done I'll check back in. Any notes on what I would be checking for in the bios? Asrock rack board if that's pertinent Edited June 11, 2021 by SnowDrifter Quote Link to comment Share on other sites More sharing options...
SnowDrifter Posted June 13, 2021 Author Share #5 Posted June 13, 2021 On 6/10/2021 at 10:16 PM, sojab0on said: Mac addresses should not change the are hard coded to the nic if the nic in dsm some how get a new mac then we need te check configs and bios/efi of the system Should be done later today then I can go digging. What all am I looking for? Quote Link to comment Share on other sites More sharing options...
asheenlevrai Posted July 2, 2021 Share #6 Posted July 2, 2021 On 6/13/2021 at 8:25 PM, SnowDrifter said: Should be done later today then I can go digging. What all am I looking for? @SnowDrifter any update? 1 Quote Link to comment Share on other sites More sharing options...
SnowDrifter Posted July 2, 2021 Author Share #7 Posted July 2, 2021 Unfortunately no. I'm rather stumped at the issue 1 Quote Link to comment Share on other sites More sharing options...
sojab0on Posted July 4, 2021 Share #8 Posted July 4, 2021 are you running baremetal or trough and hypervisor like ESXI Also please post pictures of config and DSM and EFI settings Quote Link to comment Share on other sites More sharing options...
SnowDrifter Posted July 5, 2021 Author Share #9 Posted July 5, 2021 On 7/4/2021 at 1:15 AM, sojab0on said: are you running baremetal or trough and hypervisor like ESXI Also please post pictures of config and DSM and EFI settings Bare metal. DSM 6.2.3 U3 Would you clarify what you mean by pictures of config? Quote Link to comment Share on other sites More sharing options...
sojab0on Posted August 6, 2021 Share #10 Posted August 6, 2021 On the boot drive (usb Flash drive) u use to boot je bare metal system there is a floder called Grub in that folder you will find an grub.txt file that is the boot config synoboot usses to set things like usb flash pid and vid and nic macs please share that so we can see if the config file is the culprit of you mac issues Quote Link to comment Share on other sites More sharing options...
SnowDrifter Posted August 6, 2021 Author Share #11 Posted August 6, 2021 4 hours ago, sojab0on said: On the boot drive (usb Flash drive) u use to boot je bare metal system there is a floder called Grub in that folder you will find an grub.txt file that is the boot config synoboot usses to set things like usb flash pid and vid and nic macs please share that so we can see if the config file is the culprit of you mac issues if serial --port=0x3F8 --speed=115200;then set has_serial=true terminal_input --append serial terminal_output --append serial else clear fi terminal_input --append console terminal_output --append console if [ x"${grub_platform}" = xefi ]; then insmod efi_gop insmod efi_uga else insmod vbe fi set extra_initrd="extra.lzma" set info="info.txt" set vid=0x090c set pid=0x1000 set sn=18A0PDN352201 set mac1=d05099d51774 set mac2=d05099d51775 set mac2=0cc47a1de5a4 set mac4=0cc47a1de5a5 set rootdev=/dev/md0 set netif_num=2 #set extra_args_918='earlycon=uart8250,io,0x3f8,115200n8 earlyprintk loglevel=15 memmap=0x1000$223515000' set extra_args_918='' set common_args_918='syno_hdd_powerup_seq=1 HddHotplug=1 syno_hw_version=DS918+ vender_format_version=2 console=ttyS0,115200n8 withefi elevator=elevator quiet syno_hdd_detect=0 syno_port_thaw=1' #for testing on VM set sata_args='SataPortMap=6' set default='0' set timeout='1' set fallback='1' if [ -s $prefix/grubenv ]; then load_env if [ -n "$saved_entry" ]; then set default="${saved_entry}" fi fi VERSION="with Jun's Mod v1.04b" search --file -s /bzImage function savedefault { if [ -s $prefix/grubenv ]; then saved_entry="${chosen}" save_env saved_entry fi } function do_option { if [ $# -lt 2 ]; then eval "set value=\"\$$1\"" echo "current $1: $value"; return; fi set key=$1 shift set $key="$*" if [ -s $prefix/grubenv ]; then save_env $key fi } function vid { do_option vid $@; } function pid { do_option pid $@; } function sn { do_option sn $@; } function mac1 { do_option mac1 $@; } function mac2 { do_option mac2 $@; } function mac3 { do_option mac3 $@; } function mac4 { do_option mac4 $@; } function rootdev { do_option rootdev $@; } function append { do_option extra_args_918 $@; } function vidpid { if [ $# -lt 2 ]; then echo "usage: vidpid 0xVVVV 0xPPPP"; return; fi set usb_args="vid=$1 pid=$2" if [ -s $prefix/grubenv ]; then save_env usb_args fi } function showtips { if [ -n "$has_serial" ]; then terminal_output --remove serial fi echo "Screen will stop updating shortly, please open http://find.synology.com to continue." echo echo if [ -n "$has_serial" ]; then terminal_output --append serial fi } function loadinitrd { if [ -s $img/$info ]; then if [ -n "$has_serial" ]; then terminal_output --remove serial fi cat $img/$info if [ -n "$has_serial" ]; then terminal_output --append serial fi fi # if [ -s $img/$extra_initrd ]; then # initrd $img/rd.gz $img/$extra_initrd # else # initrd $img/rd.gz # fi } function common_add_option { eval "set value=\"\$$1\"" if [ -z $value ]; then return 1; fi set common_args="$common_args $1=$value" } function common_add_option_ex { eval "set value=\"\$$1\"" if [ -z $value ]; then return 1; fi set common_args="$common_args $2=$value" } function loadlinux { set model=$1 set bootdev=$2 shift 2 if [ -n $vid -a -n $pid ]; then set usb_args="vid=$vid pid=$pid" fi eval "set common_args=\"\$common_args_$model\"" eval "set extra_args=\"\$extra_args_$model\"" eval "set bootdev_args=\"\$${bootdev}_args\"" common_add_option_ex rootdev root common_add_option sn if common_add_option mac1; then set netif_num=1; fi if common_add_option mac2; then set netif_num=2; fi if common_add_option mac3; then set netif_num=3; fi if common_add_option mac4; then set netif_num=4; fi common_add_option netif_num if [ -z $zImage ]; then set zImage=bzImage fi linux $img/$zImage $common_args $bootdev_args $extra_args $@ } menuentry "DS918+ 6.2.1/6.2 Baremetal $VERSION" --class os { set img= savedefault loadlinux 918 usb loadinitrd showtips } menuentry "DS918+ 6.2.1/6.2 Baremetal $VERSION Reinstall" --class os { set img= loadlinux 918 usb mfg loadinitrd showtips } menuentry "DS918+ 6.2.1/6.2 VMWare/ESXI $VERSION" --class os { set img= savedefault loadlinux 918 sata loadinitrd showtips } Quote Link to comment Share on other sites More sharing options...
SnowDrifter Posted August 6, 2021 Author Share #12 Posted August 6, 2021 Only mac address 1 is accurately reflected 2,3,4 seem to be randomly generated / assigned on each boot Quote Link to comment Share on other sites More sharing options...
asheenlevrai Posted August 6, 2021 Share #13 Posted August 6, 2021 2 hours ago, SnowDrifter said: set mac1=d05099d51774 set mac2=d05099d51775 set mac2=0cc47a1de5a4 set mac4=0cc47a1de5a5 no mac3? Quote Link to comment Share on other sites More sharing options...
SnowDrifter Posted August 6, 2021 Author Share #14 Posted August 6, 2021 42 minutes ago, asheenlevrai said: no mac3? Dude....... Couldn't tell you how many times I looked at that and missed the obvious. Yeeeesh. It's fixed and proper now. Now if you'll excuse me I'm going to avoid eye contact and pretend this never happened. Thanks for the second set of eyes 1 Quote Link to comment Share on other sites More sharing options...
asheenlevrai Posted August 8, 2021 Share #15 Posted August 8, 2021 Happy to be helpful. Probably next time you'll spot my obvious mistake 😉 Best, -a- 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.