Cannot access web sitesForum: Other Help Topics Topic: Cannot access web sites started by: ewen Posted by ewen on Sep. 19 2005,10:37
I have just started using DSL and I like it but I don't seem to be able to access any web pages. My modem makes all the right noises and it appears to log onto the net. When I open "FireFox" the first message I see is that the page cannot be accessed. No matter what address I type the page is not accessed. Am I logged on or not... how can I check?
Posted by mikshaw on Sep. 19 2005,14:48
try pinging some IP addresses, starting with your local IP, then your public IP, then the DNS servers. Check /etc/resolv.conf to make sure that your DNS nameservers are listed at the top. Check /sbin/route -n to see if ppp0 has a "U" and a "G" flag (up and gateway). I don't know any more than that. Posted by ewen on Sep. 20 2005,05:11
Thankyou mikshaw... I'll try tht later tonight and get back.Regards. Posted by ewen on Sep. 20 2005,05:11
Thankyou mikshaw... I'll try tht later tonight and get back.Regards. Posted by ewen on Sep. 20 2005,09:56
Well it seems I have a problem... heres the result of my investigations:route -n contains five headings only and they ar: Destination Gateway Genmask Flags Metric Ref Use IFace There is no other information. resolve.config has this information: # insert nameservers here # nameserver 127.0.0.1 And finally I am not sure how to "ping" Regards, Posted by larkl on Sep. 20 2005,11:51
you need to add the ip addresses for the DNS servers from your internet provider to the resolve.conf file. you ping like this
Posted by ewen on Sep. 20 2005,12:00
Thank you larkl... its pretty late here (Australia) so i'll try this tomorrow and get back.Regards. Posted by ewen on Sep. 21 2005,09:41
Hello larkl... I have established that my DNS IP is 203.220.183.31 I have typed (as sudo su)that into /etc/resolv.conf as the first address after the the two rem statements but I still cannot connect. If I ping it it tells me that it has been sent and received so I figure that I must be connected and that the address must exist. However Firefox will still not log onto any pages I type in.I'm doing something wrong somewhere methinks? Posted by mikshaw on Sep. 21 2005,16:45
what did you ping? Did you ping the DNS IP? Do you have just the IP listed in resolv.conf, or is it properly written "nameserver 203.220.183.31"?Did you try "route -n" again to see if ppp0 is set up as a gateway? Posted by ewen on Sep. 22 2005,04:45
Hello mikshaw... it is properly entered as "Nameserver 203.220.183.31" and the ppp0 only shows the 5 headings and no other information. You'll need to be a bit patient with me here... assuming something is missing from route how do i repair it and what should it look like?
Posted by mikshaw on Sep. 22 2005,15:18
As far as my limited experience goes, if you have nothing listed for ppp0 when you run route -n, then you're not actually using the interface. It should have "UG" listed under flags while you're connected. A command something like this (as root) could possibly fix that:route add default gw <your local IP> dev ppp0 If this works, then it could be added to your ip-up script, using (i think) "$4" in place of the IP if you have a dynamically-assigned IP. Only saying what worked for me in other distros. Posted by ewen on Sep. 23 2005,11:09
Thanks again mikshaw... I'll give that a shot later and see what happens. I'll come back with the results.
Posted by WoofyDugfock on Sep. 23 2005,13:37
Ewen, I'm wondering - does your ISP require you to use a proxy to access the web?Ask them. Or if they've set up a Windows machine for you, open Internet explorer and look under the 'options' menu, or 'properties' or whatever it's called. If you can ping them but can't get on the web, that is the most likely problem. Posted by ewen on Sep. 24 2005,00:54
Hi there WoofyDugfock and mikshaw... your editing "fix" never worked unfortunately and it is interesting to note that my changes to the resolve file do not stay saved even though they were done using sudo su and the system backed up to hdb1. WoofyDugfock I have no proxy listed and as far as I know I have never had to use one when setting up. I use Mepis mainly and I can't even find a hint in there. Woe and gloom. |