Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31

Thread: Netplan Wifi on 18.04 Bionic Mini

  1. #1
    Join Date
    Oct 2010
    Beans
    20

    Netplan Wifi on 18.04 Bionic Mini

    Hello ,
    Can somebody Nice help me out ?
    I no longer have wifi since I freshly reinstalled Ubuntu.
    I followed the same steps as last time, using the following netplan configuration and it dosen't work

    Code:
    network:
    version: 2
      renderer: networkd
      ethernets:
        enp3s0:
          dhcp4: yes
          dhcp6: no
          gateway4: 192.168.0.1
          nameservers:
              addresses: [ 1.1.1.1, 8.8.8.8]
      wifis:
        wlp3s0:
         dhcp4: yes
         dhcp6: no
         gateway4: 192.168.0.1
         nameservers:
              addresses: [ 1.1.1.1, 8.8.8.8]
         access-points:
            "MY_HOME_ROOTER":
              password: "azerty1234"
    
    ( More detail here https://paste.ubuntu.com/p/r4kt5w4QPV/ )

    Did i made a mistake somewhere?

  2. #2
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    24,944
    Distro
    Ubuntu 19.10 Eoan Ermine

    Re: Netplan Wifi on 18.04 Bionic Mini

    Spacing, indentation, etc. are crucial and must be exact. I believe your file should be: https://paste.ubuntu.com/p/PBB7GkqPxb/

    I should think that, if you get an address from the router by DHCP, the gateway address is included and needn't be explicitly declared here.

    You can get some guidance from the example here:
    Code:
    cat /usr/share/doc/netplan.io/examples/wireless.yaml
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D., Sc.D.

  3. #3
    Join Date
    Oct 2010
    Beans
    20

    Re: Netplan Wifi on 18.04 Bionic Mini

    hello chili555,
    i copied the wireless.yaml example and edited it accordingly, yet i still don't have wifi :/
    maybe some package is missing?

  4. #4
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    24,944
    Distro
    Ubuntu 19.10 Eoan Ermine

    Re: Netplan Wifi on 18.04 Bionic Mini

    Did you follow with:
    Code:
    sudo netplan apply
    What is the response to:
    Code:
    sudo ip link set wlp3s0 down
    sudo ip link set wlp3s0 up
    ping -c3 192.168.0.1
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D., Sc.D.

  5. #5
    Join Date
    Oct 2010
    Beans
    20

    Re: Netplan Wifi on 18.04 Bionic Mini

    Yep chili555,
    i dit :
    Code:
    netplan apply
    and even the
    Code:
    ip link set iface up/down
    yet, still:
    Code:
    $ ping -c3 192.168.0.1
    connect: Network is unreachable
    I even created a hotspot on my phone to try to connect to it and still nothing :/
    i installed it using this tutorial: https://gist.github.com/richardjuan/...16436dd4ec3e5f
    Last edited by Notsgnik; May 19th, 2018 at 03:07 PM.

  6. #6
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    24,944
    Distro
    Ubuntu 19.10 Eoan Ermine

    Re: Netplan Wifi on 18.04 Bionic Mini

    Any clues in the logs?
    Code:
    dmesg | grep -e wlp -e net
    cat /var/log/syslog | grep -i net
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D., Sc.D.

  7. #7
    Join Date
    Oct 2010
    Beans
    20

    Re: Netplan Wifi on 18.04 Bionic Mini

    ah ah !
    Code:
    May 19 15:56:50 zePc systemd[21296]: netplan-wpa@wlp3s0.service: Failed to execute command: No such file or directory
    May 19 15:56:50 zePc systemd[21296]: netplan-wpa@wlp3s0.service: Failed at step EXEC spawning /sbin/wpa_supplicant: No such file or directory
    but i have to install wpagui?
    Code:
    $apt search wpa_supplicant
    Sorting... Done
    Full Text Search... Done
    dhcpcd-gtk/bionic 0.7.5-0ubuntu2 amd64
      GTK+ frontend for dhcpcd and wpa_supplicant
    
    
    dhcpcd-qt/bionic 0.7.5-0ubuntu2 amd64
      Qt frontend for dhcpcd and wpa_supplicant
    
    
    wpagui/bionic 2:2.6-15ubuntu2 amd64
      graphical user interface for wpa_supplicant

  8. #8
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    24,944
    Distro
    Ubuntu 19.10 Eoan Ermine

    Re: Netplan Wifi on 18.04 Bionic Mini

    Perhaps your wireless interface is not wlp3s0. Check:
    Code:
    iwconfig
    Is wpa_supplicant installed?
    Code:
    sudo dpkg -s wpasupplicant
    As my brother often says, the thick plottens!
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D., Sc.D.

  9. #9
    Join Date
    Oct 2010
    Beans
    20

    Re: Netplan Wifi on 18.04 Bionic Mini

    It is thickening in deed chili555
    i did:
    Code:
    sudo apt install wpasupplicant
    and now it still don't connect but i get this
    Code:
    ay 19 16:40:29 pc systemd-networkd[22911]: lo: Link is not managed by us
    May 19 16:40:29 pc systemd-networkd[22911]: wlp3s0: IPv6 successfully enabled
    May 19 16:40:29 pc systemd[1]: Started WPA supplicant for netplan wlp3s0.
    May 19 16:40:29 pc networkd-dispatcher[19833]: WARNING:Unknown index 41 seen, reloading interface list
    May 19 16:40:29 pc kernel: [18127.536530] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
    May 19 16:40:34 pc wpa_supplicant[22922]: wlp3s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
    May 19 16:40:54 pc wpa_supplicant[22922]: wlp3s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
    May 19 16:41:28 pc wpa_supplicant[22922]: wlp3s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
    and this:
    Code:
    [18331.342539] wlp3s0: authenticate with 00:fe:9e:fe:fe:fe
    [18331.376728] wlp3s0: send auth to 00:fe:9e:fe:fe:fe (try 1/3)
    [18331.378471] wlp3s0: authenticated
    [18331.381417] wlp3s0: associate with 00:fe:9e:fe:fe:fe (try 1/3)
    [18331.385183] wlp3s0: RX AssocResp from 00:fe:9e:fe:fe:fe (capab=0xc11 status=0 aid=1)
    [18331.388589] wlp3s0: associated
    [18336.982043] wlp3s0: deauthenticated from 00:fe:9e:fe:fe:fe (Reason: 2=PREV_AUTH_NOT_VALID)
    Last edited by Notsgnik; May 19th, 2018 at 03:48 PM.

  10. #10
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    24,944
    Distro
    Ubuntu 19.10 Eoan Ermine

    Re: Netplan Wifi on 18.04 Bionic Mini

    wlp3s0: associate with 00:fe:9e:fe:fe:fe (try 1/3)
    wlp3s0: RX AssocResp from 00:fe:9e:fe:fe:fe (capab=0xc11 status=0 aid=1)
    wlp3s0: associated
    wlp3s0: deauthenticated from 00:fe:9e:fe:fe:fe (Reason: 2=PREV_AUTH_NOT_VALID)
    So, it did connect for a moment or two but then dropped. There can be a few reasons for this and some of them are found in the router. May we see:
    Code:
    sudo iwlist wlp3s0 scan
    We only need to see your own access point and please redact the MAC address loke this example:
    Cell 01 - Address: XXXX
    Channel:149
    Frequency:5.745 GHz (Channel 149)
    Quality=52/70 Signal level=-58 dBm
    Encryption key:on
    ESSID:"GBR5"
    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
    36 Mb/s; 48 Mb/s; 54 Mb/s
    Mode:Master
    Extra:tsf=00000115e56b4dff
    Extra: Last beacon: 648ms ago
    IE: Unknown: 000447425235
    IE: Unknown: 01088C129824B048606C
    IE: Unknown: 030195
    IE: Unknown: 074255532024011E28011E2C011E30011E3401173801173C01 174001176401176801176C0117700117740117840117880117 8C011795011E99011E9D011EA1011EA5011E
    IE: Unknown: 200103
    IE: Unknown: 2D1AEF091BFFFFFF0000000000000000000100000000000000 000000
    IE: Unknown: 3D16950D0400000000000000000000000000000000000000
    IE: Unknown: 7F080000000000000040
    IE: Unknown: BF0CB2018033EAFF0000EAFF0000
    IE: Unknown: C005019B00FCFF
    IE: Unknown: C30402C4C4C4
    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F 00
    IE: Unknown: DD0900037F01010000FF7F
    IE: Unknown: DD8B0050F204104A0001101044000102103B00010310470010 123456789ABCDEF01234A42BB0DC45861021000754502D4C49 4E4B1023000941726368657220433710240003322E30104200 03312E301054000800060050F204000110110019576972656C 65737320526F75746572204172636865722043371008000220 08103C0001031049000600372A000120
    IE: IEEE 802.11i/WPA2 Version 1
    Group Cipher : CCMP
    Pairwise Ciphers (1) : CCMP
    Authentication Suites (1) : PSK
    If we see TKIP, I'm gonna scream.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D., Sc.D.

Page 1 of 4 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •