LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 10-02-2009, 10:26 PM   #1
mf93
Member
 
Registered: Jun 2009
Distribution: Debian Squeeze, centOS
Posts: 229

Rep: Reputation: 36
Wireless connects to internet, but doesn't give me access to certain sites


I recently upgraded my comuter from debian lenny to debian squeeze, and i installed the MADWIFI drivers and everything went smoothly and it showed the internet had connected, I check email fine and I access certain sites fine. However, some sites(i have found usually sites with more content to download such as facebook) not only don't connect, but don't have the wait time associated with a disconnected internet. They just immediately go to the "cannot find server" or whatever error page. I have tried a variety of web browsers, have done it with firewalls and proxies enabled and disabled, and have done it practically on top of the wireless router. My download speeds are fine(1-200kb/s) and I have no problem connecting to certain sites. So why do some sites automatically return the error message without even an attempt to connect?
p.s. sometimes there is a wait time associated with the error message
I'm using Google Chrome(or konqueror or iceweasel if you like) on Debian Squeeze with Atheros chipset using the MADWIFI drivers(ath5k is blacklisted because it was causing problems with MADWIFI)
Any help would be greatly appreciated and thanks in advance!
 
Old 10-03-2009, 05:40 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Check your /etc/resolv.conf file. It isn't a wireless driver issue. It is a dns issue. You may have your router used as the name server and it isn't relaying the domain names to your ISPs dns server. The ones that do work may be coming from cache.

This assumes you aren't going though a proxy the filters access to sites. Is this at home?
Are you using a dnsmasq server or running a name server?
 
Old 10-03-2009, 05:58 AM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Try to disable ipv6.
In iceweasel
Code:
about:config
in the search box type
Code:
ipv6
set it to true by double clicking
 
Old 10-04-2009, 09:27 AM   #4
mf93
Member
 
Registered: Jun 2009
Distribution: Debian Squeeze, centOS
Posts: 229

Original Poster
Rep: Reputation: 36
One thing I forgot to mention: also in my sources.list it doesn't resolve about half of the hosts- including ftp.debian.org and ftp.us.debian.org which are really important for many of the packages I need
I looked in my /etc/resolv.conf and this is all it said
Code:
myComp# pico resolv.conf
#Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 172.16.01
search gateway.2wire.net
This is at home and to the best of my knowledge I am running a name server
I have a linksys router and 2wire is our ISP
thank you for your help
 
Old 10-04-2009, 10:35 AM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
nameserver 172.16.01
Doesn't seem right to me

Could you give the result of
Code:
ifconfig -a
route -n
ping 74.125.79.103
ping www.google.com
 
Old 10-04-2009, 06:26 PM   #6
mf93
Member
 
Registered: Jun 2009
Distribution: Debian Squeeze, centOS
Posts: 229

Original Poster
Rep: Reputation: 36
Code:
MyComp:~# ping 74.125.79.103
64 bytes from 74.125.79.103: icmp_seq=1 ttl=38 time=141ms
(this repeats 9 times)
^Z
Stopped
MyComp:~# ping www.google.com
64 bytes from yi-in-fl47.google.com (74.125.159.147): icmp_seq=1 ttl=239 time=32.9ms
(repeats 9 times)
^Z
Stopped
MyComp:~#
Like i said, I recieve emails fine using KMail, and I access some sites(including all of google's search and cached pages) fine
 
Old 10-04-2009, 06:41 PM   #7
mf93
Member
 
Registered: Jun 2009
Distribution: Debian Squeeze, centOS
Posts: 229

Original Poster
Rep: Reputation: 36
BTW one of the sites I cannot access is linuxquestions so keep in mind that when you request output I have to manually type it from another computer.
Here is the output from ifconfig -a that is working and accesing the internet. BTW HWaddr isnt actually *** I've masked it out so I don't have my MAC address floating around the web. the inet6 is just too long...

Code:
ath0     Link encap:Ethernet  HWaddr:***
         inet addr:192.168.1.104  Bcast 192.168.1.255 Mask:255.255.255.0
         inet6 addr: *** Scope:Link
         RX packets:182208 errors:0 dropped:0 overruns:0 frame:0
         TX packets:23231 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:35922302 (34.2MiB)  TX bytes:4819498 (4.5MiB)

wifi0    Link encap:UNSPEC HWaddr ***

MyComp:~# route -n
Kernel IP routing table
Destination     Gateway     Genmask        Flags Metric Ref   Use Iface
192.168.1.0     0.0.0.0     255.255.255.0  U     2      0       0 ath0
169.254.0.0    0.0.0.0     255.255.0.0    U     1000   0       0 ath0
0.0.0.0         192.168.1.1 0.0.0.0        UG    0      0       0 ath0
MyComp:~#

Last edited by mf93; 10-04-2009 at 06:42 PM.
 
Old 10-04-2009, 06:41 PM   #8
mf93
Member
 
Registered: Jun 2009
Distribution: Debian Squeeze, centOS
Posts: 229

Original Poster
Rep: Reputation: 36
for the top one on my lenny distro the default gateway was 192.168.1.1 i don't know why it isn't here
 
Old 10-05-2009, 04:47 AM   #9
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Since the connection works, and ping resolves, the dns seems OK
There is no proxy ?

Did you disabled ipv6 in iceweasel?
I had the same problem with a fresh install from SID, disabling ipv6 did the trick.
 
Old 10-06-2009, 07:34 PM   #10
mf93
Member
 
Registered: Jun 2009
Distribution: Debian Squeeze, centOS
Posts: 229

Original Poster
Rep: Reputation: 36
alright I went online and disabled ipv6 in iceweasel and now I have full access in iceweasel! I then went and followed teh directions for disabling it systemwide but I still get failed apt repositories and chrome doesnt work...when i lsmod i get clean results like I should
Code:
PC:/home/me# lsmod | grep ipv6
PC:/home/me#
however this shouldnt return anything but it does...
Code:
PC:/home/me# ip a | grep inet6
    inet6 ::1/128 scope host
    inet6 fe80::224:2bff:fe7d:744f/64 scope link
PC:/home/me#
 
Old 10-06-2009, 07:42 PM   #11
mf93
Member
 
Registered: Jun 2009
Distribution: Debian Squeeze, centOS
Posts: 229

Original Poster
Rep: Reputation: 36
nevermind that was just a problem with privoxy
 
  


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
wireless connects but still no internet!? Sketches Linux - Newbie 10 03-20-2009 07:57 AM
laptop connects to access point but not to internet. rtrdspok Linux - Wireless Networking 4 07-28-2008 11:14 AM
Internet in Ubuntu (dapper drake) only connects to certain sites gnanda66541 Linux - Newbie 10 04-16-2007 12:23 AM
Fedora 2 - Kppp connects to internet using modem but apps cant access it MacLin Fedora 6 08-04-2004 08:50 AM
weird...wireless connects to router but not internet apu95 Linux - Wireless Networking 4 04-24-2004 10:24 PM

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

All times are GMT -5. The time now is 09:24 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