build details

Show: section status errors & todos local changes recent changes last change in-page changes feedback controls

Network troubleshooting

Modified 2018-10-22 by Manish Prajapat


previous task next (20 of 33) index

The following was marked as "special-par-assigned".


File book/opmanual_duckiebot/atoms_18_setup_troubleshooting/20_network_troubleshooting.md.

File book/opmanual_duckiebot/atoms_18_setup_troubleshooting/20_network_troubleshooting.md
in repo duckietown/docs-opmanual_duckiebot branch master18 commit 9a5d09dc
last modified by Manish Prajapat on 2018-10-22 16:54:05

Created by function create_notes_from_elements in module mcdp_docs.task_markers.

All errors that prevent the Duckiebot to answer to ping and SSH.

I cannot access my Duckiebot via SSH

Modified 2018-10-09 by Andrea Censi

When I run ssh robot_name.local I get the error ssh: Could not resolve hostname robot_name.local.

Make sure that your Duckiebot is ON. Connect it to a monitor, a mouse and a keyboard. Run the command

duckiebot $ sudo service avahi-daemon status

You should get something like the following

● avahi-daemon.service - Avahi mDNS/DNS-SD Stack
   Loaded: loaded (/lib/systemd/system/avahi-daemon.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2017-10-22 00:07:53 CEST; 1 day 3h ago
 Main PID: 699 (avahi-daemon)
   Status: "avahi-daemon 0.6.32-rc starting up."
   CGroup: /system.slice/avahi-daemon.service
           ├─699 avahi-daemon: running [robot_name_in_avahi.local
           └─727 avahi-daemon: chroot helpe

Avahi is the module that in Ubuntu implements the mDNS responder. The mDNS responder is responsible for advertising the hostname of the Duckiebot on the network so that everybody else within the same network can run the command ping robot_name.local and reach your Duckiebot. Focus on the line containing the hostname published by the avahi-daemon on the network (i.e., the line that contains robot_name_in_avahi.local). If robot_name_in_avahi matches the robot_name, go to the next Resolution point. If robot_name_in_avahi has the form robot_name-XX, where XX can be any number, modify the file /etc/avahi/avahi-daemon.conf as shown below.

Identify the line


and change it to


Identify the line


and change it to


Restart Avahi by running the command

duckiebot $ sudo service avahi-daemon restart

No questions found. You can ask a question on the website.