[Q] How can I change MAC Address on Samsung Galaxy S - Android Software/Hacking General [Developers Only]

I've read other thread about changin MAC address via ADB or Terminal Emulator with the command
`busybox ip link set eth0 address nn:nn:nn:nn:nn:nn`
This appears to change it temporarily on my rooted SGS, but after I try and connect to the wifi, it gets switched back to the hardware MAC.
Reason I'm attempting this is because my building wifi only allows me to connect 1 computer. They have the wifi un-locked by restricted to MAC addresses. So I want the ability for my phone and my laptop to have the same MAC addresses, so that I can connect them both (but one at a time) to the wifi. No they will not allow me to add another device, so I need to clone the MAC address....
So with that said, how does one change the mac address in the SGS.
More threads:
forum.xda-developers . com/showthread.php?t=750596
I also tried to use
`ifconfig eth0 hw ether nn:nn:nn:nn:nn` as I would under linux, but to no avail.
Any assistance would be appreciated.
Cheers
Jordan

I have a Samsung Galaxy S Captivate and I was NOT able to spoof my MAC address either using the above mentioned commands. Any other ideas?

may i suggest a micky mouse?
why not take out the laptop and add the samsung's mac address?? tell them you got a new laptop ect?
its easier to spoof the mac address in a laptop

any news?
i need to change address too ...

if you have a Ethernet line in your apt just get a wireless router and disable broadcasting.

Leviuqse said:
may i suggest a micky mouse?
why not take out the laptop and add the samsung's mac address?? tell them you got a new laptop ect?
its easier to spoof the mac address in a laptop
Click to expand...
Click to collapse
Theoretically sound, but practically not applicable. I have many MACs of my friends at work (institution) and I want to use any of the MACs on my android.

It is possible. i have given procedure for LG Optimus One. Same can be used for u'r phone. Just have to locate nvram.txt file. and appen line "macaddr = XX:XX:XX:XX:XX:XX" Where "XX:XX:X..." is u'r new mac address.
Here's the link
http://forum.xda-developers.com/showthread.php?t=917684

Not working

Related

Remote Desktop Cannot Connect

