Operating System - Linux
1748169 Members
4224 Online
108758 Solutions
New Discussion юеВ

Re: if i can create /dev/vmnet0 manully ?

 
Maaz
Valued Contributor

if i can create /dev/vmnet0 manully ?

I dont know why but there is no such file as /dev/vmnet0 ... /dev/vmnet8.

# # ls -la /dev/vm*
crw-rw---- 1 root root 10, 165 Mar 8 14:53 /dev/vmmon

So whenever i boot the virtual guest OS, i got the error message:

Could not open /dev/vmnet0: no such file or directory

or
Could not open /dev/vmnet8: no such file or directory

is it possible that I can create these device files manually ? if yes then please write me the syntax to create these device files.

Regards
Maaz
6 REPLIES 6
Huc_1
Honored Contributor

Re: if i can create /dev/vmnet0 manully ?

Maaz.

Login as root do

# MAKEDEV vmnet

this should create /dev/vmnet0... /dev/vmnet8

if you check you should see ..

#ls -l /dev/vmnet
vmnet0 vmnet2 vmnet4 vmnet6 vmnet8
vmnet1 vmnet3 vmnet5 vmnet7 vmnet9

Enjoy life.

Jean-Pierre Huc
Smile I will feel the difference
Maaz
Valued Contributor

Re: if i can create /dev/vmnet0 manully ?

Thanks Dear HUC for the help

there is no command like "MAKEDEV" or "makedev" in this SuSE Entrprise 10 System.

Please help
Regards
Huc_1
Honored Contributor

Re: if i can create /dev/vmnet0 manully ?

Maaz

It is a longtime since I worked with suse, but usualy MAKEDEV resides in /dev/ so you need to cd to /dev to make it work.

so as root do

#cd /dev
#MAKEDEV vmnet

This should do it ,But you maybe right that MAKEDEV does not exist in Suse 10, having say's that I am sure I di use it under suse to set up some tape drive a wile ago.

Enjoy life.

Jean-Pierre Huc


Smile I will feel the difference
Heironimus
Honored Contributor

Re: if i can create /dev/vmnet0 manully ?

Those are VMware-specific and are created by VMware's scripts. You should run vmware-config.pl on the host. You'll need to re-run it any time you boot to a new kernel.
Maaz
Valued Contributor

Re: if i can create /dev/vmnet0 manully ?

Thanks HUC
SUSE 10, has "makedev" not the "MAKEDEV", but makedev utility/rpm is not the part of default installation, although available in installation media.

Thanks Heironimus
>You should run vmware-config.pl on the host
Thanks I did, and problem gone. ;)

Regards
Maaz
Valued Contributor

Re: if i can create /dev/vmnet0 manully ?

my previous post
>SUSE 10, has "makedev" not the "MAKEDEV", but makedev utility/rpm is not >the part of default installation, although available in installation media.

please ignore the above, following are right info :

1, makedev rpm is part of the installation media.
2, makedev rpm is not part of the default installation.
3, makedev provides the /sbin/MAKEDEV.

Dear HUC, I did
# cd /dev
# /sbin/MAKEDEV vmnet
/sbin/MAKEDEV: line 170: major_/dev/vc/0=4: No such file or directory
/sbin/MAKEDEV: line 170: major_/dev/tty=5: No such file or directory
/sbin/MAKEDEV: line 170: major_/dev/console=5: No such file or directory
/sbin/MAKEDEV: line 170: major_/dev/ptmx=5: No such file or directory
/sbin/MAKEDEV: line 170: major_device-mapper=253: command not found
/sbin/MAKEDEV: don't know how to make device "vmnet"

the only way to resolve the issue is to re-run vmware-config.pl

Thanks All