Questions tagged [networking]

Generic network issues. Before using this tag, check if there's a closer fit (see tag wiki).

Filter by
Sorted by
Tagged with
133
votes
7answers
220k views

How to set up reverse tethering over USB?

My HTC G2 phone is rooted and running Cyanogenmod 7 I don't have a data plan. Sometimes I want to connect the phone to the Internet when there isn't Wi-Fi, to update Market apps, backup SMS messages ...
3
votes
1answer
3k views

How to make Ethernet work on Android over OTG?

I am trying to use an LTE modem connected to an Android 7 device over an OTG cable. The kernel recognizes the device and registers it with cdc_ether, but I am unable to use the connection from the ...
9
votes
1answer
17k views

How to connect to Android through SSH over 3G/4G public IP?

I am having an Android device and I want to connect in via 3G/4G and I am getting connection refused. Any ideas how to do that?
4
votes
2answers
19k views

How to view network traffic requested by a specific app?

There are lots of discussion on how to see which app is requesting network connection. I have tried the following apps: tcapturepacket wifi monitor connection tracker However, none of them was ...
37
votes
3answers
119k views

How to disable captive portal detection? How to remove exclamation mark on Wi-Fi or signal icon in Lollipop?

When connected to the Internet, the system checks if it's in a walled garden, which is simply trying to connect to Google. If it fails, in Android 5, there'll be an exclamation mark on the WiFi icon ...
17
votes
3answers
52k views

How do I connect Android devices to a WiFi AP and mobile data network simultaneously?

When I turn WiFi on, my 3G connection shuts down, which is fine in most cases. However, I need to connect to a LAN at work that is not connected to the internet and I'd prefer not to lose my data ...
4
votes
1answer
5k views

How to ping a local network host by hostname?

I recently wiped my phone and now I am unable to ping a machine by the hostname. Pinging by IP works. I have a machine, let's say it is called NAS. From my Router and PC, ping NAS finds the machine. ...
33
votes
4answers
247k views

How configure the DHCP settings of WIFI Tethering (Hotspot) on Android?

When connecting my PC to Android Wi-Fi hotspot, it assigned a 192.168.42.x address to my PC. I really need to change this as it conflicts with one of our work subnets - is this possible?
24
votes
2answers
68k views

Listen which URLs an app tries to connect

Is it possible to listen/monitor an app's network activities? I have this one app, and I couldn't figure out where it gets its images. I tried to google an app to listen to other apps connections, ...
18
votes
1answer
82k views

How to port-forward internet using Android Hotspot to PC?

I have a Moto G3 Turbo with Android 6.0.1 Marshmallow. I use the phone to make WiFi hotspot so I can use internet on my laptop. I was able to do a successful Metasploit over WAN/Internet, and for ...
1
vote
2answers
1k views

What values to set in Static IP Settings of Wi-Fi when changing DNS?

I have nearly the same problem as Set Open DNS in Android 5.0.1 and the answer helped me. Although I just want to change the DNS for blocking porn, what values for the following fields should I enter?...
3
votes
1answer
7k views

How to send all internet traffic to a SOCKS5 proxy server in local network?

I got the inspiration here. It looks like AFWall+ is able to create a NAT forwarding policy to keep all traffic going through a SOCKS5 proxy and fool Google apps into thinking they are not connected ...
6
votes
1answer
5k views

DNS queries are cached permanently, how to reliably clear DNS cache on Android 7+?

Is there a reliable, reproducible way to clear DNS cache on Android Nougat 7.0? I know there is at least one other question like this but that one was from 8 years ago and I hope I can ask again and ...
3
votes
0answers
295 views

Why can't I browse to my desktop using its .local hostname?

I have a PC whose name is "mypc". It's accessible on the local network. https://mypc.local correctly displays its website when browsed from Mac, iOS, and itself. However, using my Pixel 3 ...
2
votes
1answer
6k views

How to change the default hotspot DHCP IP address range on Android?

As the title says I look for a way to permanently change the default IP address range form 192.168.43.xxx to 192.168.1.xxx. Reason: On my router some of my devices get a static IP trough DHCP, in the ...
17
votes
3answers
33k views

Why is Android refusing to resolve DNS records pointing to internal IP addresses?

