I've been setting up the Serial Connection of my server to be used for Virtualization. It seems that my Serial Port is not detected on my guest vms. One thing I notice is that /dev/ttyS0 has a permission of
crw-rw---- 1 root dialout 4, 64 Jan 6 2013 /dev/ttyS0
I added the user on the dialout group and since I'm using CentOS 6, I need to modify files in udev which is /etc/udev/rules.d/40-permissions.rules. and put the content below
KERNEL=="ttyS[0-9]", GROUP="dialout", MODE="0770"
In case it doesn't exists, you need to create one. Once done, restart udev.
[root@nelsoncli rules.d]# /etc/init.d/udev-post stop
[root@nelsoncli rules.d]# /etc/init.d/udev-post start Retrigger failed udev events [ OK ]
Reboot your server to confirm if everything went ok.
crw-rw---- 1 root dialout 4, 64 Jan 6 2013 /dev/ttyS0
I added the user on the dialout group and since I'm using CentOS 6, I need to modify files in udev which is /etc/udev/rules.d/40-permissions.rules. and put the content below
KERNEL=="ttyS[0-9]", GROUP="dialout", MODE="0770"
In case it doesn't exists, you need to create one. Once done, restart udev.
[root@nelsoncli rules.d]# /etc/init.d/udev-post stop
[root@nelsoncli rules.d]# /etc/init.d/udev-post start Retrigger failed udev events [ OK ]
Reboot your server to confirm if everything went ok.
No comments:
Post a Comment