Pages

Friday, September 17, 2010

Yamaha New Scorpio

Yamaha Indonesia, one of most motorcycle vendor will release New Scorpio in 2010, some information call it as Scorpio Z 225cc Sport Edition.




Yamaha new scorpio

Yamaha new scorpio



its look like Yamaha Byson



Yamaha Byson
Yamaha Byson

Specification Motorcycles Yamaha Scorpio Z 225cc Sport Edition

Engine
Engine type: 4 stroke, SOHC water cooler
Bore x stroke: 70 x 58 mm
Gear: Manual
Transmission: 5 speed
Tooth replacement pattern: 1-N-2-3-4-5
Carburetor: BS 30 x 1 Mikuni
Battery: 12V, 7AH/GM7B-4B
Spark plug: BP8EA/x24ES-U
Cylinder volume: 223 cc
Compression rate: 9.5: 1
Arrangement of cylinders: Single Cylinder Upright
Starter: Kick & Electric
Fuel: Premium

CHASSIS
Empty weight: 125 kg
Type of housing: Double Cradle
Tank capacity: 13.5 liters
Axle distance: 1295 mm
Lowest distance to the ground: 165 mm

Suspension
Suspension front: Teleskopik
Rear suspension: Monocross
Rear tire size: 100/90-18-56 P
Front tire size: 80/100-18-47 P

Performance
Dimension L x W x H: 2020 x 770 x 1090 mm
Minimum turning radius:

Maximum power: 19 PS/8.000 RPM
Maximum torque: 1.86 RPM kgf.m/6.500
Ignition system: DC-CDI

Braking system
Front brake: double-piston discs
Rear brake: Tromol


source: blog.junianto.com

Tuesday, September 07, 2010

The way of Dhuha Performing Salat

One of the sunna prayer advocated by Rosululloha SAW is praying Dhuha.Dhuha is sunnah prayer done after the rising of the sun (starting at 7 till late into Zhuhur time). Most Afdal time is when the sun was rising (approximately 9.00). The crowd knew the sunna prayer as a prayer to invoke the Image of Allah SWT. Messenger PBUH said in a hadith:

"Allah said: O Children of Adam, you should never lazy to do four cycles at the beginning of noon (Dhuha) inevitably ends meet your need, I definitely will by the end of the day" (HR.Hakim and Thabrani).

Prayer Dhuha implemented in at least two cycles and a maximum of twelve cycles, conducted Munfarid (not in congregation).

The Tata-way Dhuha Performing Salat is:

> Intention in the liver coincided with ihram Takbiratul
"Usholli sunnatadhuha shelf 'ataini mustaqbilal there qiblati al lillaahi ta'aala"
"I sunna prayer intentions Dhuha two cycles because of God"
> Read the prayer Iftitah
> Read the letter of al Fatihah
> Reading a letter in the Qur'an. The first letter Afdholnya cycles and cycles of Ash-Shams Al-Lail second letter
> Ruku 'and read the beads three times
> I'tidal and read bacaanya
> Sujud first and read the beads three times
> Sitting between the two prostrations and reading reading
> Sujud second and read the beads three times
> After the first cycles is complete, do the cycles of the two as the way the above, then tasyahhud end after finishing the reading greeting twice.

Fitr-cycles is then performed the same as the above example.

Du'a after Dhuha:

"Allaahumma innad Dhuha dhuhaauka, wal-jamaala jamaaluka, wal-qudrota qudratuka, wal-'ishmata 'ishmatuka. In fil-Ardhi kaana rizqii akhrijhu fa, fa wa in kaana fissamaa'i anzilhu, fa wa in kaana haraaman thahhirhu, haqqi dhuhaaika bi wa wa jamaalika qudratika, O God. "

Meaning:
O Allah, this morning is a time period of your morning, this beauty is beauty, this power is your power, comfort is kenyamananMU. Had my Rizki hidden in the earth then remove it, if in the sky Derive, if unlawful clean, thanks to your morning period authenticity, beauty, and your power, O God.

Tata Cara Sholat Dhuha

Salah satu sholat sunah yang dianjurkan oleh Rosululloha SAW adalah sholat Dhuha. Shalat Dhuha adalah shalat sunah yang dilakukan setelah terbit matahari (mulai jam 7 sampai menjelang masuk waktu Zhuhur). Waktu paling afdhal adalah saat matahari sedang naik ( kira-kira jam 9.00 ). Orang banyak mengenal sholat sebagai sholat sunah untuk memohon rizki dari Alloh Swt. Rosululloh SAW bersabda dalam sebuah hadits:

