Question:
How to point HTC Droid Incredible to our companies Intranet website, I have edited the HOSTS file it look like this:
127.0.0.1 localhost
192.168.0.12 mydomain (Sorry new so I can not use URL)
The problem is when I try to go to mydomain (Internal) it still goes to the internet for DNS and resolves to the real mydomain (External). I am stumped just wondering if I have missed something on the setup of the HOSTS file or missing something else.
Side notes:
*I can ping the web server from the phone connected to wifi via terminal.
*Windows Server 2003 for Web Hosting.
*All computers on Domain, connect to Intranet Website just fine.
------------------------------------------
Verizon Wireless
HTC Droid Incredible
ROM Droid 2.2 Build 3.21.605.1
Radio 2.15.00.07.28
------------------------------------------
unrEVOked and unrEVOked Forever
------------------------------------------
If you're connected to your internal WiFi network, your internal network's DNS server should resolve the IP. That's how it works on my phone: I ping a hostname while connected to WiFi, it resolves to the internal IP; I ping it while connected to Mobile Internet, it resolves to the external IP.
Also, make sure the file you're editing is /etc/hosts, not /etc/HOSTS. Case matters.
Related
I live in India and desire has not been launched officially yet. but i bought it from the grey market. here are a couple issues i am having:-
1. wifi connection in office connects smoothly. but at home it just shows "obtaining ip " and then after a long time it says that it was connected unsuccessfully.I searched and found a "static-ip"soln. i tried to get the details of ip etc. from my laptop my wifi is the "obtain ip address automatically" one. so i went to "details" and copied everything from there to my desire.now it shows that its connected but i cant browse the web still.any help here?
2.Should i update to Froyo 2.2"
these are my phone details:-
Firmware Version -2.1 update1
Baseband Version - 32. 30. 00. 28U_4. 05. 00. 11
Kernel Version- 2. 6. 29-97da29ed
htc-kernel @ and18-2#1
Build No. - 1. 15. 405. 4 CL155070 release-keys
Software No.- 1. 15. 405. 4
Browser Version- Webkit 3.1
can somebody pls help me!!!! or at least tell me which region/country rom i have?
Sounds like your router is not set up properly to allocate an IP to the phone. What security are you using? WEP? WPA? Also make sure your DHCP Server is set up correctly to accept the Desire and allocate the IP address.
No idea which rom you have but personally I'd root it and install a custom 2.2 rom like Neophyte which is very stable, fast and includes fixes for Froyo.
darklord981 said:
wifi connection in office connects smoothly. but at home it just shows "obtaining ip " and then after a long time it says that it was connected unsuccessfully.I searched and found a "static-ip"soln. i tried to get the details of ip etc. from my laptop my wifi is the "obtain ip address automatically" one. so i went to "details" and copied everything from there to my desire.now it shows that its connected but i cant browse the web still.any help here?
Click to expand...
Click to collapse
could you check if you're using MAC filtering and/or hidden SSID on your wifi router at home?
I installed adfree recently. At first I had it use 127.0.0.1 in my hosts file. That causes ads to perpetually have a spinner because I'm not running a website on my phone, obviously.
Then I read that I should use the "BCT IP" option. That option makes entries in hosts that point all of the domains to 119.161.80.12, which runs a script so that all 404 errors produce either an empty GIF or an empty HTML file for all requests (depending on the file type of the request.) This sounds really handy so that something gets served and the ad banners stop showing a spinner.
However, if I use the BCT IP option, is doesn't work! I get the ads. I even tried opening the browser and entering http://zango.com/foo.png (zango being one of the domains from the hosts file) and I got served a 404 page from zango.com instead of the blank image from the server at the BCT that IP address.
I double checked my hosts file by doing
Code:
adb pull /system/etc/hosts hosts.txt
and I can see that the zango domain is indeed pointing to that IP.
If I enter the BCT IP in the browser and a random PNG file name I get redirected to the pixel.gif as expected. So all the pieces are there, it's just not using the BCT IP for the domains in the hosts file. However, using 127.0.0.1 works great. (Well, except I get a perpetual spinner on ad banners.)
If it matters, I'm on CM 6.1 Stable testing this on an Edge/3G connection. I should also note that I reboot after each time I change the hosts file.
Any idea what's going on?
Belated reply I know, but just to say, that manually setting it to use IP 119.161.80.12 works.
One benefit of leaving it set to 127.0.0.1 though is that apps which require ads to be "shown" (like Angry Birds, for example) will still run when you're in airplane mode.
With it set to the other IP, it will fail in that case, since obviously there wouldn't be any network connection to contact.
I need help viewing my shared files over my VPN.
OK so I have setup a VPN on my Win7 machine, port forwarded pptp in my router and have successfuly added the VPN on my DHD. The Android device connects OK (something has popped up in Win7 about RAS (Dial In) Interface, not too sure about this) but I cannot seem to view any of my shares in ES File Explorer under LAN.
I have added a new server (while connected to VPN) in ES File Explorer using the IP of my Win7 wireless network connection (192.168.0.103) but it wont display anything.
server: 192.168.0.103
Username: username
Password: *******
Each tme I try to connect it says:
"smb://192.168.0.103/
Network path not found or time out"
Anybody got any ideas on how to get this working?
fubofo said:
I need help viewing my shared files over my VPN.
OK so I have setup a VPN on my Win7 machine, port forwarded pptp in my router and have successfuly added the VPN on my DHD. The Android device connects OK (something has popped up in Win7 about RAS (Dial In) Interface, not too sure about this) but I cannot seem to view any of my shares in ES File Explorer under LAN.
I have added a new server (while connected to VPN) in ES File Explorer using the IP of my Win7 wireless network connection (192.168.0.103) but it wont display anything.
server: 192.168.0.103
Username: username
Password: *******
Each tme I try to connect it says:
"smb://192.168.0.103/
Network path not found or time out"
Anybody got any ideas on how to get this working?
Click to expand...
Click to collapse
Try use ciffs manager. )
Sent from my Desire HD using XDA App
mero01 said:
Try use ciffs manager.
Click to expand...
Click to collapse
Just one "f" - you can find it in the market by searching for CifsManager or just Cifs.
Note that you will need to have the correct kernel modules (i.e. slow-work.ko and cifs.ko) for your kernel inserted (i.e. loaded, on your rooted phone) for CifsManager to work.
You can find more info here:
http://forum.xda-developers.com/showthread.php?t=821717
Thanks for the replies guys. In the end I just gave up and setup an ftp server on my PC
Sent from my Desire HD using XDA App
So, here it goes.
My goal is to connect to a network using certain MAC address. Wanted network is marked with "open" and I know that it allows access only to certain devices (according to MAC) on which the administrator have gave a permission to. Once your MAC passes the verification, device gets connected to the network and then I'm asked to enter username and password through WEB browser (well known for me, because it is a procedure that I do on my other device, as well as all my colleagues do).
For example, I was allowed to provide one personal MAC address to administrator to connect to this network. I would like to set the MAC address of my other personal device and set it on my I9195 so that I can access the same network.
So, what have I done so far: I9195 is rooted, it has Android 4.2.2 on it and Busybox installed. I have changed MAC on it using following apps: MacChanger (blue WIFI logo), MAC Address Ghost (green ghost logo), using Android Terminal Emulator commands and via MAC Spoofer (black circle with green text logo). What can I conclude: As soon as superuser has granted the access to these apps, all of them manage to change the MAC. I've done the verification using Terminal Emulator. I also have to add that the MAC remains original if viewed from WIFI advanced menu BUT this shouldn't be an issue because:
1.) Colleague of mine is using his S4 (rooted etc.), while using MAC Address Ghost that does not change the original address (viewed from WIFI advanced menu) but he manages to make a spoof (verified from the Android Terminal Emulator, as all of this apps actually do) and he manages to connect without any problems in the same way as I connect with another device that I have!
2.) I had time to make a small test at home which put a light on the idea that the problem should be focused on the Samsung (and not on the router, especially because I am unable to modify anything on the router on this facility, not even restarting it). My home network works in a similar way as the network that we are discussing about. My S4 Mini has been included in it with his original MAC and it connects to the network without any problems. My other device is also included to the network using its MAC (the one that I am using for spoofing). My other device is turned OFF, router has been reset and I am normally accessing the network with S4 Mini. Then I run the MAC Address Ghost to spoof the MAC on my S4 Mini. In that moment, I have lost the connection that I had which means that the MAC spoofer actually did something. I tried to reconnect to the network but then I am asked to enter the password for my network. I have checked and re-checked it many times, tried to forget the network and doing it all over again but it does not accept the CORRECT password. Changing my MAC back to the original one connects S4 Mini back to the network, while accepting the password immediately.
Problem is represented in a way that it either says “saved” and does not connect to the network or every few times displays a message “Authentication error occurred”.
I have tried I would say every possibility that I’ve seen over the internet. That includes:
1.) Installing WiFi Connection Manager (it provided some info regarding the network that I wish to connect to: IEEE 802.11g standard, 54 Mb link and CH:11). I’ve used its function to fix the WIFI (advanced fix (root required)) but it didn’t help.
2.) All sorts of staying close to the rooter, while enabling and disabling the Power save mode (accessed via *#0011# command) or while having GSM signal.
3.) Browsing through system, data etc. folders to try to find the file that contains the MAC address information (like it did on older android versions in the nvram file). I’ve been unable to find this file or any sort of file that displays my MAC for the purpose to modify it.
I have a plan to upgrade Android to version 4.4.2 later today and make a test.
Please, feel free to suggest anything else! If I do not succeed, I will have to replace my S4 Mini with something else.
Kind regards,
QUICK REPLY: After installing CyanoGEN MOD 4.4.2, the problem remains!
I think there could be a shorter solution! On Sony Xperia Acro S with 4.1.2 Android it was just a matter of changing the MAC address within the file data/etc/wifi/fw! One minute modification...
So, please, if somebody knows the path to the file that contains MAC on CyanoGEN MOD 4.4.2 or on Android 4.2.2, PLEASE HELP!
Kind regards!
Hello Guys.
I bought a WiFi Disk-Case Systec PX-4709 or Powson PX-4709. Because its very small.
For this disk exists a app named "AirStor" (Power7 Technology).
A test is in androidpit. this device is shown in the app, but i cannot move anything or create folders on the device.
The software is very too basic. Oter software like "WiDisk" and so on is not working too.
So i tried with "Total Commander" and FTP or LAN plugin. But with LAN (port 80) and FTP (port 21) i get no access.
A try with "ES Datei Explorer" and the LAN, WEB and FTP options but the device will not be found.
The procedure to have access to the drive is:
- Connect to accesspoint / Server of the drive over WiFi-Network
- Start the app AirStor: the device is shown now as empty
- It is possible to change the drive parameter like SSID and IP, but this was not function. So i take the default
- Select a file and copy it to the disk, but this is not going
With which software can i get a access on the device? I see the mac and the IP address, but i not know the ports for communication.
Can i find out which communication-protocols are running and on which port? Or which protocol is using by AirStor?
Unfortunately in Windows i cannot have access too. I cannot ping and see the device.
Over USB i have with Windows 7 pro 64Bit also no access. Its only possible to connect with AirStor?
Can anybody help me?
Kind regards
robitobi