DIGIT-ARC read-only archive · snapshot: July 23, 2026

Internet Connected; but Firefox deos not load webpages

20 posts · originally from https://geek.digit.in/community/threads/internet-connected-but-firefox-deos-not-load-webpages.70315/

Rahim
Rahim Original post #1
Oct 10, 2007 at 7:36 PM
I am using rp-pppoe to connect with ADSL modem. I have installed pppd connection through
Code:
pppoeconf
command.
The problem is sometimes while surfing using Firefox or Opera, i suddenly am not able to connect to any site, the status bar continue to indicate "Looking for ...."message. Funnily, my Deluge is fine and is able to download as well as upload during this error.
Here are the contents of pon dsl-provider:
Code:
## Minimalistic default options file for DSL/PPPoE connections

noipdefault
defaultroute
replacedefaultroute
hide-password
#lcp-echo-interval 30
#lcp-echo-failure 4
noauth
persist
#mtu 1492
#persist
#maxfail 0
#holdoff 20
plugin rp-pppoe.so eth0
usepeerdns
user "myusernae@isp"

/etc/hosts:
Code:
#127.0.0.1 localhost SEBA
127.0.1.1 SEBA

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

hostname:
Code:
SEBA

Further my connection also hangs quite frequently if i leave it idle fr 10 minutes.
M
Oct 10, 2007 at 7:58 PM
check if dns is fine?
Code:
dig google.com
and
Code:
cat /etc/resolv.conf
Rahim
Rahim #3
Oct 11, 2007 at 7:21 PM
Here are the results:
Code:
dig google.com
Code:
; <<>> DiG 9.3.4 <<>> google.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19363
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 4, ADDITIONAL: 0

;; QUESTION SECTION:
;google.com.                    IN      A

;; ANSWER SECTION:
google.com.             239     IN      A       64.233.167.99
google.com.             239     IN      A       64.233.187.99
google.com.             239     IN      A       72.14.207.99

;; AUTHORITY SECTION:
google.com.             345539  IN      NS      ns4.google.com.
google.com.             345539  IN      NS      ns1.google.com.
google.com.             345539  IN      NS      ns2.google.com.
google.com.             345539  IN      NS      ns3.google.com.

;; Query time: 38 msec
;; SERVER: 218.248.240.208#53(218.248.240.208)
;; WHEN: Thu Oct 11 19:16:13 2007
;; MSG SIZE  rcvd: 148
Honestly i cannot understand anything of the above message. Considering it did not show any errors, i consider DNS is fine.
Code:
cat /etc/resolv.conf
Code:
nameserver 218.248.240.208
nameserver 218.248.240.135
# generated by NetworkManager, do not edit!
M
Oct 11, 2007 at 8:55 PM
So, dns entries are fine. By any chance are you on MTNL? I have been hearing quite a few problems from MTNL customers.
QwertyManiac
Oct 11, 2007 at 9:09 PM
Its DataOne DNS servers I think.

Are your Opera/FireFox proxy settings all fine?

