View previous topic :: View next topic |
Author |
Message |
Elbryan Guru


Joined: 13 Nov 2006 Posts: 523 Location: Rovereto (TN)
|
Posted: Sun Dec 17, 2006 5:21 pm Post subject: [risolto] hostname e wireless |
|
|
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 |
|
 |
gutter Bodhisattva


Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Sun Dec 17, 2006 5:40 pm Post subject: |
|
|
Potresti essere più preciso  _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
 |
Elbryan Guru


Joined: 13 Nov 2006 Posts: 523 Location: Rovereto (TN)
|
Posted: Sun Dec 17, 2006 5:51 pm Post subject: |
|
|
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 |
|
 |
Elbryan Guru


Joined: 13 Nov 2006 Posts: 523 Location: Rovereto (TN)
|
Posted: Sun Dec 17, 2006 11:19 pm Post subject: |
|
|
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 |
|
 |
lucapost Veteran


Joined: 24 Nov 2005 Posts: 1419 Location: <ud|me|ts> - Italy
|
Posted: Mon Dec 18, 2006 9:58 am Post subject: |
|
|
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 |
|
 |
Elbryan Guru


Joined: 13 Nov 2006 Posts: 523 Location: Rovereto (TN)
|
Posted: Mon Dec 18, 2006 10:05 am Post subject: |
|
|
Il tuo post mi ha fatto venire in mente una cosa che facevo molto tempo fa..
Sai che credo di aver trovato la soluzione?
moh vedremo.. |
|
Back to top |
|
 |
Elbryan Guru


Joined: 13 Nov 2006 Posts: 523 Location: Rovereto (TN)
|
Posted: Mon Dec 18, 2006 10:41 am Post subject: |
|
|
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 |
|
 |
|