“Allah berfirman : Wahai anak Adam, jangan sekali-kali engkau malas mengerjakan empat rakaat pada waktu permulaan siang ( Shalat Dhuha ) niscaya pasti akan Aku cukupkan kebutuhanmu pada akhir harinya” ( HR.Hakim dan Thabrani ).

Sholat Dhuha dilaksanakan dalam minimal dua rakaat dan maksimal dua belas rakaat, dilakukan secara Munfarid (tidak berjamaah).

Adapun Tata-cara Melaksanakan Sholat Dhuha adalah:

> Niat didalam hati berbarengan dengan Takbiratul Ihram
“Usholli sunnatadhuha rak ‘ataini mustaqbilal qiblati ada al lillaahi ta’aala”
“Aku niat shalat sunah Dhuha 2 rakaat karena Allah”
> Membaca doa Iftitah
> Membaca surat al Fatihah
> Membaca satu surat didalam Al-Quran. Afdholnya rakaat pertama surat Asy-Syams dan rakaat kedua surat Al-Lail
> Ruku’ dan membaca tasbih tiga kali
> I’tidal dan membaca bacaanya
> Sujud pertama dan membaca tasbih tiga kali
> Duduk diantara dua sujud dan membaca bacaannya
> Sujud kedua dan membaca tasbih tiga kali
> Setelah rakaat pertama selesai, lakukan rakaat kedua sebagaimana cara diatas, kemudian Tasyahhud akhir setelah selesai maka membaca salam dua kali.

Rakaat-rakaat selanjutnya dilakukan sama seperti contoh diatas.

Do’a setelah Shalat Dhuha :

“Allaahumma innad dhuha dhuhaauka, wal-jamaala jamaaluka, wal-qudrota qudratuka, wal-’ishmata ‘ishmatuka. In kaana rizqii fil-ardhi fa akhrijhu, wa in kaana fissamaa’i fa anzilhu, wa in kaana haraaman fa thahhirhu, bi haqqi dhuhaaika wa jamaalika wa qudratika, ya Allah”.

Artinya:
Ya Allah, sesungguhnya masa pagi ini adalah masa pagiMU, keindahan ini adalah keindahanMU, kuasa ini adalah kekuasaanMU, kenyamanan ini adalah kenyamananMU. Seandainya rizki saya tersembunyi di dalam bumi maka keluarkanlah, jika di langit turunkanlah, jika haram bersihkanlah, berkat kesejatian masa pagiMU, keindahanMU, dan kekuasaanMU, ya Allah.

Sunday, September 05, 2010

SMS Gateway in Linux with Gambas



in my final assignment (2005), i decided to develop a SMS gateway application in LInux and desktop application, so people who uncustomed in linux be able to operate it well as if in windows.

its project feature:
- read sms
- send sms
- sms polling, vote using sms

in this case, i decided to choose gnokii as my library.
these are some pictures of its project (some title in Indonesian) :











on progress, i've been developing some sms gateway with Java Technology, whiich can be run both on linux and windows (and many OS). my new sms gateway project has some feature:
- read sms
- send sms
- phonebook management
- auto responding sms
- polling/voting sms
- remote command system using sms
- included with reports
- schedulling sms

it will be a commercial project, so you can purchase it :)

please leave some comment for this post





Thursday, September 02, 2010

Point of Sales: for cafe / restaurant / warteg

reserved....

Sample documentation for latest project can be read in here
this project is developed use:
  • java 5 sdk
  • jasper report
  • abeille form designer
  • MySql 5

Networking Equipment Terminology


Up to this point you have had only an introduction to the theory of the first two OSI layers. Now we'll cover the hardware used to implement them.


Network Interface Cards

Your network interface card is also frequently called a NIC. Currently, the most common types of NIC used in the home and office are Ethernet and wireless Ethernet cards.


The Meaning of the NIC Link Light

The link light signifies that the NIC card has successfully detected a device on the other end of the cable. This indicates that you are using the correct type of cable and that the duplex has been negotiated correctly between the devices at both ends.


Duplex Explained

Full duplex data paths have the capability of allowing the simultaneous sending and receiving of data. Half duplex data paths can transmit in both directions too, but in only one direction at a time.

Full duplex uses separate pairs of wires for transmitting and receiving data so that incoming data flows don't interfere with outgoing data flows.