Also, try OpenDNS and see if it solves your issue. Their website (www.opendns.com) has complete implementation details which are easy to follow as well, for any OS.
Ankur Gupta
Oct 11, 2007 at 9:54 PM
Well when I installed suse 10.3 on my lappy i too got same problem..
Firefox was not able to open sites...though konqueror worked absolutely fine..
I then found that in resolv.conf the DNS server had been set to 192.168.1.1 instead of my MTNL DNS servers...i changes them and firefox started working..
But the problem is that they get automatically reset to 192.168.1.1 on reboot :(
Rahim
Rahim #7
Oct 12, 2007 at 6:49 PM
mehulved said:
So, dns entries are fine. By any chance are you on MTNL? I have been hearing quite a few problems from MTNL customers.
Thanks for the replies eberybody here
I am on Dataone 900UL Plan. I use both Opera & Firefox, basically the former.

OK i googled it and found two New Dataone DNS Servers:
Code:
DNS Servers IP
218.248.240.208
218.248.240.135

These are the same as those in my resolv.conf file. So DNS is fine, i guess.
Rahim
Rahim #8
Oct 13, 2007 at 7:42 PM
Ok i found the solution from UF .
Code:
 sudo gedit /etc/dhcp3/dhclient.conf
and enter
Code:
prepend domain-name-servers 218.248.240.135, 218.248.240.208;
And now my Primary & Secondary DNS is set to those provided by the ISP.

Consider this thread solved. This forum should have an option "Solved" under "Thread Tools".
QwertyManiac
Oct 13, 2007 at 8:10 PM
Weird, doesn't DHCP do that automatically? Hmmm.

I'd choose OpenDNS over my ISP any day though, its much better. Has keywords you can set, and if some site's moved servers you can be among the first to access it with Cache Refresh. And it _never_ goes down, not all of them like ISP's does sometimes. Still, glad your problem got fixed.
praka123
praka123 #10
Oct 13, 2007 at 9:45 PM
opendns is fast.
Rahim
Rahim #11
Oct 14, 2007 at 11:11 AM
How to do opendns?
QwertyManiac
Oct 14, 2007 at 11:45 AM
Read the instructions at www.opendns.com as I already have mentioned. They've explained everything with screenshots and etc.
phreak0ut
phreak0ut #13
Oct 14, 2007 at 4:17 PM
@rahim-One more thing. In case your DNS is being reset everytime you boot, open /etc/resolv.conf in a text editor and enter your DNS server IPs. Close it and then use this command:
sudo chattr +i /etc/resolv.conf
This command makes sure that no one can change resolv.conf, not even root. In case you want the resetting thing to be done after you executed the above command, replace +i with -i
praka123
praka123 #14
Oct 14, 2007 at 4:58 PM
u can make /etc/resolv.conf not changing to ur isp's dns servers via prepending "#" in /etc/ppp/peers/dsl-provider line "usepeerdns".
have a look on this thread too:
*www.thinkdigit.com/forum/showthread.php?t=59380
M
mehulved #15
Oct 14, 2007 at 9:41 PM
phreak0utt said:
@rahim-One more thing. In case your DNS is being reset everytime you boot, open /etc/resolv.conf in a text editor and enter your DNS server IPs. Close it and then use this command:

This command makes sure that no one can change resolv.conf, not even root. In case you want the resetting thing to be done after you executed the above command, replace +i with -i
Not a good idea. The method he used is a better one.
And BTW, chattr works only with ext2 and maybe ext3. Not sure of ext4. But, it surely doesn't work with other fs's.
Rahim
Rahim #16
Oct 15, 2007 at 12:00 PM
Thanks evrybody for your replies.
I had used the one i mentioned earlier in post no #8 and had no problem. My DNS does not change after every reboot and my connection does not hang.

Once again thanks everybody.
@phreak: :) Well, your suggestion wont be liked by Root!!! Root is the master, isnt it?
M
mehulved #17
Oct 15, 2007 at 6:14 PM
rahimveron said:
@phreak: :) Well, your suggestion wont be liked by Root!!! Root is the master, isnt it?
What problem? If you think root will overwrite it then the answer is no. It's a filesystem feature and well above what root can do.
There are things beyond root. For a simple example have a look at SELinux.
phreak0ut
phreak0ut #18
Oct 19, 2007 at 7:54 PM
@mehul-My resolv.conf was being reset constantly. So, one of the forums(Ubuntu or Fedora, I don't remember)had the same situation and the guy who replied had suggested the above method. I'm using Fedora 7 now, and I couldn't resolv with any other method. Will Google more now.
praka123
praka123 #19
Oct 19, 2007 at 8:38 PM
somewhere in /etc/sysconfig/ppp?/options dir u can browse into(sry not using fedora) the pppoe setup options.where u have to comment out "usepeerdns".still u may try system-config-network gui for any option to do this.
Rahim
Rahim #20
Oct 19, 2007 at 9:33 PM
My problem is solved already. Consider this thread as SOLVED.