Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 10-10-2007, 07:36 PM   #1 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
Default Internet Connected; but Firefox deos not load webpages


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.
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||

topdocumentaryfilms.com
Rahim is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 10-10-2007, 07:58 PM   #2 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: Internet Connected; but Firefox deos not load webpages

check if dns is fine?
Code:
dig google.com
and
Code:
cat /etc/resolv.conf
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 11-10-2007, 07:21 PM   #3 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
Default Re: Internet Connected; but Firefox deos not load webpages

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!
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||

topdocumentaryfilms.com
Rahim is offline  
Old 11-10-2007, 08:55 PM   #4 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: Internet Connected; but Firefox deos not load webpages

So, dns entries are fine. By any chance are you on MTNL? I have been hearing quite a few problems from MTNL customers.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 11-10-2007, 09:09 PM   #5 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: Internet Connected; but Firefox deos not load webpages

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.
QwertyManiac is offline  
Old 11-10-2007, 09:54 PM   #6 (permalink)
Wandering in time...
 
Ankur Gupta's Avatar
 
Join Date: Nov 2004
Location: Delhi,India
Posts: 1,293
Default Re: Internet Connected; but Firefox deos not load webpages

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
__________________
Integrate Yourself With The Latest Happenings.....
www.ankur-gupta.com/blog
Ankur Gupta is offline  
Old 12-10-2007, 06:49 PM   #7 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
Default Re: Internet Connected; but Firefox deos not load webpages

Quote:
Originally Posted by mehulved
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.
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||

topdocumentaryfilms.com

Last edited by Rahim; 12-10-2007 at 07:01 PM.
Rahim is offline  
Old 13-10-2007, 07:42 PM   #8 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
Default Re: Internet Connected; but Firefox deos not load webpages

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".
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||

topdocumentaryfilms.com
Rahim is offline  
Old 13-10-2007, 08:10 PM   #9 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: Internet Connected; but Firefox deos not load webpages

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.
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 13-10-2007, 09:45 PM   #10 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: Internet Connected; but Firefox deos not load webpages

opendns is fast.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 14-10-2007, 11:11 AM   #11 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
Default Re: Internet Connected; but Firefox deos not load webpages

How to do opendns?
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||

topdocumentaryfilms.com
Rahim is offline  
Old 14-10-2007, 11:45 AM   #12 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: Internet Connected; but Firefox deos not load webpages

Read the instructions at www.opendns.com as I already have mentioned. They've explained everything with screenshots and etc.
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 14-10-2007, 04:17 PM   #13 (permalink)
The Thread Killer >:)
 
phreak0ut's Avatar
 
Join Date: Apr 2006
Location: Bangalore
Posts: 1,185
Default Re: Internet Connected; but Firefox deos not load webpages

@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:
Quote:
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
__________________
Want to make this world a better place? Then, start seeding and don't be just a leecher :)
phreak0ut is offline  
Old 14-10-2007, 04:58 PM   #14 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: Internet Connected; but Firefox deos not load webpages

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:
people using Broadband in Feisty Fawn....
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 14-10-2007, 09:41 PM   #15 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: Internet Connected; but Firefox deos not load webpages

Quote:
Originally Posted by phreak0utt
@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.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 15-10-2007, 12:00 PM   #16 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
Default Re: Internet Connected; but Firefox deos not load webpages

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?
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||

topdocumentaryfilms.com
Rahim is offline  
Old 15-10-2007, 06:14 PM   #17 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: Internet Connected; but Firefox deos not load webpages

Quote:
Originally Posted by rahimveron
@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.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 19-10-2007, 07:54 PM   #18 (permalink)
The Thread Killer >:)
 
phreak0ut's Avatar
 
Join Date: Apr 2006
Location: Bangalore
Posts: 1,185
Default Re: Internet Connected; but Firefox deos not load webpages

@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.
__________________
Want to make this world a better place? Then, start seeding and don't be just a leecher :)
phreak0ut is offline  
Old 19-10-2007, 08:38 PM   #19 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: Internet Connected; but Firefox deos not load webpages

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.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 19-10-2007, 09:33 PM   #20 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
Default Re: Internet Connected; but Firefox deos not load webpages

My problem is solved already. Consider this thread as SOLVED.
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||

topdocumentaryfilms.com
Rahim is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
firefox::download webpages ?? 24online Software Q&A 10 24-03-2007 05:01 PM
Internet connected but not working deadly_dude Internet & WWW 6 19-08-2006 08:54 PM
I get connected to internet but i cannot browse hbk549 Hardware Q&A 1 04-06-2006 10:48 AM
internet not connected kumarn_2004 Internet & WWW 2 11-04-2005 10:33 PM
Xp restart when connected to internet vijaythefool Internet & WWW 8 07-10-2004 08:49 PM

 
Latest Threads
- by Sujeet
- by soumya
- by clmlbx
- by Charan

Advertisement




All times are GMT +5.5. The time now is 01:03 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2