Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
settare il domain name [FAQ][Risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
bld
l33t
l33t


Joined: 26 Mar 2003
Posts: 759
Location: Outter Space

PostPosted: Tue Oct 07, 2003 10:28 pm    Post subject: settare il domain name [FAQ][Risolto] Reply with quote

Allora, da quando ho installato na nuova versione di gentoo
che ho questo problema, che va avanti e non trova una soluzione
sempra banale ma per non lo e' affato anzi sta diventando un incubo!

Ma come fatte a "settare" il vostro domain name?

ho messo il mio hostname name che e' oxygen su /etc/hostname
e quello e ok. Ma il domain name dove lo devo mettere?

ho provato un po tutto a metterlo su /etc/domainname
oppure /etc/dnsdomain
niente
il domain name che ho usato e' -> fastweb.net

Ma non ce un file dove viene depositate il domain come il hostname?!

:( :( :(
_________________
A happy GNU/Linux user!!


Last edited by bld on Sun Oct 12, 2003 3:41 pm; edited 3 times in total
Back to top
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Wed Oct 08, 2003 12:01 am    Post subject: Re: settare il domain name Reply with quote

bld wrote:
Allora, da quando ho installato na nuova versione di gentoo
che ho questo problema, che va avanti e non trova una soluzione
sempra banale ma per non lo e' affato anzi sta diventando un incubo!

Ma come fatte a "settare" il vostro domain name?


uhmm... che io sappia, al procedura é:
Code:
# echo HOST > /etc/hostname
# echo DOMAIN > /etc/dnsdomainname

dopodiché:
Code:
# echo 127.0.0.1      localhost         HOST >/etc/hosts
# echo 192.168.1.1    HOST.DOMAIN.ORG   HOST >>/etc/hosts


Last edited by codadilupo on Thu Nov 23, 2006 9:45 am; edited 1 time in total
Back to top
View user's profile Send private message
IgaRyu
Guru
Guru


Joined: 23 Jan 2003
Posts: 302
Location: Verona

PostPosted: Wed Oct 08, 2003 6:18 am    Post subject: Reply with quote

Se proprio non vuoi modificara a mano il file esiste il comando apposta:

Code:

domainname nome.tuo.dominio


Problema risolto :)

Joe
_________________
One Flew East
One Flew West
Some Flew On The Kukool's Nest
Back to top
View user's profile Send private message
neon
l33t
l33t


Joined: 04 Aug 2003
Posts: 759
Location: Catania, Italy, Europe

PostPosted: Wed Oct 08, 2003 11:53 am    Post subject: Reply with quote

Se non sbaglio nella guida di gentoo (non saprei se l'ultima versione l'hanno corretta) manca la parte che spiega come si avvia l'init script legato al domainname
Code:
# rc-update add domainname default


dopo aver settato i file prova ad avviarlo :wink:
_________________
Io credo che le tecnologie siano moralmente neutrali fino a quando non le utilizziamo - William Gibson

LINEE GUIDA DEL FORUM
Back to top
View user's profile Send private message
bld
l33t
l33t


Joined: 26 Mar 2003
Posts: 759
Location: Outter Space

PostPosted: Wed Oct 08, 2003 12:08 pm    Post subject: nope Reply with quote

Non va niente.
Ho provato tutte le combinazioni possibili immaginabili.
Non vuole mettere niente per domain.
Mi dice sempre oxygen.(none).
Ho settato tutto quello che mi ha detto codadilupo etc.

Io come provider uso fastweb, sara questo il problema?
_________________
A happy GNU/Linux user!!
Back to top
View user's profile Send private message
IgaRyu
Guru
Guru


Joined: 23 Jan 2003
Posts: 302
Location: Verona

PostPosted: Wed Oct 08, 2003 2:00 pm    Post subject: Reply with quote

Dopo aver digitato
Code:
domainname nome.tuo.dominio
vedi sulla console 12 (ALT+F12) cosa dice il log e pasta qui


Joe
_________________
One Flew East
One Flew West
Some Flew On The Kukool's Nest
Back to top
View user's profile Send private message
bld
l33t
l33t


Joined: 26 Mar 2003
Posts: 759
Location: Outter Space

PostPosted: Wed Oct 08, 2003 10:48 pm    Post subject: ecco Reply with quote

----------
[root@oxygen:~]# domainname oxygen.fastweb.net
/var/yp/: No such file or directory
-----------

allora?
_________________
A happy GNU/Linux user!!
Back to top
View user's profile Send private message
IgaRyu
Guru
Guru


Joined: 23 Jan 2003
Posts: 302
Location: Verona

PostPosted: Thu Oct 09, 2003 6:21 am    Post subject: Reply with quote

Allora risolto il problema: esegui questo:

# echo "YourHost" > /etc/hostname
# echo "YourDomain" > /etc/dnsdomainname
# rc-update add domainname boot
# /etc/init.d/domainname start

a questo punto edita il file /etc/issue e cambia \O in \o

questo e il risultato da me:

# logout

This is newjoe.joe.vr.iit (Liniux-i686 etc etc

Joe

PS
La soluzione non e mia ma e la sommatoria di soluzioni prese in giro dal forum :)
_________________
One Flew East
One Flew West
Some Flew On The Kukool's Nest
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Thu Oct 09, 2003 9:48 am    Post subject: Reply with quote

Sei in dhcp?
_________________
Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito
Back to top
View user's profile Send private message
bld
l33t
l33t


Joined: 26 Mar 2003
Posts: 759
Location: Outter Space

PostPosted: Thu Oct 09, 2003 6:45 pm    Post subject: si Reply with quote

Si sono un utente fastweb e uso DHCP deamon per prendere l'ip in automatico.
_________________
A happy GNU/Linux user!!
Back to top
View user's profile Send private message
bld
l33t
l33t


Joined: 26 Mar 2003
Posts: 759
Location: Outter Space

PostPosted: Thu Oct 09, 2003 7:52 pm    Post subject: risolto Reply with quote

ok grazie :) risolto!
_________________
A happy GNU/Linux user!!
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Thu Oct 09, 2003 8:22 pm    Post subject: Reply with quote

come? :)
_________________
Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30996
Location: here

PostPosted: Thu Oct 09, 2003 8:57 pm    Post subject: Re: risolto Reply with quote

bld wrote:
ok grazie :) risolto!

