Can I assign mac for TC boot, so ip stays the same when boot TC or RP?

Recommended Posts

Can I change the mac in TC so if I boot to tiny core (to do updates like now), it spoof the mac, like rp does, so that box (with no monitor output) always gets the same ip?

I looked at grub.cfg, and it sets mac for loading rp usb and rp sata, but not for tc.  I tried to add mac1= but that doesnt work.

Just curious


menuentry 'Tiny Core Image Build' {
        set root=(hd0,msdos3)
        echo Loading Linux...
        linux /vmlinuz64 loglevel=3 cde waitusb=5 vga=791 netif_num=2 mac2=### mac1=###
        echo Loading initramfs...
        initrd /corepure64.gz
        echo Booting TinyCore for loader creation


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.