Feature Request P3
Status Update
Comments
th...@gmail.com <th...@gmail.com> #2
This issue does not reproduce with dev preview 4.
[Deleted User] <[Deleted User]> #3
Closing this issue as per comment #2 from reporter.
da...@gmail.com <da...@gmail.com> #4
This has changed slightly with 2.2. Now it provides a name: "android_(Hex string)". However, the underscore character is not a valid DNS character and will not be registered in some DNS systems.
ia...@gmail.com <ia...@gmail.com> #5
It is a little disappointing that an Internet giant the size of Google makes a DNS error of including a reserved character (_ underscore) in the hostname for 2.2. Does anyone know a way to change the name used as it prevents systems checking for valid hostnames from giving DHCP addresses?
sa...@gmail.com <sa...@gmail.com> #6
Would be even better if the user could define the hostname herself.
ns...@gmail.com <ns...@gmail.com> #7
Now with android 2.2 it set hostname automatically based on its mac address. Which is progress compare to no hostname at all in pre-2.2 releases. But having mac-adress based hostname doesn't fully solve problem for user, now you can connect to device by this name instead of IP adress, but you still have to remember cryptic numbers. Lets not forget main purpose of hostname it is giving human-friendly names to machine so you can easily recognize device by these names.
da...@gmail.com <da...@gmail.com> #8
I'm just fighting the same issue. Do we have any updates on this? Even with root I can't figure out which file to update to make it change the hostname given to the WIFI DHCP server. All of the "linux" hostname commands change it in the OS but don't change what is handed off via DHCP.
mi...@gmail.com <mi...@gmail.com> #9
This would make it easy to identify the device on my home network. It just seems natural that someone would want to give their Android phone a name.
bj...@gmail.com <bj...@gmail.com> #10
Agreed. Would love to be able to assign hostname for my device.
bj...@gmail.com <bj...@gmail.com> #11
Agreed. Would love to be able to assign hostname for my device.
ya...@gmail.com <ya...@gmail.com> #12
This problem is also seen on Samsung Nexus S with Android 2.3.1. Because of the underscore '_' in the hostname, some Access Points refuse to register this device. Hence WiFi cannot be used. When is google planning to fix it?
da...@email.it <da...@email.it> #13
Same issue on LG Optimus One with Android 2.2, because of the underscore in the hostname I can't register the device. I can't for the life of me figure out how to change the hostname sent to the dhcp server.
do...@gmail.com <do...@gmail.com> #14
While my wifi works fine, we have just run into a DNS/DHCP issue in which we needed to identify rogue DHCP clients. Of course, my Galaxy S 2.2 does not have a hostname - at least not one that our DNS or DHCP servers recognise.
+1 for custom hostname.
+1 for custom hostname.
vi...@gmail.com <vi...@gmail.com> #15
having connection issues with wireless router security settings due to hostname on HTC G2.
please add custom hostname option. gracias.
please add custom hostname option. gracias.
su...@gmail.com <su...@gmail.com> #16
Also verified for the Dell Streak.
I suspect that this explains the problems I have recently experienced with multiple wifi access points whilst on a trip. Some access points worked, but others refused connection (My colleagues iPhone worked fine on all of them).
I'm pretty astounded that this has not been fixed, I cannot currently recommend Android devices as a viable alternative to the iPhone.
I suspect that this explains the problems I have recently experienced with multiple wifi access points whilst on a trip. Some access points worked, but others refused connection (My colleagues iPhone worked fine on all of them).
I'm pretty astounded that this has not been fixed, I cannot currently recommend Android devices as a viable alternative to the iPhone.
fl...@gmail.com <fl...@gmail.com> #17
Count me as another vote for being able to assign a custom hostname to an Android phone. My servers show the name as blank.
ng...@gmail.com <ng...@gmail.com> #18
DNS resolution doesn't work on university Wi-Fi network because it cannot register a device that has no hostname (Galaxy S Captivate running 2.1), or because of the invalid DNS character "_" (Galaxy S Vibrant running 2.2). It'd be fantastic if custom hostnames were supported in an Android update!
da...@gmail.com <da...@gmail.com> #19
EVO slide - ("android_(mac)") - I need to be able to assign hostname for office security scheme - I don't think I should need to root the device to do it....
gr...@gmail.com <gr...@gmail.com> #20
What to assign hostname too.
da...@gmail.com <da...@gmail.com> #21
I have verified that cyanogenmod.com versions starting late in 6.x and for sure 7.x RC's give you the option to set the hostname.
It correctly passes this option to the DHCP server via the option 81 and registers in DDNS on my system.
It correctly passes this option to the DHCP server via the option 81 and registers in DDNS on my system.
ro...@gmail.com <ro...@gmail.com> #22
I want to specify one, too
an...@sky.com <an...@sky.com> #23
Would love to be able to do this. At present i can't add a DHCP reservation for my phone due to the underscore
al...@gmail.com <al...@gmail.com> #24
Can't do a DHCP reservation to my phone due to the underscore!
ba...@gmail.com <ba...@gmail.com> #25
@alan: no problem to use DHCP reservation, reservation is not based on hostname but MACaddress.
and I use DHCP reservation to force Android name (name is used only by DNS, and DHCP store this reservation to DNS with name specified)
I use DD-WRT router firmware, DHCP reservation for my Androphone with name I will.
When I connect my Androphone, it use IP reserved and DNS use name used in DHCP setting. (no problem to set name at home, but must use DHCP reservation and DHCP-DNS link, or add DNS entry)
and I use DHCP reservation to force Android name (name is used only by DNS, and DHCP store this reservation to DNS with name specified)
I use DD-WRT router firmware, DHCP reservation for my Androphone with name I will.
When I connect my Androphone, it use IP reserved and DNS use name used in DHCP setting. (no problem to set name at home, but must use DHCP reservation and DHCP-DNS link, or add DNS entry)
da...@gmail.com <da...@gmail.com> #26
I have about 60 android phones on my DHCP server. I just noticed 2 of them now are reporting their name as android- instead of "_".
I wonder if this is a 2.3 fix, 3.0 fix, or a vendor fix.
Its not a user specified host name but at least its finally a valid host name.
I wonder if this is a 2.3 fix, 3.0 fix, or a vendor fix.
Its not a user specified host name but at least its finally a valid host name.
ra...@gmail.com <ra...@gmail.com> #27
PLEASE! Let me assign a host name to the multiple android devices on my lan.
[Deleted User] <[Deleted User]> #28
A must in my view - hostname is intended for us, humans to give a device a nice name easy to remember. So it must be the user assigning the hostname, not the device itself!
ca...@thoughtcrime.org.nz <ca...@thoughtcrime.org.nz> #29
This issue is fixed in Cyanogenmod 7. Hopefully it is in the upstream tree as well.
tr...@gmail.com <tr...@gmail.com> #30
To set a custom hostname, try these terminal commands:
$ getprop net.hostname
$ setprop net.hostname whateveryouwant
Then reconnect to wifi. Worked for me on CM7.
$ getprop net.hostname
$ setprop net.hostname whateveryouwant
Then reconnect to wifi. Worked for me on CM7.
ma...@gmail.com <ma...@gmail.com> #31
Can confirm this on LeeDroid ROM 2.4 aswell. Thanks for that solution!
fl...@gmail.com <fl...@gmail.com> #32
also works on the standard HTC Desire Z rom and Samsung Galaxy Tab rom.
have not tried to see if this survives a restart of the phone.
have not tried to see if this survives a restart of the phone.
in...@gmail.com <in...@gmail.com> #33
Does not work on unrooted HTC Thunderbolt.
bi...@gmail.com <bi...@gmail.com> #34
Works with stock rooted Dell Streak 7
$ su
# setprop net.hostname whateveryouwant
$ su
# setprop net.hostname whateveryouwant
ga...@gmail.com <ga...@gmail.com> #36
I would like to see the ability to set hostname for wireless as well. From what I can tell, you have the option of setting the device name when using Bluetooth, so why not wifi? It seems like it should be a relatively simple change, so why not implement it?
ub...@gmail.com <ub...@gmail.com> #37
I need to join my Xoom to the corporate wireless network here at work, but we use RADIUS for authentication. It seems the easiest way to allow access would be to edit the rule to allow the tablet based on hostname, but I cant set my own name on the device.
cc...@gmail.com <cc...@gmail.com> #38
I think I found a workaround.
Interesting Google violates common RFC practice. Maybe someone should make an RFC violation bug, but there appears to be some debate about which RFC to use. (Not an expert on those RFCs)
Just FYI, I have two Android devices. A Gtablet running CM7, which by default has a hostname of "android-5aaaaaaaaaaaaaae" (with a Dash), but my Droid OG (rooted and running Stock 2.2) is "android_eaaaaaaaaaaaaaad" with an underscore (DANGER!)
Here's how I resolved the situation on BIND 9.7 on CentOS 5 (may work on early versions too).
in /etc/named.conf the default option is to enforce check-names rules. But you can turn it off!
options {
check-names master warn;
...
}
Or use "ignore" instead of "warn"
After restarting the 'named' service my Droid was allowed to register forward and reverse DNS and verified with nslookup that the underscore was registered.
Interesting Google violates common RFC practice. Maybe someone should make an RFC violation bug, but there appears to be some debate about which RFC to use. (Not an expert on those RFCs)
Just FYI, I have two Android devices. A Gtablet running CM7, which by default has a hostname of "android-5aaaaaaaaaaaaaae" (with a Dash), but my Droid OG (rooted and running Stock 2.2) is "android_eaaaaaaaaaaaaaad" with an underscore (DANGER!)
Here's how I resolved the situation on BIND 9.7 on CentOS 5 (may work on early versions too).
in /etc/named.conf the default option is to enforce check-names rules. But you can turn it off!
options {
check-names master warn;
...
}
Or use "ignore" instead of "warn"
After restarting the 'named' service my Droid was allowed to register forward and reverse DNS and verified with nslookup that the underscore was registered.
pu...@gmail.com <pu...@gmail.com> #39
Is this issue (not having a hostname) related to reverse DNS lookup failing against an Android device LAN ip ?
I observe the following on my LAN with this simple setup
- a Wifi router (192.168.1.1) not connected to the Internet but with DHCP enabled
- an android phone getting its IP via DHCP (let's say it has ip 192.168.1.100)
- a PC getting its IP via DHCP (let's say it has ip 192.168.1.101)
Doing a nslookup against the android IP fails
Doing a nslookup against the PC IP succeed.
Why is this a problem ?
Consider and android app doing some http request using the LAN IP of the android device (instead of using 127.0.0.1).
If it is using InetSocketAddress in this way:
InetSocketAddress remoteAddress = new InetSocketAddress("192.168.1.100", somePort);
then this will take 10 seconds until it timeouts on failed reverse DNS resolution. Code above works if you substitute the ip with the PC ip.
This is utterly annoying, as at least Apache HttpClient create InetSocketAddress in this way to connect to the remote host. Each InetSocketAddress creation like above will take 10 seconds, as the Java DNS cache failed queries for only 10 seconds.
I observe the following on my LAN with this simple setup
- a Wifi router (192.168.1.1) not connected to the Internet but with DHCP enabled
- an android phone getting its IP via DHCP (let's say it has ip 192.168.1.100)
- a PC getting its IP via DHCP (let's say it has ip 192.168.1.101)
Doing a nslookup against the android IP fails
Doing a nslookup against the PC IP succeed.
Why is this a problem ?
Consider and android app doing some http request using the LAN IP of the android device (instead of using 127.0.0.1).
If it is using InetSocketAddress in this way:
InetSocketAddress remoteAddress = new InetSocketAddress("192.168.1.100", somePort);
then this will take 10 seconds until it timeouts on failed reverse DNS resolution. Code above works if you substitute the ip with the PC ip.
This is utterly annoying, as at least Apache HttpClient create InetSocketAddress in this way to connect to the remote host. Each InetSocketAddress creation like above will take 10 seconds, as the Java DNS cache failed queries for only 10 seconds.
ns...@gmail.com <ns...@gmail.com> #40
Why you should do lookup in your own address in first place, this is bad practice. Well I don't know how Android handle this, but in sane OS usually if there no PTR record it will not timeout but receive NXDOMAIN response from DNS server.
But I'm still with you hostname should be configurable that plain simple.
But I'm still with you hostname should be configurable that plain simple.
co...@gmail.com <co...@gmail.com> #41
Agreed. Would love to be able to assign hostname for my device.
[Deleted User] <[Deleted User]> #42
Agreed. Would love to be able to assign hostname for my device.
[Deleted User] <[Deleted User]> #43
Agreed. Would love to be able to assign hostname for my device.
mi...@gmail.com <mi...@gmail.com> #44
26-Jun-2011 14:28:21.010 general: error: zone private.home/IN: android_d4b2fc5fudgedmac.private.home/A: bad owner name (check-names)
this is what is in my bind9 /var/log/named/named.log
"_" is RFC FAIL in the host name
this is what is in my bind9 /var/log/named/named.log
"_" is RFC FAIL in the host name
[Deleted User] <[Deleted User]> #45
Have there been any updates or developments with this issue at all?
With a growing number of Android devices on our network, it is begining to cause us a few headaches!
With a growing number of Android devices on our network, it is begining to cause us a few headaches!
tr...@gmail.com <tr...@gmail.com> #46
Please add host name to theandoid os
mi...@gmail.com <mi...@gmail.com> #47
I'm also missing this feature, please add it as soon as possible.
ki...@gmail.com <ki...@gmail.com> #48
please add this important feature
kr...@gmail.com <kr...@gmail.com> #49
Google, please add this feature. It is important for us, although not everyone but there are numbers of people need this feature. Come on google! :D
si...@gmail.com <si...@gmail.com> #50
Well, in the Google's and Android's defence regarding BIND throwing 'bad owner name' it is DHCPD (Or similar) doing the ddns update, not the phone. So really it is the dhcp server that is at fault for trying to register the bogus name.
But yeah, Google take out the underscore, it's ugly.
And let me set the sent hostname easily, it would be nice if I had lots of these phones running around on the network to give them the username of the owner.
But yeah, Google take out the underscore, it's ugly.
And let me set the sent hostname easily, it would be nice if I had lots of these phones running around on the network to give them the username of the owner.
kr...@gmail.com <kr...@gmail.com> #51
CHANGE THIS CRAP. PROVIDE AN UPDATE OR A SCRIPT OR I WILL MANIPULATE BUSYBOX TO DO IT FOR ME. This is rediculous. I have two phones and only one can be connected to WiFi or else I start dropping connections market place and internet but connection to router stays. I have a 2wire and I can see ur hex and android (unique identifier as you may call it). I'm betting my router fouls up between the similar name like devices. Google as big as you are, you did a piss poor job in certain areas of developing android. HATS OFF TO CYANOGENMOD. HIRE THEM THEY MAY KNOW SOMETHING YOU DON'T
dl...@omegahealthcare.com <dl...@omegahealthcare.com> #52
I really need the ability to set hostnames for Android devices as well. As more smart phones and tablets hit my DHCP server, it's getting very dificult to identify rogue devices - especially given the crazy generic device name for Android devices. I'm an Android fan, but on this issue, Apple has it down. It's very simple to adjust the hostname on iPhones and iPads. Please make this a user configurable field!
[Deleted User] <[Deleted User]> #53
Agreed, I need a REAL hostname to go with the MAC address so I can do a static ip via DHCP and also be able to use NAT......
rk...@gmail.com <rk...@gmail.com> #54
Is there a valid reason why we're not able to do this? If not, please enable this functionality
qu...@skywalk.co.za <qu...@skywalk.co.za> #55
Mega fail for Android. Not surprised.
wi...@gmail.com <wi...@gmail.com> #56
You can change hostname in Gingerbread:
go to Settings -> Applications -> Development -> Device hostname
On my Nexus One, it survives a reboot.
go to Settings -> Applications -> Development -> Device hostname
On my Nexus One, it survives a reboot.
se...@gmail.com <se...@gmail.com> #57
> You can change hostname in Gingerbread:
> go to Settings -> Applications -> Development -> Device hostname
I recently upgraded my HTC Desire with HTC's official Gingerbread release, but for me there shows no such option here under Development (only USB debugging, Stay awake and Allow mock locations). Fragmentation? I'm on Android 2.3.3 build 3.14.405.1 CL96875.
> go to Settings -> Applications -> Development -> Device hostname
I recently upgraded my HTC Desire with HTC's official Gingerbread release, but for me there shows no such option here under Development (only USB debugging, Stay awake and Allow mock locations). Fragmentation? I'm on Android 2.3.3 build 3.14.405.1 CL96875.
be...@gmail.com <be...@gmail.com> #58
I believe the option to set hostname via development settings is a CM7 feature, and not part of the main Android branch.
za...@gmail.com <za...@gmail.com> #59
EPIC FAIL. Updated to 2.3.4 and still no fix for this? OMG, should we reconsider for WM then? That kind of indifference of Google DEV crew creates a fear that even more severe bugs are hidden in the system... Shocked...
az...@gmail.com <az...@gmail.com> #60
seems like the hostname is hardcoded somewhere else, because based on standard linux, when you did hostname newhostname, it will change your hostname, temporarily. to change it permanently, edit /etc/hostname or /etc/sysconfig/network if it is standard linux. android_ui3yejh32e is totally UGLY!
ro...@gmail.com <ro...@gmail.com> #61
Comment 29 by tro...@gmail.com, Apr 23, 2011
To set a custom hostname, try these terminal commands:
$ getprop net.hostname
$ setprop net.hostname whateveryouwant
Then reconnect to wifi. Worked for me on CM7.
^
|
This works, so long as you have a terminal emulator and root access:
To set a custom hostname, try these terminal commands:
$ getprop net.hostname
$ setprop net.hostname whateveryouwant
Then reconnect to wifi. Worked for me on CM7.
^
|
This works, so long as you have a terminal emulator and root access:
za...@gmail.com <za...@gmail.com> #62
Worked for me - hostname is changed (S5830, ver.2.3.4)
-------------------------------
$ getprop net.hostname
android_8957bdd628d6ec4b
$ su
# setprop net.hostname customhostname
# exit
$ getprop net.hostname
customhostname
-------------------------------
although my Linksys WRT54G (oem firmware) still showing blank hostname for this device ...
-------------------------------
$ getprop net.hostname
android_8957bdd628d6ec4b
$ su
# setprop net.hostname customhostname
# exit
$ getprop net.hostname
customhostname
-------------------------------
although my Linksys WRT54G (oem firmware) still showing blank hostname for this device ...
be...@gmail.com <be...@gmail.com> #63
'setprop net.hostname' will not persist after reboot. In CM7, use Settings->Applications->Development->Device hostname.
ma...@gmail.com <ma...@gmail.com> #64
[Comment deleted]
ma...@gmail.com <ma...@gmail.com> #65
my workaround: make your dhcp server do the trick. In /etc/dhcpd/dhcpd.conf (or any other dhcp server configuration) add entries like:
hostHTC-DesireZ.my-domain.nl {
hardware ethernet f8:db:7f:ed:5f:1e;
option host-name "htc-desirez";
option domain-name "my-domain.nl ";
ddns-hostname "htc-desirez";
}
this tricks the DNS server to use the hostname as pushed by your dhcp server based on mac address
hope this work for you too
regards
Martin
host
hardware ethernet f8:db:7f:ed:5f:1e;
option host-name "htc-desirez";
option domain-name "
ddns-hostname "htc-desirez";
}
this tricks the DNS server to use the hostname as pushed by your dhcp server based on mac address
hope this work for you too
regards
Martin
ja...@gmail.com <ja...@gmail.com> #66
please please allow was to change the hostname - I'm in net admin who can not root the androids in our company
ca...@gmail.com <ca...@gmail.com> #67
Ditto!!!!!!!!!!! Google....
bi...@gmail.com <bi...@gmail.com> #68
As more and more Androids hit network environments & are used & owned by businesses, being able to provide a standard naming scheme (just like what is done on a PC) without having to create DHCP reservations for every device, is a must.
Tech support personnel need to be able to look at a hostname and have a general idea of who's device this is and what it is (true, these are not definitive but provide basic "first glance" information). Seeing "android" followed by a MAC address doesn't do this except for number savants.
Finally, in a corporate environment, the last thing we want is for people to be rooting corporate owned hardware. In fact, it is against our acceptable use policy.
So, I hope the Powers that Be at Google, review this issue and decide that it is a high enough priority to fix this.
Tech support personnel need to be able to look at a hostname and have a general idea of who's device this is and what it is (true, these are not definitive but provide basic "first glance" information). Seeing "android" followed by a MAC address doesn't do this except for number savants.
Finally, in a corporate environment, the last thing we want is for people to be rooting corporate owned hardware. In fact, it is against our acceptable use policy.
So, I hope the Powers that Be at Google, review this issue and decide that it is a high enough priority to fix this.
li...@gmail.com <li...@gmail.com> #69
This is definitely a very important feature to have. Hope it can be fixed soon google!
[Deleted User] <[Deleted User]> #70
Even Today, on a Samsung GALAXY S2. Only 603 Days later...
I am surprised. I thought Android wants to be "smarter" than ...
I am surprised. I thought Android wants to be "smarter" than ...
ad...@gmail.com <ad...@gmail.com> #71
Yup, CM7 has this option as stated in comment 62, painless as you like. It's so fricken awesome. If your phone has this ROM available to it, I STRONGLY recommend flashing it. It's amazing.
ki...@gmail.com <ki...@gmail.com> #72
As a workaround, I use the Samba Filesharing app to customize the netbios name of my devices instead. I don't know how good of a workaround this is, but the names (of my choosing) show up on local networks (which is all I personally wanted).
an...@gmail.com <an...@gmail.com> #73
Get this fixed please. There should be no excuse.
no...@gmail.com <no...@gmail.com> #74
please fix
pp...@gmail.com <pp...@gmail.com> #75
Have a HTC EVO 4G and being able to provide a standard naming scheme (just like what is done on a PC) without having to create DHCP reservations for or rooting every device, is a must.
Please address the host name issue and fix ASAP.
Please address the host name issue and fix ASAP.
un...@gmail.com <un...@gmail.com> #76
Yes please fix - have a Samsung tab and Nexus S
so...@gmail.com <so...@gmail.com> #77
C'mon, google--illegal characters in a hostname??? What an embarrassment! You'd think that the army of engineers there would have caught it, but I know that sometimes the engineers aren't empowered to make the right call.
Please, please, please fix this as it causes many problems, as noted above. And it's just plain wrong.
Please, please, please fix this as it causes many problems, as noted above. And it's just plain wrong.
ma...@gmail.com <ma...@gmail.com> #78
To those who don't have CM but any other ROM with root or stock ROM with root-access:
There's an app called "Autostart" (http://www.appbrain.com/app/autostart-%28root%29/nk.bla.android.autostart ) that runs the /data/opt/autostart.sh after booting.
Just create that file and enter the lines to modify your device's hostname:
"$ setprop net.hostname whateveryouwant"
Reboot. Allow root-access for that app.
"$ getprop net.hostname" to check the hostname.
Worked for me so far. Need to verify later. Haven't got access to WLAN-router right now.
There's an app called "Autostart" (
Just create that file and enter the lines to modify your device's hostname:
"$ setprop net.hostname whateveryouwant"
Reboot. Allow root-access for that app.
"$ getprop net.hostname" to check the hostname.
Worked for me so far. Need to verify later. Haven't got access to WLAN-router right now.
rg...@gmail.com <rg...@gmail.com> #79
When I log on an application by Citrix through the Android(Samsung Tablet) shows a name like "roid87 ...". Does anyone know where he get that name?
an...@gmail.com <an...@gmail.com> #80
You need su (superuser) to run this but it won't survive a reboot.
However to make a shortcut to run the script you can go to
http://code.google.com/p/android-scripting/ and download SL4A to run the
script whenever needed. It's not quite boot at startup but closer to it.
However to make a shortcut to run the script you can go to
script whenever needed. It's not quite boot at startup but closer to it.
la...@gmail.com <la...@gmail.com> #81
[Comment deleted]
mo...@gmail.com <mo...@gmail.com> #82
Another workaround for invalid hostname on dhcpd/ddns is to mangle invalid hostname in the global scope. It's also possible to create ddns-hostname for anonymous client.
See dhcp-eval(5) for more options.
if (not (option host-name ~~ "^[a-z0-9][a-z0-9\-]+[a-z0-9]$")) {
set newName = concat("host-", binary-to-ascii(16, 8, "", substring(hardware, 1, 6)));
log(concat("Invalid hostname: ", option host-name, " => ", newName));
ddns-hostname = newName;
}
+++
See dhcp-eval(5) for more options.
if (not (option host-name ~~ "^[a-z0-9][a-z0-9\-]+[a-z0-9]$")) {
set newName = concat("host-", binary-to-ascii(16, 8, "", substring(hardware, 1, 6)));
log(concat("Invalid hostname: ", option host-name, " => ", newName));
ddns-hostname = newName;
}
+++
rk...@gmail.com <rk...@gmail.com> #83
I have a bunch of Android devices on our network. When I look at the DHCP server on windows sbs 2003 they just show up as Android_MAC addres or Android-MAC Address.
I was surprised to find out the name could not be changed. It was so easy to do on the iPhones. For a non android or iphone user, it seems really silly to have to jump through a bunch of hoops just to change the hostname of an android device. I guess I'll start collecting MAC addresses since google seems to have completely ignored this issue.
I was surprised to find out the name could not be changed. It was so easy to do on the iPhones. For a non android or iphone user, it seems really silly to have to jump through a bunch of hoops just to change the hostname of an android device. I guess I'll start collecting MAC addresses since google seems to have completely ignored this issue.
cs...@gmail.com <cs...@gmail.com> #84
[Comment deleted]
da...@gmail.com <da...@gmail.com> #85
Feels weird this simple feature is missing. And it's pretty annoying too with a lot DHCP assigned devices. And then the change from no-name to a standard violating, non-editable name... well thank you!
br...@gmail.com <br...@gmail.com> #86
I would like to see this enhancement also. Seeing on Samsung Epic 4G running on the Sprint Network. Either this should be assigned by default or allow a utility to change this. Knowing the hostname makes it easier to monitor your network and who is connected.
he...@gmail.com <he...@gmail.com> #87
Really would appreciate the ability to manually change hostname of phone please!
lu...@gmail.com <lu...@gmail.com> #88
Same here. It would be nice to change the hostname of my (now several) android devices (two Samsung Vibrant phones, and one Galaxy Tab).
da...@gmail.com <da...@gmail.com> #89
Is android just going to ignore business needs? This is an obvious business requirement, to manage devices at the most basic network level. If android wants to take any MS Windows share, we will need to be able to share files over the network, without a "cloud" app. Device to device, over the network. This will require usable hostnames for any sanity.
This is so basic of an edit, as far as OS operations, that there must be some motive for not allowing this.
This is so basic of an edit, as far as OS operations, that there must be some motive for not allowing this.
to...@gmail.com <to...@gmail.com> #90
I want a smart phone, not stupid-phone, please add the possibility to change hostname!
to...@gmail.com <to...@gmail.com> #91
RE 88: it is not ignoring, android has no support at all probably... bad choice from my side, WM has much better customer service...
ox...@gmail.com <ox...@gmail.com> #92
I also confirm this issue. I'm in a workplace with a D-Link router. Hostnames for all connected Android phones (including my own, running GIngerbread 2.3.3) is specified with hostname 'android_<a long series of hex digits>'. Would be thrilling if you could just "name" your phone, which is what I assume this thread is all about.
ki...@gmail.com <ki...@gmail.com> #93
There are workarounds, but are many people missing them with all the comments? I use the samba fileshare app, which works nicely for my purposes. Others have posted other more hands on ways to get the desired change. Or are these workarounds not working?
But in any case, built-in support is at least still desired. Should just be a field in the settings.
But in any case, built-in support is at least still desired. Should just be a field in the settings.
ge...@gmail.com <ge...@gmail.com> #94
So far, I can not find any workarounds for this problem that do no require rooting the device.
ro...@gmail.com <ro...@gmail.com> #95
Its annoying to see that i cannot change the hostname, it should be as simple as hell. Google! Please FIX it! Especially when you are planning to run android on desktops
wo...@gmail.com <wo...@gmail.com> #96
I wonder if Google actually reads this forum because there have been
several releases in the last year and this issue has not been addressed.
On Dec 19, 2011 3:48 AM, <android@googlecode.com> wrote:
several releases in the last year and this issue has not been addressed.
On Dec 19, 2011 3:48 AM, <android@googlecode.com> wrote:
4t...@gmail.com <4t...@gmail.com> #97
Have same issue on my Galaxy SII that is all of 4 days old. (SAMSUNG-SGH-I777, Android vers 2.3.4)
Stinks to have a brand new phone and now I can't connect to work WiFi. Guess I'll be going back to Windows mobile unless Google gets this fixed! Aaaggh.
Stinks to have a brand new phone and now I can't connect to work WiFi. Guess I'll be going back to Windows mobile unless Google gets this fixed! Aaaggh.
de...@project-retrograde.com <de...@project-retrograde.com> #98
[Comment deleted]
de...@project-retrograde.com <de...@project-retrograde.com> #99
Dear Android Devs,
Two years is plenty of time to fix this trivial oversight. My faith in the Android ecosystem is all but non-existent at this point. As a free software developer myself, users not having root access goes against every fiber of my being.
I've allowed myself to make excuses for nebulous "security" reasons, however allowing TWO YEARS to pass and still not adding the LITERALLY 25 LINES of code it took me to add this FUNDAMENTAL feature on my own is inexcusable.
With the only recourse being a violation of warranty due to gaining root access, I consider your foul stance on this issue a form of entrapment.
The fact that the feature is available in your Google Nexus line, but not on many carriers is proof of your willful negligence. You have the capability to ensure such basic features survive into downstream ROMs.
I can understand that cellular carriers make more money if Wifi routers can't serve the devices, but that's no reason to include an INVALID SYMBOL in the hostname. That's just plain maliciousness -- I seriously can't fathom the degree of incompetence required to make this mistake.
I apologize for the accusation of malice if you are indeed too ignorant to follow RFCs covering the technology you've implemented.
From these comments it's clear you don't care to listen to your users. I'll be using a full blown version of GNU/Linux on my next mobile device, without your revenue generating MARKETPLACE.
Hell, even the non-POSIX abuse I get on MS/Windows platforms is better than the cold shoulder you've given us...
Two years is plenty of time to fix this trivial oversight. My faith in the Android ecosystem is all but non-existent at this point. As a free software developer myself, users not having root access goes against every fiber of my being.
I've allowed myself to make excuses for nebulous "security" reasons, however allowing TWO YEARS to pass and still not adding the LITERALLY 25 LINES of code it took me to add this FUNDAMENTAL feature on my own is inexcusable.
With the only recourse being a violation of warranty due to gaining root access, I consider your foul stance on this issue a form of entrapment.
The fact that the feature is available in your Google Nexus line, but not on many carriers is proof of your willful negligence. You have the capability to ensure such basic features survive into downstream ROMs.
I can understand that cellular carriers make more money if Wifi routers can't serve the devices, but that's no reason to include an INVALID SYMBOL in the hostname. That's just plain maliciousness -- I seriously can't fathom the degree of incompetence required to make this mistake.
I apologize for the accusation of malice if you are indeed too ignorant to follow RFCs covering the technology you've implemented.
From these comments it's clear you don't care to listen to your users. I'll be using a full blown version of GNU/Linux on my next mobile device, without your revenue generating MARKETPLACE.
Hell, even the non-POSIX abuse I get on MS/Windows platforms is better than the cold shoulder you've given us...
kw...@gmail.com <kw...@gmail.com> #100
Heh. Status of this issue is "new", and we're into the third year soon. Don't be evil, Google. :D
za...@gmail.com <za...@gmail.com> #101
Evil? Nah... Just don't give a fuсk.
ng...@gmail.com <ng...@gmail.com> #102
[Comment deleted]
ng...@gmail.com <ng...@gmail.com> #103
Did anyone bother to contribute a patch to AOSP when Gerrit was working? Obviously some people have actually figured out a fix, so why hasn't anyone submitted it to AOSP's Gerrit instance? Information on submitted patches is available at http://source.android.com/source/submit-patches.html
xs...@gmail.com <xs...@gmail.com> #104
Even Apple (the most restrictive company ever) let's you set the device name for iOS devices; it is absurd that we cannot do the same on Android. This causes all sorts of annoying problems for apps like Amazon's Kindle which relies on the device name for managing books in addition to countless other fun problems; bluetooth (silly that there is a way to change only the bluetooth id), wifi, etc...
he...@gmail.com <he...@gmail.com> #105
Please fix this!
an...@gmail.com <an...@gmail.com> #106
[Comment deleted]
an...@gmail.com <an...@gmail.com> #107
I found 2 intersting links (language is German):
!!! of course you need root-access to your device !!!
- change WLAN-device-name:
http://www.usp-forum.de/samsung-galaxy-s2-root-flash-hack/81502-dhcp-wlan-ger-tename-hostname-einstellen.html
- ghost-commander and it's needed settings:
http://www.usp-forum.de/samsung-galaxy-s2-root-flash-hack/81491-bearbeiten-systemdateien.html
I modified the file "/system/etc/dhcpcd/dhcpcd.conf".
After a reboot of my Galaxy, i saw the new defined name of my Galaxy in my WiFi-access-point (Fritz!Box 7170)
I hope, this can help someone
!!! of course you need root-access to your device !!!
- change WLAN-device-name:
- ghost-commander and it's needed settings:
I modified the file "/system/etc/dhcpcd/dhcpcd.conf".
After a reboot of my Galaxy, i saw the new defined name of my Galaxy in my WiFi-access-point (Fritz!Box 7170)
I hope, this can help someone
fb...@gmail.com <fb...@gmail.com> #108
I would like to see a option in the settings to change the hostname
ja...@gmail.com <ja...@gmail.com> #109
As a network admin it very helpful to know what devices I have connected to my network. Please allow android devices to change their host name. Thank you.
de...@gmail.com <de...@gmail.com> #110
i realy would like to give my phone and tablet a hostname because i want too give them a static ip adres in my server
pa...@gmail.com <pa...@gmail.com> #111
This one gets my vote as well if only for validating what is connected.
sd...@gmail.com <sd...@gmail.com> #112
it's pretty embarrassing that this easy-to-fix issue hasn't been addressed for so long.
ki...@gmail.com <ki...@gmail.com> #113
[Comment deleted]
ki...@gmail.com <ki...@gmail.com> #114
I would like to see a option in the settings to change the hostname - as expressed by the 111 comments before mine - it seems that a very simple feature has been over-looked. Seems amazing also to note that Google's Android people have fallen off their perch - for not one bit of comment is offered by them here.
br...@gmail.com <br...@gmail.com> #115
Please do add an option to change hostname
mi...@gmail.com <mi...@gmail.com> #116
it is disconcerting to find "unknown-92-xx-xxx-x" connected to your router then spend a half hour finding out " Oh it's me", trying to change the name, then finding this thread. Please add functionality, thanks
wo...@gmail.com <wo...@gmail.com> #117
Most users don't have root. This is not a cosmetic problem, this is a functional problem. Unbelievable that android can't handle having a hostname. Backup programs, access tools, my banks authorization methods, depend on identifying my device by its hostname. If I can't identify which of my many android devices it is, I can't make effective use of their features. Restricting functionality = restricting usefulness & marketability of android.
Fix It!
Fix It!
tt...@gmail.com <tt...@gmail.com> #118
Please fix it!
br...@gmail.com <br...@gmail.com> #119
I would like to give my android devices host names. I have a number of android devices in my household, each belonging to different family members. It would be very useful to be able to better distinguish them.
co...@gmail.com <co...@gmail.com> #120
[Comment deleted]
bo...@gmail.com <bo...@gmail.com> #121
LET'S SEE IF THIS WORKS....
FIX THIS AT ONCE, OR I'LL DEMAND THE COURTS TO STOP YOU AND ALL DOWNSTREAM MAKERS TO USE AND DISTRIBUTE SOFTWARE THAT DOESN'T COMPLY WITH THE CURRENT RFCS AND BRINGS RELIABILITY AND USABILITY PROBLEMS.
DO WE NEED TO BRING YOU TO COURT TO MAKE THIS LITTLE, TINY, MINUSCULE CHANGE HAPPEN????
AREN'T YOU ASHAMED OF YOURSELF?
Now that I've got your attention, I demand you assign this issue to a dev, upgrade its priority to HIGH, and deliver a solution downstream to all manufacturers in two weeks.
If you don't comply I'll personally take legal action to stop Android based devices that contain this issue from reaching the markets.
Other comments have been nicer, and asked gently. I'M DEMANDING IT.
FIX THIS AT ONCE, OR I'LL DEMAND THE COURTS TO STOP YOU AND ALL DOWNSTREAM MAKERS TO USE AND DISTRIBUTE SOFTWARE THAT DOESN'T COMPLY WITH THE CURRENT RFCS AND BRINGS RELIABILITY AND USABILITY PROBLEMS.
DO WE NEED TO BRING YOU TO COURT TO MAKE THIS LITTLE, TINY, MINUSCULE CHANGE HAPPEN????
AREN'T YOU ASHAMED OF YOURSELF?
Now that I've got your attention, I demand you assign this issue to a dev, upgrade its priority to HIGH, and deliver a solution downstream to all manufacturers in two weeks.
If you don't comply I'll personally take legal action to stop Android based devices that contain this issue from reaching the markets.
Other comments have been nicer, and asked gently. I'M DEMANDING IT.
mo...@gmail.com <mo...@gmail.com> #122
WTF Google?
tp...@gmail.com <tp...@gmail.com> #123
Hello $hit For Brains (=Google). How many people have to bring this issue to your attention before you get off your corporate butts and provide an app/script/update to fix this?
fr...@gmail.com <fr...@gmail.com> #124
[Comment deleted]
mi...@gmail.com <mi...@gmail.com> #125
Well, there were 122 comments in the last two years, out of millions of Andriod users so I think it will take a lot more to get their attention. If you think otherwise you should buy something else.
I feel the change would be appreciated, especially by developers/IT Support staff, but there are workarounds mentioned on this site that do work as well. We all know the code is very simple to add so hopefully it will come to fruition.
I feel the change would be appreciated, especially by developers/IT Support staff, but there are workarounds mentioned on this site that do work as well. We all know the code is very simple to add so hopefully it will come to fruition.
na...@gmail.com <na...@gmail.com> #126
[Comment deleted]
ke...@gmail.com <ke...@gmail.com> #127
If Apple can allow a device name change on their phones why can't Google? Apparently it's only Android devices that can't change their hostname. This is unacceptable.
ki...@gmail.com <ki...@gmail.com> #128
I agree we need to be able to change our hostname.
mu...@gmail.com <mu...@gmail.com> #129
Agreed. Would love to be able to assign hostname for my device.
[Deleted User] <[Deleted User]> #130
Boooooo for not being able to do this, boooooooooo
fr...@gmail.com <fr...@gmail.com> #131
Thank you for nothing GOOGLE! My next phone will not have any kind of Android OS! Don't waste your time in the lawsuits ONLY, or the time android is superior to other mobile OS is gone faster than you think.....
mw...@gmail.com <mw...@gmail.com> #132
This is full of fail.. how do you overlook something like this in a network/unix based OS?
plz2fix NAO
DROID X
ps.. this is the hackjob work around for anyone not aware
http://www.droidforums.net/forum/motorola-droid/49850-droid-attached-wi-fi-how-change-device-name.html
plz2fix NAO
DROID X
ps.. this is the hackjob work around for anyone not aware
ke...@gmail.com <ke...@gmail.com> #133
Try this with isc dhcpd on fedora 16
It requires dynamic updates enabled to named dns server
add to /etc/dhcp/dhcpd.conf
host droid {
# change hardware ethernet to mac id of phone
# change both domainname lines
hardware ethernet 01:2a:41:56:ca:ef;
ddns-hostname "droid";
ddns-domainname "home";
option host-name "droid";
option domain-name "home";
}
it's working for me
It requires dynamic updates enabled to named dns server
add to /etc/dhcp/dhcpd.conf
host droid {
# change hardware ethernet to mac id of phone
# change both domainname lines
hardware ethernet 01:2a:41:56:ca:ef;
ddns-hostname "droid";
ddns-domainname "home";
option host-name "droid";
option domain-name "home";
}
it's working for me
li...@gmail.com <li...@gmail.com> #134
Has this changed for Android 4.0?
I don't seem to have any hostname management options on my Galaxy Nexus.
If this is indeed still not part of the OS I think it should be.
I don't seem to have any hostname management options on my Galaxy Nexus.
If this is indeed still not part of the OS I think it should be.
ti...@gmail.com <ti...@gmail.com> #135
[Comment deleted]
ti...@gmail.com <ti...@gmail.com> #136
got it to work using this script:
[code]
#!/system/bin/sh
#change devName to whatever you want.
devName=NAME_YOU_WANT
devHostPath=$(which hostname)
devGetPath=$(which getprop)
devSetPath=$(which setprop)
if [ "$($devGetPath net.hostname)" = "$devName" ]
then
echo "Device hostname does not need to be changed."
else
echo "Device hostname is being changed to $devName."
if [ "$devHostPath" != "which hostname" ]
then
$devHostPath $devName
fi
$devSetPath net.hostname $devName
if [ "$($devGetPath net.hostname)" = "$devName" ]
then
echo "Device hostname has been successfully changed."
else
echo "Device hostname has not been changed."
fi
fi
[/code]
and the app Script Manager (https://market.android.com/details?id=os.tools.scriptmanager&feature=search_result#?t=W251bGwsMSwyLDEsIm9zLnRvb2xzLnNjcmlwdG1hbmFnZXIiXQ .. ) applying script to boot
some ppl only need to restart the wifi. i had to restart the phone to see the changes... im using htc desire s with coredroid rom running 2.3.5 android
[code]
#!/system/bin/sh
#change devName to whatever you want.
devName=NAME_YOU_WANT
devHostPath=$(which hostname)
devGetPath=$(which getprop)
devSetPath=$(which setprop)
if [ "$($devGetPath net.hostname)" = "$devName" ]
then
echo "Device hostname does not need to be changed."
else
echo "Device hostname is being changed to $devName."
if [ "$devHostPath" != "which hostname" ]
then
$devHostPath $devName
fi
$devSetPath net.hostname $devName
if [ "$($devGetPath net.hostname)" = "$devName" ]
then
echo "Device hostname has been successfully changed."
else
echo "Device hostname has not been changed."
fi
fi
[/code]
and the app Script Manager (
some ppl only need to restart the wifi. i had to restart the phone to see the changes... im using htc desire s with coredroid rom running 2.3.5 android
ti...@gmail.com <ti...@gmail.com> #137
just found out that when the phone reconnects to a network the hostname gets reseted using the process i described b4 on post 135
an...@gmail.com <an...@gmail.com> #138
Related to Issue 36933444 (default hostname violates DNS RFC).
ze...@gmail.com <ze...@gmail.com> #139
@tiagocon..: Thanks for that script, it works great via init.d (for supported roms) as well. Just one small point: do mention you only have to replace "NAME_YOU_WANT" with your new hostname. I went about changing all the hostname entries and broke it initially.
oo...@gmail.com <oo...@gmail.com> #140
Android definitely should have an option to alter the hostname of the device. I came across the underscore issue with BIND & dynamic updates, and ended up using this for the dynamic zone in named.conf
check-names ignore;
At least they've updated the OS to use a hyphen now. <sigh>
check-names ignore;
At least they've updated the OS to use a hyphen now. <sigh>
lu...@gmail.com <lu...@gmail.com> #141
I would like to be able to change the hostname on my droid so that I can instantly identify it on my network at home, not to mention the networks at work. Just my 2 cents from an IT pro. You should not have to root, script or custom ROM to do something so simple and apparently trivial.
jo...@gmail.com <jo...@gmail.com> #142
All my network devices have hostnames that I have created. Even at my work environments we change our hostnames to make it easier for us to manage. I also just really want to name my new phone 'Cpt Phacepalm'.
ti...@gmail.com <ti...@gmail.com> #143
And yet another vote...
Come on...add the ability to change the host name!!!!!
Come on...add the ability to change the host name!!!!!
ti...@gmail.com <ti...@gmail.com> #144
And yet another vote...
Come on...add the ability to change the host name!!!!!
Come on...add the ability to change the host name!!!!!
[Deleted User] <[Deleted User]> #145
Setting host name for any network device is standard stuff. Please implement ASAP
ii...@gmail.com <ii...@gmail.com> #146
please add this ability............
ro...@gmail.com <ro...@gmail.com> #147
[Comment deleted]
ro...@gmail.com <ro...@gmail.com> #148
This is crazy! I need to be able to quickly identify all devices on my work’s network. I do not have the time or inclination to manually go through all the Android devices to see who’s who. Time this was sorted!
gs...@gmail.com <gs...@gmail.com> #149
Please implement the ability to change hostname. As mentioned above it's pretty standard stuff for local networks and makes identifying devices easier.
ka...@kbrownconsulting.com <ka...@kbrownconsulting.com> #150
Add my vote for adding the capability to easily change the host name on stock android devices.
bo...@gmail.com <bo...@gmail.com> #151
[Comment deleted]
bo...@gmail.com <bo...@gmail.com> #152
WOW! So glad I found this ... add another vote for me!
Since Jan 17, 2010 GOOGLE has yet to respond and make this simple change?!
I'm not even a developer, yet I was forced to post here as just an ordinary Android user.
Hey GOOGLE heads, please create the ability to change the hostname on my Android so I can easily differentiate ownership of Andriod devices on my wireless home network.
The 4 Apple devices running on my network all have friendly names, why can't Andriod?????
Since Jan 17, 2010 GOOGLE has yet to respond and make this simple change?!
I'm not even a developer, yet I was forced to post here as just an ordinary Android user.
Hey GOOGLE heads, please create the ability to change the hostname on my Android so I can easily differentiate ownership of Andriod devices on my wireless home network.
The 4 Apple devices running on my network all have friendly names, why can't Andriod?????
[Deleted User] <[Deleted User]> #153
Like many people, I would like to be able to give access to my wireless network only to chosen hostnames. Since I am limited due to the software I have to use because of my service provider, I cannot write the whole hostname of my phone, a.k.a android-xxxx (xxxx=some number). It'd be really great if I could just allow my devices with shorter hostnames and nothing more. This, of course, would be only possible if you allow me to change my hostname.
an...@gmail.com <an...@gmail.com> #154
Plus one for this feature. It's very inconvenient to have default-named device in a network.
ch...@gmail.com <ch...@gmail.com> #155
[Comment deleted]
ch...@gmail.com <ch...@gmail.com> #156
And another vote...this is stopping our Android devices connecting to the Internet through our proxy server. The proxy server only works with hostnames.
ma...@gmail.com <ma...@gmail.com> #157
I am deploying multiple android devices in my organisation and I want to be able make them conform to our naming convention so that we can keep track of them easier.
xx...@gmail.com <xx...@gmail.com> #158
Well,I added the following line into /default.prop
net.hostname=my_hostname
And it survived reboot.
net.hostname=my_hostname
And it survived reboot.
go...@gmail.com <go...@gmail.com> #159
changed the default.prop on my IC4.0.3 Galaxy S2 but it reset on reboot :(
wonder why
wonder why
n....@gmail.com <n....@gmail.com> #160
I add net.hostname=my_decide_name into /system/build.prop
It's ok for me :) (ICS 4.0.3, Sony Xperia S)
It's ok for me :) (ICS 4.0.3, Sony Xperia S)
re...@gmail.com <re...@gmail.com> #161
I too would like to be able to specify the host name.
Thanks.
Thanks.
[Deleted User] <[Deleted User]> #162
Me too, I would like to be able to specify the host name.
ka...@gmail.com <ka...@gmail.com> #163
Please make this a user definable option.
je...@gmail.com <je...@gmail.com> #164
I'll chip in too. Please make this a user definable option.
mr...@gmail.com <mr...@gmail.com> #165
Another vote! This would be a great feature!
wc...@gmail.com <wc...@gmail.com> #166
its a MUST HAVE without ROOT to match company naming policies like daimler, actually using blackberry and iphone...
fl...@gmail.com <fl...@gmail.com> #167
Just confirming that editing my build.prop on my rooted devices running ICS works as stated above. Thanks guys.
@Google
Shame...These devices costs hundreds of dollars to buy and thousands to operate. This shouldn't be that hard to fix...
Shame...These devices costs hundreds of dollars to buy and thousands to operate. This shouldn't be that hard to fix...
mi...@gmail.com <mi...@gmail.com> #168
Its crazy we have to move away from android
go...@gmail.com <go...@gmail.com> #169
No idea why a network device like a smartphone can't be choose a hostname. I don't get it. Thie feature is needed!
nh...@gmail.com <nh...@gmail.com> #170
Hello,
Im a middle level user with a simple solution for rooted phones (this work on android 2.3.3 Galaxy S I9000b). Im not a developer so maybe somebody can take this and turn it into an App on Play Store
1) Create a file named autostart.sh (name of file isnt important anyway)
2) Put into that file "setprop net.hostname myhostname"
3) Check for file to have chmod = 755 permissions (Im not an expert so I changed permissions via Quickssd + sftp)
4) Install Script Manager (SManager)
5) Via SManager choose file autostart.sh and check "su" and "boot" to be on.
6) Reboot.
7) ???
8) Profit.
Im a middle level user with a simple solution for rooted phones (this work on android 2.3.3 Galaxy S I9000b). Im not a developer so maybe somebody can take this and turn it into an App on Play Store
1) Create a file named autostart.sh (name of file isnt important anyway)
2) Put into that file "setprop net.hostname myhostname"
3) Check for file to have chmod = 755 permissions (Im not an expert so I changed permissions via Quickssd + sftp)
4) Install Script Manager (SManager)
5) Via SManager choose file autostart.sh and check "su" and "boot" to be on.
6) Reboot.
7) ???
8) Profit.
nh...@gmail.com <nh...@gmail.com> #171
Ps: Users can test if this is working using "getprop net.hostname" on terminal or checking their DHCP list on routers.
ro...@gmail.com <ro...@gmail.com> #172
It is indeed a shame that you would have to root your device for such functionality. It is quite painful having multiple Android devices on the network with no easy, discernible way to distinguish them; especially when you try and keep your devices organized to certain addresses to make identification easy and static.
I would not want something as crucial as this to be discarded in favor of other features; as a gamer that is the surest way to alienate your fanbase.
I would not want something as crucial as this to be discarded in favor of other features; as a gamer that is the surest way to alienate your fanbase.
jp...@gmail.com <jp...@gmail.com> #173
As a network admin/engineer when I wish to find a device using DNS, it is next to impossible to correctly identify a specific host via the generated/already set "ANDROID-??????????" hostname. out of multiple users. This should be changable in the settings area, or just the wireless area. Please look into putting this functionality into one of the next upgrades. Network and System Admins everywhere will thank you for it.
an...@gmail.com <an...@gmail.com> #174
Would love to have the ability to change names.Our house has 5 droid phone.Yes...we hate Iphones.But can't distinguish who is who on the network,when home.
ve...@gmail.com <ve...@gmail.com> #175
Google's own Nexus 7 tablet has a default hostname of "android". No MAC, no nothing. I can't root this device and have it still conform to company security policies. So much for having it as an affordable remote console at work.
bo...@gmail.com <bo...@gmail.com> #176
That's a essential.
Please...
Please...
le...@gmail.com <le...@gmail.com> #177
Come on!
This is since 2010, are you guys kidding me???
This is since 2010, are you guys kidding me???
dj...@gmail.com <dj...@gmail.com> #179
I require this ability as there are several members of my family with android phones. I wish to set my router to block the kids internet at nite so they go to sleep instead of goof off all nite.
I currently cannot tell which phone is which by the cryptic host names
I currently cannot tell which phone is which by the cryptic host names
al...@gmail.com <al...@gmail.com> #180
As per comments in 157 and 159... you must have rooted phone and a file manager that allows you to browse to /system/build.prop . Modify the build.prop ( not default.prop in furthest root) and add:
net.hostname=my_decided_name
Where my_decided_name = the name you want to show on router
You must then do a 'save as' in a different directory. Delete the ORIGINAL build.prop... and then move your revised file to /system/build.prop folder.
This works persistently through reboots on an acer a500 running flexreaper-rf1 rom
Thanks OP's for bringing this to those of us who are rooted!
net.hostname=my_decided_name
Where my_decided_name = the name you want to show on router
You must then do a 'save as' in a different directory. Delete the ORIGINAL build.prop... and then move your revised file to /system/build.prop folder.
This works persistently through reboots on an acer a500 running flexreaper-rf1 rom
Thanks OP's for bringing this to those of us who are rooted!
du...@gmail.com <du...@gmail.com> #181
I first programmed telephone systems in 1982. I first programmed TCP/IP systems in 1993. Google believes that they are the god of the world, give up. They don't feel like it. The old phones just worked but were much simpler, now they're gone. Google will have their day. We have all the time in the world.
ta...@gmail.com <ta...@gmail.com> #182
Hi Google pls give us the posibity to change the hostname without rooting or with workarounds .... grt thx ....
btw. i solved it over adding following lines to my dhcpd.conf for the moment :
ddns-hostname "CHOOSEaName"
btw. i solved it over adding following lines to my dhcpd.conf for the moment :
ddns-hostname "CHOOSEaName"
an...@gmail.com <an...@gmail.com> #183
This is an extract from my router's DHCP IP Assignment Table:
2 192.168.1.21 AA-BB-CC-8F-CA-74 164:36:19.430 android-6d9a6ab3138d5bc5Ä,�vÄN�
3 192.168.1.22 AA-BB-CC-76-C4-4E 176:41:06.080 Charlies-iPhone
Note the elegance of the iPhone entry compared with that of the Android.
Please Google, allow me to change it!
2 192.168.1.21 AA-BB-CC-8F-CA-74 164:36:19.430 android-6d9a6ab3138d5bc5Ä,�vÄN�
3 192.168.1.22 AA-BB-CC-76-C4-4E 176:41:06.080 Charlies-iPhone
Note the elegance of the iPhone entry compared with that of the Android.
Please Google, allow me to change it!
la...@gmail.com <la...@gmail.com> #184
I can't believe something so basic, and intrinsically important, can't be done on Android without rooting it. WTF?
ji...@googlemail.com <ji...@googlemail.com> #185
This is unbelievable. I've just purchased a new Android phone and there is still the sodding underscore character in the hostname ! For some reason on this phone it wont allow me to set a static ip, so it wont connect to my wifi at all (i understand that this static ip issue might be vendor specific - ive not seen it before). I am still utterly bewildered about the _ in the hostname out of the box breaking DHCP. I know Google aren't going to care one bit by me joining apple/windows or anything else, but seriously google ? This bug is so old. Slag apple off to the hilt but my apple touch just plain WORKS. No silly _, and even if there was you can rename it. Utterly crazy. A wasted day trying to get this phone to connect to my network by hackery.
za...@incirrus.com <za...@incirrus.com> #186
This may not be under Google's jurisdiction (maybe it is and they're just being jerks, but I'm trying to think of alternate hypotheses). Telephone companies have a history of being over-restrictive and paranoid about their customers. They may view changing your hostname as some kind of "security threat" and won't let Google use their networks if the users can easily change that information. It wouldn't be the first time the networks have taken a good idea and choked it to death in the name of whatever it is they do it for.
or...@gmail.com <or...@gmail.com> #187
This is simply unbelievable!!! It's a BASIC FEATURE of any device out there! Where are you, google programmers??
at...@gmail.com <at...@gmail.com> #188
Another problem with hostname is SMTP dialog.
HELO\EHLO reply automatically uses device hostname e.g. ip-address, and some SMTP-servers (For example POSTFIX) require FQDN (reject_non_fqdn_hostname) thats why it is impossible to use them.
HELO\EHLO reply automatically uses device hostname e.g. ip-address, and some SMTP-servers (For example POSTFIX) require FQDN (reject_non_fqdn_hostname) thats why it is impossible to use them.
ba...@gmail.com <ba...@gmail.com> #189
This is now My Second Android Device. Still cant change the hostname.
It is not just the tech savvy that buy's android devices these days.
We start to see more and more of android devices on Corprate networks. Having to manage 100s of these devices, and complying to Corprate naming conventions is impossible.
Not being able to change the phones to corprate naming convention standards, also poses a security risk into our enviroments, as they have become extemely powerfull devices, to gain unlawfull access to networks.
Jelly bean update : and STILL you cannot Change the Hostnames with out Rooting. Accept for voiding warrenty, to have to root your "L"users devices also poses as a threat if they walk arround with Rooted devices...
I am a Big fan of Android , but this is a common taks that any networkable device should be able to do.. (All the iDevices and Blackberry devices can do this..). Major Failure from Google here...
It is not just the tech savvy that buy's android devices these days.
We start to see more and more of android devices on Corprate networks. Having to manage 100s of these devices, and complying to Corprate naming conventions is impossible.
Not being able to change the phones to corprate naming convention standards, also poses a security risk into our enviroments, as they have become extemely powerfull devices, to gain unlawfull access to networks.
Jelly bean update : and STILL you cannot Change the Hostnames with out Rooting. Accept for voiding warrenty, to have to root your "L"users devices also poses as a threat if they walk arround with Rooted devices...
I am a Big fan of Android , but this is a common taks that any networkable device should be able to do.. (All the iDevices and Blackberry devices can do this..). Major Failure from Google here...
ad...@gmail.com <ad...@gmail.com> #190
Very disappointed this feature is locked to rooted phones and tablets. It is an extreme nuisance and we are starting to manage large numbers of mobile devices. IOS I can change my hostname easily. Android....not so much. It makes network access control much more difficult and this should be a simple issue to fix.
ko...@gmail.com <ko...@gmail.com> #191
Really annoying. Now that even my family is starting to use android, managing clients from my router settings is a pain.
fe...@gmail.com <fe...@gmail.com> #192
I'm a nobody and I would like to change the host name. Kids Apple things show up just fine-as who owns the device. Google, I thought you were better or at least as good as Apple.
an...@gmail.com <an...@gmail.com> #193
I cannot connect to the network at work because they want my device to be named 'mobile'. IT's solution? Get an iPad. :-(. Please allow user defined hostname in settings just like apple devices do it.
sm...@googlemail.com <sm...@googlemail.com> #194
Another vote for this...
da...@gmail.com <da...@gmail.com> #195
[Comment deleted]
el...@gmail.com <el...@gmail.com> #196
Even Bill Gates knows that changing the name of the host is basic to any device, but Google does not know and does not pay attention to what we say. Apple may have several problems, but Steve Jobes heard consumers and made sure to answer them personally.
el...@gmail.com <el...@gmail.com> #197
Soon Google will want our phones have not more hostname. We'll need to know the IP so we can access them.
ja...@gmail.com <ja...@gmail.com> #198
I just went to change the hostname of an Android phone and couldn't. Please add this feature!!
du...@gmail.com <du...@gmail.com> #199
My android gives off a hostname...
pa...@gmail.com <pa...@gmail.com> #200
I am getting something like that android-f647a9675958a0c7 , I would like to be able to change it like in Iphone.
di...@googlemail.com <di...@googlemail.com> #201
Corporate environments not withstanding I now have half a dozen Android devices in my home and many more being used by friends. Just managing this on my router at home is becoming a serious issue.
wi...@gmail.com <wi...@gmail.com> #202
[Comment deleted]
wi...@gmail.com <wi...@gmail.com> #203
Another vote for this, quite annoying that to do something so trivial requires root! Please add the feature to change hostname.
w....@gmail.com <w....@gmail.com> #204
Yes please. Settable hostmame on the Android.
sm...@gmail.com <sm...@gmail.com> #205
I can't believe that you can set the name for blue tooth and wifi direct, but not the actual device. this is the note II running 4.1.1 and we still can't to this.... Like all others above, Please fix this...
ca...@gmail.com <ca...@gmail.com> #206
Please add the feature to change the hostname.
rv...@gmail.com <rv...@gmail.com> #207
Why force us to be rooted to be able to make this change, just plain ridiculous. Please allow the change via Android settings.
d....@gmail.com <d....@gmail.com> #208
Need to be able to set the hostname as the asset tag used for devices on our company network. We don't allow rooted devices on our network.
Seems insane that this hasn't yet been resolved. Crazy that it wasn't included in the Android version 1 functionality as it is such a basic thing. I can change all kinds of other esoteric settings, so why not this one that is a normal requirement for any networked device.
Seems insane that this hasn't yet been resolved. Crazy that it wasn't included in the Android version 1 functionality as it is such a basic thing. I can change all kinds of other esoteric settings, so why not this one that is a normal requirement for any networked device.
ps...@collaborative.org <ps...@collaborative.org> #209
Agreed! As a systems and network admin I need to be able to identify android devices and have enterprise devices conform to hostname policies.
ny...@gmail.com <ny...@gmail.com> #210
PLEASE ADD THIS FEATURE! We are getting a load of tablets for use in our manufacturing department and it would be so much easier to have a name for each tablet that makes it easier to identify over the network. THIS IS A MUST!
km...@gmail.com <km...@gmail.com> #211
Holy crap! Was searching the net (using google of course) trying to find a way to change hostname on my SG SII and stumbled over this...
In four days we can celebrate 3 years anniversary - unbelievable
In four days we can celebrate 3 years anniversary - unbelievable
da...@gmail.com <da...@gmail.com> #212
I have a Pantech P9070, Android version 2.3.5 Please add this future.
[Deleted User] <[Deleted User]> #213
this would be a nice feature to have. my wireless network right now looks like:
android-sdflkj239087g234908u
android-wfegf08913rk13a01309
android-sanskjash8f7a987aas7
android-fjlq39qf870qa98q0f9q
android-alskjf09q8a7f0q987a9
android-sa;lfjkda0s98fda0s90
android-sdflkj239087g234908u
android-wfegf08913rk13a01309
android-sanskjash8f7a987aas7
android-fjlq39qf870qa98q0f9q
android-alskjf09q8a7f0q987a9
android-sa;lfjkda0s98fda0s90
jh...@gmail.com <jh...@gmail.com> #214
Would love to see this feature in all my Android Phones
ch...@gmail.com <ch...@gmail.com> #215
I would like to see this feature added too.
se...@gmail.com <se...@gmail.com> #216
I need this feature so that Android devices can be properly identified on our network.
I wonder if Windows 8 tablet supports a hostname?
Sean.
I wonder if Windows 8 tablet supports a hostname?
Sean.
a....@gmail.com <a....@gmail.com> #217
We love to see Android devices displayed in FRITZ!OS with their hostname to help endusers to differentiate between phones, tablets...
Please help us to make it easier!
Please help us to make it easier!
co...@gmail.com <co...@gmail.com> #218
We are also having trouble managing byod without hostnames. This should be an easy fix.
or...@gmail.com <or...@gmail.com> #219
I agree that this feature will be very usefull.
kr...@gmail.com <kr...@gmail.com> #220
It will soon be 3 years since this bug was reported. What the hell is Google playing at? Please fix this basic requirement. How come it works fine on iPhones?
ji...@gmail.com <ji...@gmail.com> #221
This should be p1 issue which should be fixed ASAP. Why it is opened for so many years still nobody respond to it even so may users complain about it. On my latest 4.2.2 update for nexus 4, there is still no easy way to set it. It should be a simple fix just as all the standard Linux system does that.
df...@gmail.com <df...@gmail.com> #222
i have 4 android devices on my home network, only one shows a hostname on the router, i would really like to set/change the hostname on my android devices without having to root my devices.
in...@chaospheremusic.com <in...@chaospheremusic.com> #223
Please Fix it. Change the Hostname in WIFI mode. That can´´t be an big Probelem for teh Google Company.
chaospheremusic
chaospheremusic
je...@gmail.com <je...@gmail.com> #224
Please fix this so that I can set the hostnames and view them on my network easier
ro...@gmail.com <ro...@gmail.com> #225
I want to add my voice to this issue. I found it unbelievable that there was no straighforward way to change the hostname on Android. I've had many years of experiencing the joy of linux (setting up, administering, kernel compiling, etc.). I don't want or need to experience that level of intimacy with my freakin' smartphone and tablet. Just want to pretend to be joe user. EXCEPT, when I'm administering my network. At that point, I don't want Andriod to get in the way. But it is. There doesn't seem to be a way around it other than re-rooting. When a device gets in the way like this too much, I find myself wanting to call it a tribble.
fr...@gmail.com <fr...@gmail.com> #226
Please fix this. This feature is very useful
bl...@gmail.com <bl...@gmail.com> #227
Adding commentary to this. We are trying to push Android tablets into our business. We try to identify devices inside of our Wireless and MDM for access policies. 300 devices named android_* does not really excite me... Our current ipad's are all named after the pattern usernameipad01 and we would expect to follow something similar, if we could change it without rooting every device that is going to end up in the hands of your average clown user...
je...@gmail.com <je...@gmail.com> #228
Come on, google developers. This has to be a priority 1, it's so basic a requirement. Managing BYOD is very difficult without hostnames. Pull your finger out and make hostname an option in the settings app.
sp...@gmail.com <sp...@gmail.com> #229
Entering your own host name cannot be rocket science. I can do it on every WiFi device in my house except the two nexus 7s we have. Won't hold my breath this has been requested for a long time. Anyone have a guide to rooting the Nexus 7 ?
al...@gmail.com <al...@gmail.com> #230
You have got to be kidding! Bad enough that you can't change it without root access! Then to realise that the the default crappy name is actually illegal!?!?
Epic Fail Google.
Epic Fail Google.
da...@gmail.com <da...@gmail.com> #231
It's been amost 900 days and I still cannot change android host name? I need to change this. Google devs, get to it!
fl...@gmail.com <fl...@gmail.com> #232
Oh my! 3 years, still no answer? Goodbye Google and Android, hello BlackBerry 10
a....@gmail.com <a....@gmail.com> #233
Hello, change the name of the phone you can add a new entry net.hostname=NAME in the file /system/build.prop. For this I used EZexplorer and root access.
ke...@gmail.com <ke...@gmail.com> #234
I have over 1,000 ASUS tablets deployed and not being able to change the hostname to something meaningful is a huge pain. PLEASE FIX THIS!
ra...@gmail.com <ra...@gmail.com> #235
PLease fix!
lo...@gmail.com <lo...@gmail.com> #236
Shame this issue not solved yet...using a workaround with https://play.google.com/store/apps/details?id=nk.bla.android.autostart
and the line: setprop net.hostname myhostname
In the /data/opt/autostart.sh file then chmod 755 autostart.sh
The default.prop build.prop and dhcpcd.conf edit does not work for me with a motorola defy+ rooted stock 2.3.5 rom.
Planning a CM for my device...stock rom lacks...
and the line: setprop net.hostname myhostname
In the /data/opt/autostart.sh file then chmod 755 autostart.sh
The default.prop build.prop and dhcpcd.conf edit does not work for me with a motorola defy+ rooted stock 2.3.5 rom.
Planning a CM for my device...stock rom lacks...
su...@gmail.com <su...@gmail.com> #237
As the world gets more and more connected, this REALLY needs to be fixed. I have a huge number of android devices connecting to my network. Finding out which is which is a HUGE pain. All IPhones come up with nice descriptive names. Embarrassing that Android is lagging behind in this area. With something that is so easy to fix. Just a setting in the network setting. The internals for changing this is already there, afaik.
op...@gmail.com <op...@gmail.com> #238
Definitely must fix this problem. It is really annoying.
xm...@gmail.com <xm...@gmail.com> #239
this is 11th most stared opened issue, created before more than 3 years, which should take approx. 5 MD to fix (also with testing...), and still not corrected... Maybe Google wants us to became crazy about it first, because I cant find another reason, why it is still not fixed...
bj...@magmatos.nl <bj...@magmatos.nl> #240
[Comment deleted]
br...@gmail.com <br...@gmail.com> #241
It is puzzling that something so seemingly simple to fix and heavily requested is just ignored. I am implementing a zeroconfig solution for some software and when tested with android devices, the ridiculous android device names sure make it hard for users to choose theirs from a list.
th...@gmail.com <th...@gmail.com> #242
This is a problem when using my tablet to connect to my company network. Inability to conform to our naming scheme means it appears as an intrusion to security staff. Depending on who's working, I may simply be booted off the network, or just yelled at...
ha...@gmail.com <ha...@gmail.com> #243
I can't believe this seems so difficult.
jb...@android.com <jb...@android.com> #244
[Comment deleted]
jb...@android.com <jb...@android.com> #245
[Comment deleted]
en...@google.com <en...@google.com>
pr...@google.com <pr...@google.com>
rg...@google.com <rg...@google.com>
si...@google.com <si...@google.com> #246
something to consider in planning
Description
itself and provide a hostname to the router's dns/dhcp service, so it appears
as '*' on the list of connected devices.
Other devices display a hostname that allows the device to be recognised on
the network - either configurable or based on the device's serial. This makes
it much easier to see whats on your network, to configure MAC address
filtering, and so on.
Verified on HTC Hero 1.5, and Motorola Milestone 2.0.