Home >> OS >> Linux >> System >>

Base Linux network settings [1/3]

Type: Code
Level: Beginner  
Date: 2008-Nov-28
Visited: 1070 times
Rating:
Author: Tony Potter

Like any other operating system Linux needs adjustment after its installation. One of the largest facilities of the operating system is easily configured through simple text files. These files are located in the directory /etc. This folder contains many files and sub folders, such sub folder pool configuration files status. For example all the scripts, which run and stop processes, respectively the trigger and shut the computer located in sub folder rc.d. Sub folder X11 configuration files then combines the graphic server, etc. This lecture will introduce how you can tune your network settings after the installation of your Linux.

Files that set the network configuration of the operating system are many, but we will check only the important ones:

hosts - file describes the names of computers by connecting them with their IP addresses. Every computer can be taken, short name or nickname. File format is the following:

#IP address computer name computer alias
 
127.0.0.1 localhost

 
192.168.1.1 server.onlinehowto.net server

 
192.168.1.2 server2.onlinehowto.net server2

... ... ...

192.168.1.3 server3.onlinehowto.net server3
The first line is binding and describes the so-called loopback network address. Series starting with # are considered comment.

Resolv.conf - use the above file is possible only for small systems or networks unrelated DNS server to translate names into IP addresses. This method can not be used for hosts on the Internet, where description would be prohibitive task. So the Internet need a DNS server. Resolv.conf file serves as a description of the DNS servers which should bind the computer to translate the name into IP address. File format is the following:

search onlinehowto.net
 
nameserver 69.64.69.60

nameserver 69.64.69.61
- Base Linux network settings [1/3] -

Need a specific tutorial? Do not hesitate and submit a request!
Related Tags: network scanner command line  How to allow remote network connection connection in mysql admin  how to check win ip settings cmd  How to set LAN settings in firefox ?  btinternet email oe settings  how to change proxy settings in outlook 2007  microsoft windows xp desktop settings transparent icon names  add ip address linux  how to check php version on linux  rename file linux