Active Topics

 


Reply
Thread Tools
Posts: 12 | Thanked: 1 time | Joined on Feb 2008
#1
hello,
When my N810 is connected to a network/router, it shows the name "Nokia N810" and some numbers as the device name when my other devices see it on the network. How do I change this name to something else? (like we change the computer name on a windows computer)

thanks
 
briand's Avatar
Posts: 566 | Thanked: 145 times | Joined on Feb 2008 @ Tallahassee, FL
#2
edit /etc/hosts and /etc/hostname
(as root)
__________________
N800 / OS2008
Now running Canola-free (by invitation) since 2215 UTC 21 May 2008.
 

The Following 2 Users Say Thank You to briand For This Useful Post:
danramos's Avatar
Posts: 4,672 | Thanked: 5,455 times | Joined on Jul 2008 @ Springfield, MA, USA
#3
Don't forget to also use 'hostname' command. The 'proper' way to update the hostname file in any UNIX/Linux environment is to go as root and use 'hostname ravage' (for example, if you wanted to name it 'ravage').

The hostname file should change to that name and other elements that government the hostname should change along with it as well. (Although, as I'm checking it on my own device, it doesn't seem to alter either file but it does seem to reflect the name change on the command prompt and on the network. Boggling. Maybe you need to do a 'hostname ravage' and then reboot if the files are generated at boot time? I haven't tried this yet so I'm just throwing it out there as a guess.

Normally, on a desktop, you would use just 'hostname' to do it right.

Last edited by danramos; 2008-08-23 at 20:26.
 

The Following 2 Users Say Thank You to danramos For This Useful Post:
Posts: 4,556 | Thanked: 1,624 times | Joined on Dec 2007
#4
Hmm oddly it resets the device name on a reboot.
__________________
Originally Posted by ysss View Post
They're maemo and MeeGo...

"Meamo!" sounds like what Zorro would say to catherine zeta jones... after she slaps him for looking at her dirtily...
 
briand's Avatar
Posts: 566 | Thanked: 145 times | Joined on Feb 2008 @ Tallahassee, FL
#5
hmm. oddly, that's why I didn't suggest that method.
__________________
N800 / OS2008
Now running Canola-free (by invitation) since 2215 UTC 21 May 2008.
 

The Following 2 Users Say Thank You to briand For This Useful Post:
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#6
Yeah.. Doesn't quite work the way danramos said... the command "hostname" only sets it for this session..

modifying the two files responsible as briand suggested sets it permanently.

http://www.debianadmin.com/change-ho...x-machine.html
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 

The Following User Says Thank You to fatalsaint For This Useful Post:
danramos's Avatar
Posts: 4,672 | Thanked: 5,455 times | Joined on Jul 2008 @ Springfield, MA, USA
#7
I stand corrected! I usually do both when I change hostnames ...I've never done the "/etc/init.d/hostname.sh start" to kick it in. Thanks!!

...and now I'll go quietly stand in a corner.
 
Posts: 12 | Thanked: 1 time | Joined on Feb 2008
#8
thankyou for all the replys . i had a feeling it would'nt be as simple as changing the name as in the bluetooth device properties.
 
Reply


 
Forum Jump


All times are GMT. The time now is 03:22.