PDA

View Full Version : Ping works but all other ports are blocked




tinytiger
Oct 18, 2012, 07:56 AM
Since yesterday morning I am facing a very strange issue with my MacBook Pro which prevents me from going online. Since then I researched a lot of possible solutions, tried many suggestions and at last, re-installed the system but to no avail.

I am running Mac OS 10.8.2 for a few weeks with no problems yet. The internet connection just stopped working when I started the computer in the morning. I did'nt install any new software and as far as I can tell,there were no system updates. I tried to go online different ways: through Wi-Fi, Ethernet cable, and an USB stick, everywhere the same symptoms. I can ping IPs and get a response, but DNS or any other service is not working (FTP, SSH, HTTP..). Itis driving me crazy...

Here are some info that might help with the problem (Wi-Fi connection over a Speedort W722v):

------
scutil --dns

DNS configuration

resolver #1
nameserver[0] : 192.168.2.1
reach : Reachable,Directly Reachable Address

resolver #2
domain : local
options : mdns
timeout : 5
order : 300000

resolver #3
domain : 254.169.in-addr.arpa
options : mdns
timeout : 5
order : 300200

resolver #4
domain : 8.e.f.ip6.arpa
options : mdns
timeout : 5
order : 300400

resolver #5
domain : 9.e.f.ip6.arpa
options : mdns
timeout : 5
order : 300600

resolver #6
domain : a.e.f.ip6.arpa
options : mdns
timeout : 5
order : 300800

resolver #7
domain : b.e.f.ip6.arpa
options : mdns
timeout : 5
order : 301000

DNS configuration (for scoped queries)

resolver #1
nameserver[0] : 192.168.2.1
if_index : 5 (en1)
flags : Scoped
reach : Reachable,Directly Reachable Address

-----
netstat -f

Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lo0 16384 <Link#1> 1246 0 1246 0 0
lo0 16384 localhost fe80:1::1 1246 - 1246 - -
lo0 16384 127 localhost 1246 - 1246 - -
lo0 16384 localhost ::1 1246 - 1246 - -
gif0* 1280 <Link#2> 0 0 0 0 0
stf0* 1280 <Link#3> 0 0 0 0 0
en0 1500 <Link#4> c8:2a:14:09:65:13 0 0 0 0 0
en1 1500 <Link#5> e0:f8:47:25:84:c0 561 0 255 0 0
en1 1500 macintosh.l fe80:5::e2f8:47ff 561 - 255 - -
en1 1500 169.254 macintosh.local 561 - 255 - -
p2p0 2304 <Link#6> 02:f8:47:25:84:c0 0 0 0 0 0
fw0 4078 <Link#7> 70:cd:60:ff:fe:be:0e:9e 0 0 0 0 0

----
dig www.google.com

; <<>> DiG 9.8.3-P1 <<>> www.google.com
;; global options: +cmd
;; connection timed out; no servers could be reached


----
dig @8.8.8.8 www.google.com


; <<>> DiG 9.8.3-P1 <<>> @8.8.8.8 www.google.com
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached



charlieegan3
Oct 18, 2012, 08:02 AM
in the network connections window try removing the adapter you're trying to use and then adding a it again just by clicking the add button. This solved a similar issue for me in the past.

tinytiger
Oct 18, 2012, 08:14 AM
I tried to remove the network connection and added it again. I also tried to remove it and restart my mac. The only thing that changed is before there was an exclamation mark in the wi-fi symbol on the top bar which is gone now. But still no internet connection.:confused:
I should add that I can open an internet connection when I start my mac in the Recovery mode.

ScoobyMcDoo
Oct 18, 2012, 10:23 AM
Perhaps 192.168.2.1 is not a valid or working dns server? Try using 8.8.8.8 for your dns server.

Also, are you certain your router is working properly? Perhaps it needs some attention and/or a reboot...