Hello all:
(first of all, I apologize for the double post, I erred and replied to a thread in the diamond forum)
I'm having problems getting my remote desktop to work. Been trying to connect since I picked up my Fuze on the 11th.
I have three different computers that I can successfully administer via my desktop. I've tried using 3G to connect, no success. I've tried using Wi-fi to connect, no success. I've used local computer names, IP addresses, properly forwarded ports --
It has to be a setting I'm missing on the phone. Any ideas? TIA
What version of Windows are you trying to connect to? Do you have a Firewall? And have you done the port forwarding on the router?
But the only options you need is Computer: IP Address and the user name and password. Use a Domain if you are connecting to PCs on a domain. Also when I logged in not using 16bit color under options the PC was almost unusable.
My attempts
The things I have tried since my post:
1) attempting to connect to Windows Server 2003 machine, non-local. Used IP address with port, same IPort that works from my desktop. Left username/password blank -- filled them both in -- left the domain name blank -- filled it in. All failed. Get the error message with three possible causes listed. Connected to my home network via wifi, data connection disabled (sometimes causes problems with my internet browsing if they're both enabled)
2) attempted to connect to a local machine, running XP Pro. Again, tried all possible combinations of username/password completeness, no success. Using Wifi
My local router does have a firewall, and the remote router does as well. I can successfully navigate those using my desktop (or laptop, for that matter)
GTO: I appreciate the quick reply...thank you.
3daysaside said:
The things I have tried since my post:
1) attempting to connect to Windows Server 2003 machine, non-local. Used IP address with port, same IPort that works from my desktop. Left username/password blank -- filled them both in -- left the domain name blank -- filled it in. All failed. Get the error message with three possible causes listed. Connected to my home network via wifi, data connection disabled (sometimes causes problems with my internet browsing if they're both enabled)
2) attempted to connect to a local machine, running XP Pro. Again, tried all possible combinations of username/password completeness, no success. Using Wifi
My local router does have a firewall, and the remote router does as well. I can successfully navigate those using my desktop (or laptop, for that matter)
GTO: I appreciate the quick reply...thank you.
Click to expand...
Click to collapse
Okay its been awhile since I used 2k3 sever. Using 2k8 lately but are you trying to use Terminal Server? and if your using 2k3 and you have ISA enabled I know it can be a pain to do port forwarding with it. But let me get this stright. You have no issues using XPs Remote Desktop to log into the server machines Terminal Server/Remote Desktop? Here is an idea. Whatever port your running Terminal Server/Remote Desktop type the IP Address with a : and port. IE 192.168.0.1:3000
Also if you would like you can PM the IP address of one of the Machines and I will try from my phone that I know is working with my machine. I am pretty sure you don't need to end a user name or password and it will bring me up to the login screen or you can make a temp account. On also on the Win2k3 machine I am pretty sure you have to add the option to login with Terminal Server even if its the Administrator account.
I am able to connect to my local XP machine over wifi using the ip addy/no port. Hostname (DNS) connection attempt failed, though. My 2k3 server's power supply died or I would test that for you.
No special router config (port fwd) for my device had been done.
The fact that you can't get to your local box on your local network is where I'd start.
Local Network Issues
Thanks again to you both...
I think that might be the problem -- the local network setup. I can connect via wifi, and browse the web. However, I can't install a network printer using the WinMo app that's included, and I can't seem get to the local PC even when I use the local IP instead of the DNS name. I did check, I'm being issued an IP address by the router (obviously), but still no dice on anything relating to network based traffic.
Is there a way to ping using WinMo? I'd like to be able to use that start.
Cont..
Also, I've noticed that I don't get the same error each time. Depending on which machine I'm trying to connect to, it'll give me an error with either two or three options as to why it's not working. Trying to figure out what that's telling me.
As far as Terminal Services are concerned, when I connect from the desktop, I believe I'm using Remote Desktop there (honestly, I haven't been paying attention -- I just use whatever pops up when I type 'mstsc' from the Run dialog, lol), and I can connect to the 2003 server. However, I can't play with this anymore today, because apparently the server is down, and I won't be able to get to it till Monday.
I think I'm going to go play with the ATT proxy and see if that changes anything. I think mine is still enabled because I read that it might help with the GPS problems...
I have found some freeware app... pocketping 1.6 and microsoft has a network tool offering which I am not sure will work on WM6. I have no exp. with either tool on WM.
Can you get to your http/https router mgmt interface from the device? Check your router's client table? Does your router have any logging capabilities?
Sorry, more questions than answers.
Router
I am able to "dial" into the router from my phone -- it shows the HTCP4600 in the clients table with an IP of 192.168.2.108 ... all good.
My logging on the router was disabled, but now it is enabled. What should I be looking for?
I think i'll try the pocketping...
Now make sure inside of the router then you have all the correct ports forwarded.
It should be port 3999 to 3999 On UDP and TCP and then your PC ip behind the firewall.
Pocketping, JETCET Print 5, and success
Here's the update:
Discovered that by disabling the AT&T proxy on the Fuze, I was finally able to connect to my network printer -- the Fuze doesn't have the drivers for my printer, but that's another thread.
So I was able to make my first IN-Network contact. Installed pocketping 1.6, and it's a very useful tool. I'm able to successfully ping the computers on my network now that the proxy is disabled -- an voila...I can also connect to my laptop on my own network! The main trick was to use the network IP address and not the DNS name.
Thanks to both of you who helped out.

Is it possible to mns to wireless router via xp computer

