spirit  [ Profile ]

Sort by: Date / Title /

  1. 11 years ago
    1. # Every time I reboot and run VMWare, I have to manually run vmware-config.pl to create again vmnet devices (/dev/vmnetX)
    2. # This scrit fix this problem. Add it to the init.d directory and run it on startup (rcX.d)
    3.  
    4. vim /etc/init.d/mkvmnet
    5. #! /bin/sh -e
    6. #Create device nodes for vmnet
    7. sync
    8. `/bin/mknod --mode=600 /dev/vmnet0 c 119 0`
    9. `/bin/mknod --mode=600 /dev/vmnet1 c 119 1`
    10. `/bin/mknod --mode=600 /dev/vmnet2 c 119 2`
    11. `/bin/mknod --mode=600 /dev/vmnet3 c 119 3`
    12. `/bin/mknod --mode=600 /dev/vmnet4 c 119 4`
    13. `/bin/mknod --mode=600 /dev/vmnet5 c 119 5`
    14. `/bin/mknod --mode=600 /dev/vmnet6 c 119 6`
    15. `/bin/mknod --mode=600 /dev/vmnet7 c 119 7`
    16. `/bin/mknod --mode=600 /dev/vmnet8 c 119 8`
    17. `/bin/mknod --mode=600 /dev/vmnet9 c 119 9`
    18. sync
    19. exit 0
    20.  
    21. # To execute the script on startup
    22. cp -s /etc/init.d/mkvmnet /etc/rc3.d/S02mkvmnet
    23. chmod 755 /etc/init.d/mkvmnet
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/120"></script>

First / Previous / Next / Last / Page 22 of 22 (211 posteets)