leighland whitehead Posted February 28, 2022 Share Posted February 28, 2022 hi guys , anyone figured out how to stop getting a random mac at boot ? i am wanting the sharkjack to have the same mac at boot for dhcp so it doesnt keep taking leases thanks Quote Link to comment Share on other sites More sharing options...
dark_pyrro Posted February 28, 2022 Share Posted February 28, 2022 What payload are you using? Quote Link to comment Share on other sites More sharing options...
Solution dark_pyrro Posted March 1, 2022 Solution Share Posted March 1, 2022 Well, payload doesn't matter. If using NETMODE DHCP_CLIENT then you can try this. In the case statement at the end of the /usr/bin/NETMODE file, add the following line in the DHCP_CLIENT section below the line; uci set network.lan.proto='dhcp' uci set network.lan.macaddr='some valid MAC address' Quote Link to comment Share on other sites More sharing options...
leighland whitehead Posted March 2, 2022 Author Share Posted March 2, 2022 @dark_pyrro thanks ill give that a try today 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.