Communicate Serial Modem using non-Root user


 
Thread Tools Search this Thread
Operating Systems Solaris Communicate Serial Modem using non-Root user
# 1  
Old 08-10-2006
Question Communicate Serial Modem using non-Root user

Hi,

I'm having a issue on communicating the serial GSM modem in Sun Solaris 5.9

To implement such connectiom, i'm using the "tip -115200 /dev/term/a" command and i successfully get the "connected" status
And then i send a "AT" message and receive "OK" response from the modem Smilie

Anyhow, this can only be done by login as a ROOT user
When i try to connect as normal user, i recieve the "tip: unknown host /dev/term/a" Smilie

FYI, i tried to tip the /dev/cua/a and it works for BOTH users
BUT i'm writing a SMS program using SMSLib. And it only recognize /dev/term/* instead of /dev/cua/*.

Is there any OS config i can do to solve this issue? Smilie

Thanks Smilie

Last edited by darontan; 08-10-2006 at 11:14 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 11.2 does not assign serial port to 3g usb modem?

In ubuntu etopic i create this udev rules for prolink 3g usb modem: SUBSYSTEM=="block", SUBSYSTEM=="scsi", ATTRS{idVendor}=="1e0e", ATTRS{idProduct}=="f000", ACTION=="add", RUN+="/sbin/modprobe usbserial Vendor=0X1e0e Product=0Xf000" After plugging the usb modem, ubuntu assigns the ports... (4 Replies)
Discussion started by: shamsat
4 Replies

2. Solaris

Cabling and adapters to communicate to service processor serial port from Windows PC with USB port.

Hello, I have an unloaded T5140 machine and want to access the ILOM for the first time and subsequently the network port after that., and then load Solaris 10 the final January 2011 build. The first part is what confuses me -the cabling. I am coming from a Windows machine (w/appropriate... (5 Replies)
Discussion started by: joboy
5 Replies

3. Hardware

Serial connection CAT5 instead of RS232 and Null Modem or Straight cable.

Hello, I want to connect a VT520 terminal to p3 linux box. I have two questions regarding the connection. First, is it possible to use RJ45 instead of RS232 cable. (with DB9 pin to RJ45 and DB25 to RJ45 converter). Second point is that; do i need null modem cable or straight cable... (5 Replies)
Discussion started by: vectrum
5 Replies

4. Shell Programming and Scripting

Tcl: How to communicate serial port remotely

Hi all: i wanna automate a test written in Tcl, but stuck in serial communication. I had 2 PC, one is my local Windows machine, the other one is my test Linux server. The Linux box is connected to the test board via serial port. So I wanna send commands and get output through the... (4 Replies)
Discussion started by: allenxiao7
4 Replies

5. AIX

serial modem connection

I configured the serial modem in my P6-550 AIX 5.3 box But i dont have telephone line. when I run the command # cu -l /dev/tty1 the output is as follows does it mean that my modem is responding to the command? can i say my serial port is working and communicating fine? Connected ... (3 Replies)
Discussion started by: pchangba
3 Replies

6. Virtualization and Cloud Computing

Red Hat Linux Serial Number using non-root user

Hi All, Is there any way to find out the Serial Numbers in Red Hat Linux machines with a non-root user? I know we can find using the dmidecode command, but it needs root privilege. I want to access this information using a non-root user. Any help will be greatly appreciated. :) Many... (2 Replies)
Discussion started by: vineetd
2 Replies

7. UNIX for Dummies Questions & Answers

Freeing up a serial port with a modem connected

I currently access a remote Unix server which has an external modem connected to one of it's serial ports (/dev/cua/b). At times, this server undergoes a hard reset and for some reason this disallows us from making use of the modem any longer. A hard reset of the modem always seems to fix the... (0 Replies)
Discussion started by: ebender1
0 Replies

8. Linux

modem - usb to serial configuration

I have a serial modem connected to a usb port using an adapter cable. The system is a HP DL360. RedHat ES3.0 I am using the device /dev/ttyUSB0 When I issue the command "mgetty ttyUSB0" I get the following output in the log file. How do I get the system to see the modem. 12/02 14:17:55... (2 Replies)
Discussion started by: jshoovie
2 Replies

9. Solaris

null modem serial cable for server testing

HI all, i still have a problem when using null modem to see the output from my server(sun ultra en 3000). i followed the instruction from the internet, but it is not working. 1. i am using db9(5 4, 2 rows,put in laptop serial port) and db25(13 12, 2 rows,put in (A) server serial port). 2.... (3 Replies)
Discussion started by: waterbear
3 Replies

10. UNIX for Dummies Questions & Answers

Installing a modem on a serial accelerator ports

I had been using a modem installed on a Digi accelerator port to dial in to an SCO open server r5 server. On monday it quit working and I realy don't know how it was installed and configured. I have tested the modem on a PC and it works. The port the modem is connected to is ttyB06 and I have... (1 Reply)
Discussion started by: kikkin
1 Replies
Login or Register to Ask a Question