Half duplex uses the same pairs of wires for transmitting and receiving data. Devices that want to transmit information have to wait their turn until the "coast is clear" at which point they send the data. Error-detection and data-retransmission mechanisms ensure that the data reaches the destination correctly and are specifically designed to remedy data corruption caused when multiple devices start transmitting at the same time.

A good analogy for full duplex communications is the telephone, in which both parties can speak at the same time. Half duplex on the other hand is more like a walkie-talkie in which both parties have to wait until the other is finished before they can speak.

Data transfer speeds will be low and error levels will be high if you have a device at one end of a cable set to full duplex and a device at the other end of the cable set to half duplex.

Most modern network cards can autonegotiate duplex with the device on the other end of the wire. It is for this reason that duplex settings aren't usually a problem for Linux servers.

The MAC Address

The media access control (MAC) address can be equated to the serial number of the NIC. Every IP packet is sent out of your NIC wrapped inside an Ethernet frame that uses MAC addresses to direct traffic on your locally attached network.

MAC addresses therefore have significance only on the locally attached network. As the packet hops across the Internet, its source/destination IP address stays the same, but the MAC addresses are reassigned by each router on the way using a process called ARP.


How ARP Maps the MAC Address to Your IP Address

The Address Resolution Protocol (ARP) is used to map MAC addresses to network IP addresses. When a server needs to communicate with another server it does the following steps:

  1. The server first checks its routing table to see which router provides the next hop to the destination network.
  2. If there is a valid router, let's say with an IP address of 192.168.1.1, the server checks its ARP table to see whether it has the MAC address of the router's NIC. You could very loosely view this as the server trying to find the Ethernet serial number of the next hop router on the local network, thereby ensuring that the packet is sent to the correct device.
  3. If there is an ARP entry, the server sends the IP packet to its NIC and tells the NIC to encapsulate the packet in a frame destined for the MAC address of the router.
  4. If there is no ARP entry, the server issues an ARP request asking that router 192.168.1.1 respond with its MAC address so that the delivery can be made. When a reply is received, the packet is sent and the ARP table is subsequently updated with the new MAC address.
  5. As each router in the path receives the packet, it plucks the IP packet out of the Ethernet frame, leaving the MAC information behind. It then inspects the destination IP address in the packet and use its routing table to determine the IP address of the next router on the path to this destination.
  6. The router then uses the "ARP-ing" process to get the MAC address of this next hop router. It then reencapsulates the packet in an Ethernet frame with the new MAC address and sends the frame to the next hop router. This relaying process continues until the packet reaches the target computer.
  7. If the target server is on the same network as the source server, a similar process occurs. The ARP table is queried. If no entry is available, an ARP request is made asking the target server for its MAC address. Once a reply is received, the packet is sent and the ARP table is subsequently updated with the new MAC address.
  8. The server will not send the data to its intended destination unless it has an entry in its ARP table for the next hop. If it doesn't, the application needing to communicate will issue a timeout or time exceeded error.
  9. As can be expected, the ARP table contains only the MAC addresses of devices on the locally connected network. ARP entries are not permanent and will be erased after a fixed period of time depending on the operating system used.

Chapter 3, "Linux Networking", which covers Linux network topics, shows how to see your ARP table and the MAC addresses of your server's NICs.

Common ARP Problems When Changing A NIC

You may experience connectivity problems if you change the MAC address assigned to an IP address. This can happen if you swap a bad NIC card in a server, or replace a bad server but have the new one retain the IP address of the old.

Routers typically save learned MAC to IP address map entries in a cache and won't refresh them unless a predefined period of time has elapsed. Changing the NIC, while retaining the IP address can cause problems as the router will continue to send frames onto the network with the correct target IP address but the old target MAC address. The server with the new NIC won't respond as the frame's target MAC doesn't match it's own.

This problem can be fixed in one of two ways. You can delete all the ARP entries in the router's cache. The second solution is to log into the server's console and ping it's gateway. The router will detect the MAC to IP address change and it will readjust its ARP table.

The Two Broad Types Of Networking Equipment

There are two main types of networking equipment; Data Communications Equipment (DCE) which is intended to act as the primary communications path, and Data Terminal Equipment (DTE) which acts as the source or destination of the transmitted data.


Data Terminal Equipment

DTE devices were originally computer terminals located at remote offices or departments that were directly connected modems. The terminals would have no computing power and only functioned as a screen/keyboard combination for data processing.

Nowadays most PCs have their COM and Ethernet ports configured as if they were going to be connected to a modem or other type of purely networking-oriented equipment.


Data Communications Equipment

