Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 May 2001 10:31:45 +1000
From:      "Doug Young" <dougy@gargoyle.apana.org.au>
To:        "Damien Tougas" <damien@carroll.com>
Cc:        <freebsd-questions@freebsd.org>
Subject:   Re: Usage of "cu"
Message-ID:  <0a7a01c0e969$13842880$0300a8c0@oracle>
References:  <744580000.991268936@sprig.tougas.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks Damien ...... I guess I should have said that I've always
run "cu" as root. so shouldn't that over-ride any ownership / group
issues ??


> One of the ways cu knows that the line is in use is that it checks
the
> ownership and permissions on the device. Usually in this situation,
I have
> been able to rectify things by resetting the ownership and
permissions on
> /dev/cuaaX (typically uucp:dialer and mode 0660). Some programs
which
> access serial ports also create a lock file in /var/spool/lock which
can be
> removed as well.
>
> There have been a couple of occasions where I have gotten gibberish
when I
> tried to access the modem after doing this because somthing else was
still
> using it. YMMV.
>
> ---
> Damien Tougas
> Systems Administrator
> Carroll-Net, Inc.
> http://www.carroll.com
>
> --On Thursday, May 31, 2001 09:09:15 +1000 Doug Young
> <dougy@gargoyle.apana.org.au> wrote:
>
> > Would someone please enlighten me on the correct usage of "cu"
> >
> > I often need to re-set remote modems when they get hung, &
generally
> > using "cu -l /dev/cuac0x" brings a "Connected" response. Sometimes
> > however I get the following
> >
> > # cu -l /dev/cuac0x
> > cu: /dev/cuac0x: Line in use
> >
> > killing the getty doesn't help because it re-starts immediately
> >
> > Is there a way to ALWAYS make the modem pay attention ??
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
>
>
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0a7a01c0e969$13842880$0300a8c0>