Pagina 2 di 2
Re: [wireless]Velocità wi-fi (broadcom)
Inviato: venerdì 11 maggio 2007, 18:56
da farno
metti dhcp + chiave wpa
in questo modo sei abbastanza sicuro e dovresti poter usare network-manager
Re: [wireless]Velocità wi-fi (broadcom)
Inviato: sabato 12 maggio 2007, 12:34
da acidwhisper
il problema è che mi servirebbe l'ip statico!!
cmq metto qui gli errori che mi dà quando lancio il wpa_supplicant,giusto per vedere se qualcuno capisce dov'è l'errore!
acidwhisper@acidwhisper-laptop:~$ sudo wpa_supplicant -dd -c/etc/wpa_supplicant.conf -ieth1 -Dwext
Codice: Seleziona tutto
Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
Line: 1 - start of a new network block
ssid - hexdump_ascii(len=9):
4b 61 7a 7a 69 4d 69 65 69 KazziMiei
PSK - hexdump(len=32): [REMOVED]
Priority group 0
id=0 ssid='KazziMiei'
Initializing interface (2) 'eth1'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCGIWRANGE: WE(compiled)=21 WE(source)=18 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:14:a5:67:07:f3
wpa_driver_wext_set_wpa
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
wpa_driver_wext_set_drop_unencrypted
Setting scan request: 0 sec 100000 usec
Added interface eth1
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Trying to get current scan results first without requesting a new scan to speed up initial association
Received 509 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 0
0: 00:0c:f6:27:7d:d1 ssid='KazziMiei' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
selected based on WPA IE
Trying to associate with 00:0c:f6:27:7d:d1 (SSID='KazziMiei' freq=2462 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
WPA: set AP WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
wpa_driver_wext_set_drop_unencrypted
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_associate
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
Wireless event: cmd=0x8b04 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
Wireless event: cmd=0x8b1a len=17
RX EAPOL from 00:0c:f6:27:7d:d1
RX EAPOL - hexdump(len=99): 01 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 04 1e 65 dc bf 7f 4e f4 ea 97 7c aa a1 f9 ba 4c 97 c0 ee 31 28 76 46 c7 db 03 55 9d b4 7a cd e0 d2 41 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Setting authentication timeout: 10 sec 0 usec
IEEE 802.1X RX: version=1 type=3 length=95
EAPOL-Key type=254
key_info 0x89 (ver=1 keyidx=0 rsvd=0 Pairwise Ack)
key_length=32 key_data_length=0
replay_counter - hexdump(len=8): 00 00 00 00 00 00 04 1e
key_nonce - hexdump(len=32): 65 dc bf 7f 4e f4 ea 97 7c aa a1 f9 ba 4c 97 c0 ee 31 28 76 46 c7 db 03 55 9d b4 7a cd e0 d2 41
key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
WPA: RX EAPOL-Key - hexdump(len=99): 01 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 04 1e 65 dc bf 7f 4e f4 ea 97 7c aa a1 f9 ba 4c 97 c0 ee 31 28 76 46 c7 db 03 55 9d b4 7a cd e0 d2 41 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
State: ASSOCIATING -> 4WAY_HANDSHAKE
WPA: RX message 1 of 4-Way Handshake from 00:0c:f6:27:7d:d1 (ver=1)
WPA: Renewed SNonce - hexdump(len=32): 05 d9 6a 0a 07 e3 a4 15 f3 67 fb 08 05 2d a0 20 c1 2b 3f 41 18 66 48 54 ee 83 92 45 cf 1b c1 ea
WPA: PMK - hexdump(len=32): [REMOVED]
WPA: PTK - hexdump(len=64): [REMOVED]
WPA: WPA IE for msg 2/4 - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
WPA: Sending EAPOL-Key 2/4
WPA: Use BSSID (00:0c:f6:27:7d:d1) as the destination for EAPOL-Key
WPA: TX EAPOL-Key - hexdump(len=123): 01 03 00 77 fe 01 09 00 20 00 00 00 00 00 00 04 1e 05 d9 6a 0a 07 e3 a4 15 f3 67 fb 08 05 2d a0 20 c1 2b 3f 41 18 66 48 54 ee 83 92 45 cf 1b c1 ea 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0 7b 27 55 dd a1 b9 e7 cd ea d4 57 5d 25 19 a7 00 18 dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
RX EAPOL from 00:0c:f6:27:7d:d1
RX EAPOL - hexdump(len=99): 01 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 04 1f 78 5c 42 73 23 85 cc f0 e7 ca 33 56 bd 53 b7 9e ba 55 21 c5 be f5 d6 97 20 9f a3 d8 db 2b ed 18 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e continua così ripetendosi all'infinito..

Re: [wireless]Velocità wi-fi (broadcom)
Inviato: sabato 12 maggio 2007, 12:57
da farno
e allora togli il wpa...
un esterno per connettersi deve "indovinare" il tuo indirizzo
Re: [wireless]Velocità wi-fi (broadcom)
Inviato: sabato 12 maggio 2007, 13:42
da acidwhisper
farno ha scritto:
e allora togli il wpa...
un esterno per connettersi deve "indovinare" il tuo indirizzo
hai ragione su questo ma alla fine i gateway dei router sono quasi sempre riconoscibili,basta fare una prova...
ora sono connesso wireless tramite wlassistant con ip statico
ho impostato il MAC address...giusto per avere un minimo di protezione
ora provo ad impostare la chiave wep anche se ancora non ho capito se supporta quella a 64 o 128 ???
boh proverò e ti faccio sapere!
cmq spero per il futuro che si riesca ad implementare una buona funzionalità wpa sul networkmanager che permetta anche l'ip statico!
Re: [wireless]Velocità wi-fi (broadcom)
Inviato: sabato 12 maggio 2007, 13:58
da farno
credo che questo è uno degli obiettivi principali sullo sviluppo di network-manager
Re: [wireless]Velocità wi-fi (broadcom)
Inviato: sabato 12 maggio 2007, 14:30
da acidwhisper
cmq una cosa che mi innervosisce parecchio è che prima con fwcutter riuscivo ad utilizzare il wpa!
ora non sò perchè ma non ne vuole sapere!
rettifico quello che ho detto prima non si connette in nessun modo con ip statico nè con wl assistant nè in maniera manuale!
mio dio che mal di testa!
sono tre giorni che gli stò dietro e non sono riuscito a venirne fuori!
quasi quasi torno a fwcutter e rimando a tempi migliori il contratto a 20 mega!

Re: [wireless]Velocità wi-fi (broadcom)
Inviato: sabato 12 maggio 2007, 16:22
da AleXit
Scusate se mi intrometto:
Utilizzare ip statici + wpasupplicant è una cosa più che fattibile.
Anzi io di solito consiglio ip statici al posto del dhcp anche perchè si velocizza l'avvio della connessione (non è necessario richiedere ogni volta un ip al router...).
Dall'output che riporti di wpasupplicant, sembra tutto ok e non dovresti aver particolari problemi.
Se hai seguito il wiki di wpasupplicant, dovresti aver configurato correttamente /etc/network/interfaces e /etc/wpa_supplicant.conf
Postali qua che controlliamo

Re: [wireless]Velocità wi-fi (broadcom)
Inviato: sabato 12 maggio 2007, 17:05
da acidwhisper
questi sono gli output,come dicevo con fwcutter andava tutto bene
Codice: Seleziona tutto
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
auto eth0
iface eth0 inet static
address 192.168.0.101
netmask 255.255.255.0
gateway 192.168.0.1
auto eth1
iface eth1 inet static
address 192.168.0.101
netmask 255.255.255.0
gateway 192.168.0.1
wireless-essid KazziMiei
wireless-channel 11
wireless-mode managed
Codice: Seleziona tutto
network={
ssid="KazziMiei"
#psk="xxxxxxxxxxx"
psk=ecabc851bc8532e8a2b3bf2de7b635a5c6f854cd64a44cb2d7a9f46abc1529c8
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
}
Re: [wireless]Velocità wi-fi (broadcom)
Inviato: sabato 12 maggio 2007, 17:13
da AleXit
Beh come riportato nella guida di wpasupplicant, ti mancano le 2 righe per far partire il wpa-supplicant con l'interfaccia (eth1), ovvero:
Re: [wireless]Velocità wi-fi (broadcom)
Inviato: sabato 12 maggio 2007, 17:48
da acidwhisper
AleXit ha scritto:
Beh come riportato nella guida di wpasupplicant, ti mancano le 2 righe per far partire il wpa-supplicant con l'interfaccia (eth1), ovvero:
niente da fare non và...
cmq le due righe neanche ai tempi di fwcutter le avevo messe e cmq si connetteva lo stesso!
>:( >:(
qualche altra idea AleXit??
Re: [wireless]Velocità wi-fi (broadcom)
Inviato: sabato 12 maggio 2007, 17:55
da AleXit
Allora, io proverei a commentare tutte le interfacce che non usi (in particolare hanno lo stesso ip, questo può dare problemi). e utilizzare una configurazione del tipo:
Codice: Seleziona tutto
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
#auto eth0
#iface eth0 inet static
#address 192.168.0.101
#netmask 255.255.255.0
#gateway 192.168.0.1
auto eth1
iface eth1 inet static
address 192.168.0.101
netmask 255.255.255.0
gateway 192.168.0.1
wireless-essid KazziMiei
wireless-channel 11
wireless-mode managed
wpa-driver wext
wpa-conf /etc/wpa_supplicant.conf
poi fai un bel
e in caso ci siano ancora problemi, postami sia il risultato del comando appena dato, sia quello di iwpriv
Re: [wireless]Velocità wi-fi (broadcom)
Inviato: sabato 12 maggio 2007, 18:07
da acidwhisper
niente neanche questa volta
ecco qui i codici
Codice: Seleziona tutto
acidwhisper@acidwhisper-laptop:~$ sudo /etc/init.d/networking restart
* Reconfiguring network interfaces... Ignoring unknown interface eth0=eth0.
[ OK ]
Codice: Seleziona tutto
acidwhisper@acidwhisper-laptop:~$ iwpriv
lo no private ioctls.
eth0 no private ioctls.
eth1 Available private ioctls :
ndis_reset (8BF0) : set 0 & get 0
power_profile (8BF1) : set 1 int & get 0
network_type (8BF2) : set 1 char & get 0
usb_reset (8BF3) : set 0 & get 0
media_stream (8BF4) : set 1 int & get 0
set_encr_mode (8BF5) : set 1 int & get 0
set_auth_mode (8BF6) : set 1 int & get 0
reload_defaults (8BF7) : set 0 & get 0
Re: [wireless]Velocità wi-fi (broadcom)
Inviato: sabato 12 maggio 2007, 18:11
da AleXit
Scusa ho sbagliato. non volevo iwpriv, ma iwconfig
Re: [wireless]Velocità wi-fi (broadcom)
Inviato: sabato 12 maggio 2007, 18:23
da acidwhisper
ecco
Codice: Seleziona tutto
acidwhisper@acidwhisper-laptop:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
eth1 IEEE 802.11g ESSID:"KazziMiei"
Mode:Managed Frequency:2.462 GHz Access Point: 00:0C:F6:27:7D:D1
Bit Rate=48 Mb/s Tx-Power:32 dBm
RTS thr=2347 B Fragment thr=2346 B
Power Management:off
Link Quality:100/100 Signal level:-17 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Re: [wireless]Velocità wi-fi (broadcom)
Inviato: sabato 12 maggio 2007, 18:27
da AleXit
Beh direi che ha funzionato! Sei correttamente associato all'access point, infatti è apparso il suo indirizzo mac.
Ora dovresti essere in grado di pingare il gateway (almeno)
Re: [wireless]Velocità wi-fi (broadcom)
Inviato: sabato 12 maggio 2007, 18:29
da acidwhisper
AleXit ha scritto:
Beh direi che ha funzionato! Sei correttamente associato all'access point, infatti è apparso il suo indirizzo mac.
Ora dovresti essere in grado di pingare il gateway (almeno)
questo lo pensavo anche io infatti ho fatto le prove...
Codice: Seleziona tutto
acidwhisper@acidwhisper-laptop:~$ ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
From 192.168.0.101 icmp_seq=1 Destination Host Unreachable
From 192.168.0.101 icmp_seq=2 Destination Host Unreachable
From 192.168.0.101 icmp_seq=3 Destination Host Unreachable
From 192.168.0.101 icmp_seq=4 Destination Host Unreachable
From 192.168.0.101 icmp_seq=5 Destination Host Unreachable
From 192.168.0.101 icmp_seq=6 Destination Host Unreachable
Codice: Seleziona tutto
acidwhisper@acidwhisper-laptop:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
link-local * 255.255.0.0 U 1000 0 0 eth1
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth1
capisci perchè stò ammattendo? >:(
Re: [wireless]Velocità wi-fi (broadcom)
Inviato: domenica 13 maggio 2007, 15:30
da acidwhisper
forse ho risolto!
oggi ho fatto le stesse identiche cose di ieri e si è connesso... :-\
boh! cmq prima di mettere la tag [risolto] aspetto un pò e faccio qualche altra prova

Re: [wireless]Velocità wi-fi (broadcom)[RISOLTO]
Inviato: domenica 13 maggio 2007, 15:34
da acidwhisper
grazie a tutti per il supporto!
se passate da milano contattatemi che un paio di birre non ve le leva nessuno!
(b2b) (good)

Re: [wireless]Velocità wi-fi (broadcom)[RISOLTO]
Inviato: domenica 13 maggio 2007, 15:46
da AleXit
Ottimo!! (b2b)
ps: Con tutte le birre che mi hanno promesso ultimamente, credo che presto sarò un alcolizzato (più di quanto non sia già

)