[SOLVED]School Wifi, Two IPs - HD2 Android Q&A, Help & Troubleshooting and Genera

I've been looking around the forums and google for a solution to this. From what I found, the solution that works for most people with the same problem as me ends up being chnaging the UA String to iPhone or Desktop, but that still doesnt seem to work for me.
Now my problem is that at my school, they set it up to where you have to log into a portal before you can access to the WiFi, but my phone never redirects to the portal. It used to on Windows mobile, but now running Android on NAND, it wont redirect. I've tried nearly every browser on the Android market, tried changing the UA String on all of them. And still nothing. I ended up going to the school's IT Dept, and they registered the Mac Address to my phone, but then told me that my phone was connecting to two different IPs. One being the school IP, the other an unknown IP.
I've looked in the WiFi settings and i cannot find this second IP they gave me. From the sound of it, thats my problem. Any idea on how to remove this second IP? Or if the IT dept. was wrong? If so, and other ideas on how I can connect to this portal?
PS: My phone connects to every other portal website i've gone to so far, except the schools.

hmm strange, normally your WIFI connection connects to only one network. You can find the IP address by calling *#4636#*#* then Wifi Information / Wi-fi Status. Now click Refresh and you'll see your connection info. You can even run a ping test

jorgen2009 said:
hmm strange, normally your WIFI connection connects to only one network. You can find the IP address by calling *#4636#*#* then Wifi Information / Wi-fi Status. Now click Refresh and you'll see your connection info. You can even run a ping test
Click to expand...
Click to collapse
So looking around the forums again I ran into this http://forum.xda-developers.com/showthread.php?t=965597
Not sure if I am reading that right, but the USB Port can have an IP? If thats possible, how can I disable it or change it?

You need update your ROM to one that support unique MAC address or search WIFI MAC to set the MAC address back to your real one. Old Android library on HD2 set the MAC address by using a file so all the phone has a same MAC address by default. You didn't have two IP address. There is someone else running a Android HD2 on the network. Two devices with the same MAC is the same device to the IT Dept. Only one of the device will be routed at any one time.

nightcraw said:
You need update your ROM to one that support unique MAC address or search WIFI MAC to set the MAC address back to your real one. Old Android library on HD2 set the MAC address by using a file so all the phone has a same MAC address by default. You didn't have two IP address. There is someone else running a Android HD2 on the network. Two devices with the same MAC is the same device to the IT Dept. Only one of the device will be routed at any one time.
Click to expand...
Click to collapse
This sounds like it might work. I'm currently art school an unable to change roms. I'll do this when I get home and leave an update.
Sent from my HTC HD2 using XDA App

No need to change rom.
Use search function 'change MAC adress' or something like that.
I'm using a SD Android and needed to change it also, was just a change in startup.txt.
Maybe it is a little different in NAND? But it should be easier to search a little bit around as to re-flash.
(Most or maybe all Android builds have this problem)
If possible, use your WM MAC adress to avoid further problems.
regards
mf_1

mf_1 said:
No need to change rom.
Use search function 'change MAC adress' or something like that.
I'm using a SD Android and needed to change it also, was just a change in startup.txt.
Maybe it is a little different in NAND? But it should be easier to search a little bit around as to re-flash.
(Most or maybe all Android builds have this problem)
If possible, use your WM MAC adress to avoid further problems.
regards
mf_1
Click to expand...
Click to collapse
I ended up changing my rom, and it fixed my problem. Used Hyperdroid GBX, also gave me a chance to install CWM.
But your fix might have worked as well.

His fix will only have worked for sd builds, not NAND. currently, many kernels for nand will give you a unique mac address, but there is no way to set it like there was on sd builds
Sent from my HTC HD2 using XDA App

Related

change wifi mac address?

Hello.
Is there a way to change the mac address of the wifi network interface of the titan?
I would like to be able to do that so I can use my titan's browser to authenticate to web portals, and then use my wifi voip phone (with the same mac address) to make calls.
Do you mean MAC address or IP address?
The MAC is a hardcoded address of the form xx-xx-xx-xx-xx-xx, using hex. MAC addresses cannot be changed as each interface has a unique number. The MAC address can be spoofed to match another interface, this is usually an available feature on routers to spoof to the ISP that you are not sharing a connection on your home network.
The IP address can be changed and is of the form xxx.xxx.xxx.xxx using only numbers. The WIFI interface on the titan will be set up for DHCP, ie it requests an address from the wireless source it is connected to. This can be changed to give the IP address required if DHCP is not availabe on the network selected.
I am talking about changing/spoofing the mac address if the network wifi card.
There are a bunch of utilities out there that are able to do so on the fly for windows XP, maybe someone has one for windows mobile?
Or a registry key location that does that?
stanelie said:
I am talking about changing/spoofing the mac address if the network wifi card.
There are a bunch of utilities out there that are able to do so on the fly for windows XP, maybe someone has one for windows mobile?
Or a registry key location that does that?
Click to expand...
Click to collapse
SO,
Did anybody ever figure out how to do this?
I need to fix my MAC address and would like help.
Do a reflash of the rom
drewcam888 said:
Do a reflash of the rom
Click to expand...
Click to collapse
Hi Drew,
I appreciate your reply, however, could you be a little more specific? reflash to rom meaning the Verizon Stock rom?

Changing mac adress of Blackstone?

Hi
Could you please tell me how i can change the mac adress of my HTC Touch HD?
You can't...
BenBen_ said:
Hi
Could you please tell me how i can change the mac adress of my HTC Touch HD?
Click to expand...
Click to collapse
As far as I'm aware you cannot change a physical MAC address as it is hardwired into the network interface card, therefore, the only way you could change it is by swapping out the main board.
Why would you want to change it?
You can't change it it's embedded into the wireless hardware, why would you want to?
I found this program Macshift for XP http://devices.natetrue.com/macshift/.
Maybe someone can change it to work on wm.
but the same question exists...why do you want to change your MAC address?
the Mac address is a combination of the manufacturers code and the device serial number. The result being that no two devices anywhere in the world have the same Mac address....should this happen in real life..all sorts of problems can occur with web based communications.
this been asked since the first htc device with wifi was released search
networking forum for info
as far as i know nobody ever managed to do it
also it would be a problem as 2 devices with the same mac address (mac addresses being the only truly unique identifier for 2 network devices could mess up network traffic pretty much)
the other person whos ½ packets you may intercept and his yours giving you both network instablity may feel strongly against you chanting your mac address to the same as his
I'd still like to know why BenBen_ wants to change the MAC address?
Maybe he cracked the wep key of an access point which uses MAC filtering and then analyzed the packets to find out which MAC has access to the AP .. And now he wants to use that MAC.. ( I am just assuming )

[Q] MAC Address Varies everytime reboot the device

I found that the MAC address changes everytime I reboot my HD2 WP7.
I set my wifi router with MAC address access list, so I have to get rid of the access list fuction and got a not very safe wifi enviornment.
Is there any possibility that have the same MAC Address in next HD2 WP7 verison?
Brand new forum organization, and still same old crap posted in the dev section.
Go to Q&A!!
I saw this too.
The MAC Addresses are:
00:18:41:xx:xx:xx
Is it possible to set permanent MAC address?
Pierce Zhang said:
I found that the MAC address changes everytime I reboot my HD2 WP7.
I set my wifi router with MAC address access list, so I have to get rid of the access list fuction and got a not very safe wifi enviornment.
Is there any possibility that have the same MAC Address in next HD2 WP7 verison?
Click to expand...
Click to collapse
i hope you see this thread at stickes before asking such a question http://forum.xda-developers.com/showthread.php?t=914485
Thanks and regards

[HOWTO] Use VPN with your Android & Home Router

This is a simple tutorial to allow you to connect to the internet using VPN through your home router.
:NOTE: At present, the steps here are sparse. They assume some technical capability to set things up yourself, this is just kindof a guide as to WHAT you'll need to setup.
Why, you ask? Security. Using a VPN will essentially encrypt your communications though a tunnel back to your home computer. Not going into all that here, basically a simple guide. I assume we're all smart here, so the basics.
Prerequisites
1. DD-WRT V24 Capable router. If you don't have this, then you will need to instead use a different method involving installing software on your PC that I won't cover here. The advantage of the DD-WRT router is ease of setup on the router, and not having to have your computer turned on.
2) Capable Android Phone & Provider. I can't troubleshoot your ROM or provider. Some Android Roms don't support VPN, and it's broken in some. Some providers apparently block it. If your Rom is good and your provider doesn't block it, you're golden. In some cases (such as on the G2X) custom kernels (such as Faux123's) will add the necessary TUN support. Or you may need to add a TUN.KO file if it doesn't... again, device specific, refer to appropriate device forums.
3) If you don't have a static IP (I assume you don't) you'll need a dynamic DNS provider compatible with DD-WRT. I prefer freedns.afraid.org, but you can use any o these: dyndns.org, zoneedit.com, No-Ip.com, 3322.org, easydns.com tzo.com or dynsip.org.
Got all that? Great!
Okay, here's the fun bit.
STEP 1
First, you need to hack your router. It's a LOT like rooting your Android phone. How to do it is BEYOND the scope of what I can write here, but what you need to do is visit http://www.dd-wrt.com and have a look around. Or, you can actually purchase routers with DD-WRT pre-installed. Basically you have to flash a custom ROM onto your router. It needs to support VPN, and be at least version "v24 SP1". Older versions may have a DIFFERENT VPN setup that's not as easy. Don't say I didn't warn you. I flashed the full-featured VOIP version to my router, a Buffalo WHR-G54S.
Unlocking (if necessary) and flashing your router with DD-WRT is a topic as broad as rooting/flashing Android - so I can't help you here. But once it is done, you are ready for....
STEP 2
Setup your dynamic DNS provider. I used http://freedns.afraid.org/ to do this. Basically you go to the site and sign up for the free "subdomain" services. You can pick a name that will be on a number of different domains, such as "us.to", where you could maybe pick something like "kick.us.to" if it isn't taken yet. All that matters is you remember the name.
Next, in DD-WRT, go to the Setup->DDNS tab and select the proper DDNS service and enter the information it asks for -- your service used, username, password and hostname usually. You can usually leave update interval at the default, and normally you don't need to use external IP check.
NOTE: You need to make sure you are not "Double NAT-ed".. this means two routers stacked is a nono. If you have a router connected to a cable/dsl router (instead of a cable/dsl modem), then it needs to be set to BRIDGE mode. Again.. complicated and really a topic best dealt with on its own.
Once you've setup your Dynamic DNS, you're well on your way. You can actually use that hostname for all sorts of things, such as always being able to get Audiogalaxy to connect to the right host without having to know a numeric IP that could change.
STEP 3
You're on a roll... Now, time to setup the VPN in the router. This is done under the Services->VPN tab. If that tab doesn't exist, then you got the wrong version of DD-WRT and need to go back to Step 1.
Enable PPTP Server, Broadcast Support, MPPE Encryption. Under Server IP enter your ROUTER's IP address (usually 192.168.1.1, or whatever you use to connect to your router). Under Client IP's, enter the range of clients on your local network in the format: 192.168.1.100-149 (where 100-149 represents possible IP addresses I've set in DD-WRT for my LAN)... this doesn't seem as important since we'll be connecting from outside.. Just do it.
Under CHAP-Secrets enter in your preferred username and password in the format:
username * password *
that is, the username, a space, *, a space, the password, a space and then *
Save and apply settings. (You need to click both SAVE and APPLY, DD-WRT is weird like this)
STEP 4
Back to Android! Yay! This part of the procedure may vary by phone, but this is how it is on my Gingerbread T-Mobile G2X with faux123's kernel.
Goto Settings->Wireless & Networks->VPN Settings->Add VPN->Add PPTP VPN
VPN Name=whatever you want
VPN server= your dynamic IP name you selected in Step 2
Enable encryption = Yes
now, hit Menu->Save
You should now see your VPN listed under VPNs. Click on it, and select CONNECT. Type in your username and password you selected at the end of Step 3.
It should connect. CONGRATULATIONS!
You should also have a notification in your taskbar that will now let you disconnect from the VPN.
STEP 5
Enjoy! .. wait, what? It didn't work? It did for me!!!
I guess.... ask questions here, or if it appears to be a phone issue, ask in your device's appropriate forum (and link to this thread so people know what guide you're following)
And, if anybody reading this is a better expert in setting this stuff up than I am, feel free to critique/laugh/criticize/constructively comment on this little howto and I'll correct anything I Rick Perry'd.
Nice tutorial! Would have been better if you also included more details in hacking our router
DroidVPN said:
Nice tutorial! Would have been better if you also included more details in hacking our router
Click to expand...
Click to collapse
I would have, but like I said, that's a topic as big as phone hacking itself. Every model of router is going to be different! There may be models that support VPN in the router as well without DD-WRT, but I'm not familiar with that setup.
DD-WRT's website has a pretty huge forum on what routers are compatible and how to set it all up.
The optimal speed can be achieved by the compression of traffic and by minimizing server loads. Web acceleration will enable you bring about a drastic improvement in the web page response time. This kind of acceleration usually come in lesser costs and offers the best web application performance.
So Wat does this do? Keeps u secured from the eyes of the ISP?.. harder for others to hack u?...
Sent from my HTC Desire using xda premium
evilgenius00 said:
So Wat does this do? Keeps u secured from the eyes of the ISP?.. harder for others to hack u?...
Sent from my HTC Desire using xda premium
Click to expand...
Click to collapse
lotherius said:
Security. Using a VPN will essentially encrypt your communications though a tunnel back to your home computer.
Click to expand...
Click to collapse
Yeah, that.
...
10char.
Nice TUT, VPN working
Thanks. I mostly appreciated the idea of using afraid.org.
For some reason, Dyndns and no-ip wouldn't work with ICS as client.
thanks for this tut, keep it up
nice.. thanks for sharing
The cool thing is, once you start hacking your router, you open up all sorts of fun. Like using a virtual wireless network to bridge the open wifi network that gets 1 bar of signal in one little corner of your apartment to be a full strength WPA protected network with your own SSID and subnet that all of your devices can use ... not like I would do such a thing. Now, I *am* a bit afraid to try to set up a VPN on the bridged virtual network..... that could get complicated.
Will this also work with OpenDNS?
Already running DDWRT v24 on WRT600N, and trying to figure this VPN stuff to connect my Atrix running CM10. Thanks for any help
katinatez said:
Will this also work with OpenDNS?
Already running DDWRT v24 on WRT600N, and trying to figure this VPN stuff to connect my Atrix running CM10. Thanks for any help
Click to expand...
Click to collapse
Any service which gives you a stable hostname to the outside network should work.
If you have a higher end router that supports the mega builds (8MB flash), then you can opt for OpenVPN which is more secure than PPTP. Setup is more complicated though.
australix said:
If you have a higher end router that supports the mega builds (8MB flash), then you can opt for OpenVPN which is more secure than PPTP. Setup is more complicated though.
Click to expand...
Click to collapse
Still using a (now antiquated) Buffalo WHR-G54S which has 4MB flash and 16MB Ram... so while it has a lot of features, OpenVPN is lacking... so I can't test that method personally.
This Buffalo is the best router I've ever owned, though. I still can do without gigabit or N networking, so I'm not upgrading. I went through 5 or 6 bad routers (even a Linksys WRT-54G that crashed constantly) before I got this one.
Thanks for all the info here. I've deleted the post because I think my issue is with something else.
Thanks..
p
very...helpfull..!!!
Very easy guide! Thanks!
455
nice cool...
bumpin this because i have a question regarding this, i just set this up and it works great
there are mainly two types of auth vpn servers use, certificate authentication and username/password
i tried to set up password one, and you still need the server public certificate along with username/password, but you don't need client public and private keys unlike with cert auth.
now, i placed the server key, ca.crt, on my internal storage and together with username/password, works great, my concern is security of this file. this file needs to be accessible right, so you can't put it in /etc or /system, having it in internal storage, any app with storage permission can read it... isn't this a security risk? how is this solved? where do i put the file?
thanks
edit: also, how do i *prevent* network traffic without vpn? i know there is always on option and start on boot, but i did, and when the boot finnishes there is a brief moment when the phone connects on mobile network just before initializing vpn and in that brief moment android probably sends all sorts of passwords and data through the network ... how do i delay this until vpn is initialized?

