LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   internet connection problem (https://www.linuxquestions.org/questions/linux-networking-3/internet-connection-problem-6410/)

slobo 09-10-2001 11:58 AM

internet connection problem
 
I have netgear fx310tx nic and I am connected on the local network. I am using LM 7.2 and the driver I am using is tulip. I cannot connect on the internet. When I try to ping myself(127.0.0.1) I get some messages that keep coming. When I try to ping some other server it says "unknown host". The same happens in any browser I use. Does anyone knows how to fix this?
Thanks a lot!

Slobo

matt 09-10-2001 12:47 PM

OK, much to do here!

What is your computer name? What is the message that keeps coming when you ping? Is there an IP address assigned to your network card? Are you at home or at an office? Are you routing through another computer to get to the internet, which I assume is either by cable/dsl line?

In the meantime, try this line:

# ping -c2 127.0.0.1

This will only send two packets to your localhost, and then return a message. If it says that all packages were sent and received with 0% loss, than you know TCP/IP is working and there are just have a few things to configure. Poke around in netconfig. While running X, go to a terminal window, 'su' to root user, and type 'netcfg' - at least I think that's the command (I'm not at my linux machine now). If not, there's a System menu, and it should be under there. That's the place where you'll handle most of your configurations.

)M.

phek 09-10-2001 01:35 PM

It sounds like your DNS isn't getting configured, to test it out try:

ping 216.115.102.78

if you dont get a reply then do a netconfig to reinstall your network connection, but if you do get a reply there try

ping www.yahoo.com

if theres no reply then its definitly your DNS in which case it's either your DNS server is down or you don't have one configured.
Now open /etc/resolv.conf and see whats configured in there. It should look like:

nameserver 64.85.22.2
nameserver 216.215.12.2

with at least 2 lines which are your primary and secondary DNS. If you do have them in there already, try and ping them. If they do work then try netconfig to reconfigure your network connection because something must have been configured wrong. Now, if they don't work figure out what your DNS servers are supposed to be and put them in and everything should work.

phek

slobo 09-10-2001 05:13 PM

I tried ping -c2 127.0.0.1 and I got a message "%0 loss".

My computer name is "slobo".

The message that keeps coming up when I try to ping 127.0.0.1:
64 octets from 127.0.0.1 icmp_seq=17 ttl=255 time=0.0 ms

The address assigned to my network card is 144.75.133.75
I am in a school on a local network whihc is connected to the internet.

Thanks Matt

Slobo

matt 09-10-2001 09:46 PM

Howdy again,

If you get "0% loss" - that's a good thing! You should have also seen something like "2 packets sent 2 received" or something like that. This just means that none of the test packets you sent were lost.

So, if you are wired into your school's network, there must be a person in charge of the network. You need to ask this person for your TCP/IP settings. Or, you could go over to another computer, even a Windows computer, and you may be able to divine some information from their settings. Knowing what these settings are is very important to get your computer wired in the correct way and be able to access the internet. In addition to your IP address on your nic, you'll need your subnet mask, gateway, and perhaps even more information like DNS numbers and domains and workgroups. Can you access a file server or any other computer on your network?

Well, let me know what happens. It's too late to write more! Good luck. If you get those numbers put them up here and I and others will take a stab at getting you set up. Also, a good Linux book never hurts either. I use Red Hat and found the RedHat 7.1 Bible pretty helpful.

Cheers!
)M.


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