Cant connect to the internet
Hello,
I loaded up Ubuntu Feisty 7.04 and cant connect to the internet. This post is written on a an other comp so and I don't have a means of getting information from one to the other so I typed it out as I see it. The internet connection in the upper right hand of my gnome desktop says that I am connected and using driver 8139too. The cable is good and getting flashing rapid green light (switched with working computer) I have tried to ping several known web sites but no connection. I read other posts and tried to do the same as recommended but no resolve. I did get some information that was asked on other posts and oh lucky me I cant get the usb drive to work so I will summerize as best as i can the outputs: /sigh. After running lspci -v the listing shows my ethernet card. I don't know what the disbled part is? Code:
00:0a. Ethernet controller: Realtek Semiconductor Co., LTd. Code:
ifconfig eth0 up Results from lsmod |grep 8139 Code:
8139too 27648 0 |
Look at the output of "ifconfig eth0"
Code:
/sbin/ifconfig eth0 Look at the contents of the /etc/resolv.conf file: [code] You should see entries for your ISP's nameserver (DNS) addresses: Code:
nameserver 24.116.209.232 Code:
/sbin/route If you are using DHCP, then the resolv.conf and default gateway items as well as the IP address of the interface should be configured for you. Otherwise you need to configure these things yourself. |
Quote:
Code:
inet addr: as 192.168.1.101 Quote:
I show a single address Code:
nameserver 192.168.1.1 Code:
Check the output of /sbin/route: Code:
/sbin/route So now what do I need to do? I have the Ubuntu Bible in front of me .. is there a specific section I should read up on? |
Use your ISP's name server addresses in place of the 192.168.1.1 entry in the /etc/resolv.conf file.
|
Everything looks fine. As for jschiwal's post, the entry in the /etc/resolv.conf file may have been placed there by DHCP (in which case, there is no need to change it, it will be changed back anyway).
Was this connection ever working? Was this computer connected somewhere else? What are you connecting to (router, wireless router, DSL modem, cable modem, etc.)? I don't know which DHCP client ships with Ubuntu, but you could try "pump", "dhcpcd -n eth0", or "dhcpclient" (not sure of the options). If this was working elsewhere, and you moved it, you may need to manually configure your setup (/etc/networking/interfaces, I think. I'm in front of my SuSE box right now, not my Debian one). |
You can configure the dhcp client not to overwrite the /etc/resolv.conf file. The OP should at least try to ping an internet address such as Google using the IP address.
ping -c 3 64.233.167.99 If that is successful then the problem most likely is that domain names are not being resolved to IP addresses. At least editing the /etc/resolv.conf file will allow testing if internet access works. 192.168.1.1 is the router and I doubt that it is also a nameserver. If DHCP is being used, which I don't know if it is, the DHCP server should be supplying the addresses of the ISP's nameservers and not the address of the DHCP server. |
Quote:
into the resolve file.. it was overwritten at reboot I tried this but no good Code:
ping -c 3 64.233.167.99 Quote:
Quote:
I wiped the hard drive to load Ubuntu. The internet worked fine with windows. This is a fresh install of Ubuntu. Quote:
Quote:
Quote:
I am sure this is something really simple.. my experience has been to discover the obious. I am baffeled here. I really appreciate your help.. anymore Ideas? |
Can you ping the gateway address (192.168.1.1)?
|
Quote:
|
More info:
After seeing that I was able to ping the router It is now obvious that the router was blocking me. Therefore I bypassed the router and connected directly to the cable modem and it is working just fine. In fact I am on this machine now.. The question remains.. why is the router blocking this machine and not the others? In the process of rerouting directly to the cable modem I reset the modem by unplugging it for 20 seconds. I did that to the router once before but not the cable modem. Any clue there? it is a 4 port router. Is there something in the router that needs to be adjusted? when I was connected to it before I had all the Leds doing there blinking thing like the ones next to it? Gray |
The router may have a web based interface. It could be filtering you by MAC address. Another possibility is if you have a router that has a non-crossover port one one of the outputs. It may share that output with another port and you can't connect both. Earlier Linksys routers had that.
Make sure that that router port isn't configured in the DMZ. If you are not configured to use DHCP, then make sure that you choose an IP address that is below the starting DHCP IP range. Linksys will start assigning IP's at 192.168.1.100. So pick an IP between 192.168.1.2-99. |
I will look into that. The router is about 6 years old and I set it up as a DHCP but that was ages ago. Also I remember blocking a ton of ports so I need to go into it and see what is open.
It is a Windows OP system based router so I need to use wine to edit it(I think). |
It may have a web interface at 192.168.1.1.
A Linksys router that I had had an extra port that was meant to connect to another router. However, if you used it, you couldn't use the one just to the left of it. If your router auto negotiates straight through connections, this probably isn't the case. |
Hi
Just a quick suggestion, make sure you have IPv6 disabled. I had the same trouble with my (FC5) machine until I disabled IPv6 traffic. Apparently the router was too old to understand what on earth IPv6 was. Hope this helps! edooze. |
Well some how I got my internet connection. I am still not sure why I was not able to before but I ended up pushing the reset button on both my router and the cable modem.
I was pleased to find that I could connect directly to the router via Firefox at: Quote:
I was able to re-configure my router. Quote:
(it would be very easy to do), but I was using the cable pulled directly out from the back of working computers. In summary I really don't know what the problem was but I can say that all your advice and help was crucial in helping me figure out what it wasn't and I learned more about my internet connections because of it.. Thank you very much :) Gray |
All times are GMT -5. The time now is 11:26 PM. |