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

If none of the specific sub-forums seem right for your thread, ask here.
Message
Author
Morales1235
Posts: 20
Joined: 2018-07-18 18:59

Re: Cannot see any wireless network

#16 Post by Morales1235 »

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

User avatar
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

#17 Post by Head_on_a_Stick »

OK, how about

Code: Select all

apt policy libssl1.1
I'm running Debian stable and wpa_supplicant works just fine for me:

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

Morales1235
Posts: 20
Joined: 2018-07-18 18:59

Re: Cannot see any wireless network

#18 Post by Morales1235 »

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 line with httpredir.debian.org I added from some wiki troubleshooting.
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
No conf file

arzgi
Posts: 1194
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: Cannot see any wireless network

#19 Post by arzgi »

Morales1235 wrote:

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 line with httpredir.debian.org I added from some wiki troubleshooting.
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
No conf file
wpa_supplicant don't know what do, if not configured. wpa_supplicant.conf seems like this.

Code: Select all

network={
ssid="your wifi's SSID"
psk=your wifi's password
}
You might need root privileges already when saving conf, change wpa_supplicant.conf readable only for root:

Code: Select all

chown root:root /etc/wpa_supplicant/wpa_supplicant.conf
chmod 400 /etc/wpa_supplicant/wpa_supplicant.conf
I use ifupdown, this my /etc/network/8nterfaces:

Code: Select all

iface wlan0 inet dhcp
    up /sbin/wpa_supplicant -B -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf 
    up dhclient wlan0
Here wlan0 is my wifi interface.

And that's all I need to get wifi working. kernel supports the wifi chip in my notebook.

Morales1235
Posts: 20
Joined: 2018-07-18 18:59

Re: Cannot see any wireless network

#20 Post by Morales1235 »

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:

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)
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 :/

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
I also installed wpa_supplicant from that source.
disabled old wpa supplicant by

Code: Select all

systemctl stop wpa_supplicant.service
systemctl disable wpa_supplicant.service
and started:

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=]
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?

User avatar
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

#21 Post by Head_on_a_Stick »

Morales1235 wrote:What can be wrong with libcrypto?
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.

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

arzgi
Posts: 1194
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: Cannot see any wireless network

#22 Post by arzgi »

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

Post Reply