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
center.

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

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

PHONE  Fax (213) 874-7965

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2

mQBtAzA/tLQAAAEDAKUy/TEjQ/jiZ+9/WJb/+NHxqkvOxGZ3W/F2JCNm5v5ZTZz+
BVZC9GM/I+plQ8xz+7B+KhDSVax8gxNTAkJ+I7P/zAP2ZDMwVf4lq5ZFxMJC+7c7
ET+hNtmQUt8vCVR8hQAFEbQZT3ogRHJvciA8ZHJvckBuZXRjb20uY29tPg==
=EU23
-----END PGP PUBLIC KEY BLOCK-----

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.