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
sredird(8)							      sredird								sredird(8)

NAME
sredird - RFC 2217 serial port server SYNOPSIS
sredird [-i] log-level serial-device lock-file [poll-interval] DESCRIPTION
This manual page documents briefly the sredird, program. This program when run through inetd will use the RFC 2217 extensions to TELNET to implement serial commands over the TCP connection and interface to a specified serial port. OPTIONS
An optional first parameter is '-i' to enable compatability with Cisco IOS. The first mandatory parameter is the log level for use in syslog. The next mandatory parameter is the device node for the serial device, it must be a fully qualified path. The final mandatory parameter is the file name for the lock file to be used to prevent multiple instances of sredird from talking to the serial port at the same time, or to allow sharing a port between modem and sredird. EXAMPLE
Here is a configuration line for running it from inetd: sredir stream tcp nowait root /usr/sbin/tcpd /usr/sbin/sredird 5 /dev/modem /var/lock/LCK..modem AUTHOR
This man page was written by Russell Coker <russell@coker.com.au>. May be freely used and distributed without restriction under the terms of the GPL. The sredird program was written by Denis Sbragion <d.sbragion@infotecna.it> and Jeffrey Altman <jaltman@columbia.edu>. Russell Coker <;russell@coker.com.au> 2.2.0 sredird(8)