2011年12月23日 星期五

Solution: activate Matlab 2011b under Fedora 16

According to http://www.mathworks.de/support/solutions/en/data/1-EUTG50/index.html?solution=1-EUTG50,there r 3 options, i chose the second one and it works:
"To disable this feature you can reboot the computer and bring up the kernel command line in the boot menu. From the kernel command line, you can run: biosdevname=0 to disable this feature.".
But i dont know how to enter the kernel command line...(where is it btw?). My way is:
1. Edit /etc/default/grub
$ sudo gedit /etc/default/grub
add  GRUB_CMDLINE_LINUX_DEFAULT="biosdevname=0" at the end of the file
2. Update grub2
$ sudo grub2-mkconfig -o /boot/grub2/grub.cfg
3. reboot
i have tried other methods before this works, so i am not sure if this alone will help.:-(
if u tried the solution above, plz reply and tell me if that works.Thx :-) also as sort of stimulation for me so i can keep posting something i think important and helpful.

坑爹1:尝鲜安装了Fedora 16,结果Matlab 2011b不能激活了。各处google,发现原因是由于这个教Biosdevname的新东西改变了原来网卡的命名规则,我ifconfig了一下,发现我不再拥有叫做eth0的东西了,取而代之以p12**的根据我网卡性质命名的设备。这个小改变本来是为了区分服务器上的多块网卡(eth0,1,2),但是,这一改变造成了很多以eth为寻找对象的程序无法识别。比如Matlab的激活程序,似乎是根据eth0的Mac地址来激活的(不负责任猜想),因为这一改变导致无法激活。花了俩小时。
坑爹2:Ubuntu里,刷新Grub2的命令是update-grub,在Fedora执行,发现无此命令。google后得到解答。
发现开源真是各种坑爹阿!
P.S.谁能告诉我 kernel command line 在那,怎么进?

沒有留言:

張貼留言