maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Change Hostname on N900? (https://talk.maemo.org/showthread.php?t=46482)

mail_e36 2010-03-04 15:21

Change Hostname on N900?
 
Does anyone know how to properly change the hostname on the N900?

When I SSH to the N900 I get "Nokia-N900-42-11". When I run "uname -a" I also get Nokia-N900-42-11

I've read that you can change it by editing the /etc/hostname file using VI and making the corresponding change in a file called /etc/hosts (which currently reads "127.0.0.1 Nokia-N900-42-11 localhost".

Has anyone tried to change the hostname? Will there be any other impact to be aware of? Could this break something?

Rob1n 2010-03-04 15:27

Re: Change Hostname N900
 
I changed mine quite a while ago. No side effects I've seen at all.

mail_e36 2010-03-04 15:40

Re: Change Hostname N900
 
Thanks, did you change it in both places I outlined above, or just one?

Rob1n 2010-03-04 15:47

Re: Change Hostname N900
 
Quote:

Originally Posted by mail_e36 (Post 555617)
Thanks, did you change it in both places I outlined above, or just one?

I'd actually just changed /etc/hostname, but I've changed the other one as well now. Nothing on the system should actually use the hostname for anything though (except for cosmetic things like logging) - it'll use localhost if it needs to connect locally.

xman 2010-03-04 16:28

Re: Change Hostname on N900?
 
No problems here. Just follow the instruction on the board and never see that ridiculous Nokia-N900-42-11 anymore.

x

mail_e36 2010-03-04 18:20

Re: Change Hostname on N900?
 
could you please point me in the direction of the instructions on the board, which you refer to?

Quote:

Originally Posted by xman (Post 555689)
No problems here. Just follow the instruction on the board and never see that ridiculous Nokia-N900-42-11 anymore.

x


xman 2010-03-04 18:36

Re: Change Hostname on N900?
 
Sure, but the search is your friend. Just found this thread and also info that I also found on the web posted in the same thread here.

Sharing the love

x

mail_e36 2010-03-04 20:17

Re: Change Hostname on N900?
 
Thank you, it seems to have worked for me

rich c 2010-03-04 20:43

Re: Change Hostname on N900?
 
I changed my hostname and on a slightly related topic, also added a password to the user userid with no ill effect. I did the latter so I could login remotley as user.

Ronaldo 2010-03-04 21:06

Re: Change Hostname on N900?
 
i use wincsp and i just entered IP once and saved settings, all i do is press connect. can you not do same with ssh or you connecting to use terminal?


All times are GMT. The time now is 19:45.

vBulletin® Version 3.8.8