Unable to Access Modem

Unable to Access Modem

Post by Russell Edwar » Sun, 27 Aug 1995 04:00:00

I have a modem connected to a PC running SCO UNIX.
Its device file looks like:

crw-rw-rw-   1 uucp     uucp       5,  0 Aug 26 14:20 tty1a

I have a program that calls the dial() function to connect
to the modem and then transmits a short message to a paging

The problem is that I can only run the program as root, I get
an error "DV_NT_A", or -8, for "requested device not available"
whenever I run the program as a non-root user.

Since I have a Web interface for the program, and httpd is not
root, I'm stuck.

I heard that I may use setuid() or sticky bit to gain access to
the modem, but don't know how.

Please help me by sending e-mail or posting here.

Thanks a bunch.


1. Help: Unable to access remote modem

I have two unix machines connected through ethernet

I am trying to use the remote machine modem from the local machine

I did the following
mount remote:/dev /mnt
then I typed
cu -l/mnt/cua2

I got the follwing error
cu: /mnt/cua2: Line in use

but when I am in the remote machine
when I type
cu -l/dev/cua2
I get Connected and it works fine.

Ihave actually a more general question
How can I used the remote machines devices from the local machine

-Any help will be appreciated
NAME   Oz Dror, Los Angeles, California  

PHONE  Fax (213) 874-7965

Version: 2.6.2


2. compiling and linking for earlier versions on solaris

3. Reading Web Pages with KFM Browser

4. Problem accessing modem on Linksys combo ethernet modem PCMCIA card

5. A ksh problem on Solaris 2.5

6. Unable to access h/d due to fdisk error

7. Windows 2000 workstation and Samba

8. unable to access cdrom after adding another HDD

9. unable to access floppy/cdrom in Gnome.

10. Unable to access our own Web

11. Unable to dynamically access a function using dlopen

12. Unable to access cdrom over NFS.