A DCE is also known as Data Circuit-Terminating Equipment and refers to such equipment as modems and other devices designed primarily to provide network access.


Using Straight-Through/Crossover Cables to Connect DTEs And DCEs

When a DCE is connected to a DTE, you will need a straight-through cable. DCEs connected to DCEs or DTEs connected to DTEs require crossover cables. This terminology is generally used with Ethernet cables.

The terminology can be different for cables used to connect serial ports together. When connecting a PC's COM port (DTE) to a modem (DCE) the straight-through cable is frequently called a modem cable. When connecting two PCs (DTE) together via their COM ports, the crossover cable is often referred to as a null modem cable.

Some manufacturers configure the Ethernet ports of their networking equipment to be either of the DTE or the DCE type, and other manufacturers have designed their equipment to flip automatically between the two types until it gets a good link. As you can see, confusion can arise when selecting a cable. If you fail to get a link light when connecting your Ethernet devices together, try using the other type of cable.

A straight-through Ethernet cable is easy to identify. Hold the connectors side by side, pointing in the same direction with the clips facing away from you. The color of the wire in position #1 on connector #1 should be the same as that of position #1 on connector #2. The same would go for positions #2 through #8, that is, the same color for corresponding wires on each end. A crossover cable has them mixed up. Table 2-3 provides some good rules of thumb.


Table 2-3: Cabling Rules of Thumb

ScenarioLikely Cable Type
PC to PCCrossover
Hub to hubCrossover
Switch to switchCrossover
PC to modemStraight-Through
PC to hubStraight-Through
PC to switchStraight-Through

Connectivity Using Hubs

A hub is a device into which you can connect all devices on a network so that they can talk together. Hubs physically cross-connect all their ports with one another which causes all traffic sent from a server to the hub to be blurted out to all other servers connected to that hub whether they are the intended recipient or not.

Hubs have no, or very little, electronics inside and therefore do not regulate traffic. It is possible for multiple servers to speak at once with all of them receiving garbled messages. When this happens the servers try again, after a random time interval, until the message gets through correctly.

It is for these reasons that Ethernet devices that plug into hubs should be set to half duplex.

Note: Hubs can add a lot of delays to your network because of the message garbling collisions and retransmissions. A switch is a much more reliable and predictable alternative, and ones made for the home often cost only a few dollars more.


Using Switches as a Faster Alternative to Hubs

A switch is also a device into which you can connect all devices on a home network so that they can talk together. Unlike a hub, traffic sent from Server A to Server B will be received only by Server B. The only exception is broadcast traffic which is blurted out to all the servers simultaneously.

Switches regulate traffic, thereby eliminating the possibility of message garbling and providing a more efficient traffic flow.

Devices that plug into switches should be set to full duplex to take full advantage of the dedicated bandwidth coming from each switch port.


Local Area Networks

A local area network (LAN) is a grouping of ports on a hub, switch or tied to a wireless access point (WAP) that can communicate only with each other.

It is possible to connect multiple switches and/or hubs in a chain formation to create a LAN with more ports. This is often called daisy chaining.

Switches and hubs provide no access control between servers connected to the same LAN. This is why network administrators group trusted servers having similar roles on the same LAN.

Servers use their IP address and subnet mask and the IP address of the remote server to determine whether they are both on the same network. If not, they attempt to communicate with each other via routers that interconnect their LANs. Routers are also capable of filtering traffic passing between the two LANs therefore providing additional security.

Larger, more expensive switches can be configured to assign only certain ports to prespecified virtual LANs or (VLANs) chosen by the network administrator. In this case, the switch houses ports on multiple LANs. A router still needs to be connected to each VLAN for internetwork communication.


How Routers Interconnect LANs

As stated before, switches and hubs usually have only servers connected to them that have been configured as being part of the same network. By connecting its NIC cards to multiple LANs, a correctly configured router is capable of relaying traffic between networks.

Routers can also be configured to deny communication between specific servers on different networks. They can also filter traffic based on the TCP port section of each packet. For example, it is possible to deny communication between two servers on different networks that intend to communicate on TCP port 80, and allow all other traffic between them. Routers therefore direct and regulate traffic between separate networks, much like a traffic policeman.

If you intend to route between networks, you must reserve an IP address for a router for each network and make sure that the router is directly connected to the LAN associated with that network. The network engineer responsible for the router will also have to specify which locally connected networks can be advertised to the router's neighbors and whether this information can be relayed to all the routers in an administrative zone, or routing domain.

