Cannot connect WiFi with A13

Started by Ricardo Brandão, March 23, 2018, 04:31:29 AM

Previous topic - Next topic

Ricardo Brandão

Hi All,

I bought a Olinuxino A13 in 2013, at that time I tested Debian and Android and worked fine. I got access WiFi with Android, at that time I didn't tested WiFI through Debian.

Now I decided come back to it, using the same SD I booted and I got access to Debian. I didn't get test Android due I don't have anymore the flat cable to LCD.

Anyway, I tried to configure WiFi following these instructions[1].

Typing ifconfig -a[code] I found out the wifi is on wlan6.

With this information I edited the file [code] /etc/network/interfaces
:

auto wlan2
iface wlan2 inet dhcp
wpa-ssid MySSID
wpa-psk MyNetWork



I reboot it, but I didn't get connection to my network.

Is there any other thing to do? Is there any log to see if anything is wrong? Could I try to connect without reboot, as we do in our computers?

Thanks

[1] https://www.olimex.com/wiki/Configuration_of_hardware_in_the_debian_image

MarkusP

Hi Ricardo,

which image are you using?

I'm running a bootstrapped image of Debian Stretch with mainline kernel v4.15.x. WLAN works with both the old and the new wifi chip. It's quite weak, but that's for sure mostly caused by the aluminium housing of my A13.

For the configuration of the wifi I'm using wpasupplicant.

/etc/network/interfaces
auto wlan0
iface wlan0 inet dhcp
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf


/etc/wpa_supplicant/wpa_supplicant.conf
country=DE
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
update_config=0

network={
    group=CCMP TKIP
    key_mgmt=WPA-PSK
    pairwise=CCMP TKIP
    proto=RSN WPA
    psk="xyz"
    scan_ssid=1
    ssid="xyz"
}

Ricardo Brandão

Hi @MarkusP

Quote from: MarkusP on March 23, 2018, 10:17:40 AM

which image are you using?


running uname -a I got:


Linux debian 3.0.42+ #1 PREEMPT Fri Nov 9 02:04:58 EST 2012 armv71 GNU/Linux


Quote from: MarkusP on March 23, 2018, 10:17:40 AM

For the configuration of the wifi I'm using wpasupplicant.

/etc/network/interfaces
auto wlan0
iface wlan0 inet dhcp
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf


/etc/wpa_supplicant/wpa_supplicant.conf
country=DE
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
update_config=0

network={
    group=CCMP TKIP
    key_mgmt=WPA-PSK
    pairwise=CCMP TKIP
    proto=RSN WPA
    psk="xyz"
    scan_ssid=1
    ssid="xyz"
}


I ran these commands/edited file and continue with problem.

I've tried follow these instructions.https://unix.stackexchange.com/questions/283722/how-to-connect-to-wifi-from-command-line. But no results as well.

I'll try to build the newest image to the SDCard.