LinuxQuestions.org
Visit Jeremy's Blog.
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 01-21-2004, 11:38 PM   #1
leroy27336
Member
 
Registered: Nov 2003
Distribution: LTS Ubuntu 6.06
Posts: 127

Rep: Reputation: 15
help getting connected to internet


can anyone explain how to set up an internet connection for Red Hat 9. My NIC is on board, i'm getting an ip address, but i'm not able to pull up a webpage.....any help regarding this issue would be greatly appreciated....
 
Old 01-22-2004, 03:07 AM   #2
carlmarshall
Member
 
Registered: Jan 2004
Location: North Yorkshire, UK
Distribution: Centos 5
Posts: 133

Rep: Reputation: 16
Can you give us more please?

How are you connecting? Through the NIC to a gateway? dial-up?

Carl.
 
Old 01-22-2004, 03:59 AM   #3
Grafbak
Member
 
Registered: Jun 2003
Location: /dev/null
Distribution: Knoppix 3.3
Posts: 61

Rep: Reputation: 15
To get Internet on Linux you need the following :

an ip-adress on your NIC (eth0). You can check this with ifconfig.
Consider an adress starting with 169 a wrong adress.
If you get your ip from a dhcp server, you should get one.

You need DNS servers, you can find the entries in /etc/resolv.conf
It should look like this :

nameserver 212.83.68.130

for example, you will have your own dns servers probably.

Then, if you use a router or gateway at your home, you must tell your pc so. You can do this with : route add default gw 192.168.0.1 (the ip of your gateway can differ from what i type here)

If you could post a little more info about your network it would be helpfull. Hope this post was a help for you however.

Good Luck !
 
  


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
Oh my. No internet connected? ElvenAssassin Linux - Newbie 8 04-25-2005 01:17 PM
Slow when connected to the internet adame Linux - Networking 3 07-12-2004 06:52 AM
How can I get connected to Internet in... mir_sheely Linux - Hardware 1 06-11-2004 05:16 AM
Cannot get connected to the internet ullfrigg Linux - Networking 5 11-22-2003 02:47 PM
internet is connected but cannot browse internet?!?!? myk3 Linux - Newbie 3 11-17-2003 05:57 AM

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

All times are GMT -5. The time now is 05:03 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