[maemo-developers] WPA? Re: WLAN connectivity using only wireless-tools
From: Frantisek Dufka dufkaf at seznam.czDate: Mon Oct 29 11:37:08 EET 2007
- Previous message: Regarding Enabling of USB on restart of NokiaN800
- Next message: Maemo localization to officially non-supported languages
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Kalle Valo wrote:
>> I don't see any PSM lines for example, while with the ITOS I do.
>
> Yeah, you have to enable PSM with the power iwconfig parameter.
> Otherwise PSM is disabled.
>
Interestingly this parameter need values less than 1 for sensible
timeout, something like "iwconfig wlan0 power timeout 0.0002" gives me 200ms
Yesterday I tried to bring up wireless via wireless-tools too but it
looks like it doesn't support WPA-PSK at all. It this correct? How the
system does it anyway?
Then I tried to compile latest (v0.5.8) wpa_supplicant with just
CONFIG_DRIVER_WEXT=y
CONFIG_WIRELESS_EXTENSION=y
but when run on 770 with simple
network={
ssid="myssid"
scan_ssid=1
key_mgmt=WPA-PSK
psk="very secret passphrase"
}
it prints two pages of scanning output but then segfaults and causes
kernel to crash inside wlan driver.
[45362.203674] CX3110x: MAC address ....
[45366.735626] Scan complete, scanned 13 channels
[45371.795043] Unable to handle kernel paging request at virtual address
ffffffbc
[45371.795166] pgd = c3ed4000
[45371.795196] [ffffffbc] *pgd=10002031, *pte=00000000, *ppte=00000000
[45371.795318] Internal error: Oops: 17 [#1]
[45371.795379] Modules linked in: bnep cx3110x umac ext3 jbd mbcache
[45371.795501] CPU: 0
[45371.795562] PC is at wireless_process_ioctl+0x3bc/0x7bc
[45371.795654] LR is at __init_begin+0x3fff8000/0x2c
[45371.795745] pc : [<c01b37bc>] lr : [<00000000>] Tainted: P
[45371.795776] sp : c1107e00 ip : c02afc20 fp : 00000000
[45371.795898] r10: c3f8a800 r9 : c1107ec8 r8 : c0218f80
[45371.795959] r7 : 00000000 r6 : 00000000 r5 : 00000000 r4 : 00000000
[45371.796051] r3 : 00000000 r2 : 00000001 r1 : c02afc00 r0 : 00000000
[45371.796142] Flags: nZCv IRQs on FIQs on Mode SVC_32 Segment user
[45371.796234] Control: 5317F Table: 13ED4000 DAC: 00000015
[45371.796295] Process wpa_supplicant (pid: 2307, stack limit = 0xc11061a0)
[45371.796386] Stack: (0xc1107e00 to 0xc1108000)
...
Is there any way how to make WPA running from command line?
I was actually trying to do it early on boot from initfs
as per comment #7, http://bugs.maemo.org/show_bug.cgi?id=2006
so I have whole memory free. Looks like I really need to downgrade
security on my router to attach to it from command line?
Frantisek
- Previous message: Regarding Enabling of USB on restart of NokiaN800
- Next message: Maemo localization to officially non-supported languages
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