In che modo (ben detto cerri). Se lo condividi e' meglio cosi' alla prossima
ricerca uno trova la soluzione.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
bld
l33t
l33t


Joined: 26 Mar 2003
Posts: 759
Location: Outter Space

PostPosted: Sat Oct 11, 2003 2:26 pm    Post subject: err Reply with quote

In pratica, ho seguito le istruzioni di
IgaRyu
Quote:

# echo "YourHost" > /etc/hostname
# echo "YourDomain" > /etc/dnsdomainname
# rc-update add domainname boot
# /etc/init.d/domainname start

a questo punto edita il file /etc/issue e cambia \O in \o

questo e il risultato da me:

# logout



Ora il problema e' che lo devo fare manualmente tutti i passi in ogni "boot" del sistema. Da quel che vedo il programma parte..
Quote:

[root@oxygen:~]# /etc/init.d/domainname start
* WARNING: "domainname" has already been started.
[root@oxygen:~]# rc-update show | grep domain
domainname | boot


Pero al momento del login
vedo sempre lo stesso login -> hostname.(none) Linux etc etc
boh..
_________________
A happy GNU/Linux user!!
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Sat Oct 11, 2003 4:28 pm    Post subject: Reply with quote

Prova a non far partire la sk di rete in dhcp all'avvio e guarda se cambia qualcosa.
_________________
Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito
Back to top
View user's profile Send private message
neon
l33t
l33t


Joined: 04 Aug 2003
Posts: 759
Location: Catania, Italy, Europe

PostPosted: Sat Oct 11, 2003 4:37 pm    Post subject: Reply with quote

una volta avviato lo script non dovrebbe esserci bisogno di rifare tutto. controlla l'output di:
Code:
# domainname -d

se l'output e' giusto il domain e' settato...

Quote:
a questo punto edita il file /etc/issue e cambia \O in \o

secondo me non funziona perche' hai cambiato questo... a me l'originale \O va'

Se comunque non dovessi vedere il domain e sei in DHCP prova a settare /etc/hosts cosi':
Code:
127.0.0.1       tuohost.tuodomain       tuohost         localhost


io ho avuto lo stesso problema... avevo sbagliato a configurare il file, non credevo che tenesse conto anche dell'ordine dei campi. (avevo messo prima host e poi host.domain)
_________________
Io credo che le tecnologie siano moralmente neutrali fino a quando non le utilizziamo - William Gibson

LINEE GUIDA DEL FORUM
Back to top
View user's profile Send private message
bld
l33t
l33t


Joined: 26 Mar 2003
Posts: 759
Location: Outter Space

PostPosted: Sun Oct 12, 2003 1:58 pm    Post subject: hmm no Reply with quote

l'unica cosa da provare e' quella che ha detto cerri per capire se dhcpd ha
qualcosa a che fare con questo.

