Dunque, ho fatto un po' di prove e sono messo cosi:
1) DebianEEE + Wicd + parametri wpa_supplicant del pdf ---> non funziona.
2) Ubuntu EEE (Ubunteee) 8.04.1 + Network Manager + parametri della guida ufficiale di Unibo ---> non funziona.
Ho installato Ubuntu EEE perche' volevo provare la nuova interfaccia NetBook Remix ed anche perche' ho messo 2 giga di ram sull'EEE quindi posso permettermi qualche sfizio in piu'.
Speravo anche si risolvesse tutto invece niente...
Alla fine ho trovato (googlando parecchio) il file PDF che ti allego, nel quale sono spiegati i parametri necessari alla connessione.
Da quando li ho aggiunti al file di configurazione di wpa_supplicant non ho più avuto problemi a connettermi.
Ho seguito la guida che mi hai dato ma purtroppo non si connetteva neanche cosi'. Mi sono segnato un po' di log e piu' in basso te li allego, ma prima vorrei farvi vedere i log di Ubuntu EEE.
In compenso con wicd non sono mai riuscito a farla connettere (networkmanager si azz...). Credo che il problema stia nella gestione del paramentro:
auth=MSCHAPV2
Puo' darsi...in effetti e' un parametro che va impostato, secondo ma guida per Ubuntu 7.10...pero' io in Network Manager l'ho settato e continua a non collegarsi.
Allora dunque, ricapitoliamo...vi spiego come sono messo attualmente...con Ubuntu EEE, Gnome e Network Manager.
Ho seguito le impostazioni di questa guida:
http://www.unibo.it/NR/rdonlyres/A4F030 ... ntu_it.pdf
Ho settato quel che dice li...nome utente (
nome.cognome@studio.unibo.it), password, chiave WPA, autenticazione PEAP e quel coso MSCHAPV2....pero' Network Manager lavora ma non si riesce a connettere.
Questo e' cio' che mi dice syslog tentando di connettermi:
Codice: Seleziona tutto
Oct 24 09:51:51 onosendai NetworkManager: <debug> [1224834711.054257] nm_device_802_11_wireless_get_activation_ap(): Forcing AP 'ALMAWIFI'
Oct 24 09:51:51 onosendai NetworkManager: <info> User Switch: /org/freedesktop/NetworkManager/Devices/ath0 / ALMAWIFI
Oct 24 09:51:51 onosendai NetworkManager: <info> Deactivating device ath0.
Oct 24 09:51:51 onosendai NetworkManager: <info> Device ath0 activation scheduled...
Oct 24 09:51:51 onosendai NetworkManager: <info> Activation (ath0) started...
Oct 24 09:51:51 onosendai NetworkManager: <info> Activation (ath0) Stage 1 of 5 (Device Prepare) scheduled...
Oct 24 09:51:51 onosendai NetworkManager: <info> Activation (ath0) Stage 1 of 5 (Device Prepare) started...
Oct 24 09:51:51 onosendai NetworkManager: <info> Activation (ath0) Stage 2 of 5 (Device Configure) scheduled...
Oct 24 09:51:51 onosendai NetworkManager: <info> Activation (ath0) Stage 1 of 5 (Device Prepare) complete.
Oct 24 09:51:51 onosendai NetworkManager: <info> Activation (ath0) Stage 2 of 5 (Device Configure) starting...
Oct 24 09:51:51 onosendai NetworkManager: <info> Activation (ath0/wireless): access point 'ALMAWIFI' is encrypted, but NO valid key exists. New key needed.
Oct 24 09:51:51 onosendai NetworkManager: <info> Activation (ath0) New wireless user key requested for network 'ALMAWIFI'.
Oct 24 09:51:51 onosendai NetworkManager: <info> Activation (ath0) Stage 2 of 5 (Device Configure) complete.
Oct 24 09:52:19 onosendai NetworkManager: <info> Activation (ath0) New wireless user key for network 'ALMAWIFI' received.
Oct 24 09:52:19 onosendai NetworkManager: <info> Activation (ath0) Stage 1 of 5 (Device Prepare) scheduled...
Oct 24 09:52:19 onosendai NetworkManager: <info> Activation (ath0) Stage 1 of 5 (Device Prepare) started...
Oct 24 09:52:19 onosendai NetworkManager: <info> Activation (ath0) Stage 2 of 5 (Device Configure) scheduled...
Oct 24 09:52:19 onosendai NetworkManager: <info> Activation (ath0) Stage 1 of 5 (Device Prepare) complete.
Oct 24 09:52:19 onosendai NetworkManager: <info> Activation (ath0) Stage 2 of 5 (Device Configure) starting...
Oct 24 09:52:19 onosendai NetworkManager: <info> Activation (ath0/wireless): access point 'ALMAWIFI' is encrypted, and a key exists. No new key needed.
Oct 24 09:52:20 onosendai NetworkManager: <info> SUP: sending command 'INTERFACE_ADD ath0^I^Imadwifi^I/var/run/wpa_supplicant0^I'
Oct 24 09:52:20 onosendai NetworkManager: <info> SUP: response was 'OK'
Oct 24 09:52:20 onosendai NetworkManager: <info> SUP: sending command 'AP_SCAN 1'
Oct 24 09:52:20 onosendai NetworkManager: <info> SUP: response was 'OK'
Oct 24 09:52:20 onosendai NetworkManager: <info> SUP: sending command 'ADD_NETWORK'
Oct 24 09:52:20 onosendai NetworkManager: <info> SUP: response was '0'
Oct 24 09:52:20 onosendai NetworkManager: <info> SUP: sending command 'SET_NETWORK 0 ssid 414c4d4157494649'
Oct 24 09:52:20 onosendai NetworkManager: <info> SUP: response was 'OK'
Oct 24 09:52:20 onosendai NetworkManager: <info> SUP: sending command 'SET_NETWORK 0 proto WPA'
Oct 24 09:52:20 onosendai NetworkManager: <info> SUP: response was 'OK'
Oct 24 09:52:20 onosendai NetworkManager: <info> SUP: sending command 'SET_NETWORK 0 key_mgmt WPA-EAP'
Oct 24 09:52:20 onosendai NetworkManager: <info> SUP: response was 'OK'
Oct 24 09:52:20 onosendai NetworkManager: <info> SUP: sending command 'SET_NETWORK 0 phase2 "auth=MSCHAPV2"'
Oct 24 09:52:20 onosendai NetworkManager: <info> SUP: response was 'OK'
Oct 24 09:52:20 onosendai NetworkManager: <info> SUP: sending command 'SET_NETWORK 0 eap PEAP'
Oct 24 09:52:20 onosendai NetworkManager: <info> SUP: response was 'OK'
Oct 24 09:52:20 onosendai NetworkManager: <info> SUP: sending command 'SET_NETWORK 0 identity "nome.cognome@studio.unibo.it"'
Oct 24 09:52:20 onosendai NetworkManager: <info> SUP: response was 'OK'
Oct 24 09:52:20 onosendai NetworkManager: <info> SUP: sending command 'SET_NETWORK 0 password <password>'
Oct 24 09:52:20 onosendai NetworkManager: <info> SUP: response was 'OK'
Oct 24 09:52:20 onosendai NetworkManager: <info> SUP: sending command 'SET_NETWORK 0 fragment_size 1300'
Oct 24 09:52:20 onosendai NetworkManager: <info> SUP: response was 'OK'
Oct 24 09:52:20 onosendai NetworkManager: <info> SUP: sending command 'ENABLE_NETWORK 0'
Oct 24 09:52:20 onosendai NetworkManager: <info> SUP: response was 'OK'
Oct 24 09:52:20 onosendai NetworkManager: <info> Activation (ath0) Stage 2 of 5 (Device Configure) complete.
Oct 24 09:52:22 onosendai kernel: [ 604.176950] ADDRCONF(NETDEV_CHANGE): ath0: link becomes ready
Oct 24 09:52:22 onosendai NetworkManager: <info> Supplicant state changed: 1
Oct 24 09:52:22 onosendai NetworkManager: <info> Activation (ath0/wireless) Stage 2 of 5 (Device Configure) successful. Connected to access point 'ALMAWIFI'.
Oct 24 09:52:22 onosendai NetworkManager: <info> Activation (ath0) Stage 3 of 5 (IP Configure Start) scheduled.
Oct 24 09:52:22 onosendai NetworkManager: <info> Activation (ath0) Stage 3 of 5 (IP Configure Start) started...
Oct 24 09:52:23 onosendai avahi-daemon[4960]: Registering new address record for fe80::215:afff:fe78:d2b5 on ath0.*.
Oct 24 09:52:24 onosendai NetworkManager: <info> Activation (ath0) Beginning DHCP transaction.
Oct 24 09:52:24 onosendai NetworkManager: <info> Activation (ath0) Stage 3 of 5 (IP Configure Start) complete.
Oct 24 09:52:24 onosendai NetworkManager: <info> DHCP daemon state is now 12 (successfully started) for interface ath0
Oct 24 09:52:24 onosendai dhclient: wifi0: unknown hardware address type 801
Oct 24 09:52:24 onosendai avahi-autoipd(ath0)[6582]: Got SIGTERM, quitting.
Oct 24 09:52:24 onosendai avahi-autoipd(ath0)[6582]: Callout STOP, address 169.254.9.173 on interface ath0
Oct 24 09:52:24 onosendai avahi-autoipd(ath0)[6583]: client: RTNETLINK answers: Cannot assign requested address
Oct 24 09:52:24 onosendai avahi-autoipd(ath0)[6583]: Script execution failed with return value 2
Oct 24 09:52:26 onosendai NetworkManager: <info> DHCP daemon state is now 1 (starting) for interface ath0
Oct 24 09:52:26 onosendai dhclient: wifi0: unknown hardware address type 801
Oct 24 09:52:27 onosendai NetworkManager: <info> Old device 'ath0' activating, won't change.
Oct 24 09:52:30 onosendai dhclient: DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 8
Oct 24 09:52:32 onosendai kernel: [ 607.778107] ath0: no IPv6 routers present
Oct 24 09:52:38 onosendai dhclient: DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 12
Oct 24 09:52:50 onosendai dhclient: DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 11
Oct 24 09:53:01 onosendai dhclient: No DHCPOFFERS received.
Oct 24 09:53:01 onosendai avahi-autoipd(ath0)[6897]: Found user 'avahi-autoipd' (UID 105) and group 'avahi-autoipd' (GID 113).
Oct 24 09:53:01 onosendai avahi-autoipd(ath0)[6897]: Successfully called chroot().
Oct 24 09:53:01 onosendai avahi-autoipd(ath0)[6897]: Successfully dropped root privileges.
Oct 24 09:53:01 onosendai avahi-autoipd(ath0)[6897]: Starting with address 169.254.9.173
Oct 24 09:53:05 onosendai avahi-autoipd(ath0)[6897]: Callout BIND, address 169.254.9.173 on interface ath0
Oct 24 09:53:05 onosendai avahi-daemon[4960]: Joining mDNS multicast group on interface ath0.IPv4 with address 169.254.9.173.
Oct 24 09:53:05 onosendai avahi-daemon[4960]: New relevant interface ath0.IPv4 for mDNS.
Oct 24 09:53:05 onosendai avahi-daemon[4960]: Registering new address record for 169.254.9.173 on ath0.IPv4.
Oct 24 09:53:09 onosendai avahi-autoipd(ath0)[6897]: Successfully claimed IP address 169.254.9.173
Oct 24 09:53:09 onosendai NetworkManager: <info> DHCP daemon state is now 9 (fail) for interface ath0
Oct 24 09:53:09 onosendai NetworkManager: <info> Activation (ath0) Stage 4 of 5 (IP Configure Timeout) scheduled...
Oct 24 09:53:09 onosendai NetworkManager: <info> Activation (ath0) Stage 4 of 5 (IP Configure Timeout) started...
Oct 24 09:53:09 onosendai NetworkManager: <info> Activation (ath0) failure scheduled...
Oct 24 09:53:09 onosendai NetworkManager: <info> Activation (ath0) Stage 4 of 5 (IP Configure Timeout) complete.
Oct 24 09:53:09 onosendai dhcdbd: Unrequested down ?:3
Oct 24 09:53:09 onosendai NetworkManager: <info> DHCP daemon state is now 14 (normal exit) for interface ath0
Oct 24 09:53:09 onosendai NetworkManager: <info> Activation (ath0) failed for access point (ALMAWIFI)
Oct 24 09:53:09 onosendai NetworkManager: <info> Activation (ath0) failed.
Oct 24 09:53:09 onosendai NetworkManager: <info> Deactivating device ath0.
Oct 24 09:53:10 onosendai avahi-daemon[4960]: Withdrawing address record for 169.254.9.173 on ath0.
Oct 24 09:53:10 onosendai avahi-daemon[4960]: Leaving mDNS multicast group on interface ath0.IPv4 with address 169.254.9.173.
Oct 24 09:53:10 onosendai avahi-daemon[4960]: Interface ath0.IPv4 no longer relevant for mDNS.
Oct 24 09:53:10 onosendai avahi-daemon[4960]: Withdrawing address record for fe80::215:afff:fe78:d2b5 on ath0.
Ovviamente al posto della riga:
Oct 24 09:52:20 onosendai NetworkManager: <info> SUP: sending command 'SET_NETWORK 0 identity "
nome.cognome@studio.unibo.it"'
c'e' il mio vero nome e cognome, che preferisco non scrivere qui per ovvi motivi.
Quindi bho.
In base alla mia ignoranza mi sembrerebbe che il problema possa essere relativo al DHCP ed all'assegnazione dell'IP, piu' o meno in queste righe:
Codice: Seleziona tutto
Oct 24 09:53:09 onosendai avahi-autoipd(ath0)[6897]: Successfully claimed IP address 169.254.9.173
Oct 24 09:53:09 onosendai NetworkManager: <info> DHCP daemon state is now 9 (fail) for interface ath0
Oct 24 09:53:09 onosendai NetworkManager: <info> Activation (ath0) Stage 4 of 5 (IP Configure Timeout) scheduled...
Oct 24 09:53:09 onosendai NetworkManager: <info> Activation (ath0) Stage 4 of 5 (IP Configure Timeout) started...
Oct 24 09:53:09 onosendai NetworkManager: <info> Activation (ath0) failure scheduled...
Oct 24 09:53:09 onosendai NetworkManager: <info> Activation (ath0) Stage 4 of 5 (IP Configure Timeout) complete.
Ma magari mi sbaglio.
A voi cosa sembra?
C'e' qualche altro Log che posso raccogliere e farvi vedere?
Non ho trovato altre informazioni tranne queste...ad ogni modo mi pare assurdo continuare a non riuscimi a connettere neppure con Ubuntu 8.04.1, nonostante sia esplicitamente citato nella guida dell'Unibo.
Sono mesi che provo a connettermi e non ci sono mai riuscito.
Ah, gia' che ci sono, questo e' cio' che mi diceva il Network Restart, sotto Debian:
Codice: Seleziona tutto
onosendai:~# /etc/init.d/networking restart
Reconfiguring network interfaces...There is already a pid file /var/run/dhclient.ath0.pid with pid 1916
removed stale PID file
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/ath0/00:15:af:78:d2:b5
Sending on LPF/ath0/00:15:af:78:d2:b5
Sending on Socket/fallback
DHCPRELEASE on ath0 to 192.168.0.1 port 67
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
wifi0: unknown hardware address type 801
SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
wifi0: unknown hardware address type 801
Bind socket to interface: No such device
Failed to bring up eth0.
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/ath0/00:15:af:78:d2:b5
Sending on LPF/ath0/00:15:af:78:d2:b5
Sending on Socket/fallback
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 7
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
if-up.d/mountnfs[ath0]: waiting for interface eth0 before doing NFS mounts (warning).
done.
Anche in quel caso mi sembrava un problema di DHCP ed IP...ma magari mi sbaglio...
Questo e' l'output di Iwlist....e' un po' strano perche' risultano 2 interfacce wireless, ma non credo che sia un problema:
Codice: Seleziona tutto
lo no wireless extensions.
wifi0 no wireless extensions.
ath0 IEEE 802.11g ESSID:"" Nickname:""
Mode:Managed Frequency:2.472 GHz Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power:17 dBm Sensitivity=1/1
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=0/70 Signal level=-103 dBm Noise level=-103 dBm
Rx invalid nwid:227 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Ho anche il file interfaces ed il wpa_supplicant_conf che avevo provato sotto DebianEEE ma non credo vi possano interessare, tanto seguono la guida che mi ha linkato 414N.
Bon.
Non ho altri dati da passarvi...spero sappiate aiutarmi....domattina e venerdi' sarei di nuovo in facolta' e potrei fare un po' di test.
Grazie!
p.s. ma non c'e' qualcuno dell'ateneo o dei laboratori a cui posso andare a chiedere?