Freeing up a serial port with a modem connected


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Freeing up a serial port with a modem connected
# 1  
Old 01-16-2008
Question 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 problem, however I was wondering if there was anything I could do from my x-terminal to "kick or free-up" the port/modem. When I issue the tip /dev/cua/b command when things are working, I am able to query the modem using ATI4 and such. But when either it or the port are in this strange state, I get no echo back of characters that I type while in tip. Can anyone recommand a command that I can issue from the Unix prompt to free up the port to avoid having me to call in a help ticket to simply get the modem reset?
 
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. Solaris

How to enable Serial port on ILOM, when Network Port is enabled in parallel

Hi Everyone, In my environment, I have few T5220. On the iLOM Management Card, I have both Network and Serial port are cabled, I don't have any issues while I try to connect using Network Management port, but when I try to connect the serial port for the same server which is actually connected... (3 Replies)
Discussion started by: bobby320
3 Replies

4. Solaris

luxadm -e port shows one port not connected

hi i have a sun machine which has one hba 2ports; out of which one port says it is not connected # luxadm -e port /devices/pci@1d,700000/SUNW,qlc@1/fp@0,0:devctl CONNECTED /devices/pci@1d,700000/SUNW,qlc@1,1/fp@0,0:devctl NOT CONNECTED but both... (9 Replies)
Discussion started by: anwesh
9 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. Solaris

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 :D Anyhow,... (0 Replies)
Discussion started by: darontan
0 Replies

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

8. Linux

get innet access by dualup to linux box connected to dsl through phone line modem

Hi! I'm looking for a sollution on this task: is there any way to make linux as some sort of personal ISP, with would let me/somebody else get internet access by dialing up to linux box through phoneline? to use it as sort of a proxy or something simular? I could manage it on windows 2000... (2 Replies)
Discussion started by: V@no
2 Replies

9. UNIX for Dummies Questions & Answers

Got connected with Modem but cannot dial Telephone no. to connect to host

Hello There, I configure my Modem as follow. Step1. # admintool & Then from Browse --> Serial Port i select tta port and Edit --> Modify From that i select Template : Modem:Dial Out Baud Rate: 9600 Ok Step 2 # tip /dev/cua/a connected (1 Reply)
Discussion started by: abidmalik
1 Replies

10. UNIX for Dummies Questions & Answers

getting info from microannex connected to serial port A

Hi, is there a way to get information of an annex device connected to port A ? i need to get the I.P address of the annex and the port it connected to on the annex. dori (1 Reply)
Discussion started by: dorilevy
1 Replies
Login or Register to Ask a Question
STATSERIAL(1)							   User Commands						     STATSERIAL(1)

NAME
statserial - display serial port modem status lines SYNOPSIS
statserial [-n | -d | -x] <device-name> DESCRIPTION
Statserial displays a table of the signals on a standard 9-pin or 25-pin serial port, and indicates the status of the handshaking lines. It can be useful for debugging problems with serial ports or modems. The optional device-name parameter is the full name of the device file for the serial port in question. If not specified, the default is taken from the environment variable MODEM if set, otherwise /dev/cua1. COMMAND-LINE OPTIONS Each of the command line options is mutually exclusive. -n Normally statserial will loop continuously, updating the status at one second intervals; you can exit using Control-C. The -n option disables looping. -d With this option the status of the modem is printed as a decimal number. The bits are encoded as follows (XXX indicates unused bits): +---+---+---+---+---+---+---+---+---+ | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | +---+---+---+---+---+---+---+---+---+ |DSR|RI |DCD|CTS|XXX|XXX|RTS|DTR|XXX| +---+---+---+---+---+---+---+---+---+ -x This option is the same as -d, except that the output is in hexadecimal. BUGS
/LIMITATIONS Statserial only works with devices that support the TIOCMGET ioctl. You need permission to read the device file. The device file may be locked if other applications are using it. AUTHOR
Statserial was written by Jeff Tranter (Jeff_Tranter@Mitel.COM), later updated by Frank Baumgart (godot@uni-paderborn.de) and is released under the conditions of the GNU General Public License. See the file COPYING and notes in the source code for details. SEE ALSO
setserial(8) stty(1) /usr/src/linux/drivers/char/serial.c /usr/include/linux/termios.h Linux 17 December 1994 STATSERIAL(1)