sudo crontab -e add line: @reboot /usr/bin/sudo su star -c /home/star/autoSTAR.sh 2>&1 >/home/star/autoSTAR.log check it : sudo crontab -l |
On your Mac look for a file called Ubuntu\ 32bit\ server.vmx in the VM folder. In that file there should be a line like ethernet0.generatedAddress = "00:0c:29:b2:f1:a0" Remember that number. Now log into the VM and look in this file: /etc/udev/rules.d/70-persistent-net.rules There should be some entries that look like: # PCI device 14xx:16xx (tg3) ACTION=="add", SUBSYSTEM=="net", DRIVERS=="?*", SYSFS{address}=="00:11:xx:xx:xx:xx", NAME="eth0" look for the one that has SYSFS{address}== your number. Change the NAME to "eth0" on that one, and delete the rest of them. Then restart the virtual machine. |