Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

modem(1) [minix man page]

MODEM(1)						      General Commands Manual							  MODEM(1)

NAME
modem - switch the modem and getty state SYNOPSIS
modem [-o] [-i num] ttyn OPTIONS
-o Turn getty off and set modem to dialout -i Set line to dialin EXAMPLES
modem -o tty00 # Set tty00 to dialout modem -i2 tty00 # Set tty00 to dialin (2 rings) DESCRIPTION
The getty program allows a terminal port to be used for both dialin and dialout. This little program switches the getty state, and also sends some commands to the modem attached to the specified line. If the -o flag is presnt, modem will put the getty process (if any) con- nected to the specified line into SUSPEND state, which means that it will not pay attention to that line until it is reset to RESTART state. Also, modem will send some (Hayes) commands to the attached modem to disable the auto-nanswer mode. The -i flag specifies the num- ber of times the telephone has to ring before the modem may answer the call (to give the operator a chance). SEE ALSO
term(1), getty(8). MODEM(1)

Check Out this Related Man Page

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)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how internal modem on pc

Would anyone know how to mount an internal modem on Solaris on PC? (7 Replies)
Discussion started by: softarch
7 Replies

2. IP Networking

Unix Internet Connection

I am trying to set up my internet connection for my unix system and cannot seem to do it. I have a optimum on line service, and use a cable modem, with a usb. The 3 com ethernet card in my Gateway Labtop is recognized but when I hook up the usb and try and connect the usb is unrecognized. I... (14 Replies)
Discussion started by: kdelph
14 Replies

3. UNIX for Dummies Questions & Answers

i can't get on the internet

hello :( i have just installed linux mandrake 7.1 and i've been trying to get help EVERYWHERE!! i can't get on the internet. it dials the modem and connects but when i try and go 2 any web pages it gets no further than looking for the server. plleeeeeeeeeeeeeeeeeeeeeease help thanks,... (7 Replies)
Discussion started by: mipsy
7 Replies

4. UNIX for Dummies Questions & Answers

I can't connect to the internet???

I have installed Mandrake 8.0...however I can't seem to connect to the internet while using it. I have dial up upstream and cable downstream (if that helps). Can anyone help me out??? Thanks. (14 Replies)
Discussion started by: justchillin
14 Replies

5. UNIX for Dummies Questions & Answers

i have tried but i can't get my internet connection to work???

for those who have read my earlier posts i have been trying for about a week and a half to get my internet connection working with no results... my isp is ex-pressnet (in VA)...one-way cable internet service (dial-up for uploads, cable for downloads) using a com21 cable modem...this is extremly... (6 Replies)
Discussion started by: justchillin
6 Replies

6. IP Networking

Modem Problems

*breathe in* *breathe out* Okay, I managed to get Linux installed on my 2nd harddrive with my primary running windows.. but I'm having alittle problem getting linux to 'like' my modem.. (a 3com)... it just won't let me use it. I configure my internet connection how it should (give me some credit... (9 Replies)
Discussion started by: cHiCkEn
9 Replies

7. UNIX for Dummies Questions & Answers

Cannot connect to my ISP

I'm totally frustrated, my administrator has left the state and me high and dry! My modem cannot connect to my ISP all it does is start to ping and the a high pitched squeal for about a minute. I have logged on as the "root" in hope to get into my /etc/ppp/ppp.conf file however I get a... (8 Replies)
Discussion started by: coolteach
8 Replies

8. UNIX for Dummies Questions & Answers

Solaris Sparc5 and connecting with a PC via Hyper terminal

I am trying to connect to a sparc5 with my PC via a null modem cable from serial port to serial port. I do not have a sun monitor so I am trying to use my PC. I am unsuccessful in even making the basic connection to the sparc box. Any ideas on how to work around this? (7 Replies)
Discussion started by: adrian
7 Replies

9. Linux

Linux & Internal Modems

Hello There! Why is it so difficult (read: impossible) to configure and run an internal modem in linux operating system. Not all can afford an external modem and hardware modems are obsolete as well as out of production. Is it impossible to write software drivers for an internal modem to work... (6 Replies)
Discussion started by: Jawwad
6 Replies

10. Solaris

Need help configuring Cable Modem on Solaris x86

I have a dual boot system with XP being the primary for now and Solaris 10 being the Secondary. I have a cable modem and wish to configure the same to be used with Solaris so that I can browse the Internet and such. I have connected my x86 machine with a Netgear Router and that in turn is... (7 Replies)
Discussion started by: tubbyrana
7 Replies

11. OS X (Apple)

Cannot access UNIX.com with new cable modem

Hi. I have a very strange problem, so strange I don't even know which sub-forum to post it to. Last week, my cable modem broke, so I took it back and got a new one. The new one doesn't work with my old router so, for now, I have to connect the modem directly to my Mac with an ethernet... (14 Replies)
Discussion started by: Scott
14 Replies

12. What is on Your Mind?

Modems still in operation?

Does anyone still use modems for anything? Every now and then I see a web site that offers low res video for dial-up users. I wonder if any dial-up users still exist. But even if you have a wide band Internet connection,you might still use a modem for something else. For the purposes of this... (13 Replies)
Discussion started by: Perderabo
13 Replies

13. Ubuntu

How to implement TIOCOUTQ for USB modem on Linux Ubuntu

Hi, I need to override ioctl operation for a few USB drivers (sierra, option, cdc-acm) on Linux Ubuntu 2.6.34sb2 to support TIOCOUTQ command. Unfortunately, none of the drivers I mentioned above support TIOCOUTQ because it seems unclear to know amount of data inside a modem. Does Linux... (12 Replies)
Discussion started by: SDoroshenko
12 Replies

14. Hardware

Modem connection between two local PCs

Hello everybody, I didn't know were to post this, so i posted here in hardware section. I'm having some troubles while trying to interconnect two pc's via modem (soft fax modem, RJ-11 jack). One is a Handheld PC (HP Jornada 728) with a single fax modem slot, and the other computer is a PC with... (6 Replies)
Discussion started by: Zykl0n-B
6 Replies

15. Shell Programming and Scripting

Help with 56kbit Modem Scripting

Hi all, I have been working on an unique script of my own, which should be able to communicate with a classic 56kbit modem. I am quite a newbie to the scripting, but I suppose I am slowly making a progress. At the beginning I had no idea how I was supposed to communicate with the modem. I... (7 Replies)
Discussion started by: krustowski
7 Replies