wpa_supplicant nem indul, mert nincs is

Fórumok

Na, megeccer beirom az egeszet, mert ez a szar elvesztette... (ketszer is) :(

Szal debian sid ala probalom egy Dell Inspiron 6400-ra beizzitani a wifi-t. A Hupwiki leirasat probaltam kovetni,
ndiswrapperrel fel is installatam a drivert, es minden jel szerint szepen muxik is:
-a



mushu:~# lsmod | grep ndiswrapper
ndiswrapper           169500  0
usbcore               117576  5 ndiswrapper,usbhid,ehci_hcd,uhci_hcd


mushu:~# ndiswrapper -l
bcmwl5 : driver installed
        device (14E4:4311) present (alternate driver: bcm43xx)

Csak egy a baj: a wpa_supplicant mar nem ugy muxik, ahogy a leirasban, ugyanis az ifupd resze lett. Installalas kozben se hozza letre:


mushu:~# apt-get install wpasupplicant

...

Beállítás: wpasupplicant (0.6.0-2) ...
 Removing any system startup links for /etc/init.d/wpasupplicant ...

Az "uj" modszerre meg sehol se talaltam leirast. Sebaj, probaljuk a regivel. Egyre tobb furcsasag:


mushu:~# ifconfig eth2

eth2      Link encap:Ethernet  HWaddr 00:19:7D:8C:8C:D3
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:16 Memory:efdfc000-efe00000

eth2 a wireless:


mushu:~# iwconfig

eth2      IEEE 802.11g  ESSID:off/any
          Mode:Managed  Frequency:2.462 GHz  Access Point: Not-Associated
          Bit Rate:54 Mb/s   Tx-Power:32 dBm
          RTS thr:2347 B   Fragment thr:2346 B
          Encryption key:210E-ECE7-16FA-287C-B5C3-85C2-3360-8921-43DC-2D8C-37FF-F645-D7B0-5404-D0CB-C696   Security mode:restricted
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

letrehoztam /etc/wpa_supplicant.conf -ot:


mushu:~# cat /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1

network={
    ssid="otthonirouter"
    proto=WPA
    key_mgmt=WPA-PSK
    pairwise=TKIP
    group=TKIP
    psk=210EECE716FA287CB5C385C23360892143DC2D8C37FFF645D7B05404D0CBC696

De ha tesztelni akarom, nem talal semmit se (az elso hozzaszolasba irom, mert ide mar nem engedi lol azaz ide se, mert vmi miatt forbiddent dob, gondolom van benne egy sor, amit a drupal nem szeret.):

/etc/network/interfaces tartalma (csak az ide vonatkozo resz):



allow-hotplug eth2
iface eth2 inet static
    address 192.168.0.4
    netmask 255.255.255.0
     gateway 192.168.0.1
    dns-nameservers 192.168.0.1
    wpa-driver ndiswrapper
    wpa-ssid otthonirouter
    wpa-psk 210EECE716FA287CB5C385C23360892143DC2D8C37FFF645D7B05404D0CBC696

Nem ertem, mia hiba. Tud vki segiteni?
Elore is thx.

Hozzászólások

UP

-------------------------------------

|^^^^^^^^^^^^^^^| ||
|...BEER TRUCK..........| ||'|";, ___.
|_..._..._______===|=||_|__|......, ] -
"(@)'(@)"""**|(@)(@)*** **''(@)

Jo dolog, hogy itt segitgetek magamnak, no mind1.
Szal a helyzet, hogy debian etch es sid alatt a karbantartok elb@sztak a wpasupplicant csomagot, nincsenek hozza initscript indito fajlok. Sarge-bol kell felrakni, ott meg van.
-------------------------------------

|^^^^^^^^^^^^^^^| ||
|...BEER TRUCK..........| ||'|";, ___.
|_..._..._______===|=||_|__|......, ] -
"(@)'(@)"""**|(@)(@)*** **''(@)

miért nem lenne?

/etc/wpa_supplicant alatt vannak, csak meg kellene nézni. Én is etch-et haszálok és minden gond nélkül megy. Semmilyen hackelés nélkül.

Nekem mindig igazam van, ha nem, akkor nincs igazam, szoval megint igazam van hogy nincs igazam.

debian 4.0 - linux-2.6.22-pancs1-wifi0 - 2.6.22 kernel madwifivel itt

ha egyszer már megcsináltad a wpa_supplicant.conf-ot akkor az interfaces fileba már nem kell beleírni

/etc/wpa_supplicant/wpa_suppllicant.conf:


# WPA-PSK/TKIP

ctrl_interface=/var/run/wpa_supplicant

network={
	ssid="inet@home"
	scan_ssid=1
	key_mgmt=WPA-PSK
	proto=WPA2
	pairwise=TKIP
	group=TKIP
	psk="a_jelszó_ami_van"
}

/etc/network/interfaces:


auto ath0
iface ath0 inet dhcp
	#wpa-driver wext
	wpa-driver madwifi
	wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

a hw-beállításokat meg értelemszerüen kell kicsrélni

