[olug] What am I forgetting

Tom huber28 at cox.net
Wed Sep 24 21:47:09 UTC 2003


Good thought I have not rebooted so don't know what mine will do, I should
check it.  I would imagine you could put it in a startup script to make the
change again.

Tom

-----Original Message-----
From: olug-bounces at olug.org [mailto:olug-bounces at olug.org]On Behalf Of
CM Miller
Sent: Wednesday, September 24, 2003 6:52 AM
To: 'olug at olug.org'
Subject: RE: [olug] What am I forgetting


>> What am I forgetting to change?
>> I have a program that keys my radio through comm. 1
>>ttyS0.
>> It works fine if I am logged on as root or switched
>>to su but otherwise it
>> won't key xmitter.
>> I have changed ownership and group and set all the
>>rights.  What am I
>> missing?
>> Thanks

>Tom,
>
>Try running 'setserial /dev/ttyS0' as the non-root
>user you want to run
>your application with and see what you get.
>
>Default:
>
>crw-------    1 root     uucp       4,  64 Sep 19
>08:05 /dev/ttyS0
>
>result:
>$ setserial /dev/ttyS0
>/dev/ttyS0: Permission denied
>
>
>Here is what mine looks like after I changed it
>(command: chown jlarsen /dev/ttyS0):
>
>crw-------    1 jlarsen  uucp       4,  64 Sep 19
>08:05 /dev/ttyS0
>
>$ setserial /dev/ttyS0
>/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
>
>
>This should allow the given username to access the
>serial port.


I'm having the same problem with my Knoppix laptop.

I run

setserial /dev/ttyS0

And it is then ok.

But, if I reboot, then the problem come back.

Is there any permanet way to fix this?

thanks

-Chris



=====
"There are two major products that come out of Berkeley, CA.:  LSD and UNIX.

I don't believe this to be a coincidence"

-Unknown

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
_______________________________________________
OLUG mailing list
OLUG at olug.org
http://lists.olug.org/mailman/listinfo/olug



More information about the OLUG mailing list