View previous topic :: View next topic |
Author |
Message |
Unclethommy Guru
Joined: 24 Jul 2006 Posts: 407
|
Posted: Tue Mar 20, 2007 10:08 am Post subject: Getting vmware working with initng [solved] |
|
|
Hi there, I have posted on the initng forum regarding this problem but got no reply and was wondering if anyone here could help me out.
I am trying to launch all the scripts that are required for vmware to work ( i works fine with the normal init). Does anyone have a sample i-script which they use and know works so that I can use it myself?
The current ifile in the initng directory doesnt work
Code: | #!/sbin/itype
# This is a i file, used by initng parsed by install_service
service daemon/vmware/vmnet/prepare {
need = system/bootmisc system/modules/vmnet;
script start = {
/bin/mknod -m 600 /dev/vmnet0 c 119 0
/bin/mknod -m 600 /dev/vmnet1 c 119 1
/bin/mknod -m 600 /dev/vmnet2 c 119 2
/bin/mknod -m 600 /dev/vmnet3 c 119 3
};
}
daemon daemon/vmware/vmnet {
need = system/bootmisc;
use = daemon/vmware/vmnet/prepare;
exec daemon = /opt/vmware/workstation/bin/vmnet-bridge /dev/vmnet0 eth1;
}
virtual daemon/vmware {
need = system/bootmisc daemon/vmware/vmnet system/modules/vmmon;
also_stop = daemon/vmware/vmnet; |
I've tried several variants of what people claim have worked and still cant get it to work Could someone shed some light on this matter?
Last edited by Unclethommy on Tue May 01, 2007 10:50 pm; edited 1 time in total |
|
Back to top |
|
|
KrissN n00b
Joined: 25 Sep 2004 Posts: 54 Location: Kedzierzyn-Kozle@Poland
|
Posted: Mon Apr 16, 2007 4:31 pm Post subject: |
|
|
I'm not sure if you already tried this, but you can execute:
Code: | /etc/vmware/init.d/vmware start |
You can then put this into /etc/conf.d/local.start _________________ We try making things idiot-proof and someone will just go and build a better idiot. |
|
Back to top |
|
|
Unclethommy Guru
Joined: 24 Jul 2006 Posts: 407
|
Posted: Tue May 01, 2007 10:30 pm Post subject: |
|
|
Yup that seems to work fine.
Thanks for that, i'm still trying to understand how the init system works. I guess its a way of starting commands so there should be a problem of just starting any other micellaneous service in my local start script? |
|
Back to top |
|
|
al1ta Tux's lil' helper
Joined: 18 Apr 2005 Posts: 77
|
Posted: Tue May 01, 2007 11:08 pm Post subject: |
|
|
if you want next to start it automaticaly
rc-update add vmware default |
|
Back to top |
|
|
Unclethommy Guru
Joined: 24 Jul 2006 Posts: 407
|
Posted: Wed May 02, 2007 9:22 am Post subject: |
|
|
surely, rc-update only works for the old init process and not initng, or am I getting confused? I thought the whole point of porting script to initng means that rc-update scripts are used and if you want them run , it needs to be manually i.e inside local.start? |
|
Back to top |
|
|
|