[glux] connessione wireless con Ubuntu

Cristian Consonni kikkocristian@tiscali.it
Gio 13 Set 2007 16:15:08 CEST


Ho provato a farlo prima staccando il cavo eth e poi rimanendo
collegato.
cristian@cristian-laptop:~$ sudo /etc/init.d/networking restart
 * Reconfiguring network interfaces...
There is already a pid file /var/run/dhclient.eth0.pid with pid
134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:17:a4:d0:0b:d8
Sending on   LPF/eth0/00:17:a4:d0:0b:d8
Sending on   Socket/fallback
DHCPRELEASE on eth0 to 192.168.1.1 port 67
RTNETLINK answers: No such process
There is already a pid file /var/run/dhclient.eth1.pid with pid 5560
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth1/00:1a:73:28:07:19
Sending on   LPF/eth1/00:1a:73:28:07:19
Sending on   Socket/fallback
eth2: ERROR while getting interface flags: No such device
There is already a pid file /var/run/dhclient.eth2.pid with pid
134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

SIOCSIFADDR: No such device
eth2: ERROR while getting interface flags: No such device
eth2: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth2.
ath0: ERROR while getting interface flags: No such device
There is already a pid file /var/run/dhclient.ath0.pid with pid
134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

SIOCSIFADDR: No such device
ath0: ERROR while getting interface flags: No such device
ath0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up ath0.
wlan0: ERROR while getting interface flags: No such device
There is already a pid file /var/run/dhclient.wlan0.pid with pid
134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

SIOCSIFADDR: No such device
wlan0: ERROR while getting interface flags: No such device
wlan0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up wlan0.
There is already a pid file /var/run/dhclient.eth1.pid with pid
134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth1/00:1a:73:28:07:19
Sending on   LPF/eth1/00:1a:73:28:07:19
Sending on   Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 14
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
There is already a pid file /var/run/dhclient.eth0.pid with pid
134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:17:a4:d0:0b:d8
Sending on   LPF/eth0/00:17:a4:d0:0b:d8
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 1
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

[ OK ]


Secondo tentativo (connesso con il cavo eth)

cristian@cristian-laptop:~$ sudo /etc/init.d/networking restart
 * Reconfiguring network interfaces...
RTNETLINK answers: No such process
There is already a pid file /var/run/dhclient.eth1.pid with pid 7863
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth1/00:1a:73:28:07:19
Sending on   LPF/eth1/00:1a:73:28:07:19
Sending on   Socket/fallback
There is already a pid file /var/run/dhclient.eth0.pid with pid 7990
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:17:a4:d0:0b:d8
Sending on   LPF/eth0/00:17:a4:d0:0b:d8
Sending on   Socket/fallback
DHCPRELEASE on eth0 to 192.168.1.1 port 67
eth2: ERROR while getting interface flags: No such device
There is already a pid file /var/run/dhclient.eth2.pid with pid
134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

SIOCSIFADDR: No such device
eth2: ERROR while getting interface flags: No such device
eth2: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth2.
ath0: ERROR while getting interface flags: No such device
There is already a pid file /var/run/dhclient.ath0.pid with pid
134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

SIOCSIFADDR: No such device
ath0: ERROR while getting interface flags: No such device
ath0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up ath0.
wlan0: ERROR while getting interface flags: No such device
There is already a pid file /var/run/dhclient.wlan0.pid with pid
134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

SIOCSIFADDR: No such device
wlan0: ERROR while getting interface flags: No such device
wlan0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up wlan0.
There is already a pid file /var/run/dhclient.eth1.pid with pid
134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth1/00:1a:73:28:07:19
Sending on   LPF/eth1/00:1a:73:28:07:19
Sending on   Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 13
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
RTNETLINK answers: File exists
run-parts: /etc/network/if-up.d/avahi-autoipd exited with return code 2
There is already a pid file /var/run/dhclient.eth0.pid with pid 8255
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:17:a4:d0:0b:d8
Sending on   LPF/eth0/00:17:a4:d0:0b:d8
Sending on   Socket/fallback
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.179 -- renewal in 9279 seconds.

[ OK ]
cristian@cristian-laptop:~$ 
... sono connesso con il cavo eth.
boh!?!?!?
Ciao

Cristian




On gio, 2007-09-13 at 16:00 +0200, AcCiO wrote:
> No, in realtà sta mandando un messaggio broascast cercando un server 
> dhcp ma non lo trova. Ma in ogni caso, una volta inseriti i dati dalla 
> gui, dovresti fare il reload dei servizi di rete (anche se dovrebbe 
> farlo da se nel momento in cui chiudi la gui...)
> 
> Al limite puoi provare
> 
> sudo /etc/init.d/networking restart
> 
> In tal caso aggiorna i files di configurazione e poi esegue da se il 
> dhclient cercando un server dhcp nella rete.
> 
> Il fatto che ci sia 255.255.255.255 significa appunto che sta mandando 
> un messaggio broadcast.
> 
> Prova cmq a restartare con quel comando, ma in ogni caso sarebbe un 
> tentativo "a caso". Io ricordo di non aver mai avuto problemi con la 
> rete wireless, nel senso che la configuravo dalla GUI e poi restartavo i 
> servizi di rete...
> 
> Ciao
> accio
> 
> Cristian Consonni ha scritto:
> > Ciao,
> > ho provato a fare come hai detto... questo è il risultato di dhclient
> > cristian@cristian-laptop:~$ sudo dhclient
> > Password:
> > Internet Systems Consortium DHCP Client V3.0.4
> > Copyright 2004-2006 Internet Systems Consortium.
> > All rights reserved.
> > For info, please visit http://www.isc.org/sw/dhcp/
> > 
> > Listening on LPF/eth0/00:17:a4:d0:0b:d8
> > Sending on   LPF/eth0/00:17:a4:d0:0b:d8
> > Listening on LPF/eth1/00:1a:73:28:07:19
> > Sending on   LPF/eth1/00:1a:73:28:07:19
> > Sending on   Socket/fallback
> > DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
> > DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
> > DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 9
> > DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 21
> > DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 15
> > DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
> > No DHCPOFFERS received.
> > No working leases in persistent database - sleeping.
> > cristian@cristian-laptop:~$ 
> > da come lo interpreto io... sembra che trovi degli indirizzi, ma il
> > simpatico Alice gate non gliene assegna nessuno.
> > Grazie dell'aiuto.
> > 
> > Cristian
> > 
> > p.s.: dalla GUI c'è solo la possibilitàdi inserire una chiave WEP e non
> > WPA... l'Alice ha anche la chiave WEP... ho inserito quella.
> > 
> > 



Maggiori informazioni sulla lista glux