Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/etc/hosts -> miten muutetaan koneen nimi?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Finnish
View previous topic :: View next topic  
Author Message
hobo2
Tux's lil' helper
Tux's lil' helper


Joined: 08 May 2005
Posts: 87
Location: San Diego, CA & Miami, FL

PostPosted: Thu Mar 30, 2006 9:00 pm    Post subject: /etc/hosts -> miten muutetaan koneen nimi? Reply with quote

kysymys siis koneesta joka on lan yhteydessa muihin koneisiin (enimmakseen windows 2003 enterprise server:eita)

tama gentoo kone sisaltaa seuraavan rivin /etc/hosts tiedostossa

127.0.0.1 localhost mikkihiiri

mutta koneen "nimi" on aina localhost, miten sen saisi nayttamaan mikkihiirelta ? :)

kaytossa on dhcp ja kone saakin aina boottauksen yhteydessa uuden ip osoitteen, joka vaihtelee
pitaako kasipelilla nysvata koneelle nimi vai miten tuon saisi oikein nakymaan muille koneille?

kiitos neuvoista
Back to top
View user's profile Send private message
linuxtuxhellsinki
l33t
l33t


Joined: 15 Nov 2004
Posts: 700
Location: Hellsinki

PostPosted: Fri Mar 31, 2006 5:16 am    Post subject: Reply with quote

Code:
vi /etc/conf.d/hostname
:roll:
_________________
1st use 'Search' & lastly add [Solved] to
the subject of your first post in the thread.
Back to top
View user's profile Send private message
PaveQ
Apprentice
Apprentice


Joined: 11 Feb 2005
Posts: 225
Location: Finland

PostPosted: Sun Apr 02, 2006 7:53 am    Post subject: Reply with quote

Code:
emacs /etc/conf.d/hostname


:twisted:
Back to top
View user's profile Send private message
linuxtuxhellsinki
l33t
l33t


Joined: 15 Nov 2004
Posts: 700
Location: Hellsinki

PostPosted: Sun Apr 02, 2006 11:31 am    Post subject: Reply with quote

Grr :twisted:

:P
_________________
1st use 'Search' & lastly add [Solved] to
the subject of your first post in the thread.
Back to top
View user's profile Send private message
Cougar81
n00b
n00b


Joined: 08 Nov 2002
Posts: 42
Location: Helsinki, Finland

PostPosted: Mon Apr 03, 2006 12:33 pm    Post subject: Reply with quote

Code:
echo "HOSTNAME=hostinnimi" > /etc/conf.d/hostname

:wink:
Back to top
View user's profile Send private message
sjel
n00b
n00b


Joined: 12 Oct 2005
Posts: 2

PostPosted: Thu Apr 06, 2006 7:40 am    Post subject: Reply with quote

Code:
nano /etc/conf.d/hostname


:roll:
Back to top
View user's profile Send private message
LemurFromTheId
n00b
n00b


Joined: 22 Apr 2005
Posts: 64
Location: Finland

PostPosted: Thu Apr 06, 2006 8:56 am    Post subject: Reply with quote

Code:
cat > /etc/conf.d/hostname

:!:
Back to top
View user's profile Send private message
Elekrep
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2004
Posts: 108
Location: Finland

PostPosted: Tue Apr 18, 2006 3:23 pm    Post subject: Reply with quote

noh voiha sen oman koneen silti määrittää tonne hosts-filuunki tyyliin


192.168.0.1 kone.workgroup kone
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Finnish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum