Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[risolto] hostname e wireless
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Elbryan
Guru
Guru


Joined: 13 Nov 2006
Posts: 523
Location: Rovereto (TN)

PostPosted: Sun Dec 17, 2006 5:21 pm    Post subject: [risolto] hostname e wireless Reply with quote

Son di nuovo io..
Ho creato il file hostname e se ci metto un nome a caso poi al riavvio la mia wireless non funge piu'..

C'e' qualcosa di connesso?


Last edited by Elbryan on Mon Dec 18, 2006 10:41 am; edited 1 time in total
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


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

PostPosted: Sun Dec 17, 2006 5:40 pm    Post subject: Reply with quote

Potresti essere più preciso :roll:
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Elbryan
Guru
Guru


Joined: 13 Nov 2006
Posts: 523
Location: Rovereto (TN)

PostPosted: Sun Dec 17, 2006 5:51 pm    Post subject: Reply with quote

creato /etc/hostname con dentro scritto "tux".
Poi rc-update add hostname default.

Riavviato e la mia ipw3945 non funge piu'..

Allora ho fatto il contrario (rimosso tutto) ed e' tornata ad andare..
Back to top
View user's profile Send private message
Elbryan
Guru
Guru


Joined: 13 Nov 2006
Posts: 523
Location: Rovereto (TN)

PostPosted: Sun Dec 17, 2006 11:19 pm    Post subject: Reply with quote

Ho notato che va modificato /etc/conf.d/hostname invece di creare hostname in /etc ma il risultato non cambia..
Anzi .. se faccio /etc/init.d/net.eth0 o eth1 restart non mi viene visualizzato nulla.
Inoltre gnome mi pare si carichi prima quando e' impostato localhost invece che altro..

Perche' sta cosa?
Back to top
View user's profile Send private message
lucapost
Veteran
Veteran


Joined: 24 Nov 2005
Posts: 1419
Location: <ud|me|ts> - Italy

PostPosted: Mon Dec 18, 2006 9:58 am    Post subject: Reply with quote

Ti consiglio di modificare le voci del file /etc/conf.d/rc così:
Code:
jarod ~ # cat /etc/conf.d/rc |grep PLUG_S |grep -v '#'
RC_PLUG_SERVICES="!*"

Per fare un pò di debug, togli tutte le interfaccie di rete (tranne net.lo) dai runlevel, e sistema i seguenti file con una sintassi simile a:
Code:
jarod ~ # cat /etc/conf.d/hostname |grep -v '#'
HOSTNAME="jarod"

jarod ~ # cat /etc/hosts |grep -v '#'
127.0.0.1   jarod.gentoo jarod localhost
192.168.0.1     kaly.gentoo kaly

jarod ~ # cat /etc/conf.d/net |grep -v '#'
dns_domain=("gentoo")
config_ABC=("192.168.2.2 netmask 255.255.255.0")
routes_ABC=("default gw 192.168.2.1")
mode_ABC=("Managed")
dns_servers_ABC=("192.168.2.1")

Avvia /etc/conf.d/net.eth0 a manina, posta un pò di righe interessanti di dmesg.
_________________
LP


Last edited by lucapost on Mon Dec 18, 2006 10:08 am; edited 1 time in total
Back to top
View user's profile Send private message
Elbryan
Guru
Guru


Joined: 13 Nov 2006
Posts: 523
Location: Rovereto (TN)

PostPosted: Mon Dec 18, 2006 10:05 am    Post subject: Reply with quote

Il tuo post mi ha fatto venire in mente una cosa che facevo molto tempo fa..
Sai che credo di aver trovato la soluzione? :P
moh vedremo..
Back to top
View user's profile Send private message
Elbryan
Guru
Guru


Joined: 13 Nov 2006
Posts: 523
Location: Rovereto (TN)

PostPosted: Mon Dec 18, 2006 10:41 am    Post subject: Reply with quote

Infatti e' bastato modificare il file degli host:

Code:

# IPv4 and IPv6 localhost aliases
127.0.0.1       localhost localhost.localdomain tux tux.localdomain
::1   localhost tux


:)
bye
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
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