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


 
Thread Tools Search this Thread
Special Forums IP Networking [Android-Networking] can't acces internet, while settings says all is ok => Routing/Nameserver prob
# 1  
Old 02-07-2015
[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 Smilie

(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. Smilie


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

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

Code:
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
Code:
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)
Code:
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

Code:
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


Last edited by Palindrom; 02-07-2015 at 08:55 AM.. Reason: Add CODE tags.
# 2  
Old 02-26-2015
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Linux

Unable to connect guest VM to internet (QEMU via both 'User-mode networking' and 'TUN/TAP')

Hello, I installed FreeBSD 10.3 on AQEMU. I can't connect to internet in none of the modes of "Default, User-Mode Networking" and "TUN/TAP Networking". I am able to ping my host in the TAP networking mode (192.168.1.33 which is my IP addr in guest), but getting 'no route to host' for any... (1 Reply)
Discussion started by: temp-usr
1 Replies

2. HP-UX

Which nameserver is used?

Hello, i change the nameserver in the resolv.conf file and want to test the new settings. On Linux i can call nslookup and it shows the nameserver which is used: ># nslookup www.unix.com Server: XXX.XXX.XXX.XXX Address: XXX.XXX.XXX.XXX#53 Non-authoritative answer:... (3 Replies)
Discussion started by: soeren1176
3 Replies

3. UNIX for Dummies Questions & Answers

NameServer not accessible

Hi everybody I am facing a little problem with names servers. I have a VPS with Kloxo installed on it I have registered 2 name servers (i.e. ns1.domain.com and ns2.domain.com) past one month. These nameservers are not accessible yet. I have check the nameserver on internic site and they are... (3 Replies)
Discussion started by: rizwan65
3 Replies

4. IP Networking

solaris 8 networking routing

hi all, how do i make sure that the new routing should take effect on the os memory right away? what should i run after i add all the new "route add ....". I have an example below: bash-2.03# netstat -rn Routing Table: IPv4 Destination Gateway Flags Ref Use Interface... (1 Reply)
Discussion started by: itik
1 Replies

5. UNIX for Advanced & Expert Users

Firewall - 2 Internet accesses - routing rules from source

Hello, I would like to modify my firewall configuration for being able to handle 2 internet connections in my Red zone. I would then like to configure some selecting routing rules depending on the internal source. Actual configuration: ===================== 1 router A (ISP)... (1 Reply)
Discussion started by: el70
1 Replies

6. IP Networking

Routing, Port Mapping, Internet Sharing etc etc

I'm running OS X. (OS X Server actually) and right now I use a program called BrickHouse to handle my router configuration. But this program kind of sucks. I'd much rather learn how to configure these programs manually. By these programs, I mean the programs OS X comes with to handle these jobs... (0 Replies)
Discussion started by: l008com
0 Replies

7. UNIX for Dummies Questions & Answers

need to acces unix box thrugh the internet

I have my own PC with linux mandrake 8.2 at home but the problem is that I cant effort the internet connection right now. but at work I had W2k. so if there is any program that allow me to log in unix box and use that program as a terminal for that box. I want to practice the linux code and the... (4 Replies)
Discussion started by: RuDe_BuT_CoOoL
4 Replies
Login or Register to Ask a Question