Difference between revisions of "Turtlebot3 Raspberry Pi Wireless Issue 20210118"
(Created page with "= What Happed to Wifi = Wireless does come up on boot. = Notes and Logs = * SBC Turtlebot3 Setup ROS 2 Dashing 202101 Note and Log") |
|||
Line 1: | Line 1: | ||
= What Happed to Wifi = | = What Happed to Wifi = | ||
− | + | '''Reorganize''' Random exploration | |
+ | * [https://linuxconfig.org/ubuntu-20-04-connect-to-wifi-from-command-line Ubuntu Connect to Wifi from Command Line] | ||
+ | |||
+ | ls /sys/class/net | ||
+ | eth0 lo | ||
+ | |||
+ | <pre> | ||
+ | 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: | ||
+ | zdome: | ||
+ | password: fishsticks | ||
+ | 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. | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | $ 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 === | ||
+ | |||
+ | * [https://askubuntu.com/questions/1291424/failed-to-start-netplan-wpa-wlan0-sevice-unit-netplan-wpa-wlan0-service-not-found Failed to Start Netplan wpa wlan0 Service Unit: service unit netplan wpa wlan0 Not Found] | ||
+ | |||
+ | |||
+ | |||
+ | ubuntu@ubuntu:~$ | ||
+ | ubuntu@ubuntu:~$ ls /sys/class/net | ||
+ | eth0 lo | ||
+ | ubuntu@ubuntu:~$ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | /sys/class/net no wireless | ||
+ | |||
+ | |||
+ | |||
+ | ubuntu@ubuntu:~$ | ||
+ | ubuntu@ubuntu:~$ 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. | ||
+ | ubuntu@ubuntu:~$ | ||
+ | ubuntu@ubuntu:~$ | ||
+ | ubuntu@ubuntu:~$ | ||
+ | ubuntu@ubuntu:~$ sudo netplan generate | ||
+ | ubuntu@ubuntu:~$ | ||
+ | ubuntu@ubuntu:~$ | ||
+ | ubuntu@ubuntu:~$ 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. | ||
+ | ubuntu@ubuntu:~$ | ||
+ | ubuntu@ubuntu:~$ | ||
+ | ubuntu@ubuntu:~$ 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 === | ||
+ | ubuntu@ubuntu:~$ | ||
+ | |||
+ | |||
+ | |||
+ | reboot - didn't help | ||
+ | |||
+ | |||
+ | |||
+ | https://huobur.medium.com/how-to-setup-wifi-on-raspberry-pi-4-with-ubuntu-20-04-lts-64-bit-arm-server-ceb02303e49b | ||
+ | |||
+ | |||
+ | How to Setup WiFi on Raspberry Pi 4 with Ubuntu 20.04 LTS 64-bit ARM Server | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | Ubuntu 20.04: Connect to WiFi from command line | ||
+ | https://linuxconfig.org/ubuntu-20-04-connect-to-wifi-from-command-line | ||
+ | |||
+ | 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 | ||
Revision as of 15:08, 20 January 2021
Contents
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: zdome: password: fishsticks 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 ===
ubuntu@ubuntu:~$ ubuntu@ubuntu:~$ ls /sys/class/net eth0 lo ubuntu@ubuntu:~$
/sys/class/net no wireless
ubuntu@ubuntu:~$ ubuntu@ubuntu:~$ 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. ubuntu@ubuntu:~$ ubuntu@ubuntu:~$ ubuntu@ubuntu:~$ ubuntu@ubuntu:~$ sudo netplan generate ubuntu@ubuntu:~$ ubuntu@ubuntu:~$ ubuntu@ubuntu:~$ 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. ubuntu@ubuntu:~$ ubuntu@ubuntu:~$ ubuntu@ubuntu:~$ 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
ubuntu@ubuntu:~$
reboot - didn't help
How to Setup WiFi on Raspberry Pi 4 with Ubuntu 20.04 LTS 64-bit ARM Server
Ubuntu 20.04: Connect to WiFi from command line https://linuxconfig.org/ubuntu-20-04-connect-to-wifi-from-command-line
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