[Android-Networking] can't acces internet, while settings says all is ok => Routing/Nameserver prob

Hello,

since a while, i have a very strange and frustrating network problem with my Huawei p6(Android 4.4.2). The ROM is "Omni Rom", i think - but it shouldn't matter.

The problem is: when i try to connect through wlan (i have no mobile internet), according to the network manager of android, it should working. But i still can't acess internet services.

I had installed an firewall (think it was adwall), which i've deleted (with the rules, see below) but still i can't acces anything beyond my local device.

Unfortunately, i cant interpret the results below, because of my not-existent knowledge about networking/routing/whatever (especially the netstat result confueses me)

So, i am really grateful for any kind of help a) to solve the problem and b) to interpret the results correctly :slight_smile:

(i post this in an unix forum, because i think android itself isnt the problem; respectively you have more experience with networking things^^)

PS: Thanks for the correction regarding the code tags and the font/color thing. wasnt my intention. :slight_smile:

EDIT: I should probably notice, that resetting the device hasnt solved the problem.

---------------

ping heise.de
unknown host heise.de

ping loopback
unknown host loopback

ping 127.0.0.1
64 bytes from 127.0.0.1: icmp=1 ttl=64 time=1.99ms
[�] 0% packet loss


su
ls /sys/class/net
lo p2p0 rmnet0 rmnet1 rmnet2 sit0 tunl0 wlan0

dhcpcd p2p0
version 5.5.6 starting
p2p0 waiting for carrier
timed out
allowing 8 seconds for IP4LL timeout
timed out

dhcpcd wlan0
flock 'data/misc/dhcp/dhcpcd-wlan0.pid': Try again

su
netstat
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.1:5037 0.0.0.0:* LISTEN
udp 0 0 192.168.1.5:27763 192.168.1.1:53 ESTABLISHED
udp 0 0 192.168.1.5:39219 192.168.1.1:53 ESTABLISHED
udp6 0 0 ::ffff:192.168.1.5:33474 ::ffff:8.8.4.4:53 ESTABLISHED
udp6 0 0 ::ffff:192.168.1.5:54608 ::ffff:8.8.4.4:53 ESTABLISHED
udp6 0 0 :::49041 :::* CLOSE
udp6 0 0 ::ffff:192.168.1.5:45969 ::ffff:8.8.4.4:53 ESTABLISHED
udp6 0 0 ::ffff:192.168.1.5:58799 ::ffff:8.8.4.4:53 ESTABLISHED

iptables rules deletion

iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
iptables -t raw -F
iptables -t raw -X
iptables -t security -F
iptables -t security -X
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT

netstat (after deleting my iptables rules)

Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.1:5037 0.0.0.0:* LISTEN
udp6 0 0 :::50234 ::ffff:8.8.8.8:* CLOSE
udp6 0 0 ::ffff:192.168.1.5:33474 ::ffff:8.8.4.4:53 ESTABLISHED
udp6 0 0 ::ffff:192.168.1.5:54608 ::ffff:8.8.4.4:53 ESTABLISHED
udp6 0 0 ::ffff:192.168.1.5:50051 ::ffff:8.8.4.4:53 ESTABLISHED
udp6 0 0 ::ffff:192.168.1.5:45969 ::ffff:8.8.4.4:53 ESTABLISHED
udp6 0 0 ::ffff:192.168.1.5:58799 ::ffff:8.8.4.4:53 ESTABLISHED
su
traceroute 127.0.0.1
traceroute to 127.0.0.1 (127.0.0.1), 30 hops max, 38 byte packets
1 localhost (127.0.0.1) 0.158 ms 0.074 ms 0.062 ms

You posted this question 2 weeks ago and no replies yet??

The output that you posted is from what??

Does the Android say it's connected to Wi-Fi but you can't do anything with it? If so, as per your question, perhaps it's not received DNS information and therefore cannot resolve any URL's. Try entering a URL containing the ip address instead of the domain name and see if that works.

Normally, on Android, you need to tell it to get it's ip address from the DHCP server AND get it's DNS server address from the same server. Check the settings on the Android.