Il problema e' che domainname non parte al inizio oppure anche se parte
non ha alcun effetto..
-----
[root@oxygen:~]# hostname
oxygen
[root@oxygen:~]# domainname
(none)
[root@oxygen:~]# /etc/init.d/domainname restart
* WARNING: you are stopping a boot service.
* Setting DNS domainname to fastweb.net... [ ok ]
[root@oxygen:~]# domainname
(none)
-------------------------
Boh :(
ora provo a far partire senza dhcpd
_________________
A happy GNU/Linux user!!
Back to top
View user's profile Send private message
bld
l33t
l33t


Joined: 26 Mar 2003
Posts: 759
Location: Outter Space

PostPosted: Sun Oct 12, 2003 3:49 pm    Post subject: bene! Reply with quote

Allora, In pratica lo sbaglio e' stato modificare /etc/issue.
I passi da seguire sono:
--------
$echo "hostname" > /etc/hostname && echo "domain-name" > /etc/dnsdomain

$su -
#vim /etc/hosts
---
(Hostname e domainname devono avere la sintassi giusta)
127.0.0.1 tuohost.tuodomain tuohost localhost
----
#rc-update add domainname default
#/etc/init.d/domainname start
------
Questo dovrebbe bastare.

#######
Grazie neon_it ;P l'hai indovinata! hehe
e grazie a cerri,codadilupo,feliallalinea.IrakRuy... e a tutti gli altri che
formano il team di gentoo! :)
_________________
A happy GNU/Linux user!!
Back to top
View user's profile Send private message
taiger
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2003
Posts: 112

PostPosted: Tue Apr 27, 2004 12:11 pm    Post subject: Reply with quote

anche io ho avuto le stesso problema e la sulizione è sorprendentemente facile, quanto impensabile

non setta il nome perchè è configurato così :

127.0.0.1 localhost tuodominio.net

se mettei in ultima posizione localhost, magicamente il problema è risolto:

127.0.0.1 tuodominio.net localhost
Back to top
View user's profile Send private message
_sys/sid
Guru
Guru


Joined: 27 Aug 2004
Posts: 346
Location: Asola (Mantova)

PostPosted: Tue Nov 15, 2005 5:48 pm    Post subject: [CONF] Problema di domain hostname.(none) ? Reply with quote

Come mai non vedo il domainname ?

in /etc/conf.d/domainname ho messo DNSDOMAIN="mydomain"
e in /etc/hosts ho messo
localhost hostname hostname.mydomain...

ma al login mi ritrovo sempre hostname.(none)
come mai?

grazie
_________________
http://th30z.netsons.org/
Back to top
View user's profile Send private message
_sys/sid
Guru
Guru


Joined: 27 Aug 2004
Posts: 346
Location: Asola (Mantova)

PostPosted: Tue Nov 15, 2005 6:00 pm    Post subject: Reply with quote

Dimenticavo... Non e' che potreste postarmi i vostri /etc/conf.d/hostname, /etc/conf.d/domainname e /etc/hosts
Grazie Ancora...
_________________
http://th30z.netsons.org/
Back to top
View user's profile Send private message
Manuelixm
l33t
l33t


Joined: 03 Apr 2004
Posts: 832
Location: Brescia

PostPosted: Tue Nov 15, 2005 7:09 pm    Post subject: Reply with quote

E' il contrario:
Code:
192.168.x.xx    host.domain.it      host

nel mio caso ;)
_________________
Linux user#370732
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Wed Nov 16, 2005 9:24 am    Post subject: Re: [CONF] Problema di domain hostname.(none) ? Reply with quote

_sys/sid wrote:
Come mai non vedo il domainname ?


Finalmente una domanda nuova :lol:

Faccio il merge con questo topic.
_________________
Ciao da me!
Back to top
View user's profile Send private message
daniel979
n00b
n00b


Joined: 12 Apr 2006
Posts: 68

PostPosted: Mon Oct 16, 2006 11:45 pm    Post subject: Reply with quote

salve a tutti

aggiornando il kernel mi sono accorto che mi restituiva

dnsdomainname: No address associated with name

ho seguito un po il topic e mi sono accorto che anche a me non viene visualizzato il dnsdomainname

inoltre non ho ne domainname in /etc/init.d/ e neanche /etc/dnsdomainname

ma solo /etc/conf.d/domainname

avete qualche suggerimento???

grazie
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Tue Oct 17, 2006 7:27 am    Post subject: Reply with quote

Prova a vedere in /etc/conf.d/net
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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