Nekem mindig igazam van, ha nem, akkor nincs igazam, szoval megint igazam van hogy nincs igazam.

debian 4.0 - linux-2.6.22-pancs1-wifi0 - 2.6.22 kernel madwifivel itt

Nem irtam bele, akkor se indul el.
Amugy az az erzesem, hogy vmi a driverrel nem stimmel, mert boot kozben vmi olyat ir ki, hogy nem tudja a driverben bekapcsolni a WPA-t.
Megprobalom az open source driverrel asszem (azzal meg nem probaltam).

A bcm43xx driverrel fel se villan a wifi ikon, szal az nem is hajtja meg.

ndiswrapperrel meg ez a helyzet:

mushu:~# wpa_supplicant -d -ieth2 -c /etc/wpa_supplicant.conf -Dndiswrapper
Initializing interface 'eth2' conf '/etc/wpa_supplicant.conf' driver 'ndiswrapper'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group=0
eapol_version=1
ap_scan=2
fast_reauth=1
Priority group 0
id=0 ssid='otthonirouter'
Initializing interface (2) 'eth2'
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
Own MAC address: 00:19:7d:8c:8c:d3
Failed to enable WPA in the driver.
Failed to disable WPA in the driver.
rmdir[ctrl_interface]: No such file or directory

-------------------------------------

|^^^^^^^^^^^^^^^| ||
|...BEER TRUCK..........| ||'|";, ___.
|_..._..._______===|=||_|__|......, ] -
"(@)'(@)"""**|(@)(@)*** **''(@)

lspci:
0b:00.0 Network controller: Broadcom Corporation Dell Wireless 1390 WLAN Mini-PCI Card (rev 01)

Dell Inspiron 6400-45 -ben leledizk. Imadom, amikor mindenki masnak megy azzal a driverrel, csak nekem nem.

-------------------------------------

|^^^^^^^^^^^^^^^| ||
|...BEER TRUCK..........| ||'|";, ___.
|_..._..._______===|=||_|__|......, ] -
"(@)'(@)"""**|(@)(@)*** **''(@)

http://hup.hu/node/41796

töle kérd el a kernel source-ot amit haszáln, neki elvileg megy vagy huzd le gittel a wireless-dev ágat, ami a stabil 2.6.22-es + wifi driverek


cg-clone git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-dev.git

ezzel mennie kell

Nekem mindig igazam van, ha nem, akkor nincs igazam, szoval megint igazam van hogy nincs igazam.

debian 4.0 - linux-2.6.22-pancs1-wifi0 - 2.6.22 kernel madwifivel itt

WPA-at hagyatam a rakba, mert egyik driver e hajlando vhogy hasznalni.
Mostmar kapcsolodtam a wifi routerhez, sot, mar arrol irok, de sajna csak dhcp-n keresztul, es titkositas nelkul.
Vmit meg most alkotni kell vele.

-------------------------------------

|^^^^^^^^^^^^^^^| ||
|...BEER TRUCK..........| ||'|";, ___.
|_..._..._______===|=||_|__|......, ] -
"(@)'(@)"""**|(@)(@)*** **''(@)

milyen titkosítást haszáltál?

aes || tkip || aes + tkip a wpa-nál, mert valamelyiket nem szereti az tudom

nekem itthon aes+tkip-el megy, amugy milyen AP?

Nekem mindig igazam van, ha nem, akkor nincs igazam, szoval megint igazam van hogy nincs igazam.

debian 4.0 - linux-2.6.22-pancs1-wifi0 - 2.6.22 kernel madwifivel itt

scan_ssid=1 -et rakd be, ubuntu csak ez után látta, ha jól emlékszem, meg a van a wap_cli is amivel online módon tudod baszogatni a beállításokat

Nekem mindig igazam van, ha nem, akkor nincs igazam, szoval megint igazam van hogy nincs igazam.

debian 4.0 - linux-2.6.22-pancs1-wifi0 - 2.6.22 kernel madwifivel itt

Nem a router beallitasait nem latja a driver, hanem azt irja, hogy a driver nem tamogatja a WPA-t
Pedig dmesg szerint kene nekije:


mushu:~# dmesg | grep ndiswrapper
ndiswrapper version 1.47 loaded (smp=yes)
ndiswrapper: driver bcmwl5 (Broadcom,10/12/2006, 4.100.15.5) loaded
ndiswrapper: using IRQ 16
ndiswrapper: changing interface name from 'wlan0' to 'eth2'
usbcore: registered new interface driver ndiswrapper

mushu:~# dmesg | grep wlan0
wlan0: ethernet device 00:19:7d:8c:8c:d3 using NDIS driver: bcmwl5, version: 0x4640f05, NDIS version: 0x501, vendor: 'NDIS Network Adapter', 14E4:4311.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
ndiswrapper: changing interface name from 'wlan0' to 'eth2'

-------------------------------------

|^^^^^^^^^^^^^^^| ||
|...BEER TRUCK..........| ||'|";, ___.
|_..._..._______===|=||_|__|......, ] -
"(@)'(@)"""**|(@)(@)*** **''(@)