Turtlebot3 Raspberry Pi Wireless Issue 20210118

From wikidb
Revision as of 12:41, 28 January 2021 by Edc (Talk | contribs)

Jump to: navigation, search

What Happed to Wifi

Reorganize Random exploration

 ls /sys/class/net
       eth0  lo
ubuntu@ubuntu:/etc/netplan$ sudo netplan --debug apply
** (generate:5701): DEBUG: 18:10:24.479: Processing input file /etc/netplan/50-cloud-init.yaml..
** (generate:5701): DEBUG: 18:10:24.480: starting new processing pass
** (generate:5701): DEBUG: 18:10:24.481: wlan0: adding wifi AP 'zdome'
** (generate:5701): DEBUG: 18:10:24.481: We have some netdefs, pass them through a final round of validation
** (generate:5701): DEBUG: 18:10:24.481: wlan0: setting default backend to 1
** (generate:5701): DEBUG: 18:10:24.481: Configuration is valid
** (generate:5701): DEBUG: 18:10:24.481: eth0: setting default backend to 1
** (generate:5701): DEBUG: 18:10:24.481: Configuration is valid
** (generate:5701): DEBUG: 18:10:24.482: Generating output files..
** (generate:5701): DEBUG: 18:10:24.482: NetworkManager: definition eth0 is not for us (backend 1)
** (generate:5701): DEBUG: 18:10:24.482: Creating wpa_supplicant config
** (generate:5701): DEBUG: 18:10:24.482: wlan0: Creating wpa_supplicant configuration file run/netplan/wpa-wlan0.conf
** (generate:5701): DEBUG: 18:10:24.482: Creating wpa_supplicant unit /run/systemd/system/netplan-wpa-wlan0.service
** (generate:5701): DEBUG: 18:10:24.492: Creating wpa_supplicant service enablement link /run/systemd/system/systemd-networkd.service.wants/netplan-wpa-wlan0.service
** (generate:5701): DEBUG: 18:10:24.493: NetworkManager: definition wlan0 is not for us (backend 1)
DEBUG:netplan generated networkd configuration changed, restarting networkd
DEBUG:no netplan generated NM configuration exists
DEBUG:eth0 not found in {}
DEBUG:wlan0 not found in {}
DEBUG:Merged config:
network:
  bonds: {}
  bridges: {}
  ethernets:
    eth0:
      dhcp4: true
      dhcp6: true
      optional: true
  vlans: {}
  wifis:
    wlan0:
      access-points:
        xxx:
          password: yyy
      dhcp4: true
      dhcp6: true

DEBUG:Skipping non-physical interface: lo
DEBUG:device eth0 operstate is up, not changing
DEBUG:{}
DEBUG:netplan triggering .link rules for lo
DEBUG:netplan triggering .link rules for eth0
Warning: The unit file, sourcesudo netplan --debug apply configuration file or drop-ins of netplan-wpa-wlan0.service changed on disk. Run 'systemctl daemon-reload' to reload units.


 $ systemctl daemon-reload
       ==== AUTHENTICATING FOR org.freedesktop.systemd1.reload-daemon ===
       Authentication is required to reload the systemd state.
       Authenticating as: Ubuntu (ubuntu)
       Password: 
       ==== AUTHENTICATION COMPLETE ===
 $ ls /sys/class/net
       eth0  lo

 /sys/class/net no wireless



 $ sudo netplan apply
       Warning: The unit file, source configuration file or drop-ins of netplan-wpa-wlan0.service changed on disk. Run 'systemctl daemon-reload' to reload units.
       Warning: The unit file, source configuration file or drop-ins of netplan-wpa-wlan0.service changed on disk. Run 'systemctl daemon-reload' to reload units.

 $ sudo netplan generate

 $ sudo netplan apply
       Warning: The unit file, source configuration file or drop-ins of netplan-wpa-wlan0.service changed on disk. Run 'systemctl daemon-reload' to reload units.
 
 $ systemctl daemon-reload
       ==== AUTHENTICATING FOR org.freedesktop.systemd1.reload-daemon ===
       Authentication is required to reload the systemd state.
       Authenticating as: Ubuntu (ubuntu)
       Password: 
       ==== AUTHENTICATION COMPLETE ===

reboot - didn't help

ubuntu@ubuntu:~/turtlebot3_ws/src/turtlebot3/turtlebot3$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether b8:27:eb:0b:5d:ce brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.186/24 brd 10.0.0.255 scope global dynamic eth0
       valid_lft 78973sec preferred_lft 78973sec
    inet6 fe80::ba27:ebff:fe0b:5dce/64 scope link 
       valid_lft forever preferred_lft forever

Navigation menu
EdcTalkPreferencesWatchlistContributionsLog out
PageDiscussionReadEditView history

Main Page
ROS2 NUC on TB3
FTC 2020
ROS
ROS Map Survey
Ubuntu Tips
Backup
Navigation
Community portal
Current events
Recent changes
Random page
Help
sitesupport
Tools

Notes and Logs