wpasupplicant:
Installed: 2:2.4-1+deb9u1
Candidate: 2:2.4-1+deb9u1
Version table:
*** 2:2.4-1+deb9u1 500
500 http://ftp.debian.org/debian stretch/main amd64 Packages
500 http://security.debian.org stretch/updates/main amd64 Packages
100 /var/lib/dpkg/status
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Cannot see any wireless network
-
- Posts: 20
- Joined: 2018-07-18 18:59
Re: Cannot see any wireless network
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: Cannot see any wireless network
OK, how about
I'm running Debian stable and wpa_supplicant works just fine for me:
Code: Select all
apt policy libssl1.1
Code: Select all
empty@hegel:~ $ pgrep -a wpa_supplicant
406 /sbin/wpa_supplicant -B -i wlp2s0 -c /etc/wpa_supplicant/wpa_supplicant-wlp2s0.conf
empty@hegel:~ $
deadbang
-
- Posts: 20
- Joined: 2018-07-18 18:59
Re: Cannot see any wireless network
Code: Select all
libssl1.1:
Installed: 1.1.0f-3+deb9u2
Candidate: 1.1.0f-3+deb9u2
Version table:
*** 1.1.0f-3+deb9u2 500
500 http://ftp.debian.org/debian stretch/main amd64 Packages
500 http://security.debian.org stretch/updates/main amd64 Packages
500 http://httpredir.debian.org/debian stretch/main amd64 Packages
100 /var/lib/dpkg/status
the pgrep -a wpa_supplicant havn't show me anything. But looking at your response I can say that ls /etc/wpa_supplicant response:
- action_wpa.sh
functions.sh
ifupdown.sh
Re: Cannot see any wireless network
wpa_supplicant don't know what do, if not configured. wpa_supplicant.conf seems like this.Morales1235 wrote:The line with httpredir.debian.org I added from some wiki troubleshooting.Code: Select all
libssl1.1: Installed: 1.1.0f-3+deb9u2 Candidate: 1.1.0f-3+deb9u2 Version table: *** 1.1.0f-3+deb9u2 500 500 http://ftp.debian.org/debian stretch/main amd64 Packages 500 http://security.debian.org stretch/updates/main amd64 Packages 500 http://httpredir.debian.org/debian stretch/main amd64 Packages 100 /var/lib/dpkg/status
the pgrep -a wpa_supplicant havn't show me anything. But looking at your response I can say that ls /etc/wpa_supplicant response:No conf file
- action_wpa.sh
functions.sh
ifupdown.sh
Code: Select all
network={
ssid="your wifi's SSID"
psk=your wifi's password
}
Code: Select all
chown root:root /etc/wpa_supplicant/wpa_supplicant.conf
chmod 400 /etc/wpa_supplicant/wpa_supplicant.conf
Code: Select all
iface wlan0 inet dhcp
up /sbin/wpa_supplicant -B -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf
up dhclient wlan0
And that's all I need to get wifi working. kernel supports the wifi chip in my notebook.
-
- Posts: 20
- Joined: 2018-07-18 18:59
Re: Cannot see any wireless network
Yesterday I added 'netowrk' section with my network to /etc/network/interfaces. Today I created wpa_supplicant.conf file and and interfaces file past the same code as yours. On boot up system shows error: 'Failed to start WPA_supplicant '. See systemstl status wpa_supplicant.service. Output of that:
ifup wlan0 now seems to have any effect, but still occurs the problem with libraries. Again linked libs (what mr on the stick said is not good), but nothing changes :/
I also installed wpa_supplicant from that source.
disabled old wpa supplicant by
and started:
but still no connection (slighty not sure what I am doing...). So much fails and then connection, but I havn't seen any WiFi connection...
What can be wrong with libcrypto? Kernel update could help?
Code: Select all
● wpa_supplicant.service - WPA supplicant
Loaded: loaded (/lib/systemd/system/wpa_supplicant.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2018-07-22 11:14:39 CEST; 52s ago
Process: 979 ExecStart=/sbin/wpa_supplicant -u -s -O /run/wpa_supplicant (code=exited, status=127)
Main PID: 979 (code=exited, status=127)
Code: Select all
Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/wlan0/fe:7e:ca:6c:c7:1e
Sending on LPF/wlan0/fe:7e:ca:6c:c7:1e
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 17
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
/sbin/wpa_supplicant: /usr/lib/x86_64-linux-gnu/libssl.so.1.0.2: version `OPENSSL_1.0.2d' not found (required by /sbin/wpa_supplicant)
/sbin/wpa_supplicant: /usr/lib/libcrypto.so.10: version `OPENSSL_1.0.1_EC' not found (required by /usr/lib/x86_64-linux-gnu/libssl.so.1.0.2)
/sbin/wpa_supplicant: /usr/lib/libcrypto.so.10: version `libcrypto.so.10' not found (required by /usr/lib/x86_64-linux-gnu/libssl.so.1.0.2)
ifup: failed to bring up wlan0
disabled old wpa supplicant by
Code: Select all
systemctl stop wpa_supplicant.service
systemctl disable wpa_supplicant.service
Code: Select all
sudo ./wpa_supplicant -Dnl80211 -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf
Successfully initialized wpa_supplicant
wlan0: SME: Trying to authenticate with bc:ee:7b:6a:52:84 (SSID='Domowa' freq=2412 MHz)
wlan0: Trying to associate with bc:ee:7b:6a:52:84 (SSID='Domowa' freq=2412 MHz)
wlan0: Associated with bc:ee:7b:6a:52:84
wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wlan0: WPA: Key negotiation completed with bc:ee:7b:6a:52:84 [PTK=CCMP GTK=CCMP]
wlan0: CTRL-EVENT-CONNECTED - Connection to bc:ee:7b:6a:52:84 completed [id=0 id_str=]
wlan0: CTRL-EVENT-DISCONNECTED bssid=bc:ee:7b:6a:52:84 reason=3 locally_generated=1
wlan0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wlan0: SME: Trying to authenticate with bc:ee:7b:6a:52:84 (SSID='Domowa' freq=2412 MHz)
wlan0: SME: Trying to authenticate with bc:ee:7b:6a:52:84 (SSID='Domowa' freq=2412 MHz)
wlan0: SME: Trying to authenticate with bc:ee:7b:6a:52:84 (SSID='Domowa' freq=2412 MHz)
wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="Domowa" auth_failures=1 duration=10 reason=CONN_FAILED
wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="Domowa"
wlan0: SME: Trying to authenticate with bc:ee:7b:6a:52:84 (SSID='Domowa' freq=2412 MHz)
wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="Domowa" auth_failures=2 duration=23 reason=CONN_FAILED
wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="Domowa"
wlan0: SME: Trying to authenticate with bc:ee:7b:6a:52:84 (SSID='Domowa' freq=2412 MHz)
wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="Domowa" auth_failures=3 duration=46 reason=CONN_FAILED
wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="Domowa"
wlan0: SME: Trying to authenticate with bc:ee:7b:6a:52:84 (SSID='Domowa' freq=2412 MHz)
wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="Domowa" auth_failures=4 duration=77 reason=CONN_FAILED
wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="Domowa"
wlan0: SME: Trying to authenticate with bc:ee:7b:6a:52:84 (SSID='Domowa' freq=2412 MHz)
wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="Domowa" auth_failures=5 duration=75 reason=CONN_FAILED
wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="Domowa"
wlan0: SME: Trying to authenticate with bc:ee:7b:6a:52:84 (SSID='Domowa' freq=2412 MHz)
wlan0: SME: Deauth request to the driver failed
wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="Domowa" auth_failures=6 duration=143 reason=CONN_FAILED
wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="Domowa"
wlan0: SME: Trying to authenticate with bc:ee:7b:6a:52:84 (SSID='Domowa' freq=2412 MHz)
wlan0: Trying to associate with bc:ee:7b:6a:52:84 (SSID='Domowa' freq=2412 MHz)
wlan0: Associated with bc:ee:7b:6a:52:84
wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wlan0: WPA: Key negotiation completed with bc:ee:7b:6a:52:84 [PTK=CCMP GTK=CCMP]
wlan0: CTRL-EVENT-CONNECTED - Connection to bc:ee:7b:6a:52:84 completed [id=0 id_str=]
What can be wrong with libcrypto? Kernel update could help?
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: Cannot see any wireless network
The third-party repositories that you have added to your system have polluted your dependency chain and broken wpa_supplicant, your errors cannot be reproduced in a "pure" Debian system.Morales1235 wrote:What can be wrong with libcrypto?
I can't figure out what's making it want a non-existent library and even if we could there would probably be other broken packages in your system so I think you will have to re-install from scratch and stick to the official repositories next time.
EDIT: the locally compiled version of wpa_supplicant seems to work though so you just need to assign IP addresses to connect.
deadbang
Re: Cannot see any wireless network
I forgot to mention, that I have a pure Debian stetch.
Now you have seen, it can produce severe complications when you use third party packages. There may become even problems, that are more difficult or impossible to solve..
I would give up and do a clean reinstall. So the instructions given would work, and you would not have to fear what might happen next.
I did not see in the thread, or did read selectively, but here it is, read and try to understand:
https://wiki.debian.org/DontBreakDebian
Now you have seen, it can produce severe complications when you use third party packages. There may become even problems, that are more difficult or impossible to solve..
I would give up and do a clean reinstall. So the instructions given would work, and you would not have to fear what might happen next.
I did not see in the thread, or did read selectively, but here it is, read and try to understand:
https://wiki.debian.org/DontBreakDebian