been messing with it all day, i'm sure i am doing something wrong googled the hell out of it though.
ok here is what i am trying to do, I just bought a Acer Nettop running XP i installed the HTC drivers on it MNS is working great. i would like to hook up my wireless router to the Ethernet port to share the internet connection with the rest of my gadgets.
any help would be appreciated.
smittycg said:
been messing with it all day, i'm sure i am doing something wrong googled the hell out of it though.
ok here is what i am trying to do, I just bought a Acer Nettop running XP i installed the HTC drivers on it MNS is working great. i would like to hook up my wireless router to the Ethernet port to share the internet connection with the rest of my gadgets.
any help would be appreciated.
Click to expand...
Click to collapse
Why don't use Wireless Tether and everything can pull internet from the phone without the need of a router?
Bridge the connections in network connections or use ICS
morbidpete said:
Bridge the connections in network connections or use ICS
Click to expand...
Click to collapse
tried both of those, the bridge would connect, but no internet, ics didn't work either, i am pretty tired though probably missing something simple.
WIFI tether is cool and all but i want to use it full time with a dedicated phone and be able to use my wireless printer
I've never been able to get to work if you do post Back with what you did. I think the issue is up addresses, you may have to setup the router gateway address as the pcs ip or even the phones ip... Im not a networking guru though
Kcarpenter said:
I've never been able to get to work if you do post Back with what you did. I think the issue is up addresses, you may have to setup the router gateway address as the pcs ip or even the phones ip... Im not a networking guru though
Click to expand...
Click to collapse
to be honest i was hoping someone had done it and could tell me how easy it was. while trying to get it to work today i was just clicking around, tomorrow i'll go about if more scientifically and post all the stuff i'm doing wrong.
I can't see any reason off the top of my head why ICS wouldn't work.
So, let me see if I have this straight. Your phone is connected to your PC via USB. Your access point is connected to the PC via ethernet. And you want other devices to connect over wifi and have Internet access. That about right?
Try this... Assign the ethernet port on your PC a static IP address of 192.168.1.1. Connect that to the "Internet" port on your access point, and assign that port an IP address of 192.168.1.2. In the wireless setup on your access point, assign the wireless side the static ip address 192.168.2.1 and tell it to act as a dhcp server, and hand out addresses from 192.168.2.100 to 192.168.2.200. Netmask in all cases will be 255.255.255.0. For dns go ahead and use 208.67.222.222 unless you have another dns service that you prefer.
The router should be configured to use 192.168.1.1 as its default gateway. The wireless devices should be set to use 192.168.2.1 as their default gateway.
This *should* work. Different accesss points can be finicky in various ways, but I really don't see why the setup I've outlined wouldn't work....

[Q] Can you change the type of device a wireless network sees you as?

