0
> dpkg -s linux-firmware | grep Version
Version: 1.173.12
> ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp0s5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 00:1c:42:66:2c:33 brd ff:ff:ff:ff:ff:ff
3: wlx1062eb30a0f0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
    link/ether 10:62:eb:30:a0:f0 brd ff:ff:ff:ff:ff:ff
> cat /etc/netplan/50-cloud-init.yaml
network:
    version: 2
    renderer: networkd
    wifis:
      wlx1062eb30a0f0:
        dhcp4: yes
        dhcp6: no
        #addresses: [192.168.1.121/24]
        access-points:
          "iHome":
             password: "1234567890abc"
    ethernets:
        enp0s5:
            dhcp4: true
> dmesg | grep -e wlx

[    5.400954] r8188eu 1-3:1.0 wlx1062eb30a0f0: renamed from wlan0
[    7.596336] IPv6: ADDRCONF(NETDEV_UP): wlx1062eb30a0f0: link is not ready
[ 1460.930949] IPv6: ADDRCONF(NETDEV_UP): wlx1062eb30a0f0: link is not ready
> iwlist wlx1062eb30a0f0 scan
wlx1062eb30a0f0  Scan completed :
          Cell 01 - Address: XX:A2:20:YY:1X:5X
                    ESSID:"iHome"
                    Protocol:IEEE 802.11bgn
                    Mode:Master
                    Frequency:2.412 GHz (Channel 1)
                    Encryption key:on
                    Bit Rates:108 Mb/s
                    Extra:rsn_ie=30140100000fac040100000fac040100000fac020000
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DDA50050F204104A0001101044000102103B000103104700106304125310192006122830A220EA155E1021001B5265616C74656B2053656D69636F6E647563746F7220436F72702E1023000752544C383637311024000D45562D323030362D30372D32371042000F3132333435363738393031323334371054000800060050F2040001101100104144534C20536F486F20526F757465721008000220081049000600372A000120
                    Quality=0/100  Signal level=84/100
>iwconfig
lo        no wireless extensions.

enp0s5    no wireless extensions.

wlx1062eb30a0f0  unassociated  ESSID:""  Nickname:"<WIFI@REALTEK>"
          Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated   
          Sensitivity:0/0  
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
> dpkg -s wpasupplicant
Package: wpasupplicant
Status: install ok installed
Priority: optional
Section: net
Installed-Size: 2689
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Multi-Arch: foreign
Source: wpa
Version: 2:2.6-15ubuntu2.5
Depends: libc6 (>= 2.15), libdbus-1-3 (>= 1.9.14), libnl-3-200 (>= 3.2.7), libnl-genl-3-200 (>= 3.2.7), libpcsclite1 (>= 1.0.0), libreadline7 (>= 6.0), libssl1.1 (>= 1.1.0), lsb-base, adduser
Suggests: wpagui, libengine-pkcs11-openssl
Breaks: initscripts (<< 2.88dsf-13.3)
Conffiles:
 /etc/dbus-1/system.d/wpa_supplicant.conf 8d90aeffce60b60c62d385874c304dc6
 /etc/wpa_supplicant/action_wpa.sh 41b2e273d616b1c7e7b605bbe8648d8b
 /etc/wpa_supplicant/functions.sh 29834d0d67a65585b71e231832884174
 /etc/wpa_supplicant/ifupdown.sh 4c82dbf7e1d8c5ddd70e40b9665cfeee
Description: client support for WPA and WPA2 (IEEE 802.11i)
 WPA and WPA2 are methods for securing wireless networks, the former
 using IEEE 802.1X, and the latter using IEEE 802.11i. This software
 provides key negotiation with the WPA Authenticator, and controls
 association with IEEE 802.11i networks.
Homepage: http://w1.fi/wpa_supplicant/
Original-Maintainer: Debian wpasupplicant Maintainers <wpa@packages.debian.org>

I can't connect to my home wireless access-point from my parallel desktop ubuntu virtual machine.

  • what does 'iwconfig' show? iwlist only shows that the AP is visible, not that the device has associated to it. – slangasek Feb 27 at 6:48
  • @slangaseki i did update question with iwconfig output. Thanks for your attention. – Vahid Alimohamadi Feb 27 at 9:36
0

Since you have not associated with the AP, you should check the logs of the wpasupplicant service:

journalctl -lu wpa_supplicant.service

|improve this answer|||||
  • Feb 27 17:07:01 home wpa_supplicant[4589]: Successfully initialized – Vahid Alimohamadi Feb 28 at 12:40
  • but it connects using command: ``` sudo bash -c 'wpa_supplicant -D nl80211,wext -i wlx1062eb30a0f0 -c \ <(wpa_passphrase "iHome" "1234567890abc")' ``` – Vahid Alimohamadi Feb 28 at 16:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.