Connecting you Android device to a computer network.

learn more… | top users | synonyms

68
votes
4answers
65k 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 ...
21
votes
4answers
117k 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?
18
votes
3answers
6k 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 ...
15
votes
2answers
6k 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 ...
14
votes
8answers
7k 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 ...
14
votes
3answers
1k 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 ...
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 ...
13
votes
1answer
9k 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?
11
votes
3answers
17k 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 ...
11
votes
3answers
34k 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 ...
11
votes
3answers
1k 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
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 ...
10
votes
3answers
2k 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 ...
9
votes
1answer
8k 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. ...
9
votes
3answers
28k 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 ...
8
votes
3answers
32k 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 ...
8
votes
2answers
9k 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 ...
8
votes
1answer
2k 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. ...
7
votes
1answer
4k views

Why does my phone uses 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 ...
7
votes
1answer
3k 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
445 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
3answers
378 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 ...
7
votes
4answers
4k views

How to SSH into Android from a different network?

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, ...
7
votes
1answer
615 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 ...
6
votes
1answer
2k views

How to listen which URLs an app tries to connect

Is there an app (or some other way) that could listen to other apps, and their network? 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 ...
6
votes
4answers
8k views

How do I set up my wifi router for my Android device?

I have a wireless network set up with a Sweex LC000070 router, WEP encryption and while my HTC Hero can connect to the network, internet doesn't seem to work. Is there any setting on the router I ...
6
votes
1answer
998 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 ...
6
votes
1answer
2k views

Can I override the default DNS settings on an HTC Evo without root access?

Is there any way to override the Sprint DNS server(s) used by default on the 3G connection of an HTC Evo running Froyo without root access? The reason I want to do this is because some sites are able ...
6
votes
5answers
3k 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 ...
5
votes
2answers
2k views

How to connect ADB over 3G/4G? Or how can an ADB listener over network vulnerability be leveraged over GSM?

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 ...
5
votes
2answers
1k views

How to set the DNS server on Nexus One?

The ISP I use on my N1 doesn't allow me to open facebook. Using a PC, I can use Google DNS server (8.8.8.8) to by-pass them but on N1, I can't find where to put the stufff. Please help if you know ...
5
votes
1answer
5k 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 ...
5
votes
1answer
1k 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 ...
5
votes
2answers
2k 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 ...
5
votes
2answers
5k views

Analyzing packets in android

I want to analyze packets on my rooted Android mobile phone. What I did so far: I have installed shark for root and shark reader. I tried to sniff packets, but shark reader only shows RAW packet. ...
5
votes
2answers
707 views

Cannot connect to Facebook, hosts file seemingly ignored

I have a Motorola Atrix. My country used to block Facebook, so I decided to add its ip to the /etc/hosts file about 3 months ago and it worked in the browser, but the Facebook app did not. Now my ...
5
votes
2answers
6k views

Internet not accessible even though connected to local network using wifi

I have a wifi connection setup at my home. Other devices like my ubuntu laptop and macbook, when connected to wifi are able to access internet. Even my dad's blackberry is able to load websites when ...
5
votes
3answers
7k views

Android - “SIM card doesn't allow a connection to this network” ERROR

I have a problem with my Xperia X10 (U20i). I purchased it new. It worked fine for a week or so, then I switched to another network operator. When I try to connect automatically it says "Registered on ...
5
votes
1answer
2k 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 ...
4
votes
3answers
2k views

Are Tmobile using bogus DoD IP addresses (bogons)?

I recently started picking up some weird entries in my firewall log: kernel: arplookup 26.XXX.XXX.XXX failed: host is not on local network There are at least at dozen entries, all to different IP's ...
4
votes
1answer
1k views

List of all devices connected to my network

Is there any way to get list of all devices connected to my Wi-Fi network?
4
votes
2answers
1k views

How do you get Android OS bugs fixed?

I recently got an HTC Shift from Sprint. Within days of getting it, I noticed very bad issues with the phone losing sync to 4g, 3g, and wifi; it would not reacquire data connections unless I manually ...
4
votes
2answers
231 views

Is it possible for a telco provider to sniff HTTP packets of Wi-Fi through firmware?

Regarding privacy matters, I wonder if it is possible for mobile telco provider firmware (on stock distributions) to sniff all the outgoing HTTP requests of a Wi-Fi network without the need of the ...
4
votes
2answers
1k 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 ...
4
votes
2answers
5k 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 ...
4
votes
6answers
60k 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. ...
4
votes
1answer
454 views

hosts file keeps reverting

I run adb shell and append a line to /etc/hosts using echo IP DNSName >> hosts It works for a some time and then reverts back to having only a single entry for localhost. Any idea what ...
4
votes
1answer
163 views

Is there a way to control app execution environment?

Is there some way of controlling how an installed application communicates over the network and writes data to disk? Let's say I have an application that will handle sensitive data, but it comes from ...
4
votes
1answer
2k views

Does Android have a “router setup page” when acting as a wireless or wired hotspot?

I can edit all the crucial aspects of my hotspot/router within the setup options for the hotspot/router configuration. I am confused as to how the DHCP works when using up the Android phone as a ...
4
votes
2answers
1k views

Is there a way to log network traffic on an Android device without rooting it?

I would like to know if its possible to log network traffic on an android device and to see what app is causing each bit of traffic without rooting the phone.