LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Connecting to the internet with RedHat (https://www.linuxquestions.org/questions/red-hat-31/connecting-to-the-internet-with-redhat-317622/)

tzan2833 04-27-2005 04:25 AM

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

win32sux 04-27-2005 04:47 AM

welcome to LQ!!!

=)

one question: are you able to ping the web?? like, for example:
Code:

ping -c 5 google.com

Simon Bridge 04-27-2005 04:47 AM

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!

jinxingvenus 04-27-2005 06:21 AM

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.

Fergatron 04-28-2005 01:49 PM

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. :confused:

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.

Simon Bridge 04-28-2005 07:33 PM

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 :)

RickyRockRat 04-30-2005 02:51 PM

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?

Fergatron 05-01-2005 07:11 AM

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 :study:


All times are GMT -5. The time now is 04:30 AM.