LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-12-2005, 06:26 AM   #1
ekangi32
LQ Newbie
 
Registered: May 2005
Posts: 5

Rep: Reputation: 0
Question help required on connceting to the internet


hello friends,
i'm a newbie to linux.I installed red hat linux 10 i guess(fedora project).
My problem is that i have an ADSL modem,the connection is through etherent card.But the problem is in windows i cud enter my DNS nos and other settings in network settings but i donno how to do it in linux.
I gues i also need the TCP/IP protocol.
Is there any way out?
or any suggestions pls do reply
 
Old 05-12-2005, 06:37 AM   #2
fr_laz
Member
 
Registered: Jan 2005
Location: Cork Ireland
Distribution: Debian
Posts: 384

Rep: Reputation: 32
Hi,

DNS are written in the /etc/resolv.conf file
Interface configuration (your IP address) is done through the ifconfig command :
ifconfig 192.168.0.1 netmask 255.255.255.0
gateway setting is done through the route command :
route add defautlt gw 192.168.0.254

These 2 commands won't last after a reboot. So as to keep your IP config you've to edit the conf files, in redhat that's /etc/sysconfig/networking/devices/if-eth0 or
/etc/sysconfig/networking/profiles/default/if-eth0

NB : all this must be done as root.
NB2 : there are also some graphic tools to do this (very similar to windows) but I don't know what they are

Last edited by fr_laz; 05-12-2005 at 06:38 AM.
 
Old 05-12-2005, 07:08 AM   #3
ekangi32
LQ Newbie
 
Registered: May 2005
Posts: 5

Original Poster
Rep: Reputation: 0
thnx

hi,
thanks a lot 4 that fr_laz.
i hope to find out the solutions frm it.

thanks again
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Required kdjambotkar Linux - Hardware 6 12-09-2004 02:46 PM
QT help required sibtay Programming 2 11-10-2004 11:18 AM
X is required Wolf-67 Linux - Newbie 6 10-02-2004 09:24 PM
help required... alias_2004 Linux - Newbie 4 02-10-2004 11:24 AM
*INCREDIBLY* slow internet access. Urgent help required. adz Linux - Networking 9 08-11-2003 09:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration