Internet Connected; but Firefox deos not load webpages

Status
Not open for further replies.

Rahim

Married!
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.
 
OP
Rahim

Rahim

Married!
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!
 

mehulved

18 Till I Die............
So, dns entries are fine. By any chance are you on MTNL? I have been hearing quite a few problems from MTNL customers.
 

QwertyManiac

Commander in Chief
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

Wandering in time...
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 :(
 
OP
Rahim

Rahim

Married!
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.
 
Last edited:
OP
Rahim

Rahim

Married!
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

Commander in Chief
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.
 

phreak0ut

The Thread Killer >:)
@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

left this forum longback
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
 

mehulved

18 Till I Die............
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.
 
OP
Rahim

Rahim

Married!
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?
 

mehulved

18 Till I Die............
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

The Thread Killer >:)
@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

left this forum longback
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.
 
Status
Not open for further replies.
Top Bottom