This is not the machine name on the network I'm talking about.
I mean, can I spoof my android device (I have a Thrive and Vibrant, but I would imagine it's mainly OS Version specific, not device) to register on a wireless network as something else, like an iPad.
This is the scenario, if it helps explain what I'm looking for.
My work's new wireless network setup looks at the device type that is connecting to it. If it's an iPhone or iPad (any versions) or PC, the wifi allows you to connect. If it's anything else (blackberry, android), it's rejected.
So not sure if there is a way to fake out the wireless packet being sent from my android device to make the wifi router think I'm an iPad, Mac, or PC.
Usually this is done by looking up the MAC address in the OUI database and if it's a MAC address assigned to Apple, well, there you go. Just spoof your MAC address and you should be able to connect. It's pretty easy if you know how to get into a shell.
http://forum.xda-developers.com/showthread.php?t=1385577
http://standards.ieee.org/cgi-bin/ouisearch look up Apple there. The results show the first three bytes of the mac address. Just make up the next three bytes yourself. Or, borrow a friend's iPhone's mac address and bump him off the network
Thanks, I'll give this a try! I had no idea it could actually be determined from a MAC address. I'll just change my MAC to mimic my iPhone

Connect TF300T in Asus Connect Dock to Linux Machine via Ethernet

I'm attempting to connect my Asus TF300T in an Asus Connect Dock to a linux box using an ethernet crossover cable. The TF300T is running CM 10.2. After Googling a bit, I tried setting up new wired connections on the linux box using both the link-local method and the manual method and assigning an IP address. Unfortunately I havent been able to ping the linux box from the tablet using either method. This is uncharted territory for me and so am unsure how to proceed (or if this is even possible). Does anyone have any pointers they could share about how to accomplish this?
jtdevxda said:
I'm attempting to connect my Asus TF300T in an Asus Connect Dock to a linux box using an ethernet crossover cable. The TF300T is running CM 10.2. After Googling a bit, I tried setting up new wired connections on the linux box using both the link-local method and the manual method and assigning an IP address. Unfortunately I havent been able to ping the linux box from the tablet using either method. This is uncharted territory for me and so am unsure how to proceed (or if this is even possible). Does anyone have any pointers they could share about how to accomplish this?
Click to expand...
Click to collapse
Sorry, no pointers, just a few things to look at.
Make sure on both sides that you have a valid IP address in the same subnet. You can use "ip addr" to list all interfaces and addresses.
On the PC manual assignment is probably best. For the tablet, you could run a DHCP server on your PC or assign it manually too.
If "ip addr" shows different IP addresses in the same subnet, and you still have no ping, the next best guess is to check the firewall rules on both sides.
Sent from my TF300T using Tapatalk
f69m said:
Sorry, no pointers, just a few things to look at.
Make sure on both sides that you have a valid IP address in the same subnet. You can use "ip addr" to list all interfaces and addresses.
On the PC manual assignment is probably best. For the tablet, you could run a DHCP server on your PC or assign it manually too.
If "ip addr" shows different IP addresses in the same subnet, and you still have no ping, the next best guess is to check the firewall rules on both sides.
Sent from my TF300T using Tapatalk
Click to expand...
Click to collapse
I haven't been able to find a way to manually assign the IP for eth0 on the tablet, so I attempted to install a dhcp server on the linux box in hopes that it would then assign the IP address to the tablet. I installed isc-dhcp-server and made sure that the following line in /etc/default/isc-dhcp-server was set: INTERFACES="eth0". After running sudo service isc-dhcp-server restart on the linux box I shut wired connections off, plugged in the cross over cable to both machines, and then turned on the wired connection on the linux box that I created to use a manual IP (10.0.0.1). The tablet doesn't get an IP assigned that I can tell - at least nothing shows up when I run ifconfig or 'ip addr'.
I'm not sure if this has anything to do with it or not, but on the tablet I took a look at /etc/dhcpcd/dhcpcd.conf and it appears that it only contains configuration for the wlan0 interface. Is it possible that I need to provide some additional configuration on the tablet side to get eth0 to work properly since it is being provided by the Asus Connect Dock?
jtdevxda said:
I haven't been able to find a way to manually assign the IP for eth0 on the tablet, so I attempted to install a dhcp server on the linux box in hopes that it would then assign the IP address to the tablet. I installed isc-dhcp-server and made sure that the following line in /etc/default/isc-dhcp-server was set: INTERFACES="eth0". After running sudo service isc-dhcp-server restart on the linux box I shut wired connections off, plugged in the cross over cable to both machines, and then turned on the wired connection on the linux box that I created to use a manual IP (10.0.0.1). The tablet doesn't get an IP assigned that I can tell - at least nothing shows up when I run ifconfig or 'ip addr'.
I'm not sure if this has anything to do with it or not, but on the tablet I took a look at /etc/dhcpcd/dhcpcd.conf and it appears that it only contains configuration for the wlan0 interface. Is it possible that I need to provide some additional configuration on the tablet side to get eth0 to work properly since it is being provided by the Asus Connect Dock?
Click to expand...
Click to collapse
That's a good point, probably you need to tell dhcpc on the tablet to work on eth0 too, never really tried that. Also you probably need to configure dhcpd on your PC for the subnet you use.
But maybe better to get a manually configured ping first, then tackle DHCP.
On your tablet try:
ip addr add 10.0.0.10/16 dev eth0
The /16 is just an example and should match the prefix set on your PC.
If you can get a ping with that, I am happy to assist you setting up DHCP.
Sent from my TF300T using Tapatalk
f69m said:
That's a good point, probably you need to tell dhcpc on the tablet to work on eth0 too, never really tried that. Also you probably need to configure dhcpd on your PC for the subnet you use.
But maybe better to get a manually configured ping first, then tackle DHCP.
On your tablet try:
ip addr add 10.0.0.10/16 dev eth0
The /16 is just an example and should match the prefix set on your PC.
If you can get a ping with that, I am happy to assist you setting up DHCP.
Sent from my TF300T using Tapatalk
Click to expand...
Click to collapse
That worked! Thanks. I was able to ping successfully in both directions. I need to do some further testing but I think I might be able to use the static IPs and avoid having to setup the DHCP server on the laptop. I will do further investigation in the morning and post results.

[Q] Homepass via tethering?

Not sure if its possible but I'd figure I'd ask cause it would be pretty cool to get it working on the Nexus 5.
Not sure how to go about describing it but its for the Nintendo 3DS, Homepass is something that gives you streetpasses without going to an official nintendo zone such as bestbuy and such. The way it works is you pretty much have to change your MAC address to one of the following addresses that works but I've found no way to change or spoof mac address and make it stick. Then you have to use wifi tethering so your 3ds connects to said network with the MAC that you used and then it should receive the passes. I've tried most things including the terminal emulator with ipconfig but it says that no applet found. Thanks for any help if its possible.
Simple terms:
Need to change/spoof MAC address
Enable Wifi tethering that uses said MAC address
3DS needs to be able to connect

Categories

Resources