Forum Discussion
sam135
New Contributor
2 years agoThere was a problem with the license because the mac address in the WSL is not static.
I solved the problem by adding some script to the bashrc.
for example,
```
wantmac=[mac address you need]
mac=$(ip link show bond0 | awk '/ether/ {print $2}')
if [[ $mac != $wantmac ]]; then
sudo ip link add name bond0 type bond mode active-backup
sudo ip link set dev bond0 address $wantmac
fi
export LM_LICENSE_FILE=/mnt/e/License/[License file path]:$LM_LICENSE_FILE
```
I referred to the post below.