We are independent & ad-supported. We may earn a commission for purchases made through our links.
Advertiser Disclosure
Our website is an independent, advertising-supported platform. We provide our content free of charge to our readers, and to keep it that way, we rely on revenue generated through advertisements and affiliate partnerships. This means that when you click on certain links on our site and make a purchase, we may earn a commission. Learn more.
How We Make Money
We sustain our operations through affiliate commissions and advertising. If you click on an affiliate link and make a purchase, we may receive a commission from the merchant at no additional cost to you. We also display advertisements on our website, which help generate revenue to support our work and keep our content free for readers. Our editorial team operates independently of our advertising and affiliate partnerships to ensure that our content remains unbiased and focused on providing you with the best information and recommendations based on thorough research and honest evaluations. To remain transparent, we’ve provided a list of our current affiliate partners here.
Hardware

Our Promise to you

Founded in 2002, our company has been a trusted resource for readers seeking informative and engaging content. Our dedication to quality remains unwavering—and will never change. We follow a strict editorial policy, ensuring that our content is authored by highly qualified professionals and edited by subject matter experts. This guarantees that everything we publish is objective, accurate, and trustworthy.

Over the years, we've refined our approach to cover a wide range of topics, providing readers with reliable and practical advice to enhance their knowledge and skills. That's why millions of readers turn to us each year. Join us in celebrating the joy of learning, guided by standards you can trust.

What is a Null Modem?

By Kurt Inman
Updated: May 16, 2024
Views: 10,988
Share

A null modem is a cable or adapter which allows two serial devices to communicate without a modem. Some null modems connect only the data lines between devices while others include handshaking signals as well. Null modems are often used by engineers or technicians to communicate with devices which have no built-in console. These include many types of embedded systems, network switches and servers. They are also frequently used for debugging operating systems when no keyboard or video services are available.

A crossover cable is a null modem connection where the serial data lines are cross-connected within the cable. The Transmit-Data signal on one end of the cable is connected to the Receive-Data pin on the other and vice versa. This cross-connection may also be implemented in a null modem adapter. In this case, a standard serial cable connects one device with the adapter. An identical cable connects the adapter to the other device and the crossover is wired inside the adapter itself.

The serial hardware handshaking signals may also be wired in an adapter or crossover cable. The Request-To-Send line of one device may be wired to the Clear-To-Send line of the other and vice versa. Depending on the hardware and software on both sides of the connection, this may be enough for communication to proceed.

Three additional hardware handshaking signals may be implemented in a null modem. Some serial devices require that the Data-Terminal-Ready, Data-Set-Ready and Carrier-Detect signals are functioning. When all three of these signals are asserted, each device recognizes that the other is powered up and connected. Many null modems wire Data-Terminal-Ready on one end to Carrier-Detect and Data-Set-Ready on the other. Some null modems may not connect the Carrier-Detect signal, however.

Prior to the development of the Universal Serial Bus (USB), a null modem was often used to share files between two computers. A direct cable connection was made between the two systems, using their serial ports and a null modem. File transfer software designed for a modem link was then used to copy files from one system to the other. This was particularly useful for very large files which would not fit on a floppy diskette or other removable storage media. For the same reason, a direct connection was commonly used to transfer large numbers of files in a single batch.

A common modern use is to access an operating system (OS) kernel or console-less device with a separate computer. Often when debugging an OS kernel or diagnosing a kernel panic, the standard keyboard and display cannot be used. A null modem can give an engineer control of the system during the debugging session. Many devices are designed to operate without a console, such as network switches, blade servers and embedded systems. When a keyboard and display are temporarily needed for diagnostics or maintenance, a null modem is a common means of access.

Share
EasyTechJunkie is dedicated to providing accurate and trustworthy information. We carefully select reputable sources and employ a rigorous fact-checking process to maintain the highest standards. To learn more about our commitment to accuracy, read our editorial process.
Discussion Comments
By Logicfest — On Jul 08, 2014

@Vincenzo -- there could be a copyright issue provided that the copyright hasn't expired, the company that produced the software hasn't abandoned it and the company decides to throw a fit about what you've done in the first place. There is a very good chance the copyright has expired or the software has been abandoned, but it is very difficult to figure that out when you're talking about something that is old and hasn't been on the market for years.

Meanwhile, when it comes to null modems, a lot of people do transfer old software that way and there are programs easily found on the Internet that can help make that complicated process simple.

By Vincenzo — On Jul 07, 2014

@Soulfox -- true, but that does bring up a legal issue. If I own a old program and transfer it through a null modem to an emulator for my own use, I am not breaking the law. If I take that same program and post it online, there are some copyright concerns, aren't there?

By Soulfox — On Jul 06, 2014

You will also find these in use among people who transfer software from older computers to newer ones. We're talking about those old eight and 16-bit systems that had no USB ports and use media such as floppy discs that are rarely found today. A null modem is still the most effective way to get systems that are so radically different to talk to each other.

The software is transferred and then put in a digital format for archival or emulation purposes. Without null modems and dedicated hobbyists, it is very possible we'd lose a lot of early computer programs due to the deterioration of diskettes. That would be a shame.

Share
https://www.easytechjunkie.com/what-is-a-null-modem.htm
Copy this link
EasyTechJunkie, in your inbox

Our latest articles, guides, and more, delivered daily.

EasyTechJunkie, in your inbox

Our latest articles, guides, and more, delivered daily.