Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , , , , , ,

Sponsored Links



Establishing internet connection in linux

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 22-02-2010
Quattro's Avatar
Member
 
Join Date: May 2008
Posts: 256
Establishing internet connection in linux

I have so many computer in my home which is running with Windows Xp and I established the connection for internet with everyone.Apart from this I have a Linux system which also requires the internet connection but I am not much familiar with the Linux internet configuration.

So would you help me to connect with Internet using Linux operating system.
your help would be greatly appreciated.
Reply With Quote
  #2  
Old 22-02-2010
Devasis's Avatar
Member
 
Join Date: Jan 2008
Posts: 3,367
Configuring linux for internet connection

Configuring linux for internet connection

When you are ready to configure the Linux for internet connection,Make sure,you have Ethernet card plugged in your computer system.

The Ethernet card makes enable your computers to communicate over a computer network environment.The first requirement which is must to connect with internet and a network service.

This card contains the port in which the internet cable is being plugged.After fulfilling this requirements,you can go for the next step to connect with internet.
Reply With Quote
  #3  
Old 22-02-2010
Solomon's Avatar
Member
 
Join Date: May 2008
Posts: 4,056
DHCP configuration for connection

The Internet provider is assigned you to any IP address and they didn't inform you about the IP distribution and all.In this case,you computer would be connected with the DHCP client IP address.

Now you can find out the IP of your DHCP client connection with the following command :

Code:
# dhclient eth0
Or
Code:
# dhcpcd eth0
Both command would reply you the Static IP address for your computer system to run with the internet connection.
Reply With Quote
  #4  
Old 22-02-2010
MrChris-'s Avatar
Member
 
Join Date: Apr 2008
Posts: 3,237
Connecting with DNS

Connecting with DNS :
In case when your computer is assigned with an Internet service provider IP then the configuration of IP would be as follows:
The IP address takes this form iii.iii.iii.iii
The network netmask : nnn.nnn.nnn.nnn
The IP for the gateway : ggg.ggg.ggg.ggg
More than one DNS IP called as dn1.dn1.dn1.dn1 or dn2.dn2.dn2.dn2

The combination of these information,A network would be eshtablished in the WAN environment.To collect your IP address login as a normal user and then change your login as a root with the help of su command .

To become a Root user,type the following commands :

# /sbin/ifconfig eth0 iii.iii.iii.iii netmask nnn.nnn.nnn.nnn
# /sbin/route add default gw ggg.ggg.ggg.ggg
# echo "nameserver dn1.dn1.dn1.dn1" > /etc/resolv.conf
# echo "nameserver dn2.dn2.dn2.dn2" >> /etc/resolv.conf
Reply With Quote
  #5  
Old 22-02-2010
Calvin K's Avatar
Member
 
Join Date: Apr 2008
Posts: 3,479
Testing internet connection in linux

Testing internet connection

After connecting executing the above command which is suggested by MrChris,you can check your connection using the PING command.

The PING command and any associated website name would be performed and we can measure the connection and retrieval speed of the connection.The PING statement takes the following form-

# ping <Website name....>

Code:
# PING gnu.org (199.232.41.10) 56(84) bytes of data.
64 bytes from www.gnu.org (199.232.41.10): icmp_seq=1 ttl=51 time=230 ms
64 bytes from www.gnu.org (199.232.41.10): icmp_seq=2 ttl=51 time=227 ms
64 bytes from www.gnu.org (199.232.41.10): icmp_seq=5 ttl=51 time=242 ms
Reply With Quote
  #6  
Old 22-02-2010
Lillebror's Avatar
Member
 
Join Date: Apr 2008
Posts: 3,259
Enabling DHCP at the Client

Enabling DHCP at the Client

DHCP also refer the file /var/lib/dhcp/dhcpd.leases to collect the data of client.You can use the /etc/dhcpd.conf file to configure a DHCP server.

To configure the DHCP,you require to create the configuration file which can store the network information for the clients.Decide the format of the configuration file and add the following lines in the top section of the configuration file.

ddns-update-style ad-hoc;

Two different types of statements can be written in the configuration file:
1- Parameters - this section is responsible for sending the network configuration options to the client.
2- Declarations - indicates the topology for the network and provide addresses for the clients.
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Establishing internet connection in linux"
Thread Thread Starter Forum Replies Last Post
Nokia C5 gets disconnected immediately after establishing connection with native WinXP Bluetooth PERSPICACITY Portable Devices 5 01-05-2011 11:50 AM
MB525 File Folder remains in windows explorer after establishing Bluetooth connection with Motorola Defy Lotas Portable Devices 4 24-04-2011 05:02 PM
Reasons for establishing the business on the internet $Beyonce$ Education Career and Job Discussions 4 19-11-2010 03:23 PM
Windows 7 RC not establishing Internet connection? MikeMoss Windows Software 4 26-05-2009 03:24 AM
Error establishing a database connection in Wordpress Anikait Windows Software 5 25-05-2009 06:32 PM


All times are GMT +5.5. The time now is 10:30 PM.