Go Back   Android Forums > Android Discussion > Android Lounge
Android Lounge A place for general Android discussion and questions.

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
 
LinkBack Thread Tools
Old December 12th, 2010, 06:51 AM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Dec 2010
Posts: 3
 
Device(s): Droid, DroidX
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Question change hostname

Does android provide the ability to change the hostname of the phone.

E.g. when dsa keys are generated by dropbear for rsync, they contain the identity 'rsync@android'. This presents a problem where there are multiple android devices backing up to the same server. Call it a case of mistaken identity?

Simple fix is to correct the hostnames on each phone (identical to the specs below)

Droid X on Verizon
2.2.1 (2.3.340)

TIA

whytenoiz is offline  
Reply With Quote
sponsored links
Old December 12th, 2010, 06:56 AM   #2 (permalink)
One bite at a time...
 
Martimus's Avatar
 
Join Date: Jul 2010
Location: 'neath a cactus
Posts: 19,513
 
Device(s): Droid Razr Maxx HD (ICS 4.1.2), Motorola XOOM (ICS 4.1.1), HP TouchPad (CM 9), ASUS Infinity (JB 4.2
Carrier: Not Provided

Thanks: 1,906
Thanked 4,023 Times in 2,408 Posts
martimus98
Default

Welcome to the Android Forums!

I'm not familiar with a way to change the hostname of a DX out of the box. My initial guess is that this would require root access to the phone.
__________________
Yea though I walk through the Valley of Google I shall fear no Apple...

Advice provided comes from fellow Android enthusiasts. We're not tech support. Please do your due dilligence before implementing! And if someone helped you, please share the love with the button...
Martimus is offline  
Reply With Quote
Old December 12th, 2010, 07:05 AM   #3 (permalink)
New Member
Thread Author (OP)
 
Join Date: Dec 2010
Posts: 3
 
Device(s): Droid, DroidX
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Bummer. Seems a long way around to correct what amounts to an annoyance. Thanks tho.
whytenoiz is offline  
Reply With Quote
Old December 12th, 2010, 07:11 AM   #4 (permalink)
One bite at a time...
 
Martimus's Avatar
 
Join Date: Jul 2010
Location: 'neath a cactus
Posts: 19,513
 
Device(s): Droid Razr Maxx HD (ICS 4.1.2), Motorola XOOM (ICS 4.1.1), HP TouchPad (CM 9), ASUS Infinity (JB 4.2
Carrier: Not Provided

Thanks: 1,906
Thanked 4,023 Times in 2,408 Posts
martimus98
Default

Quote:
Originally Posted by whytenoiz View Post
Bummer. Seems a long way around to correct what amounts to an annoyance. Thanks tho.
Maybe but I wonder how many smartphone owners want to change their hostname?
Martimus is offline  
Reply With Quote
Old December 12th, 2010, 07:16 AM   #5 (permalink)
New Member
Thread Author (OP)
 
Join Date: Dec 2010
Posts: 3
 
Device(s): Droid, DroidX
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I would answer that with the very concept of a forum such as this, where users are not content to simply drink the 'koolaid-for-the-masses' but rather strive to coax a device into conforming to their needs. I understand your point of view, I simply disagree with it. I do however, appreciate your assistance.
whytenoiz is offline  
Reply With Quote
Old December 12th, 2010, 07:47 AM   #6 (permalink)
One bite at a time...
 
Martimus's Avatar
 
Join Date: Jul 2010
Location: 'neath a cactus
Posts: 19,513
 
Device(s): Droid Razr Maxx HD (ICS 4.1.2), Motorola XOOM (ICS 4.1.1), HP TouchPad (CM 9), ASUS Infinity (JB 4.2
Carrier: Not Provided

Thanks: 1,906
Thanked 4,023 Times in 2,408 Posts
martimus98
Default

Quote:
Originally Posted by whytenoiz View Post
I would answer that with the very concept of a forum such as this, where users are not content to simply drink the 'koolaid-for-the-masses' but rather strive to coax a device into conforming to their needs. I understand your point of view, I simply disagree with it. I do however, appreciate your assistance.

There are lots of different flavors of koolaid my friend...

In doing a Google search it looks like a similar request has already been submitted to Google...

Issue 6111 - android - Allow a hostname to be specified - Project Hosting on Google Code

You may want to go in and Star this issue. The more stars the better chance of Google doing something about it.
Martimus is offline  
Reply With Quote
The Following User Says Thank You to Martimus For This Useful Post:
Frisco (February 23rd, 2012)
Old August 9th, 2011, 09:28 AM   #7 (permalink)
New Member
 
Join Date: Jul 2010
Posts: 13
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Martimus View Post
Maybe but I wonder how many smartphone owners want to change their hostname?

All of them? All my computers have names, all of my sony erricson phones had names - since you could just set it. But apparently some idiot at google decided that android phones shouldn't have names.
andwhat is offline  
Reply With Quote
Old December 24th, 2011, 08:27 AM   #8 (permalink)
New Member
 
Join Date: Jun 2011
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Just thought I'd add to this discussion that I also came here looking for a way to set the hostname on my android device.

I wouldn't say that all users will want to change or set the hostname. Most mobile phone users are just that; users. Nothing more. All they want to do is use their phone, they don't care about any of the complex settings and they don't care how their phone works on the network. All they care is that they can use it.

But I agree, it should be possible to change the hostname for more advanced users.

Brian
Hoski is offline  
Last edited by Hoski; December 24th, 2011 at 08:30 AM.
Reply With Quote
Old February 23rd, 2012, 12:35 PM   #9 (permalink)
New Member
 
Join Date: Feb 2012
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Cool not rediculous

as someone who administers a network that has android devices connected to it I would find it very helpful to be able to modify the hostnames on the various smartphones

modifying the hostname is an extremely basic and necessary ability in any networked environment

Alan Truism is offline  
Reply With Quote
Old February 23rd, 2012, 03:04 PM   #10 (permalink)
~Play Nice~
 
Unforgiven's Avatar
 
Join Date: Jun 2010
Location: Douglas, MA
Gender: Male
Posts: 21,703
 
Device(s): Note II, S3, Moto X Developer Edition, Nexus 7 (2012 & 2013)
Carrier: Not Provided

Thanks: 13,136
Thanked 14,249 Times in 7,817 Posts
Default

Quote:
Originally Posted by Martimus View Post
Maybe but I wonder how many smartphone owners want to change their hostname?
I stumbled on this as you don't see this many posts in intro very often. I have seen many requests from users here about changing hostnames and haven't found a good answer.

At one point I had seven android devices connected to my router and I use mac address filtering. When I gave one away, I wanted to disallow it access to my home network. It was a little tedious to find it by mac address. If it just said "Wife Old Droid" it would have been far simpler. I can't imagine the difficulty in an enterprise environment that may have hundreds or thousands and android devices.

Folks want to do it for a variety of reasons from enterprise network deployment and management to simply managing what devices are connected to their home router.
__________________

Join the fun and make some friends, register for free here.
If someone helped, hit Thanks, if you see rude or abusive posts, spam, or threads that need staff attention, hit Report.
Site Rules / Android Forums FAQ
*** Do you want to talk guns? ***

Unforgiven is online now  
Reply With Quote
The Following User Says Thank You to Unforgiven For This Useful Post:
Frisco (February 23rd, 2012)
sponsored links
Old May 3rd, 2012, 09:09 PM   #11 (permalink)
New Member
 
Join Date: Dec 2011
Location: Just outside Montreal
Gender: Male
Posts: 10
 
Device(s): Samsung S3, HTC Desire HD, Samsung Tab 3
Carrier: Telus Canada

Thanks: 0
Thanked 0 Times in 0 Posts
Default

In my case the ability to change the Android hostname on my phone is preventing me from setting a DHCP reservation for it on my DHCP server (router) because the standard hostname is something like android_f7s89f8ir78etywt which is too long for the router to understand.

I wish I could just rename the phone to something simple like phone1.
galathon is online now  
Reply With Quote
Old May 3rd, 2012, 11:09 PM   #12 (permalink)
Senior Member
 
9to5cynic's Avatar
 
Join Date: Feb 2011
Location: /home/
Posts: 4,858
 
Device(s): Galaxy S3 (Verizon) Evo 4G - retired/rooted
Carrier: Verizon

Thanks: 3,066
Thanked 1,762 Times in 1,189 Posts
Send a message via AIM to 9to5cynic
Default

If you are rooted, you probably can do this. I have only tested it with the terminal emulator app, but it does seem to work.

Code:
su
hostname
(current name)
hostname evo
hostname
evo
??? seems to work, not sure if works for the router and dhcp though...
9to5cynic is offline  
Reply With Quote
The Following 2 Users Say Thank You to 9to5cynic For This Useful Post:
EarlyMon (May 3rd, 2012), ocnbrze (May 3rd, 2012)
Old May 3rd, 2012, 11:34 PM   #13 (permalink)
The PearlyMon
 
EarlyMon's Avatar
 
Join Date: Jun 2010
Location: New Mexico, USA
Posts: 44,060
 
Device(s): LTEvo, 3vo, and Shift
Carrier: Sprint

Thanks: 41,707
Thanked 54,850 Times in 21,880 Posts
Default

If that doesn't work, also see -

devShare: Android - Change Hostname

Hope this helps!
EarlyMon is offline  
Reply With Quote
The Following 2 Users Say Thank You to EarlyMon For This Useful Post:
9to5cynic (May 4th, 2012), ocnbrze (May 3rd, 2012)
Old August 24th, 2012, 07:54 PM   #14 (permalink)
New Member
 
pprice520's Avatar
 
Join Date: Apr 2012
Posts: 10
 
Device(s): Incredible 2
Carrier: Not Provided

Thanks: 3
Thanked 0 Times in 0 Posts
Default

someone explain device hostname to me, like what is the point jw
pprice520 is offline  
Reply With Quote
Old August 24th, 2012, 08:31 PM   #15 (permalink)
The PearlyMon
 
EarlyMon's Avatar
 
Join Date: Jun 2010
Location: New Mexico, USA
Posts: 44,060
 
Device(s): LTEvo, 3vo, and Shift
Carrier: Sprint

Thanks: 41,707
Thanked 54,850 Times in 21,880 Posts
Default

Example, you may wish to setup the device by name in various configuration tables or scripts on your pc or network so you can connect to it by name.

Handy if you have several phones, for instance.
EarlyMon is offline  
Reply With Quote
Reply
Tags
hostname


Go Back   Android Forums > Android Discussion > Android Lounge
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 05:59 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.