Difference between revisions of "Turtlebot3 Raspberry Pi Wireless Issue 20210118"
From wikidb
(→Boot wifi Error) |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | = Boot wifi Error = | ||
+ | |||
+ | At boot time I get the following error | ||
+ | |||
+ | [ **] A start job is running for sys-subsystem-net-devices-wlan0.device (1min 26s / 1min 30s)_ | ||
+ | |||
+ | It times out after 90 seconds. | ||
+ | |||
+ | [[Image:wlan0Error.jpeg | 250px]] | ||
+ | |||
= What Happed to Wifi = | = What Happed to Wifi = | ||
Line 42: | Line 52: | ||
wlan0: | wlan0: | ||
access-points: | access-points: | ||
− | + | xxx: | |
− | password: | + | password: yyy |
dhcp4: true | dhcp4: true | ||
dhcp6: true | dhcp6: true | ||
Line 63: | Line 73: | ||
==== AUTHENTICATION COMPLETE === | ==== 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 | + | * [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] |
+ | $ 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 | 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] | ||
+ | * [https://linuxconfig.org/ubuntu-20-04-connect-to-wifi-from-command-line Ubuntu 20.04: Connect to WiFi from command line] | ||
− | + | <pre> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
ubuntu@ubuntu:~/turtlebot3_ws/src/turtlebot3/turtlebot3$ ip a | 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 | 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 | ||
Line 152: | Line 138: | ||
sitesupport | sitesupport | ||
Tools | Tools | ||
− | + | </pre> | |
− | + | ||
= Notes and Logs = | = Notes and Logs = | ||
* [[SBC Turtlebot3 Setup ROS 2 Dashing 202101 Note and Log]] | * [[SBC Turtlebot3 Setup ROS 2 Dashing 202101 Note and Log]] |
Latest revision as of 19:09, 28 January 2021
Boot wifi Error
At boot time I get the following error
[ **] A start job is running for sys-subsystem-net-devices-wlan0.device (1min 26s / 1min 30s)_
It times out after 90 seconds.
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
- 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
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