LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 04-27-2005, 04:25 AM   #1
tzan2833
LQ Newbie
 
Registered: Apr 2005
Posts: 1

Rep: Reputation: Disabled
Connecting to the internet with RedHat


Dear all

I am new to LInux. When i open Mozilla, a msg box pops up telling me that it cannot connect to the internet. I have configured the internet services. What might be going wrong?

Many thanks in advance

Jan
 
Old 04-27-2005, 04:47 AM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
welcome to LQ!!!

=)

one question: are you able to ping the web?? like, for example:
Code:
ping -c 5 google.com
 
Old 04-27-2005, 04:47 AM   #3
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
You remember in windows, you opened a browser or email app and then a connection dialog popped up automatically and started dialing for you? Well, that dosn't happen automatically in RedHat.

Go to the main menue > system tools > network device control

You'll get a wee gui thing with your eth0 and so on listed. Highlight your internet connection and click the "activate" button. It will attempt to connect. (I am assuming a dialup connection here?)

After that, mozilla and co will go fine.

I found that going through the main menue all the time was a bit of a bummer, so I created a launcher on the desktop for the NDC daemon. Just drag the menue entry to an unused part of the desktop and Bjorn Stronginthearm is your father's brother!

BTW: you don't really want applications dialing internet connections for you - just imagine the hacking potential!
 
Old 04-27-2005, 06:21 AM   #4
jinxingvenus
LQ Newbie
 
Registered: Apr 2005
Location: China
Distribution: rehat as4.0
Posts: 12

Rep: Reputation: 0
first ,you will paste some configuration about your connection way ,fe: xDSL , dialing or through LAN,
then pls ensure that your lan card have already installed.
and,configure it ,contain assign for IP,DNS,gateway.
 
Old 04-28-2005, 01:49 PM   #5
Fergatron
LQ Newbie
 
Registered: Apr 2005
Location: Georgia, USA
Distribution: Fedora 12
Posts: 25

Rep: Reputation: 15
Arrow

Hi,

I'm a bit new too. I have RedHat and my eth0 does say that it's active and I did a "ifconfig" and it does have an ip address, but I cannot seem to ping any web site or any NAMED computer on the network. Locally, I can ping via an IP ADDRESS, but not by name. And on the web I can't ping anything.

All the other Windows-based PCs can get out to the internet with no problem.

This problem is happening at work. So I took my notebook home and tried it there and the same problem happened. At home I have Bellsouth DSL so they've provided a real cheap DSL modem and all the computers connect to it via a router/hub.
 
Old 04-28-2005, 07:33 PM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Fergatron:

You have configured the (linux) network connection to get it's IP address dynamically?
Have you tried accessing the net without the firewall? (Most often, newbies discover that they have a firewall that won't allow packages in or out of the internet.)

The LAN ping trouble is different - I used to know what this was but forgot. I look forward to the answer from someone else - or maybe I'll rediscover it in a few days
 
Old 04-30-2005, 02:51 PM   #7
RickyRockRat
LQ Newbie
 
Registered: Apr 2005
Location: boise
Distribution: Red Hat - 6.2,7.3,9.0,FC3,FC4, FC5, Debian-3.1, Ubuntu 7x,8x,10x, DSL
Posts: 14

Rep: Reputation: 0
Your DNS is not being set or is unavailable. cat /etc/resolv.conf. You should see nameserver entries.

See if you can ping one of those, if they exist.

If they don't, how are you getting your IP? Look in /etc/sysconfig/network-scripts/ifcfg-xxx.

The file for your inteface (usually eth0) should have a BOOTPROTO= entry.What does this say? It should say dhcp.

If it does say dhcp, then you are not getting a name server entry from your dhcp provider, either your router or your isp.

You can always (as root) use:
take interface down
ifdown eth0
bring the interface up.
ifup eth0

What is the output of all the commands you are using?
 
Old 05-01-2005, 07:11 AM   #8
Fergatron
LQ Newbie
 
Registered: Apr 2005
Location: Georgia, USA
Distribution: Fedora 12
Posts: 25

Rep: Reputation: 15
Hey Guys,

I figured it out. It was something very simple. I didn't have the option to "get" my dns automatically from the provider. I went into my eth0 properities and checked it. Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Connecting to the Internet with Redhat 7.3 Blake Linux - Hardware 0 11-20-2005 11:16 AM
connecting internet in redhat 9 linux1880 Linux - Networking 1 10-04-2005 09:46 AM
Connecting to the internet with Compuserve in RedHat 9 ??? JakeB1077 Linux - Newbie 1 02-18-2004 06:51 PM
Connecting to the internet from the Redhat Shell Digital_Guru Linux - Newbie 3 11-08-2003 03:20 AM
connecting to internet, with redhat 8.0 neon Linux - Newbie 12 10-16-2003 03:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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