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 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? Link to comment Share on other sites More sharing options...
dark_pyrro Posted March 1, 2022 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' 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.