Come da titolo sono passato da qualche giorno a
lennyPrecedentemente ho usato etch e l'avevo impostato in modo tale che
all'avvio facesse le seguenti cose:
se rilevato cavo ethernet collegato allora cercava un indirizzo in dhcp, altrimenti mi attivasse la scheda wireless in modo che network manager potesse cercare eventuali reti nella zona.
Utilizzo una
"scheda Broadcom 4306" ed ho quindi dovuto scaricare il pacchetto bcm43xx-fwcutter.
Purtroppo non mi ricordo come avessi impostato precedentemente il file di configurazione, sta di fatto che ora, il file
/etc/network/interfeces l'ho così modificato:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth1
iface eth1 inet dhcp
# Wireless
auto eth0
iface eth0 inet dhcp
eth0 : è la scheda wireless
eth1 : è la scheda ethernet
Il
problema è che all'avvio, avendo abilitato la riga "auto eth0", esce il seguente output:
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
ripetuto per 5/6 volte, rubandomi secondi prezioni dell'avvio. In etch lo faceva solo se mettevo "auto <schedaEthernet>".
Se commento l'opzione, dopo non mi connette
Ho poi un
dubbio:
perchè se faccio
#networking restart
da terminale, nell'output mi compare un messaggio relativo un PID già assegnato???
Reconfiguring network interfaces...There is already a pid file /var/run/dhclient.eth1.pid with pid 2331
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth1/***** (indirizzo hardware eth1)
Sending on LPF/eth1/***** (indirizzo hardware eth1)
Sending on Socket/fallback
DHCPRELEASE on eth1 to 192.168.0.1 port 67
There is already a pid file /var/run/dhclient.eth0.pid with pid 3492
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/***** (indirizzo hardware eth0)
Sending on LPF/eth0/***** (indirizzo hardware eth0)
Sending on Socket/fallback
DHCPRELEASE on eth0 to 155.185.123.253 port 67
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/00:0b:6b:4b:8c:4e
Sending on LPF/eth0/00:0b:6b:4b:8c:4e
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
done.