View previous topic :: View next topic |
Author |
Message |
table Apprentice
Joined: 17 Feb 2007 Posts: 279 Location: Gazzaniga (BG) Italy
|
Posted: Thu Mar 11, 2010 8:44 am Post subject: [risolto] DHCP automatico all'inserimento del cavo di rete |
|
|
Ciao,
ho installato gentoo sul portatile di un mio collega di lavoro, è tutto ok, però vorrebbe il dhcp automatico all'inserimento del cavo.
Qualche idea?
Grazie _________________ Pulisci l'html con:
Code: | sed 's/<[Bb][Rr][ \t]*\/*>/\n/g;s/<\/*[^>]\+\/*>//g' |
skype: matteopinguino
Last edited by table on Thu Mar 11, 2010 9:05 am; edited 1 time in total |
|
Back to top |
|
|
davedeth Tux's lil' helper
Joined: 10 Mar 2010 Posts: 81 Location: Cesena
|
Posted: Thu Mar 11, 2010 8:54 am Post subject: |
|
|
Devi installare dhcpcd. Per cui gli imporsti momentaneamente la rete con ip statico, emergi dhcpcd e poi riconfiguri la rete in modo tale che utilizzi il dhcp così al prossimo riavvio potrà utilizzarlo. Nel mio pc così ha funzionato. |
|
Back to top |
|
|
Onip Advocate
Joined: 02 Sep 2004 Posts: 2912 Location: Parma (Italy)
|
Posted: Thu Mar 11, 2010 8:55 am Post subject: |
|
|
networkmanager, wicd, netplug _________________ Linux Registered User n. 373835
Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum |
|
Back to top |
|
|
table Apprentice
Joined: 17 Feb 2007 Posts: 279 Location: Gazzaniga (BG) Italy
|
Posted: Thu Mar 11, 2010 8:58 am Post subject: |
|
|
davedeth wrote: | Devi installare dhcpcd. Per cui gli imporsti momentaneamente la rete con ip statico, emergi dhcpcd e poi riconfiguri la rete in modo tale che utilizzi il dhcp così al prossimo riavvio potrà utilizzarlo. Nel mio pc così ha funzionato. |
Ho già installato il pacchetto net-misc/dhcp che contiene dhclient che all'avvio mi fa già il dhcp se il cavo è inserito.
Il problema nasce quando all'avvio il cavo non è inserito e sono costretto a dare un
per ottenere un IP.
Vorrei che la scheda di rete riconoscesse il cavo appena inserito e in automatico ottenesse l'ip
Ora è chiaro?
EDIT: Risolto grazie a Onip e "netplug" _________________ Pulisci l'html con:
Code: | sed 's/<[Bb][Rr][ \t]*\/*>/\n/g;s/<\/*[^>]\+\/*>//g' |
skype: matteopinguino |
|
Back to top |
|
|
lucapost Veteran
Joined: 24 Nov 2005 Posts: 1419 Location: <ud|me|ts> - Italy
|
Posted: Thu Mar 11, 2010 9:31 am Post subject: |
|
|
Code: | #> eix -S "cable detection"
* sys-apps/ifplugd
Available versions: 0.28-r9 {doc}
Homepage: http://0pointer.de/lennart/projects/ifplugd/
Description: Brings up/down ethernet ports automatically with cable detection
* sys-apps/netplug
Available versions: 1.2.9-r5 ~1.2.9.1 {debug doc}
Homepage: http://www.red-bean.com/~bos/
Description: Brings up/down ethernet ports automatically with cable detection
|
_________________ LP |
|
Back to top |
|
|
lucapost Veteran
Joined: 24 Nov 2005 Posts: 1419 Location: <ud|me|ts> - Italy
|
Posted: Thu Mar 11, 2010 9:51 am Post subject: |
|
|
Inoltre, leggo solo ora, che >=dhcpcd-5.X contiene nativamente ifplugd. _________________ LP |
|
Back to top |
|
|
ago Developer
Joined: 01 Mar 2008 Posts: 1527 Location: Milan, Italy
|
Posted: Fri Mar 12, 2010 6:56 pm Post subject: |
|
|
Personalmente mi fiderei più di un ip statico impostato manualmente..
Di solito dovrebbe esserci un range di ip destinato all'assegnamento automatico con dhcp e un'altro range di ip da poter impostare manualmente...chiedi all'amministratore di rete |
|
Back to top |
|
|
|