LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-12-2007, 07:26 AM   #1
sinister035
LQ Newbie
 
Registered: Feb 2007
Posts: 7

Rep: Reputation: 0
can not access valid sites frm linux


Hi,
I m a newby in linux. when browsing from Windows i can access all the sites, but in linux some sites are not reachable all the time(they r sometimes accessible,though).
i can get the ip address by using nslookup, then i tried to browse by copying that ip address, but browser cant find the sites.

what may be the problem?
 
Old 02-13-2007, 04:27 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
The only times I've seen this it was either DNS or the interface MTU setting on an ADSL connection. Since it works for you with windows, it's probably not DNS. Do you have an ADSL connection to the internet? It may be worth booting into windows, running ipconfig /all to get the interface settings and confirming that they are like the settings shown by ifconfig under Linux.
 
Old 02-14-2007, 10:57 AM   #3
sinister035
LQ Newbie
 
Registered: Feb 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Exclamation Weird!!!!

Quote:
Originally Posted by gilead
The only times I've seen this it was either DNS or the interface MTU setting on an ADSL connection. Since it works for you with windows, it's probably not DNS. Do you have an ADSL connection to the internet? It may be worth booting into windows, running ipconfig /all to get the interface settings and confirming that they are like the settings shown by ifconfig under Linux.
When i failed to get www.orkut.com, then i typed http://orkut.com and it got to orkut, i thought that was a fluke, but since then when i have that kind of problem, i tried and got access
 
Old 02-14-2007, 02:37 PM   #4
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
Have you looked at the contents of the /etc/resolv.conf file? Often times the file will have the name of the home network at the top followed by a list of nameserver ip addresses. Maybe even just the network name.

I always found it more reliable to not search the network at all. You can use ipconfig /all from Windows to get the addresses of the DNS servers, then in Linux edit /etc/resolv.conf to have just those lines, like this:

before:
search NETWORK
nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx

Get DNS server addresses from Windows

after:
nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx
 
Old 02-14-2007, 03:38 PM   #5
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
If you are using a Mozilla browser like Firefox/Seamonkey:

The problem may be with IPv6 ("Internet Protocol version 6"). To disable IPv6, change the preference network.dns.disableIPv6 from "false" to "true" . Here are the steps:

1. Type about:config in the address bar, press Enter.
2. Find network.dns.disableIPv6 in the list.
3. Right-click -> Toggle.
4. Restart Firefox/Mozilla Suite and try again.

If this doesn't work, re-enable IPv6 by resetting the preference to "false".
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't access the samba server (RedHat9) frm WinXP though it's shown in network places rajibshovan Linux - Networking 11 01-08-2007 05:20 AM
Can't reach some valid sites via http (FC4) kingbolete Linux - Networking 5 02-10-2006 01:51 PM
how to get the time of last access frm stat skie_knite007 Programming 2 08-08-2005 12:30 PM
Browsers can't access a valid Web connection dave111 Slackware 7 09-01-2004 03:59 AM
i cannot access certain sites other can ? qwijibow Linux - Networking 2 11-04-2003 05:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration