Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Getting vmware working with initng [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Unclethommy
Guru
Guru


Joined: 24 Jul 2006
Posts: 407

PostPosted: Tue Mar 20, 2007 10:08 am    Post subject: Getting vmware working with initng [solved] Reply with quote

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
View user's profile Send private message
KrissN
n00b
n00b


Joined: 25 Sep 2004
Posts: 54
Location: Kedzierzyn-Kozle@Poland

PostPosted: Mon Apr 16, 2007 4:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
Unclethommy
Guru
Guru


Joined: 24 Jul 2006
Posts: 407

PostPosted: Tue May 01, 2007 10:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
al1ta
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2005
Posts: 77

PostPosted: Tue May 01, 2007 11:08 pm    Post subject: Reply with quote

if you want next to start it automaticaly

rc-update add vmware default
Back to top
View user's profile Send private message
Unclethommy
Guru
Guru


Joined: 24 Jul 2006
Posts: 407

PostPosted: Wed May 02, 2007 9:22 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum