Helpful Linux Networking Command

Generally handle your network setting via the GUI in most Linux distros these days it is forever high-quality to be familiar with the command line tools. We are left to review a number of choose commands from a couple of tools that are characteristically built-in in the popular Linux distros. If you desire full facts on the tool and its option, refer to its man page: type man followed by the tool name. Now carry up a terminal and let’s get started!

ifconfig for basic interface and IP configuration : The if config tool derived from interface configuration provide a few extremely basic, but vital, functions. It lets you turn network adapters on and off and assign IP address and net mask details. Some of the common commands:

View current configuration of network interfaces, including the interface names:


Turn an adapter on (up) or off (down):


Assign an IP address to an adapter:

if config

Online Linux training for people who love Linux.

Linux training at Open Door Opportunity.

ethtool managages ethernet card settings : Ethtool lets you view and change many different settings for ethernet adapters which does not include Wi-Fi cards. You can manage many different advanced settings, including tx/rx, check summing, and wake-on-LAN settings. However here are more basic commands you might be interested in: Display the driver information for a specific network adapter, great when checking for software compatibility.

ethtool -i

ethtool -p

Display network statistics:

ethtool -S

Set the connection speed of the adapter in Mbps:

iw config for wireless configuration

Linux training  to educate a number of one to develop their Linux skill and gain elevated quality job in the present market.  IcanXplore current Linux course  for  developers, programmers, immigrant and Un employed.  Online Linux training construct easy to obtain enhanced  Linux skill.

The iwconfig tool is similar to if config and ethtool for wireless cards. You can vision and set the basic Wi-Fi network details, such as the SSID, channel, and encryption. There is also many advanced settings you can view and change, including receive sensitivity, RTS/CTS, fragmentation, and retries. Some commands may want to try: Exhibit the wireless settings of your interfaces, as well as the interface names you will need for extra commands:


Set the ESSID (Extended Service Set Identifier) or network name:

iwconfig essid

Example: iwconfig “my network”

Example: iwconfig any

Set the wireless channel of the radio


Input a WEP encryption key

iwconfig eth0 key

Simply allow the adapter to join to an AP with the MAC address you specify:

iwconfig ap

Set the transmit power of the radio, if support by the wireless card, in dBm format by default or mW when specified:

iwconfig txpower

Example: iwconfig eth0 txpower 15

Example: iwconfig eth0 txpower 30mW

IcanXplore is from San Francisco bay area, in Silicon Valley, CA, USA, focused on providing Linux training around the world at own time, pace, 24/7. Only e-mail skill can renovate person into a successful Linux system administrator. Information technology professionals from Silicon Valley, CA, USA reveal effectual Linux training system to train person with basic knowledge of computer.

This entry was posted in Linux Training | Online Linux Training | Linux and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s