Pages1

Insatalling teamviewer

http://askubuntu.com/questions/362951/installed-teamviewer-using-a-64-bits-system-but-i-get-a-dependency-error/363083

Command to compile mysql C program

Command to Install mysql lib for devlopemnt:
sudo apt-get install libmariadbclient-dev 
sudo apt-get install libmysqlclient-dev
 
 
Compiling mysql library in  C program:Command to compile  
gcc mysqldb.c -o mysql -I/usr/include/mysql -lmysqlclient 
 
gcc CwithDatabase.c -o mysql -I/usr/include/mysql -L/usr/lib/x86_64-linux-gnu -lmariadbclient



TCP/IP Stack with-out OS

http://dunkels.com/adam/software.html

Injecting packet in Ethernet in C program

https://austinmarton.wordpress.com/2011/09/14/sending-raw-ethernet-packets-from-a-specific-interface-in-c-on-linux/

Understanding data flow in Network.

http://www.ccnahub.com/ip-fundamentals/understanding-packet-flow-across-the-network/

MAC and PHY

From : http://electronicdesign.com/embedded/ethernet-mac-and-phy
The MAC is the media access controller. The Ethernet MAC is defined by the IEEE-802.3 Ethernet standard. It implements a data-link layer. The latest MACs support operation at both 10 Mbits/s and 100 Mbits/s. This crop typically implements the MII.
What is the MII?
The Media Independent Interface (MII) is an Ethernet industry standard defined in IEEE 802.3. It consists of a data interface and a management interface between a MAC and a PHY (Fig. 1). The data interface consists of a channel for the transmitter and a separate channel for the receiver. Each channel has its own clock, data, and control signals. The MII data interface requires a total of 16 signals. The management interface is a two-signal interface-one signal for clocking and the other for data. With the management interface, upper layers can monitor and control the PHY.
What is an Ethernet PHY?
The PHY is the physical interface transceiver. It implements the physical layer. The IEEE-802.3 standard defines the Ethernet PHY. It complies with the IEEE-802.3 specifications for 10BaseT (clause 14) and 100BaseTX (clauses 24 and 25).

http://www.radio-electronics.com/info/telecommunications_networks/ethernet/100-mbps-ieee-802-3u-base-t.php

Compiling Java Pogram

java -classpath . HelloWorld
setting path in windows 

Set PATH=%PATH%;C:/ProgramsFiles/java/bin
compiling program 
javac HelloWorld.java