I have a very strange behavior on an Android device (Nexus 7) when trying to access local network applications. Instead of getting the actual IP of the machine on LAN, the Android device gets the ...
0
votes
2answers
684 views

Copy data from phone to wifi network

USB port on my phone broke (can't transfer data). My phone uses built-in memory, no memory card. It works, I connect to wifi, etc. Is there any software or easy way to copy all my files from phone to ...
33
votes
7answers
40k views

In Android 6, how to deny an app permission to access the network?

In Android 6, the user has (finally!) the possibility of approving or denying specific permissions to an app. However, I couldn't find a way to approve or deny network access, either via Wi-Fi or ...
30
votes
5answers
43k views

Does Android have support for IPv6?

I wonder if Android has support for IPv6? I have heard that the phone company I use has support for IPv6 and I have a IPv6 address if I visit http://ipv6.whatismyipv6.net.ipv4.sixxs.org/. But I can ...
29
votes
4answers
52k views

How to reach local computer via machine name instead of IP?

Developer here prototyping a mobile app, somewhat new to mobile: I have a simple HTTP service running (currently) on my main laptop with machine name latitude. Another laptop named vaio sharing the ...
10
votes
1answer
14k views

Captive Portal parameters

There are several captive portal parameters one could apply to an Android device via settings put global – the most famous probably being settings put global captive_portal_detection_enabled 0 to ...
3
votes
2answers
15k views

How to mount NFS on Android with correct permissions?

I am trying to mount an NFS share on my Android phone. I have already compiled and installed all the needed kernel modules. The NFS share mounts flawlessly but I can only mount as the system user. ...
11
votes
3answers
77k views

How to use an USB-attached wired Ethernet adapter through USB-OtG on an Android smartphone?

Due to my profession I use to have to connect to wired-only LAN-attached devices (like managed switches, routers, set-top-boxes etc) frequently to access their configuration interfaces via Telnet/SSH/...
6
votes
2answers
7k views

How to assign Mobile Data's public IP to host connected on hotspot?

I've looked around but found nothing on this subject. I have an Android phone with a public IP given by sprint. Tethering on Android uses NAT, so if I want to access any of the devices behind the ...
2
votes
1answer
7k views

Can we make a Vpn server run on Android?

Can we make a Vpn server run on Android. Can applications do this? If yes, which protocols are supported and is this a good idea to use such apps? If not, what are some issues that we may face?
27
votes
6answers
77k views

How is WhatsApp able to receive messages when not in use?

I'm curious about how WhatsApp is able to receive messages when not in use. I mean, I understand that WhatsApp works using the Internet connection rather than the cellphone network. Imagine that I ...
16
votes
4answers
72k views

How to set up a host to IP mapping on unrooted Android?

I've a website running on my computer, and I want to test it from my Nexus 7 tablet. I.e. over the local WiFi LAN. If I type in the IP address it connects, but shows the wrong web site, because I'm ...
5
votes
1answer
27k views

Which WiFi-Direct commands can be used in Android?

I am interested to know what commands can be used in Android to control WiFi direct from the terminal/command line. I took a look into p2p WIFI direct but I didn't catch these commands!! I can find ...
2
votes
1answer
796 views

Restricting an app to only send internet traffic but not receive that back?

Is there a way or app to restrict some apps on my Android, or the whole device, to only send internet data packets but not receive them back? I want to confuse a game app by doing this. It restricts ...
4
votes
4answers
20k views

Can Android devices connect to both WiFi and mobile data networks at the same time?

Can Android devices connect to both WiFi LAN (not necessarily connected to the Internet) and mobile data networks at the same time? Or when it connects to one, does it have to disconnect from the ...
14
votes
0answers
15k views

Use USB as network access for an Android device (reverse tethering)? [duplicate]

Possible Duplicate: How to set up reverse tethering over USB? Note I'm not talking about getting my PC network access through my Android device, I'm talking the opposite. I sit in a dead spot ...
5
votes
1answer
5k views

How to Remote Control Android smartphone, if not in same subnet

I'd like to "Remote Control" my Android 2.3.x (Oxygen 2.3.2 ROM) from my PC. I know that there are VNC servers available and also apps like "Remote Web Desktop". This works fine, but only if the ...
3
votes
2answers
5k views

Why is "mdnsd" draining my battery and how to stop it?

This process (mdnsd) had been draining my battery for a few weeks. I have not been able to find a solution after a lot of search. I don't have any drone app, Facebook app or Firefox, although it's ...
2
votes
2answers
1k views

How can I permanently assign a static IP address to Wi-Fi clients? (Lineage OS 17.1 Android 10)

My phone Moto X 4 has LineageOS 17.1 installed and is rooted with magisk. I use the phone's hot spot as main mean to connect to the internet. In this scenario the android device acts as DHCP server, ...
107
votes
4answers
539k views

How can I see what IP address my android phone has?

I would like to know what IP-address my Android phone has. E.g. if I use my phone over WiFi, how can I get the local IP-address that is assigned to my phone?
29
votes
5answers
84k views

List of open ports on Android

Is there a way, on a non-rooted Android device, to see a list of what apps are listening on what port? Or even a way to see if an app is listening on a specific port?
25
votes
4answers
192k views

Is there a command or application similar to ipconfig?

I would like to see my network addresses on my phone. On Windows I can use ipconfig for this and ifconfig on Linux. But how can I see this information on my Android device? Is there an application or ...
23
votes
4answers
148k views

How to tell current frequency band?

I have a Samsung Galaxy Ace, with quad-band I believe. It is possible to see the current connection network type, e.g. UMTS, EDGE, etc, by going to Settings -> About Phone -> Status. But it does not ...
18
votes
2answers
7k views

How do I set up OpenVPN on CyanogenMod 7?

I want to route all my network traffic through my home's ISP connection when I'm out in Internet cafes so I can't be eavesdropped/firesheeped. I have an HTC G2 with CyanogenMod 7, which has OpenVPN ...
11
votes
3answers
2k views

Is there any sniffer aplication for Android 2.2?

Is there any network sniffer program for Android 2.2 similar to Wireshark for Windows?
10
votes
2answers
7k views

Zeroconf mDNS on Android?

Is it possible for me to run a Zeroconf mDNS server on my Android phone? Something like Avahi on Linux. The reason I ask is because I run an SSH/SFTP server on my phone for transferring files to/from ...
7
votes
1answer
21k views

Connect android emulator to lan

I try, to connect my android emulator (from sdk) to the lan via a network bridge and a tap interface and with the -qemu option. I need it to use multicast addresse in native library code for ...
18
votes
3answers
2k views

Let Android believe it is connected to internet [duplicate]

Possible Duplicate: How to set up reverse tethering over USB? Is there a way to do this? I'm trying to reverse tether my Android phone. I'd like it to use my PC connection. Many guides on the ...
11
votes
3answers
135k views

Connect an Android tablet to ethernet

I use tablet with Android in a professional environment and the it department doesn't accept to install wifi. My tablet need to synchronise with CSV file on a LAN share. I'm looking for solutions. ...
7
votes
2answers
30k views

Change MAC address Android using ip link?

I am trying to change the MAC address on a device running Android. It has been rooted and a command line installed ("ConnectBot"); I was looking around Google for methods of changing the MAC address ...
5
votes
2answers
52k views

How to set up a network connection between Android phone and Windows PC without Internet

Is it possible to connect my Android phone (Galaxy S3) directly to my Windows (7) PC in such a way that I can make network connections to the PC from the phone, without a pre-existing WiFi network? ...
3
votes
1answer
3k views

How to SSH into Android which is a hotspot?

I am using Wi-Fi hotspot on Android. Can I SSH into it from my laptop which is connected to hotspot? How would I do this?
1
vote
2answers
7k views

Android apps not working with HTTP proxy

So I want to redirect my Android phone's HTTP traffic through a proxy running on my computer, in my case Burp Suite. I tried doing so by changing the WiFi settings and also by using the Drony app. ...
11
votes
2answers
3k views

Can I use the HTC Desire HD Wifi Hotspot feature to share a wireless network instead of mobile internet? [duplicate]

Possible Duplicate: Can we use an Android phone as a Wi-Fi repeater? I have my home router which for a variety of reasons I can not switch to WEP. However, I occasionally need to use my Nintendo ...
5
votes
2answers
3k views

Using Android as network server

I want to use my Android device as a network server. In the same kind of way you would make it a Wi-Fi hotspot, but I don't want to allow connected computers to access the internet, I would like them ...