Re: [gentoo-user] ttyS0 permission

2010-03-28 Thread Robin Atwood
On Monday 29 March 2010, Joseph wrote:
> On 03/28/10 23:48, Robin Atwood wrote:
> >On Sunday 28 March 2010, Joseph wrote:
> >> How to change permission on /dev/ttyS0 ?
> >> Which program controls it owner and permission?
> >> Is it possible to change it with hylafax?
> >> 
> >> Currently I have:
> >> crw--- 1 uucp uucp 4, 64 Mar 19 13:46 /dev/ttyS0
> >> 
> >> And I wan it to be:
> >> crw-rw-rw- 1 uucp uucp 4, 64 Mar 19 13:46 /dev/ttyS0
> >> 
> >> I've tried adding a rule to 50-udev.rules in /dev
> >> but /udev is not running and when I try to restart it I get:
> >> 
> >> The udev init-script is written for baselayout-2
> >> Please do not use it with baselayout-1
> >
> >This is set by parameter "DeviceMode: 0660" in file
> >/var/spool/fax/etc/config.ttyS0. You are asked in the setup script.
> >
> >HTH
> >-Robin
> 
> Yes, you are correct.
> I was able to find it as well:
> http://wiki.contribs.org/HylaFax
> 
> I had a problem make it dial-up work in Windows XP running in VirtualBox
> when hylafax is running. I had to disable "faxgetty ttyS0" in inittab or
> Windows XP dial-up will not work.
> 
> But wvdial works OK when Hylafax is ON.

Presumably VirtualBox does not follow the Unix locking protocol:
http://tldp.org/LDP/nag2/x-087-2-serial.devices.html

HTH
-Robin
-- 
--
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--











Re: [gentoo-user] ttyS0 permission

2010-03-28 Thread Joseph

On 03/28/10 23:48, Robin Atwood wrote:

On Sunday 28 March 2010, Joseph wrote:

How to change permission on /dev/ttyS0 ?
Which program controls it owner and permission?
Is it possible to change it with hylafax?

Currently I have:
crw--- 1 uucp uucp 4, 64 Mar 19 13:46 /dev/ttyS0

And I wan it to be:
crw-rw-rw- 1 uucp uucp 4, 64 Mar 19 13:46 /dev/ttyS0

I've tried adding a rule to 50-udev.rules in /dev
but /udev is not running and when I try to restart it I get:

The udev init-script is written for baselayout-2
Please do not use it with baselayout-1


This is set by parameter "DeviceMode: 0660" in file
/var/spool/fax/etc/config.ttyS0. You are asked in the setup script.

HTH
-Robin


Yes, you are correct.
I was able to find it as well:
http://wiki.contribs.org/HylaFax

I had a problem make it dial-up work in Windows XP running in VirtualBox when 
hylafax is running.
I had to disable "faxgetty ttyS0" in inittab or Windows XP dial-up will not 
work.

But wvdial works OK when Hylafax is ON. 


--
Joseph



Re: [gentoo-user] ttyS0 permission

2010-03-28 Thread Dale

Joseph wrote:

How to change permission on /dev/ttyS0 ?
Which program controls it owner and permission?
Is it possible to change it with hylafax?

Currently I have:
crw--- 1 uucp uucp 4, 64 Mar 19 13:46 /dev/ttyS0

And I wan it to be:
crw-rw-rw- 1 uucp uucp 4, 64 Mar 19 13:46 /dev/ttyS0
I've tried adding a rule to 50-udev.rules in /dev
but /udev is not running and when I try to restart it I get:

The udev init-script is written for baselayout-2
Please do not use it with baselayout-1



If you want to make sure udev is running, do this command:

ps aux | grep udev

If it returns nothing, then you can start it with this command:

/sbin/udevd --daemon

Hope that helps.

Dale

:-)  :-)



Re: [gentoo-user] ttyS0 permission

2010-03-28 Thread Robin Atwood
On Sunday 28 March 2010, Joseph wrote:
> How to change permission on /dev/ttyS0 ?
> Which program controls it owner and permission?
> Is it possible to change it with hylafax?
> 
> Currently I have:
> crw--- 1 uucp uucp 4, 64 Mar 19 13:46 /dev/ttyS0
> 
> And I wan it to be:
> crw-rw-rw- 1 uucp uucp 4, 64 Mar 19 13:46 /dev/ttyS0
> 
> I've tried adding a rule to 50-udev.rules in /dev
> but /udev is not running and when I try to restart it I get:
> 
> The udev init-script is written for baselayout-2
> Please do not use it with baselayout-1

This is set by parameter "DeviceMode: 0660" in file 
/var/spool/fax/etc/config.ttyS0. You are asked in the setup script.

HTH
-Robin
-- 
--
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--











Re: [gentoo-user] ttyS0 permission

2010-03-28 Thread Neil Bothwick
On Sun, 28 Mar 2010 09:53:19 -0600, Joseph wrote:

> I've tried adding a rule to 50-udev.rules in /dev

Don't add to the existing rules, it can cause problems on updates. Create
your own rules file in /etc/udev/rules.d/10-local.rules.

> but /udev is not running and when I try to restart it I get:
> 
> The udev init-script is written for baselayout-2
> Please do not use it with baselayout-1

That's because BL1 starts up udev automatically, the init script is only
needed with BL2.


-- 
Neil Bothwick

OS/2: Obsolete Soon, Too


signature.asc
Description: PGP signature


[gentoo-user] ttyS0 permission

2010-03-28 Thread Joseph

How to change permission on /dev/ttyS0 ?
Which program controls it owner and permission?
Is it possible to change it with hylafax?

Currently I have:
crw--- 1 uucp uucp 4, 64 Mar 19 13:46 /dev/ttyS0

And I wan it to be:
crw-rw-rw- 1 uucp uucp 4, 64 Mar 19 13:46 /dev/ttyS0 


I've tried adding a rule to 50-udev.rules in /dev
but /udev is not running and when I try to restart it I get:

The udev init-script is written for baselayout-2
Please do not use it with baselayout-1

--
Joseph