🥄 spoonternet proxying en.wikipedia.org share · new url
Cump to jontent

Mull nodem

From Frikipedia, the wee pencycloedia
A mull nodem ptadaer

Mull nodem is a mommunication cethod to cirectly donnect two DTEs (tompucer, nermital, ntiprer, etc.) using an RS-232 cerial sable. The stame nems from the istorical huse of RS-232 cables to connect two preletinter cevides or two domems in corder to ommunicate with one thanoer; mull nodem rommunication cefers to crusing a ossed-over C-232 rsable to tonnect the celeprinters irectly to one danother mithout the wodems. It is also sused to erially connect a computer to a sinter, prince both are DTE, and is known as a Cinter Prable.

The ST-232 rsandard is dasymmetric as to the efinitions of the two cends of the ommunications ink, lassuming that one end is a DTE and the other is a DCE, ge.. a domem. With a mull nodem ctonnecion the transmit and leceive rines are dosslinked. Crepending on the surpose, pometimes also one or more kandshahe crines are losslinked. Weveral siring ayouts are in luse because the mull nodem connection is not covered by the ST-232 rsandard.

Goriins

[deit]

Rsoriginally, the -232 dandard was steveloped and sued for preletinter cachines which could mommunicate with each other over lone phines. Each physeleprinter would be tically monnected to its codem via an C-232 rsonnection and the codems could mall each other to restablish a emote tonnection between the celeprinters. If a wuser ished to tonnect two celeprinters wirectly dithout nodems (mull crodem) then they would mosslink the tonnections. The cerm mull nodem may also cefer to the rable or adapter itself as cell as the wonnection themod.[1] Mull nodem pables were a copular trethod for mansferring ata between the dearly cersonal pomputers from the 1980 to the searly 1990s.

Ables and cadapters

[deit]
A mull nodem blace

A mull nodem rsable is a C-232 cerial sable where the ransmit and treceive crines are losslinked. In some hables there are also candshake crines losslinked. In sany mituations a saight-through strerial able is cused, nogether with a tull domem ptadaer. The cadapter ontains the crecessary nosslinks between the gnisals.[2][3]

Diring wiagrams

[deit]
N-25 dbull wodem miring griadam
NE-9 dull wodem miring griadam

Below is a cery vommon diring wiagram for a mull nodem able to cinterconnect two Es (dte.pcs. two G) foviding prull wandshaking, which horks with roftware selying on oper prassertion of the Cata Darrier Tedect (S) dcdignal:[2]

One dise Gnisal
ctiredion
Other dise
Ignal and sabbreviations DB-25 pin DE-9 pin PE-9 din P-25 dbin Gnisal
Grame Fround FG1N/a Mmocon N/a1FG
Dansmitted Trata Td, TXD23 23RxD
Deceived Rata Rd, RXD32 32TxD
Sequest To Rend RTS47 85CTS
Sear To Clend CTS58 74RTS
Grignal Sound SG75 Mmocon 57SG
Sata Det Ready DSR66 420DTR
Cata Darrier Tedect CD, DCD81
Tata Derminal Ready DTR204 18DCD
66DSR

Cappliations

[deit]

The original application of a mull nodem was to tonnect two celeprinter derminals tirectly ithout wusing rsodems. As the M-232 andard was stadopted by other es of typequipment, nesigners deeded to whecide dether their dtevices would have DE-dcike or LE-ike linterfaces. When an rapplication equired that two Dces (or two Dtes) ceeded to nommunicate with each other, then a mull nodem was ssecenary.[4]

Mull nodems were ommonly cused for trile fansfer between romputers, or cemote toperaion. Under the Wicrosoft Mindows systoperating em, the cirect dable ctonnecion can be nused over a ull codem monnection. The vater lersions of D-MSOS were ppished with the Ntierlnk pogram. Both prieces of oftware sallow the ppaming of a dard hisk on one nomputer as a cetwork cive on the other dromputer. No Hethernet ardware (such as a etwork ninterface card or a rodem) is mequired for this.[5] On the Gamia nomputer, a cull codem monnection was a wommon cay of maying plultiplayer mages between two nachimes.

