![](/images/new-backgrounds/1188913/188913209x1.webp)
Chapter 7
Talking to the Modems
This chapter discusses use and configuration of the NETServer’s internal modems. The following subjects will be covered:
∙TCP/IP modem sharing
∙Modem Initialization Scripts
∙Sending AT commands to the modems
TCP/IP Modem Sharing
Configuring a port to act as a “host device” allows users on a local TCP/IP network to use the modem for dialing out. It works like this:
Step 1 - Configure the port as a host device
The following command tells the NETServer that the port may be accessed directly by other devices on the network.
set s<port #> device /dev/<device name>
Unless you are using one of the pseudo TTY drivers described later in this chapter, type the word network in the <device name> field.
Step 2 - Assign the modem a TCP port number
You will need to choose the login service you will be using to connect to the modem’s command line (If you will be using Telnet to talk to the modem, choose Telnet, etc.) Use the follow- ing command:
set s<port #> service_device <telnet rlogin netdata> <TCP port #>