Linux - NetworkingThis 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.
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.
My net went down about a week ago for no apparent reason. I am using Fedora Core 3 and the internet worked fine for about 3 weeks then just stopped. I assumed that my hardware had failure...then this morning I decided to test a few things out...
I am on a T1 university line and decided to try my roomates IP address...to my surprise it worked! But of course....it booted my roomie from his connection saying that someone had taken his IP address...then to the next step. I deleted that connection and made a new one...this time making it automatically get an IP (I had tried this quite a few times)...it didn't work...the school says to set up windows by doing the "auto" setting for everything, there is no static IP provided. Before my net went down this was the setting it was on. What am I supposed to do?
It is detecting the DNS and on bootup there is a bit of a lag on Eth0 but it does say OK...then on time synchronization it said "failed"
Sounds like fedora doesn't like your uni's DHCP server. Do a service network restart and tail the messages log. That should give you some ideas where to look.
Also, do an ifconfig -a and see if you're really getting an address or not. If you are, then it's something else. netstat -rn would be good too, to see your routing table.
Thanks for the advice....I need some info on what a lot of that stuff means (I'm a newbie). What is "tail the message log" what am I looking for and how do I look? How do I see if I am getting an address or not with ifconfig -a ? and what am I doing with netstat -rn?
tail the messages log means to tail /var/log/messages. ifconfig -a gives you the current interface settings for all the interfaces on the system. You should see "inet xxx.xxx.xxx.xxx" in whicch the xxx.xxx.xxx.xxx will be your IP (If any). netstat -rn will show you your routing table.
I ran the service network restart and everything went through fine...a bit of lag on the Eth0 but I think that's normal. Then I did the ifconfig -a and wasn't sure what to look for but there was definitely an IP. Then I ran the netstat -rn and this is what came up
Destination Gateway Genmask Flags MSS Window
xxx.xxx.xx.x 0.0.0.0 xxx.xxx.xxx.x U 0 0
xxx.xxx.x.x 0.0.0.0 xxx.xxx.xxx.x U 0 0
0.0.0.0 xxx.xxx.xx.x 0.0.0.0 UG 0 0
x=a number
so I did have IP's come up and other numbers...what do I do with them...or what do they mean? Thanks a lot for walking me through this.
... With no IPs, it's kinda hard to tell you anything useful.
Are you able to ping the IP in this line of output from netstat? 0.0.0.0 xxx.xxx.xx.x 0.0.0.0 UG 0 0 If you are, you have the basic things that you need for networking. Try to ping your roomie's IP.
Well now I tried to put in my roomies IP again and the net won't work...not sure how I got it to work the first time and not sure if this info is necessary but thought I would put it down. Thanks
Well, it sounds like you're basically down to one of two things. Either your nic/cable has gone bad (you can ping yourself but can't ping anywhere else it seems), or you've botched something up bigtime in a firewall script or something else that would be causing your packets to be falling into the bit bucket ...
Can you ping your IP from your roomie's computer? If not, try booting your computer up on a "run from CD" distro (Knoppix or Mepis or something) and see if the network is available that way.
If it is, your install is hosed, most likely in the firewall.
I already tried Knoppix and it didn't work...I also pinged myself from my roomates computer and it did work.
I would think that I didn't botch anything since my computer worked with my roomates IP address in it...that seems like there isn't a major problem...maybe I'm wrong.
Originally posted by djljjm Well now I tried to put in my roomies IP again and the net won't work...not sure how I got it to work the first time and not sure if this info is necessary but thought I would put it down. Thanks
It doesn't work with his IP or a knoppix CD ... I think it's time to suspect hardware. Try swapping your patch cable with his. If that doesn't work, do you have another NIC?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.