Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-10-2001, 12:58 PM
|
#1
|
LQ Newbie
Registered: Sep 2001
Location: lexington
Posts: 2
Rep:
|
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
|
|
|
09-10-2001, 01:47 PM
|
#2
|
Member
Registered: Jul 2001
Location: Chicago
Distribution: RH7.1 ; OSX
Posts: 62
Rep:
|
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.
|
|
|
09-10-2001, 02:35 PM
|
#3
|
Member
Registered: Jul 2001
Location: California, US
Distribution: Slackware
Posts: 196
Rep:
|
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
Last edited by phek; 09-10-2001 at 02:38 PM.
|
|
|
09-10-2001, 06:13 PM
|
#4
|
LQ Newbie
Registered: Sep 2001
Location: lexington
Posts: 2
Original Poster
Rep:
|
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
|
|
|
09-10-2001, 10:46 PM
|
#5
|
Member
Registered: Jul 2001
Location: Chicago
Distribution: RH7.1 ; OSX
Posts: 62
Rep:
|
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 01:10 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|