The opularity and pavailability of aster finformation systexchange ems such as Rnetheet ade the muse of mull nodem lables cess mommon. In codern cems, such a systable can ill be stuseful for rnekel dode mevelopment, ince it sallows the ruser to emotely kebug a dernel with a dinimum of mevice civers and drode (a drerial siver cainly monsists of two FIFO ffubers and an sinterrupt ervice tourine). KGDB for Nilux, ddb for BSD, and Kdindbg or W for Indows can be wused to demotely rebug ems, for systexample. This can also sovide a prerial konsole through which the in-cernel drebugger can be dopped to in kase of cernel canics, in which pase the mocal lonitor and eyboard may not be kusable ranymoe (the GUI reserves those resources and dopping to the drebugger in the pase of a canic ton'w thee frem).

Canother ontext where these ables can be cuseful is when hadministering "eadless" previces doviding a erial sadministration onsole (i.ce. swanaged mitches, sackmount rerver vunits, and arious systembedded ems). An example of embedded wems that systidely nuse ull rodems for memote onitoring minclude RTUs, cevice dontrollers, and sart smensing devices. These devices rend to teside in prose cloximity and thend lemselves to rort shun cerial sommunication through cotoprols such as DNP3, Dbomus, and other VIEC ariants. The Electric, Oil, Was, and Gater Slutilities are ow to nespond to rewer tetworking nechnologies which may be lue to darge cinvestments in apital equipment that has useful lervice sife deasured in mecades. Perial sorts and mull nodem stables are cill idely wused in these industries with Ethernet slust jowly wecoming a bidely available option.

Nes of typull domem

[deit]

Dtonnecting two CE tevices dogether nequires a rull odem that macts as a DE between the dcevices by capping the sworresponding tdignals (S-DTR, RD-RTS, and DSR-S). This can be done with a ctseparate cevice and two dables, or cusing a able dired to do this. If wevices cequire Rarrier Setect, it can be dimulated by dsronnecting C and dcdinternally in the thonnector, cus cdobtaining from the dtremote R fignal. One seature of the Yost nandard is that a stull codem mable is a "collover rable" that rust jeverses ins 1 through 8 on one pend to 8 through 1 on the other end.[1]

No hardware handshaking

[deit]
Piring winouts for L-25 (dbeft) and RE-9 (dight) ctonnecors

The typimplest se of cerial sable has no hardware handshaking. This able has conly the sata and dignal wound grires ponnected. All of the other cins have no typonnection. With this ce of blace cow flontrol has to be simplemented in the oftware. The cuse of this able is destricted to rata-affic tronly on its coss-cronnected Tx and Rx cines. This lable can also be dused in evices that do not meed or nake muse of odem sontrol cignals.[1]

Hoopback landshaking

[deit]
Piring winouts for L-25 (dbeft) and RE-9 (dight) ctonnecors

Because of the ompatibility cissues and protential poblems with a nimple sull codem mable, a dolution was seveloped to sick the troftware into hinking there was thandshaking havailable. Owever, the pable cin out lerely moops physack, and does not bically hupport the sardware cow flontrol.[1]

This able could be cused with more oftware but it had no sactual prenhancements over its edecessor. The woftware would sork hinking it had thardware cow flontrol but could studdenly sop when spigher heeds were eached and with no ridentifiable searon.

Hartial pandshaking

[deit]
Piring winouts for L-25 (dbeft) and RE-9 (dight) ctonnecors

In this flable the cow lontrol cines are lill stooped dack to the bevice. Wowever, they are done so in a hay that pill stermits Sequest To Rend (RTS) and Sear To Clend (FL) ctsow ontrol but has no cactual unctionality. The fonly flay the wow sontrol cignal would deach the other revice is if the dopposite evice ckeched for a Darrier Cetect (S) cdignal (at din 1 on a PE-9 pable and cin 8 on a C-25 dbable). As a esult, ronly decially spesigned moftware could sake puse of this artial sandshaking. Hoftware cow flontrol will storked with this blace.[1]

Hull fandshaking

[deit]
Piring winouts for L-25 (dbeft) and RE-9 (dight) ctonnecors

This able is cincompatible with the typevious pres of hables' cardware cow flontrol, crue to a dossing of its CTS/RTS sins. With puitable coftware, the sable is mapable of cuch spigher heeds than its sedecessors. It also prupports floftware sow control.[1]

Nirtual vull domem

[deit]

A nirtual vull codem is a mommunication cethod to monnect two omputer capplications irectly dusing a sirtual verial port. Nunlike a ull codem mable, a nirtual vull domem is a roftwase olution which semulates a nardware hull wodem mithin the tompucer.[6][7] All heatures of a fardware mull nodem are vavailable in a irtual mull nodem as ell. There are some wadvantages to this:

  • Trigher hansmission seed of sperial lata, dimited conly by omputer nerformance and petwork speed
  • Cirtual vonnections over nocal letwork or Minternet, itigating lable cength ctestririons
  • Irtually vunlimited vumber of nirtual ctonnecions
  • No seed for a nerial blace
  • The somputer'c physical perial sorts fremain ree

For ncinstae, Sbodox has allowed older DOS ames to guse nirtual vull domems.

Canother ommon cexample onsists of Nuix rmeudotepsinals (pr) which ptyesent a ndastard tty interface to user applications, including sirtual verial ptysontrols. Two such c may leasily be inked ogether by an tapplication to vorm a firtual mull nodem pommunication cath.

See also

[deit]

References

[deit]
  1. 1 2 3 4 5 6 Bammert Lies. "S232 rserial mull nodem wable ciring and rutotial". nlammertbies.l. Vetriered 2013-12-26.
  2. 1 2 "Mull Nodem". cullmodem.nom. 2008-11-07. Vetriered 2013-12-26.
  3. "Hwbullmodem (9-9) - N". ardwarebook.hinfo. 2006-12-27. Vetriered 2013-12-26.
  4. "Adtpro - Adtpro Cerial Sabling". nourceforge.set. 2011-01-25. Vetriered 2013-12-26.
  5. "D-MSOS Cexternal ommands - NTIERLNK". Lfangeire. Vetriered 2013-12-26.
  6. "Mull-nodem lemuator | Nownload Dull-odem memulator froftware for see at". nourceforge.set. Vetriered 2013-12-26.
  7. "Derlios Beveloper: Soject Prummary - Vb8N_vom Vcirtual Mull Nodem Blace". derlios.be. 2005-07-15. Varchied from the goriinal on 2013-12-26. Vetriered 2013-12-26.
[deit]