01-16-2008
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?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. UNIX for Dummies Questions & Answers
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
3. Linux
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
4. Linux
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
5. Solaris
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
6. AIX
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
7. Solaris
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
8. Solaris
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
9. Solaris
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
10. Solaris
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
TERM(1) General Commands Manual TERM(1)
NAME
term - turn PC into a dumb terminal [IBM]
SYNOPSIS
term [baudrate] [parity] [bits_per_character] [-dial_string] [device]
EXAMPLES
term 2400 # Talk to modem at 2400 baud
term 1200 7 even # 1200 baud, 7 bits/char, even parity
term 8 9600 /dev/tty01
# 9600 baud, 8 bits/char, no parity, use tty01
term -atdt12345 /dev/tty01
# Start with a command to dial out
DESCRIPTION
Term allows MINIX to talk to a terminal or modem over RS232 port 1. The program first sets the baudrate, parity and character length, and
then forks. The parent sits in a loop copying from stdin (usually the console's keyboard), to the terminal or modem (/dev/tty00). The
child sits in a loop copying from the terminal or modem (/dev/tty00) to standard output. Thus when RS232 port 1 is connected to a modem,
every keystroke typed on the keyboard is sent to the modem, and every character arriving from the modem is displayed. Standard input and
output may be redirected, to provide a primitive file transfer program, with no checking. Any argument that starts with a minus ('-') is
sent out to the modem, usually to dial out. Term accepts several commands that are formed by typing the escape character, CTRL-], and a
letter. Type CTRL-]? to see a list of commands. The subshell command is very important, it allows you to type in a ZMODEM command to
transfer data. Do not quit term to do this, or your modem line will be reset! Term keeps the modem line open on file descriptor 9 while
running the subshell, so you can type
<&9 >&9
at the end of your ZMODEM command to connect it to the modem.
Important note: to use term, it is essential that /etc/ttytab is configured so that there is no shell hanging on /dev/tty01. If there is,
both the shell and term will try to read from /dev/tty01, and nothing will work.
SEE ALSO
rz(1), sz(1).
TERM(1)