Internet connection problem with ubuntu server
Hi, im new to ubuntu. im havin a weird problem connecting to the internet.
When the ethernet cable is plugged in, it doesnt work. I have to unplug the cable, refresh the page and let it wait for the connection, after a second or two, i plug it back in, and it works. this works only for that page, which means only that page loads.. if i try to open another site or smthing else, it doesnt work and i have to repeat the exercise for the new site..i have to unplug, refresh and let it wait for connection and plug it back in.. The same thing happens if i try to download an application.. i have to first issue the command to download, and when it says "connecting to blah blah.." i plug the cable back in and it starts downloading, it doesnt work if the cable is already plugged it..! i tried to search it on the net but seems like no ones having this weird problem.. thanks |
With your ethernet cable plugged in does the Network Manager change? Can you open Applications > Accessories > Terminal and type the following commands.
Code:
sudo ifconfig |
Quote:
its: eth0 inet addr: 192.168.1.143 Bcast: 192.168.1.255 |
ping 127.0.0.1 to make sure your network card is okay. Also ping an internet address like Google.com. Do they ping?
|
Quote:
when the cable is already plugged in, it doesnt work.. :S |
Does it continue to work after pinging or only a limited time after you plug back in the ethernet cable?
Can you tell us what networking device you have? Code:
lspci | grep [Ee]th |
Quote:
Yes, heres the result: 00:19.0 Ethernet controller: Intel Corporation 82566DC Gigabit Network Connection (rev02) |
After some searching around I've found that networking for that card either works or it doesn't (not very reliable). However there seems to be a guy with an 82566DC Ether which followed this tutorial on redoing the driver and seems to have worked (look at the last post on the first page and all consecutive posts from the same user).
There's a lot of good Linux networking information in that thread so you should read the entire thing. I did and learned some stuff. Although that thread is geared towards Ubuntu 7.04. So I'm sure the recent versions of Ubuntu have shipped with the appropriate version of e1000 module. |
thanks, i also had the same idea, that there was some issue with the network card.. so i installed another card(realtek) which i already had with me.. the same thing happened with that one too... :S
|
What is in /etc/resolv.conf? And does the first of those nameservers exist and is reachable, or is it just the second of them that works?
(I'm assuming that you don't have local caching of name look-ups.) And what does 'dig' say about a look-up that works and one that doesn't? |
All times are GMT -5. The time now is 03:14 PM. |