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
131
votes
7answers
206k 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 ...
104
votes
4answers
524k 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?
37
votes
3answers
110k 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 ...
32
votes
7answers
38k 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 ...
29
votes
4answers
213k 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?
28
votes
5answers
40k 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 ...
27
votes
3answers
68k 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?
26
votes
4answers
48k 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 ...
25
votes
6answers
71k 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 ...
24
votes
4answers
175k 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
145k 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 ...
22
votes
2answers
62k 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, ...
19
votes
7answers
12k views

Why does android ignore my etc/hosts change in the browser?

I've remounted /sys as rw, added one entry to etc/hosts (e.g. 10.0.0.1 x.com www.x.com) and rebooted my device. After rebooting, if I check etc/hosts, the entry is fine. If I ping x.com, it pings the ...
18
votes
2answers
74k views

How to mount SMB/CIFS Network Shares on android device?

I have a rooted android device running on gingerbread. I was wondering if there is a way to mount my windows CIFS(Common Internet File System) Shares on my android device over WiFi. Is it required to ...
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 ...
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 ...
15
votes
3answers
25k 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 ...
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 ...
12
votes
4answers
60k 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 ...
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?
11
votes
3answers
75k 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/...
11
votes
3answers
133k 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. ...
11
votes
3answers
4k views

How do I simulate packet loss on an Android device?

I'd like to simulate packet loss on a rooted Android device to see how different levels affect video streaming quality. I've tried netem and iptables, without success: netem: # tc qdisc change dev ...
11
votes
2answers
15k views

Port-forwarding on Android 2.3.6 wifi-tether using Port Forwarder app

I'm having trouble port-forwarding connections from outside my network when tethering with my phone. I have a bad understanding of routers and networking in general, so please bear with me. My ...
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 ...
10
votes
2answers
10k views

How to connect ADB over 3G/4G?

I keep seeing warning signs about enabling ADB over Network when you aren't connected to a WiFi network, but what if I want to connect ADB over 3G/4G ? Whenever I try to do it with any of the ...
10
votes
1answer
10k 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 ...
10
votes
1answer
9k views

Why does my phone use Google Public DNS?

I was just curious to know what DNS server my phone used. So I launched a terminal emulator and I entered: $ cat /etc/resolv.conf nameserver 8.8.8.8 nameserver 8.8.4.4 As you can see, my phone uses ...
10
votes
1answer
12k views

Manually set a hostname for IP address (i.e. /etc/hosts equiv.?)

I am a web developer and am developing our website on my local desktop machine. I have an android phone (htc desire running android 2.2). I want to test what our web application looks like on android. ...
10
votes
1answer
43k 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 ...
10
votes
1answer
6k views

How to resolve that both Wifi Hotspot and USB Tethering need reboot to work?

I am using a Huawei Honor Device running the official Ice Cream Sandwich. I use the wifi tethering quite often to get my notebook online, and realized following behavior: I am connected to Wifi. ...
9
votes
2answers
5k views

Do Android devices make active or passive scan when looking for WiFi AP

I would like to know if Android devices make active or passive scan when looking for the AP to connect. I've already made a test using Wireshark and wifi sniffer and it seems that while an iPhone ...
9
votes
2answers
6k 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 ...
8
votes
5answers
9k views

Google account sign in problems

Yesterday my HTC Tattoo (with software based on Donut) started giving me "No connection Retry" errors for Gmail, YouTube, Google Reader, Market and anything else that requires sign in with Google ...
8
votes
1answer
4k views

How does Cloud message services reach devices behind NAT / firewall?

Getting push notifications with devices with a local IP works fine. I just wonder how is that it works. Is it just uPnP? The device starts communication with the cloud messaging service and then IGD ...
8
votes
1answer
9k views

Is back up to a network folder possible?

Is there a Backup App that would allow me to backup apps and application data to a network folder? I don't mean to backup to the cloud (e.g. Dropbox) but to a shared folder on my PC or a NAS. Over ...
8
votes
4answers
9k views

How to SSH into Android from a different network? [closed]

I'm running SSHDroid on my unrooted android device. When my SSH client on ubuntu or windows are on same wifi network as the Android, I'm able to connect to it via SSH. But what I want to do is, ...
8
votes
1answer
952 views

Nexus S 4G: Use wifi for LAN, 3G/4G for WAN?

I'm developing a remote control app that will use wifi to communicate with my car stereo. The car stereo has ethernet, and I have the ethernet wired to a wireless AP in my trunk. This works great, but ...
8
votes
0answers
2k views

Is there any way to auto-reconnect with a specific PPTP connection on Android?

Every time my phone switches between networks (e.g. 4G to Wi-Fi) the established PPTP connection drops. I know there is a feature called Always-on VPN, but that seems to only apply to L2TP or IPSec ...
7
votes
1answer
8k 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?
7
votes
1answer
7k views

How does Android determine if it has an Internet connection?

My Nexus 10 (Android 4.4.2, unrooted) is not playing nice with my wireless network. Although it can connect and I don't have any problems browsing the web, for some reason Android thinks that it doesn'...
7
votes
1answer
2k views

SD Card as a Network drive in Wi-Fi Network?

Please help me to emulate my Phone's SD card as a network drive in my Wi-Fi network. I am able to mount it as a Media device which will only help us to play music with Windows Media Player. But I want ...
7
votes
3answers
42k views

Android x86 Virtual box with Internet and connection to adb?

I have Android x86 4.2 Installed on my Virtual Box. My main purpose is debug with eclipse and get internet on Android Some how i am able to get internet and also able to connect from adb (of ADT) but ...
7
votes
1answer
8k views

How to change the 'hosts' file to redirect URLs?

For windows machine we got the hosts file to edit to redirect url's to other domains. Is there a file like that on android? I'm looking to redirect a very long url to a shorter one using the hosts ...
7
votes
1answer
12k views

How to share Android “Reverse-tethered” internet via Android WiFi?

Before going into main question, we do know that : we can do Reverse Tethering from PC into android (http://forum.xda-developers.com/showthread.php?t=1371345) And we can share current phone internet ...
7
votes
1answer
529 views

Phone is finding every wireless access point except mine!

I have a Samsung Galaxy S using the default firmware (version 2.2). Unfortunately, it can't seem to find the wireless at work. When I click "Scan" on the list of WAPs, it continues to appear as a "...
7
votes
2answers
29k 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 ...
7
votes
1answer
8k views

SSH Key generation

How do I generate a pair of SSH keys to be able to use in several apps (Juice SSH, Turbo, etc) to access my remote host? I've tried generating them with Connectbot, JuiceSSH and on a Linux machine, ...
7
votes
3answers
541 views

How can I copy media files to my phone without adding them to the gallery?

I keep my media files (such as music) on my home server. When I add a new album to the home server, and want to copy it to my Android 4.0.4 phone, I use a Samba client (such as AndSMB or X-plore) to ...
6
votes
1answer
11k views

Use rooted android to capture all traffic on wan using monitor/promiscuous mode

Before I begin, I've searched quite a lot and haven't been able to find exactly what I'm looking for. I have a rooted Nexus 5 with Kali Nethunter installed. It's very easy to capture all network ...

1
2 3 4 5
10