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
pcser(7D)																 pcser(7D)

NAME
pcser - PCMCIA serial card device driver SYNOPSIS
serial@<socket>:pcser serial@<socket>:pcser,cu The pcser PCMCIA serial card device driver supports asynchronous serial I/O access to any PCMCIA card that that complies with Revision 2.1 of the PCMCIA standard and which represents an 8250-type UART interface. PRECONFIGURE
If a PC card modem or serial device is recognized, the pcser device driver is automatically loaded, ports and IRQs allocated, and special files created (if they don't already exist). CONFIGURATION
Configuration steps include initial installation and configuration, identifying an unrecognized device and misidentifying a recognized device. Initial Installation and Configuration 1. Install the Solaris software. 2. Boot the system. 3. Insert the modem or serial device. Identifying an Unrecognized Device If you insert a PC card modem or serial device and it is not recognized (that is, no special files are created under /dev/cua or /dev/term), use the prtconf command to find the problem: 1. Become root. 2. Run the prtconf -D command to see if your modem or serial device is recognized. An unrecognized device will appear at the end of the prtconf output. For example: # prtconf -D . . . pcic, instance #0 (driver name: pcic) . . . pccard111.222 (driver not attached) 3. If your device is not recognized, use the add_drv command to add the name of your device as another known alias for pcser devices. For example, type the following at the command line: # add_drv -i'"pccard111.222"' pcser Note - Include the double quotes in single quotes to keep the shell from stripping out the double quotes. Use the identification string listed in the prtconf output. Use the entire string in the add_drv command. See add_drv(1M). Misidentifying a Recognized Device 1. Run the prtconf -D command to see if your modem or serial device is erroneously recognized as a memory card. If the device is incor- rectly recognized as a memory card, the output of the prtconf command could show: # prtconf -D . . . pcic, instance #0 (driver name: pcic) . . . memory, instance #0 (driver name: pcmem) pcram, instance #0 (driver name: pcram) 2. Use the Configuration Assistant to identify the memory resource conflict, and add correct information for the device on the View/Edit Devices menu. Typically, the problem may be a resource conflict between device memory settings. A PC Card adapter chip that is not fully supported may also be the cause of the problem. 3. To work properly with the Solaris operating environment, all devices must be accounted for, even those the Solaris environment does not support. The Configuration Assistant software accounts for all devices in your system. Additional Configuration When adding a new serial port or modem to the system, you often need to edit configuration files so that applications can use the new com- munications port. For example, the /etc/uucp/Devices file needs to be updated to use UUCP. See Overview of UUCP in the System Administra- tion Guide. For PPP on the serial port, see pppd(1M) and Solaris PPP Overview in the System Administration Guide. Special Files The serial devices in /dev/term and /dev/cua are named by socket number. A card inserted in socket 0 is pc0, and socket 1 is pc1. Hot Plugging If a PC Card modem or serial device is unplugged while in use, the device driver returns errors until the card is replaced in the socket. The device must be closed and reopened with the card reinserted before the device begins working again. The restart process depends on the application. For example, a tip session automatically exits when a card in use is unplugged. To restart the system, you must restart the tip session. /kernel/drv/pcser pcser driver /dev/term/pcn dial-in devices /dev/cua/pcn dial-out devices where: n is the PCMCIA physical socket number. cu(1C), tip(1), uucp(1C), autopush(1M), pcmciad(1M), ports(1M), ioctl(2), open(2), pcmcia(7D), termio(7I ), ldterm(7M), ttcompat(7M) pcser: socket n soft silo overflow The driver's character input ring buffer overflowed before it could be serviced. pcser: socket n unable to get CIS information The CIS on the card has incorrect information or is in an incorrect format. This message usually indicates a non-compliant card. 10 Sep 2002 pcser(7D)