《OPENCL license在window下可以用,不知道为什么在linux(ubuntu/CentOS)下用不了》

From Terasic Wiki

Jump to: navigation, search

绑定mac地址的网卡在系统中的名字必须是eth0才行。

There is a problem with Quartus/OpenCL license in CentOS 7.0.

Quartus license requires the Ethernet port to be named eth0

CentOS 7.x has Ethernet port names starting enpXXXXX

Please refer to following workaround to modify the Ethernet port name.

vi /etc/default/grub

(add "net.ifnames=0" to GRUB_CMDLINE_LINUX variable)

sudo grub2-mkconfig -o /boot/grub2/grub.cfg

sudo vi /etc/udev/rules.d/70-persistent-net.rules

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="08:00:27:a9:7a:e1", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

The example path might be different from your computer. If so, please modify it.





back

Personal tools