In this example, we can see that the router is aware of many different networks (represented by the slash notation for subnet masks). The routing table also shows the best serial and VLAN type interfaces to use to get to these destinations and the IP address of the neighboring router through which traffic needs to be relayed to get there.


router>show ip route
...
...
...
Gateway of last resort is 10.1.1.1.1 to network 0.0.0.0
172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
S 172.16.0.0/16 is directly connected, Null0
S 172.16.6.0/24 is directly connected, Null0
172.17.0.0/24 is subnetted, 2 subnets
S 172.17.2.0 [1/0] via 10.1.1.1.1
S 192.168.200.0/24 is directly connected, Null0
10.0.0.0/8 is variably subnetted, 64 subnets, 8 masks
O E1 10.2.0.0/16 [110/22] via 10.89.0.2, 3w1d, Serial1/0/1
C 10.119.3.0/24 is directly connected, Vlan3
O 10.2.2.0/24 [110/3] via 10.89.0.2, 3w1d, Serial1/0/1
O 10.132.10.0/24 [110/3] via 10.119.2.2, 3w1d, Vlan2
O 10.119.0.20/30 [110/3] via 10.89.0.26, 7w0d, Serial1/0/0
S 10.253.72.0/21 [1/0] via 10.1.1.13
C 10.10.192.0/24 is directly connected, Vlan114
O 10.230.232.0/22 [110/4] via 10.89.0.26, 7w0d, Serial1/0/0
S* 0.0.0.0/0 [1/0] via 10.1.1.1.1
router>

In home networks, routers usually have only two interfaces that provide connectivity to the Internet via network address translation or NAT. In other words routers act as gateways to the wider world and it won't be surprising to learn that routers are frequently referred to as "gateways".

Note: The term gateway specifically refers to a device that routes traffic between dissimilar network protocols (IP to Appletalk) or access methods (Ethernet to DSL). Routers transfer traffic where both the protocols and communications medium are the same. The terms are frequently used interchangeably, especially if only one network protocol is being used. Therefore a home DSL router that provides IP Internet access to an Ethernet network is technically both a gateway and a router. The distinction can be important in complicated networking environments where newer technologies need to talk with older ones using incompatible communications protocols.

How Simple Routing Works

In the broader networking sense, a "route" refers to the path data takes to traverse from its source to its destination. Each router along the way may also be referred to as a hop.

Usually when we speak about a route on a Linux box, we are referring to the IP address of the first hop needed to reach the desired destination network. It is assumed that this first hop will know how to automatically relay the packet.

As explained previously, routers are designed to exchange routing information dynamically, and can therefore intelligently redirect traffic to bypass failed network links. Home Linux boxes frequently don't run a dynamic routing protocol and therefore rely on "static" routes issued by the system administrator at the command line or in configuration files to determine the next hop to all desired networks.

Chapter 3, "Linux Networking", which covers Linux network topics, shows how to add static routes to your Linux box and also how you can convert it into a simple router.

Default Gateways, The Routers Of Last Resort

A default gateway is the router that is used when no alternative devices can be found to relay the traffic. They are often called "routers of last resort".

Say for example you have two routers R1 and R2. R1 is connected to both your SOHO home network and the Internet. R2 is connected to SOHO home network and is capable of relaying data to other corporate networks with addresses starting with 10.X.X.X via another NIC card.

You could put a route on your SOHO servers that states:

  • Go to network 10.0.0.0 255.0.0.0 via router R2
  • Go to everything else via router R1. R1 therefore would be considered your default gateway


For most home networks, your default gateway would be the router/firewall connected to the Internet.

Chapter 3, "Linux Networking", which covers Linux network topics, shows how to configure the default gateway on your Linux box.

Firewalls Help Provide a Secure Routing Environment

Firewalls can be viewed as routers with more enhanced abilities to restrict traffic, not just by port and IP address as routers do. Specifically, firewalls can detect malicious attempts to subvert the TCP/IP protocol. A short list of capabilities includes:

  • Throttling traffic to a server when too many unfulfilled connections are made to it
  • Restricting traffic being sent to obviously bogus IP addresses
  • Providing network address translation or NAT

Routers are designed to make packets flow as quickly as possible with the minimum amount of inspection. Firewalls are used as close to the source or target of data communication as possible to try to ensure that the data hasn't been subverted.

Firewalls can often create an encrypted data path between two Private networks across the Internet providing secure communication with a greatly reduced chance of eavesdropping. These communication channels are called Virtual Private Networks or VPNs and are frequently used to connect branch offices to the corporate headquarters and also to allow sales representatives to get access to sensitive pricing information when traveling from town to town.

