WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: wpa_supplicant cannot connect properly  (Read 3501 times)

Offline julcar

  • Jr. Member
  • **
  • Posts: 77
wpa_supplicant cannot connect properly
« on: October 21, 2019, 06:43:42 AM »
TinyCore 10.1 kernel 4.19.10-tinycore64
usb dongle D-Link DWA 123 rev D (usb 2001:3310) using the 8188eu.tcz extension together to wifi.tcz
the usb dongle powers on and is able to connect to unsecured/open APs, but when attempting to connect to a WPA/WPA2 just fails to connect, maybe could you guys let me some ideas?
thanks

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11704
Re: wpa_supplicant cannot connect properly
« Reply #1 on: October 21, 2019, 08:41:35 AM »
Hi julcar
I don't know if this will help, but the  wpa_supplicant.tcz.info  file used to contain some instructions:
Code: [Select]
Cmd line usage:
$ sudo su
$ wpa_passphrase YourSSID YourPassword > /etc/wpa_supplicant.conf
$ wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -B
$ udhcpc -b -i wlan0 -h box -p /var/run/udhcpc.wlan0.pid

Information:
Being connected to ethernet _and_ wireless with two DHCP client processes can
lead to problems like slow connections. As a solution setup a static IP address
on one of the devices.

IMPORTANT:
You will most probably need firmware*.tcz extensions to use your wireless device!
Since there are lot of them like firmware-atheros, firmware, firmware-iwlwifi,
please check which vendor firmware belongs to your device.
    ---
Found here:
http://tinycorelinux.net/4.x/x86/tcz/wpa_supplicant.tcz.info

Offline julcar

  • Jr. Member
  • **
  • Posts: 77
Re: wpa_supplicant cannot connect properly
« Reply #2 on: October 22, 2019, 04:17:05 AM »
Code: [Select]
$ sudo su
$ wpa_passphrase YourSSID YourPassword > /etc/wpa_supplicant.conf
$ wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -B
$ udhcpc -b -i wlan0 -h box -p /var/run/udhcpc.wlan0.pid

ok, following these commands I was able to connect to internet, in fact I am writing these lines from firefox, then the problem seems to be in the wifi.tcz extension, because it were impossible to use it to setup the connection
« Last Edit: October 22, 2019, 04:28:13 AM by julcar »

Offline vinceASPECT

  • Hero Member
  • *****
  • Posts: 810
Re: wpa_supplicant cannot connect properly
« Reply #3 on: October 22, 2019, 06:21:39 AM »
Hello,

It will likely be to do with "keys"  and it's extremely complicated.

The subsystem or router has to (get the ident with itself)  WPA

Wireless. 

Actually , wi fi  is very complex.   For example, service carriers, can just adjust
And change attributes of networks (per desire)  with over-the-air   commands.

Probably if you are able to communicate on the WWW  (World Wide Web) TCP-IP network  (as your post indicates)
For , your services, if that is acceptable . Persevere  with that.

THx

Vin


« Last Edit: October 22, 2019, 06:24:13 AM by vinceASPECT »