changing mac address rooted phone

I have rooted phone with Resurrection remix on it. I have an Iptv provider and it's on my android box.
In order for it to work on phone I need to have the same mac address.
I can see how to change mac but does it affect the phone in any way ie WiFi connections etc
funkyirishman said:
I have rooted phone with Resurrection remix on it. I have an Iptv provider and it's on my android box.
In order for it to work on phone I need to have the same mac address.
I can see how to change mac but does it affect the phone in any way ie WiFi connections etc
Click to expand...
Click to collapse
That's kind of illegal when you spoof Mac adresses to gain access to restricted services you don't want to pay twice
I can watch it on my phone as long as I am not using it on android box.
funkyirishman said:
I can watch it on my phone as long as I am not using it on android box.
Click to expand...
Click to collapse
Have you tried Mac changer app? I think there was one that needed xpoosed not sure though.
Theres plenty of ways to change a Mac. If you want you can just go into file explorer and change it there have you tried that?
Thanks
I'm okay changing it I just want to know if effects anything else on the phone like WiFi password access or password etc
Cheers
funkyirishman said:
Thanks
I'm okay changing it I just want to know if effects anything else on the phone like WiFi password access or password etc
Cheers
Click to expand...
Click to collapse
Changing the layer 2 adress always effects the whole communication since you have a new one. Therefore any devices which communicate with the device needs to learn this new adress(happens automatically normally).
If you have some Mac adress security in devices like access points, soho routers etc. you need to change the Mac there too, otherwise you will be blocked.
But passwords not. If you do something wrong, you can mess up your phone.
Thanks
Just want to make sure that my home network WiFi will still connect automatically or do I need to login WiFi password again
Just be careful, because you can have major issues if your android box and phone are on the same network. The router/switch will potentially route packets to the wrong device, making network access slow and/or unstable.

Categories

Resources