Additional Introductory Topics

The last few topics of this chapter may not appear to be directly related to networking, but they cover Linux help methods that you'll use extensively and the File Transfer Protocol (FTP) package, which enables you to download all the software you need to get your Linux server operational as quickly as possible.


The File Transfer Protocol

FTP is one of the most popular applications used to copy files between computers via a network connection. Knowledge of FTP is especially important and is a primary method of downloading software for Linux systems.

There are a number of commercially available GUI based clients you can load on your PC to do this, such as WSFTP and CuteFTP. You can also use FTP from the command line as shown in Chapter 6, "Installing RPM Software", on RPM software installation.

From the remote user's perspective, there are two types of FTP. The first is regular FTP which is used primarily to allow specific users to download files to their systems. The remote FTP server prompts you for a specific username and password to gain access to the data.

The second method, anonymous FTP is used primarily to allow any remote user to download files to their systems. The remote FTP server prompts you for a username, at which point the user types anonymous or ftp with the password being any valid e-mail address.

From the systems administrator's perspective, there are another two categories. These are "active" and "passive" FTP which is covered in more detail in Chapter 15, "Linux FTP Server Setup".

It is good to remember that FTP isn't very secure as usernames, passwords and data are sent across the network unencrypted. More secure forms such as SFTP (Secure FTP) and SCP (Secure Copy) are available as a part of the Secure Shell package (covered in Chapter 17, "Secure Remote Logins and File Copying") that is normally installed by default with Fedora.

Linux Help

Linux help files are accessed using the man or manual pages. From the command line you issue the man command followed by the Linux command or file about which you want to get information. If you want to get information on the ssh command, then you'd use the command man ssh.

[root@bigboy tmp]# man ssh 

If you want to search all the man pages for a keyword, then use the man command with the -k switch, for example, man -k ssh which will give a list of all the man pages that contain the word ssh.


[root@bigboy tmp]# man -k ssh
...
...
ssh (1) - OpenSSH SSH client (remote login program)
ssh [slogin] (1) - OpenSSH SSH client (remote login program)
ssh-agent (1) - authentication agent
ssh-keyscan (1) - gather ssh public keys
ssh_config (5) - OpenSSH SSH client configuration files
sshd (8) - OpenSSH SSH daemon
sshd_config (5) - OpenSSH SSH daemon configuration file
...
...
[root@bigboy tmp]#

This book is targeted at proficient Linux beginners and above so I'll be using a wide variety of commands in this book without detailed explanations to help keep the flow brisk. If you need more help on a command, use its man page to get more details on what it does and the syntax it needs. Linux help can sometimes be cryptic, but with a little practice the man pages can become your friend.


The Physical and Link Layers


TCP/IP can be quite interesting, but a knowledge of the first two layers of the OSI model are important too, because without them, even the most basic communication would be impossible.

There are very many standards that define the physical, electrical, and error-control methodologies of data communication. One of the most popular ones in departmental networks is Ethernet, which is available in a variety of cable types and speed capabilities, but the data transmission and error correction strategy is the same in all.

Ethernet used to operate primarily in a mode where every computer on a network section shared the same Ethernet cable. Computers would wait until the line was clear before transmitting. They would then send their data while comparing what they wanted to send with what they actually sent on the cable as a means of error detection. If a mathematical comparison, or cyclic redundancy check (CRC), detected any differences between the two, the server would assume that it transmitted data simultaneously with another server on the cable. It would then wait some random time and retransmit at some later stage when the line was clear again.

Transmitting data only after first sensing whether the cable, which was strung between multiple devices, had the correct signaling levels is a methodology called carrier sense, multiple access or CSMA. The ability to detect garbling due to simultaneous data transmissions, also known as collisions, is called collision detect or CD. You will frequently see references to Ethernet being a CSMA/CD technology for this reason and similar schemes are now being used in wireless networks.

Ethernet devices are now usually connected via a dedicated cable, using more powerful hardware capable of simultaneously transmitting and receiving without interference, thereby making it more reliable and inherently faster than its predecessor versions. The original Ethernet standard has a speed of 10 Mbps; the most recent versions can handle up to 40Gbps!

The 802.11 specifications that define many wireless networking technologies are another example of commonly used layer 1 and 2 components of the OSI model. DSL, cable modem standards and, T1 circuits are all parts of these layers.

The next few sections describe many physical and link layer concepts and the operation of the devices that use them to connect the computers in our offices and homes.