Saturday 29 March 2014

Ethernet Network Card Installation:



Typically an Ethernet network interface is built-in to most modern motherboards. Some computer systems, especially server systems, are equipped with two network interfaces built-in to the motherboard. Additional interfaces can be installed in extra PCI expansion slots.



Try the command lspci -vv to see if the hardware is detected properly, and which kernel module (if any) is being assigned:

01:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5764M Gigabit Ethernet PCIe (rev 10)
    Subsystem: Hewlett-Packard Company Device 1309
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 52
    Region 0: Memory at f7000000 (64-bit, non-prefetchable) [size=64K]
    Capabilities: <access denied>
    Kernel driver in use: tg3
    Kernel modules: tg3


...
...

37:09.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5782 Gigabit Ethernet (rev 03)
    Subsystem: Hewlett-Packard Company Device 000c
    Physical Slot: 5
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
    Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 32 (16000ns min), Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 21
    Region 0: Memory at f8000000 (64-bit, non-prefetchable) [size=64K]
    [virtual] Expansion ROM at f7100000 [disabled] [size=64K]
    Capabilities: <access denied>
    Kernel driver in use: tg3
    Kernel modules: tg3


or more specifically lspci -vv | grep Ethernet
01:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5764M Gigabit Ethernet PCIe (rev 10)
37:09.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5782 Gigabit Ethernet (rev 03)



NS2 Scenario Generator

If you are tired of writing code using .tcl files, here is a solution for that. This software is a little bit old, as it released sometime during 2007, still some of the students/Researchers are not aware of this software.
So, you need not waste your time in editing the tcl files. And since this software is written in java, it works well with almost any Operating System (With JRE installed on the System)

You can download the software from this link https://sites.google.com/site/pengjungwu/nsg
Some features of this software

  1. wired and wireless nodes will be created
  2. establish connection between the nodes
  3. Creating links (Duplex-Link and Simplex-Link)
  4. TCP and UDP agents are supported
  5. Creating applications (CBR and FTP)
  6. Node movement
And still there are lot more as the developer of this software is actively maintaining the software and you can expect lot more in the future also.

Saturday 22 March 2014

20 Android Secret Codes.

In this Post I will be giving you several Android Secret Codes. You often need to know many things about your smartphones hardware and software, these Android Secret Codes will help you know everything about your  Smartphone.

In order to use all these Android Secret Codes you just need to simply open the Dialer of your smartphone and type the secret code of which ever function you need to perform out of all these and you are good to go.


Here Is the list of  20 Android Secret Codes for your Smartphone :-

Phone Information, Usage and Battery – *#*#4636#*#*


IMEI Number – *#06#


Enter Service Menu On Newer Phones – *#0*#


Detailed Camera Information – *#*#34971539#*#*


Backup All Media Files – *#*#273282*255*663282*#*#*


Wireless LAN Test – *#*#232339#*#*


Enable Test Mode for Service – *#*#197328640#*#*


Back-light Test – *#*#0842#*#*


Test the Touchscreen – *#*#2664#*#*


Vibration Test – *#*#0842#*#*


FTA Software Version – *#*#1111#*#*


Complete Software and Hardware Info – *#12580*369#


Diagnostic Configuration – *#9090#


USB Logging Control – *#872564#


System Dump Mode – *#9900#


HSDPA/HSUPA Control Menu – *#301279#


View Phone Lock Status – *#7465625#


Reset the Data Partition to Factory State – *#*#7780#*#*


Format Your Device To Factory State(will delete everything on your phone) – *2767*3855#


Hidden Service Menu For Motorola Droid – ##7764726


So these were 20 Android Secret Codes for your Smartphone use them and enjoy playing around with your smartphone, do tell us which one you liked the most below in the comment section and keep stalking for more tweaks for your smartphone.

How Do I Install Linux?


Here at Linode, you install Linux using the Linode Manager dashboard. By clicking a few buttons on our dashboard, you effectively accomplish the same thing as popping a Windows or Mac OS X installation CD into your computer.
Before we get to installing your Linux operating system, there's one more concept to introduce. Linux comes in quite a few different versions, known as distributions. It's a bit like Windows XP vs. Windows 8, except that the different Linux distributions aren't just upgraded versions of each other - they're different up-to-date (and out-of-date) flavorsof Linux. Different distributions install different default bundles of software. The differences between the Linux distributions aren't super important for a beginning user, so we won't get into them here; feel free to jump to the Distributions section at the end of this article or read more on your own if you're interested. For now, if you don't have a particular distribution in mind, we recommend installing Ubuntu 12.04 LTS. This distribution is good for Linux beginners, because it has a lot of support available and doesn't change too often.
Now you're ready to install Linux. We walk you through this process in the Getting Started article. Start at the beginning. When you get to the part where you need to choose your distribution from the dropdown menu, choose Ubuntu 12.04 LTS. Work your way through the article until you finish the Booting Your Linode section....!

The Network Simulator ns-2:

Scenario Generation

In order to carry out meaningful study of different networking issues like protocol interaction, congestion control, effect of network dynamics, scalability etc it is necesssary to carry simulations on the right kind of scenario which includes but is not limited to the topology size, density distribution, traffic generation, membership distribution, real-time variance of membership, network dynamics etc. Different scenarios can be used to illustrate/compare interesting network performances.

Scenario Generator

The ns scenario generator can be used to create different random scenarios for simulation. It consists of a topology generator, an agent generator and a routing generator that are each described below. The scenario generator is available in a zipped format consisting of Tcl scripts that can be run with ns-2. Example scripts are provided for each type of generator.


  • Topology Generator: The topology generator can generate topology using any standard graph generator (GT-ITM, Tiers etc). Currently it supports GT-ITM generator only and converts the topology graph into ns format. See the example script topo-gen-script.tcl for details on different topology options. For more help , run ns, source topo-gen.tcl and type "topology -h". You can also use "topo-usage" or "detailed-topo-usage" commands at ns prompt as shown below:
    your_prompt%ns
    %source topo-gen.tcl
    %topology -h
    or
    %topo-usage
    %topo-usage: topology [options]

    where options are given as: -key value
    example options:
    -outfile mytopo -type random -nodes 50 -method pure-random
    [.....]
    %detailed-topo-usage
    usage: topology [-key 1 value 1 -key 2 value 2 -key n value n]
    [...]
  • Agent Generator: The agent generator can be used to define transport protocol agents like TCP or SRM, type of sources to be used by transport agents, different traffic models for sources, location/distribution of endpoints across the topology, a start time range within which different agents start randomly, multicast-tree membership dynamics etc. Again take a look at example script agent-gen-script.tcl for details. For more help you can use "agents -h" or "agent-usage" or "detailed-agent-usage" at ns prompt after having sourced agent-gen.tcl.
  • Route Generator: The routing generator defines the routing protocols to be used in the simulation. The options include unicast routing, multicast routing and an option to turn on/off the expand address flag (when turned on the address space is increased from default size of 16 to 32 bits setting 1 bit for mcast, 21 bits for nodeid and 8 bits for portid). For more help type "routing -h" after sourcing route-gen.tcl or use command "route-usage" to give detailed info for routing options.