wpa v debiane

Sekcia: Konfigurácia 04.09.2007 | 19:32
laco   Návštevník
zdravim

snazim sa rozbehat pripojenie cez wpa na debiane etch
sietovku mam rozbehanu cez madwifi - wireless siete vidim v pohode

mam nainstalovane wireless-tools aj wpa_supplicant

pripajat sa snazim cez

#ifup ath0

v /etc/network/interfaces je

iface ath0 inet dhcp
pre-up /sbin/wpa_supplicant -D madwifi -i ath0 -c /etc/wpa_supplicant/wpa_supplicant.conf -B -dd

v konfiguraku wpa_supplicantu je

/etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1

network={
scan_ssid=0
ssid="net"
proto=WPA2
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
psk=605dcaa626548dbe8c4bfcb1b682bef06e147254c7724551bd0905d70df80dfc
}

psk som dostal cez wpa_password SSID password

no a ked sa pokusim o pripojenie dostanem

Initializing interface 'ath0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'madwifi' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group='0' (DEPRECATED)
eapol_version=1
ap_scan=1
fast_reauth=1
Line: 17 - start of a new network block
scan_ssid=0 (0x0)
ssid - hexdump_ascii(len=7):
6f 70 74 69 6e 65 74 net
proto: 0x2
key_mgmt: 0x2
pairwise: 0x18
group: 0x1e
PSK - hexdump(len=32): [REMOVED]
Priority group 0
id=0 ssid='net'
Initializing interface (2) 'ath0'
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)=22 WE(source)=13 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:15:af:12:df:40
wpa_driver_madwifi_del_key: keyidx=0
wpa_driver_madwifi_del_key: keyidx=1
wpa_driver_madwifi_del_key: keyidx=2
wpa_driver_madwifi_del_key: keyidx=3
wpa_driver_madwifi_set_countermeasures: enabled=0
wpa_driver_madwifi_set_drop_unencrypted: enabled=1
RSN: flushing PMKID list in the driver
Setting scan request: 0 sec 100000 usec
Using existing control interface directory.
ctrl_interface_group=0
ctrl_iface bind(PF_UNIX) failed: Address already in use
ctrl_iface exists, but does not allow connections - assuming it was leftover from forced program termination
Successfully replaced leftover ctrl_iface socket '/var/run/wpa_supplicant/ath0'
Added interface ath0
Daemonize..

no a potom uz sa iba dhclient marne snazi dostat ip ...

ak by niekto vedel pomoct bol by som vdacny, mne uz dosli napady
    • Re: wpa v debiane 07.09.2007 | 22:56
      laco   Návštevník
      skus to takto

      #/etc/wpa_supplicant.conf
      ctrl_interface=/var/run/wpa_supplicant
      ctrl_interface_group=0
      eapol_version=1
      #ap_scan=0
      fast_reauth=1


      network={
      scan_ssid=1
      ssid="net"
      proto=WPA
      key_mgmt=WPA-PSK
      psk=605dcaa626548dbe8c4bfcb1b682bef06e147254c7724551bd0905d70df80dfc
      }
      • Re: wpa v debiane 07.09.2007 | 22:56
        laco   Návštevník
        super pomohlo, dik