…dreaming, what will be happened in the next exam week…
So you have trouble installing Maple 10 on your ubuntu because *it fails to your detect Host ID*
The problem is because the license manager used in the Maple can only use eth0 (the network device on your notebook). If you are like me, that has notebook with WIFI, ubuntu may not assign your network card to eth0. My notebook was using eth3 before, because I have moved my hard disk to my current notebook. So when you install Maple, it fails to detect your Host ID (your Host ID is based on your eth0 MAC Address).
Now you have to find out which ethernet card number you are using right now, using ifconfig
romi@mesintik:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:01:4A:XX:YY:ZZ
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
eth3 Link encap:Ethernet HWaddr 00:0E:35:XX:YY:ZZ
inet addr:192.168.1.33 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20e:35ff:fefd:3f1b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:221396 errors:0 dropped:0 overruns:0 frame:0
TX packets:138753 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:287095962 (273.7 MB) TX bytes:18427810 (17.5 MB)
Interrupt:22 Base address:0x6000 Memory:b0006000-b0006fff
Now, for example I need to use eth3 to be eth0.
So, fire up your text editor (I use gedit), and using sudo command:
sudo gedit /etc/udev/rules.d/70-persistent-net.rules
The file contents will look like this:
# This file maintains persistent names for network interfaces.
# See udev(7) for syntax.
#
# Entries are automatically added by the 75-persistent-net-generator.rules
# file; however you are also free to add your own entries.
# PCI device 0x8086:0x1043 (ipw2100)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:04:23:XX:YY:ZZ", NAME="eth1"
# PCI device 0x8086:0x1068 (e100)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:01:4a:XX:YY:ZZ", NAME="eth0"
# PCI device 0x8086:0x4220 (ipw2200)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0e:35:XX:YY:ZZ", NAME="eth3"
Because we need to change eth3 (HWaddr 00:0E:35:XX:YY:ZZ) to eth0, so you need to edit to change NAME="eth3" to NAME="eth0" and change the previous eth0 to ethX where X can be any number.
So the new file is like below:
# PCI device 0x8086:0x1043 (ipw2100)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:04:23:XX:YY:ZZ", NAME="eth1"
# PCI device 0x8086:0x1068 (e100)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:01:4a:XX:YY:ZZ", NAME="eth3"
# PCI device 0x8086:0x4220 (ipw2200)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0e:35:XX:YY:ZZ", NAME="eth0"
Now, reboot the system and then start Maple installer and proceed as usual.
Now after that, if you enable Compiz and then Maple screen is only display grey-blank-window, you can make a fix as follows:
First, you need to install java-sun-6 from your Synaptic Package Manager (in the System -> Administration)
Edit a maple file that is /path/to/maple/bin/maple:
Find string MAPLE_JRE_BIN and change it to this
MAPLE_JRE_BIN="/usr/lib/jvm/java-6-sun/bin/"
(Maybe you need to adjust it according with your java installation)
Save and then run xmaple.
Voila!
Worked just right for me, thanks!
Oleh: John on 17.03.2008
at 23:58:03
hi,
with respect to the compiz-problem:
instead of replacing the string in the /path/to/maple/bin/maple file, you can also replace the jre.IBM_INTEL_LINUX dir by a link to the current jre-dir:
cd /path/to/maple/
mv jre.IBM_INTEL_LINUX/ jre.IBM_INTEL_LINUX.old
ln -s /usr/lib/jvm/java-6-sun jre.IBM_INTEL_LINUX
respectively your arch instead of IBM_INTEL_LINUX.
if needed, the jre.IBM_INTEL_LINUX.old dir can also be deleted (~90MB).
best regards
herr biber
[i guess now i know why people call me complicated
thanks! - Romi]
Oleh: herr biber on 14.06.2008
at 00:52:07