A13 OLINUX WIFI and WPA association (wpa_supplicant)

Started by anra, August 08, 2013, 07:20:18 PM

Previous topic - Next topic

anra

Hi
does the wpa_supplicant work? I have tried to connect my A13 olinux wifi with a router usign a wpa association but it doesn't work.
If I use the command iwconfig I get :
wlan7 unassociated........Access Point: Not-Associated

In my /etc/network/interfaces file I have put:

auto wlan7
iface wlant inet dhcp
wpa-ssid WLAN
wpa-psk cb8040.........

I got the wpa-psk using the wpa_passphrase command.

I have also used service networking stop and service networking start....

But nothing change....

is there any solution?
Thanks for the answer

anra

I have found using the lsmod this answer:

Module
uvcvideo

I think that I have not any driver installed for my wifi chip? Am I right?
In this case, how can I do to install it?
I have found this path /sys/class/net/wlan7/device/driver/module/drivers but nothing more
Any ideas? thanks


anra

does anyone know how to check if the driver por the wifi chip is installed?
is sure that the wifi chip works? any hardware problem reported?

Lurch

which kernel are you using? your own?
what does the command "ifconfig -a" show? is wlan7 correct?
I assume that "iface wlant inet dhcp" was a typo, and you meant "iface wlan7 inet dhcp

anra

Hi Lurch
Yes wlant was a typo
Using the uname -a I got:

Linux debian 3.0.52+ #5 PREEMPT
I bought the sd card with the image from Olimex. I didn't create one.

Using the ifconfig -a

wlan7 Link encap:Ethernet HWaddr 44:33:4c:63:25:5b
      UP BROADCAST MULTICAST MTU:1500 MEtric:1
       Rx packets:0 errors:0 dropped:2364 overruns:0 frame:0
       Tx packets:0 errors:0 dropped:0 overruns:0 frame:0
       collisions:0 txqueuelen:1000 
       Rx bytes:0 Tx bytes:0

Lurch

strange, my kernel is also:
Linux version 3.0.52+ (root@debian) (gcc version 4.4.5 (Debian 4.4.5-8) ) #5 PREEMPT Thu Mar 14 14:28:53
from: A13_debian_WIFI_GCC_GPIO_IN_OUT_X_I2C_100KHz_scratch_UVC_python_opencv_4G_sixth_release.rar
Mine uses wlan8, and the output looks like:
Quote
Setting up networking....
Configuring network interfaces...ioctl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan8/48:02:2a:c5:f1:9c
Sending on   LPF/wlan8/48:02:2a:c5:f1:9c
Sending on   Socket/fallback
DHCPDISCOVER on wlan8 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan8 to 255.255.255.255 port 67 interval 11
DHCPREQUEST on wlan8 to 255.255.255.255 port 67
DHCPOFFER from 192.168.2.1
DHCPREQUEST on wlan8 to 255.255.255.255 port 67
DHCPACK from 192.168.2.1
bound to 192.168.2.104 -- renewal in 774256507 seconds.
done.

anra

My answer after sevice networking start:

Same than you except I have wlan7 and I finish:

No DHCPOFFERS received
No working leases persistent database -sleeping.
done.

So, could you show me your interfaces file? If mine is similar to, I think I could have a problem with my psk number.
Anyway I found sometimes my wifi chip is hot. Is not working but is hot. I found this link: http://linux-sunxi.org/Wifi. At the bottom there is a trick but I am not sure if it will work...
On the other hand if all seems right, I would need to create a new sd card using the A13_debian_WIFI_GCC_GPIO_IN_OUT_X_I2C_100KHz_scratch_UVC_python_opencv_4G_sixth_release.rar
Could you tell me where did you download that file? thanks

JohnS


anra

Hi
It works.
I had changed a O character by a 0 on my key. So the wpa_passphrase command made a wrong psk number. 
Thanks for your help
regards