I can see and connect my phone to milos_pc_393802 but can't connect FreeFlight Pro


#1

Hi,
I upgraded my Linux Desktop to Bionic Beaver and installed Sphinx. I’ve been looking forward to testing some code before I attempt to land my Disco again. I disabled Network Manager… tested my Dlink DW-160 with hostapd… it worked great. Exited hostap, updated the Bebop2.drone profile with my wifi device name wlxacf1df142bd2. When I start up Sphinx I see my Sphinx Simulator AP milos_pc_393802. In a terminal console I also verified fd_veth0 exists. I started flight plan, clicked on Connect, Selected milos_pc_393802. I do no see milos_pc_393802 in Flight Plan, I only see the SSID of the last Drone I flew.
Am I missing something ?


#2

Hi,

Could you share the Bebop2.drone file that you are using and post the console output you get from Sphinx ?
Thanks

PS: You mean FreeFlight and not “Flight Plan” right ? :wink:


#3

Yes I am using FreeFlight Pro. Here’s the console output:

sphinx /opt/parrot-sphinx/usr/share/sphinx/drones/disco.drone
Sphinx simulator version 0.29.1

connecting to firmwared version: 0.29.1
Gazebo multi-robot simulator, version 7.0.1
Copyright © 2012-2015 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 127.0.0.1
Gazebo multi-robot simulator, version 7.0.1
Copyright © 2012-2015 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 127.0.0.1
[Msg] created parameter server on http:8383
[Msg] connected to firmwared
[Msg] Preparation of firmware http://plf.parrot.com/sphinx/firmwares/evinrude/evinrude_pc/latest/images/evinrude-evinrude_pc.ext2.zip
[Msg] firmware /usr/share/firmwared/firmwares//evinrude-evinrude_pc.ext2.zip.b7ea0f95-1535-a6f0-8ebf-158234a335ad.firmware supported hardwares:
[Msg] evinrudeboard
[Msg] Selected params to build .sdf file for disco:
param low_gpu = 0
param with_front_cam = 1
param with_sequoia_payload = 0
[Wrn] [BaseCameraSensor.cc:412] vertical_camera: parameter ‘num_buffers’ is now deprecated.
[Wrn] [BaseCameraSensor.cc:412] horizontal_camera: parameter ‘num_buffers’ is now deprecated.
I shd: omniscient_disco: recreated: generation=16 sample_count=4000 sample_size=184 sample_rate=1000 metadata_size=1083
I shd: time_disco: recreated: generation=16 sample_count=4000 sample_size=24 sample_rate=1000 metadata_size=128
I shd: battery_disco: recreated: generation=16 sample_count=4000 sample_size=8 sample_rate=1000 metadata_size=48
I shd: gps_disco: recreated: generation=16 sample_count=4000 sample_size=48 sample_rate=1000 metadata_size=245
[Msg] Drone disco[b0cd2eb01094386c484074bd3cf2cd5fb9cc970b] loaded
[Msg] WEB DASHBOARD IS ACCESSIBLE at http://localhost:9002
[Msg] Instance garrulous_stephanie[b0cd2eb01094386c484074bd3cf2cd5fb9cc970b] started
[Msg] All drones instantiated
[Wrn] [Publisher.cc:141] Queue limit reached for topic /gazebo/default/user_camera/pose, deleting message. This warning is printed only once.

Here’s my configuration for disco.drone:

<?xml version="1.0" encoding="UTF-8"?>


<machine_params
low_gpu=“false”
with_front_cam=“true”
with_sequoia_payload=“false”/>
default
eth1
<stolen_interface>wlxacf1df142bd2:eth0:192.168.42.1/24</stolen_interface>
<wifi_channel>6</wifi_channel>
<fs_size>2G</fs_size>

I can connect to the Sphinx AP with my phone. It does not show up in FreeFlight Pro
I tried with my SkyController 2 as well.

I also read on the forums to try disabling the forward facing camera, it did not work.


#4

I also renamed my wifi device to wlan0… same results.

Here’s my bebop2.drone config

<?xml version="1.0" encoding="UTF-8"?>


<machine_params
low_gpu=“false”
with_front_cam=“true”
with_hd_battery=“false”
with_flir=“false”
flir_pos=“tilted”/>
default
eth1

<stolen_interface>wlxacf1df142bd2:eth0:192.168.42.1/24</stolen_interface>
<wifi_channel>6</wifi_channel>

Here’s the console output:
sphinx /opt/parrot-sphinx/usr/share/sphinx/drones/bebop2.drone
Sphinx simulator version 0.29.1

connecting to firmwared version: 0.29.1
Gazebo multi-robot simulator, version 7.0.1
Copyright © 2012-2015 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 127.0.0.1
Gazebo multi-robot simulator, version 7.0.1
Copyright © 2012-2015 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 127.0.0.1
[Msg] created parameter server on http:8383
[Msg] connected to firmwared
[Msg] Preparation of firmware http://plf.parrot.com/sphinx/firmwares/ardrone3/milos_pc/latest/images/ardrone3-milos_pc.ext2.zip
[Msg] firmware /usr/share/firmwared/firmwares//ardrone3-milos_pc.ext2.zip.a3223a5b-4bd8-9583-54ad-cb89d0a34087.firmware supported hardwares:
[Msg] milosboard
[Msg] Selected params to build .sdf file for bebop2:
param flir_pos = tilted
param kalamos_clip_far = 35
param kalamos_clip_near = 1.5
param low_gpu = 0
param with_flir = 0
param with_front_cam = 1
param with_hd_battery = 0
param with_kalamos = false
[Wrn] [BaseCameraSensor.cc:412] vertical_camera: parameter ‘num_buffers’ is now deprecated.
[Wrn] [BaseCameraSensor.cc:412] horizontal_camera: parameter ‘num_buffers’ is now deprecated.
I shd: omniscient_bebop2: created: generation=2 sample_count=4000 sample_size=184 sample_rate=1000 metadata_size=1083
I shd: time_bebop2: created: generation=2 sample_count=4000 sample_size=24 sample_rate=1000 metadata_size=128
I shd: battery_bebop2: created: generation=2 sample_count=4000 sample_size=8 sample_rate=1000 metadata_size=48
I shd: gps_bebop2: created: generation=2 sample_count=4000 sample_size=48 sample_rate=1000 metadata_size=245
[Msg] Drone bebop2[86f49130d3cb34370da585a0a3f671f359b05563] loaded
[Msg] WEB DASHBOARD IS ACCESSIBLE at http://localhost:9002
[Msg] Instance adamant_rebekka[86f49130d3cb34370da585a0a3f671f359b05563] started
[Msg] All drones instantiated
[Wrn] [Publisher.cc:141] Queue limit reached for topic /gazebo/default/user_camera/pose, deleting message. This warning is printed only once.

Any help would be appreciated.

Thanks!


#5

Can you try disabling the front camera and give it another try ?
Just edit your .drone file and set with_front_cam=“false” or alternatively override this parameter from the command line :
sphinx /opt/parrot-sphinx/usr/share/sphinx/drones/disco.drone::with_front_cam=false

I suspect that the front camera simulation is taking too much resources for your system configuration. That would explain why the simulated drone firmware is unable to respond to connection request.

See: https://developer.parrot.com/docs/sphinx/drone-requirements.html#using-the-front-camera for more informations


#6

I disabled front_cam… I can connect to the hotspot and from my phone ping 192.168.42.1
FreeFlight Pro does not detect the drone at all.

My version of Freeflight Pro is 5.2.1

Do you think my version of FreeFlight Pro filters connection by name ? Do my simulated drones need to start with DISCO or Bebop 2 ?


#12

I put firwared in debug mode. Here’s the output of journalclt -f

Aug 04 14:38:08 bart-linux firmwared[11281]: + curl_command=‘curl --location --silent --insecure’
Aug 04 14:38:08 bart-linux firmwared[11281]: + export LANG=C
Aug 04 14:38:08 bart-linux firmwared[11281]: + LANG=C
Aug 04 14:38:08 bart-linux firmwared[11281]: + ‘[’ -f http://plf.parrot.com/sphinx/firmwares/ardrone3/milos_pc/latest/images/ardrone3-milos_pc.ext2.zip ‘]’
Aug 04 14:38:08 bart-linux firmwared[11281]: + ‘[’ probe = probe ‘]’
Aug 04 14:38:08 bart-linux firmwared[11281]: ++ curl_get_size
Aug 04 14:38:08 bart-linux firmwared[11281]: +++ mktemp --tmpdir=/usr/share/firmwared/firmwares/
Aug 04 14:38:08 bart-linux firmwared[11281]: ++ local tmp_file=/usr/share/firmwared/firmwares/tmp.NVJwNqhJMY
Aug 04 14:38:08 bart-linux firmwared[11281]: +++ curl --location --silent --insecure --head http://plf.parrot.com/sphinx/firmwares/ardrone3/milos_pc/latest/images/ardrone3-milos_pc.ext2.zip --write-out ‘%{http_code}’ --output /usr/share/firmwared/firmwares/tmp.NVJwNqhJMY
Aug 04 14:38:08 bart-linux /usr/lib/gdm3/gdm-x-session[2751]: 08-04 14:38:08 pulseaudio_dlna.pulseaudio INFO on_playback_stream_removed “/org/pulseaudio/core1/playback_stream94”
Aug 04 14:38:08 bart-linux firmwared[11281]: ++ local status=200
Aug 04 14:38:08 bart-linux firmwared[11281]: ++ ‘[’ 200 -eq 200 ‘]’
Aug 04 14:38:08 bart-linux firmwared[11281]: +++ cat /usr/share/firmwared/firmwares/tmp.NVJwNqhJMY
Aug 04 14:38:08 bart-linux firmwared[11281]: +++ grep Content-Length
Aug 04 14:38:08 bart-linux firmwared[11281]: +++ tail -n 1
Aug 04 14:38:08 bart-linux firmwared[11281]: [41B blob data]
Aug 04 14:38:08 bart-linux firmwared[11281]: ++ size=$‘31094518\r’
Aug 04 14:38:08 bart-linux firmwared[11281]: ++ size=31094518
Aug 04 14:38:08 bart-linux firmwared[11281]: ++ echo 31094518
Aug 04 14:38:08 bart-linux firmwared[11281]: ++ rm -f /usr/share/firmwared/firmwares/tmp.NVJwNqhJMY
Aug 04 14:38:08 bart-linux firmwared[11281]: + size=31094518
Aug 04 14:38:08 bart-linux firmwared[11281]: + echo size=31094518
Aug 04 14:38:08 bart-linux firmwared[11281]: ++ curl_get_header
Aug 04 14:38:08 bart-linux firmwared[11281]: +++ mktemp --tmpdir=/usr/share/firmwared/firmwares/
Aug 04 14:38:08 bart-linux firmwared[11281]: ++ local tmp_file=/usr/share/firmwared/firmwares/tmp.s3RQzh0qf7
Aug 04 14:38:08 bart-linux firmwared[11281]: +++ curl --location --silent --insecure http://plf.parrot.com/sphinx/firmwares/ardrone3/milos_pc/latest/images/ardrone3-milos_pc.ext2.zip --write-out ‘%{http_code}’ --output /usr/share/firmwared/firmwares/tmp.s3RQzh0qf7 --range 0-2047
Aug 04 14:38:08 bart-linux firmwared[11281]: ++ local status=206
Aug 04 14:38:08 bart-linux firmwared[11281]: ++ ‘[’ 206 -eq 206 ‘]’
Aug 04 14:38:08 bart-linux firmwared[11281]: ++ echo /usr/share/firmwared/firmwares/tmp.s3RQzh0qf7
Aug 04 14:38:08 bart-linux firmwared[11281]: + tmp_file=/usr/share/firmwared/firmwares/tmp.s3RQzh0qf7
Aug 04 14:38:08 bart-linux firmwared[11281]: + ‘[’ ‘!’ -z /usr/share/firmwared/firmwares/tmp.s3RQzh0qf7 ‘]’
Aug 04 14:38:08 bart-linux firmwared[11281]: ++ /sbin/blkid -c /dev/null -o value -s UUID /usr/share/firmwared/firmwares/tmp.s3RQzh0qf7
Aug 04 14:38:08 bart-linux firmwared[11281]: ++ true
Aug 04 14:38:08 bart-linux firmwared[11281]: + uuid=
Aug 04 14:38:08 bart-linux firmwared[11281]: + ‘[’ -z ‘]’
Aug 04 14:38:08 bart-linux firmwared[11281]: ++ file --brief --mime-type /usr/share/firmwared/firmwares/tmp.s3RQzh0qf7
Aug 04 14:38:08 bart-linux firmwared[11281]: + ‘[’ application/zip = application/zip ‘]’
Aug 04 14:38:08 bart-linux firmwared[11281]: ++ od --address-radix=n -l --endian=little --skip-bytes=22 --read-bytes=4 /usr/share/firmwared/firmwares/tmp.s3RQzh0qf7
Aug 04 14:38:08 bart-linux firmwared[11281]: ++ sed ‘s/ //g’
Aug 04 14:38:08 bart-linux firmwared[11281]: + uncompressed_size=134217728
Aug 04 14:38:08 bart-linux firmwared[11281]: + echo uncompressed_size=134217728
Aug 04 14:38:08 bart-linux firmwared[11281]: ++ curl_get_uuid_from_zip
Aug 04 14:38:08 bart-linux firmwared[11281]: +++ curl --location --silent --insecure http://plf.parrot.com/sphinx/firmwares/ardrone3/milos_pc/latest/images/ardrone3-milos_pc.ext2.zip --write-out ‘%{http_code}’ --output /usr/share/firmwared/firmwares/tmp.s3RQzh0qf7 --range 31094482-31094518
Aug 04 14:38:08 bart-linux firmwared[11281]: ++ local status=206
Aug 04 14:38:08 bart-linux firmwared[11281]: ++ ‘[’ 206 -eq 206 ‘]’
Aug 04 14:38:08 bart-linux firmwared[11281]: +++ cat /usr/share/firmwared/firmwares/tmp.s3RQzh0qf7
Aug 04 14:38:08 bart-linux firmwared[11281]: ++ uuid=a3223a5b-4bd8-9583-54ad-cb89d0a34087
Aug 04 14:38:08 bart-linux firmwared[11281]: ++ echo a3223a5b-4bd8-9583-54ad-cb89d0a34087
Aug 04 14:38:08 bart-linux firmwared[11281]: + uuid=a3223a5b-4bd8-9583-54ad-cb89d0a34087
Aug 04 14:38:08 bart-linux firmwared[11281]: + echo uuid=a3223a5b-4bd8-9583-54ad-cb89d0a34087
Aug 04 14:38:08 bart-linux firmwared[11281]: + rm -f /usr/share/firmwared/firmwares/tmp.s3RQzh0qf7
Aug 04 14:38:08 bart-linux firmwared[11281]: + exit 0
Aug 04 14:38:08 bart-linux firmwared[11281]: I firmwared_firmwares: firmware a3223a5b-4bd8-9583-54ad-cb89d0a34087 already registered
Aug 04 14:38:08 bart-linux firmwared[11281]: D firmwared_firmwares: mounting firmware /usr/share/firmwared/firmwares//ardrone3-milos_pc.ext2.zip.a3223a5b-4bd8-9583-54ad-cb89d0a34087.firmware
Aug 04 14:38:08 bart-linux kernel: EXT4-fs (loop12): mounting ext2 file system using the ext4 subsystem
Aug 04 14:38:08 bart-linux kernel: EXT4-fs (loop12): mounted filesystem without journal. Opts: (null)
Aug 04 14:38:08 bart-linux firmwared[11281]: D firmwared: event_cb : event=2(MSG) conn=0x55937b81fc10 msg=0x55937b822c50
Aug 04 14:38:08 bart-linux firmwared[11281]: D firmwared_commands: execute command SHOW
Aug 04 14:38:08 bart-linux firmwared[11281]: D firmwared: event_cb : event=2(MSG) conn=0x55937b81fc10 msg=0x55937b822c50
Aug 04 14:38:08 bart-linux firmwared[11281]: D firmwared_commands: execute command PREPARE
Aug 04 14:38:08 bart-linux firmwared[11281]: I firmwared_instances: init_command_line: ro_boot_console = ro.boot.console=
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: ++ readlink -m /var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + canonicalized=/var/cache/firmwared/mount_points/instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + [[ 0 != 0 ]]
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + [[ /var/cache/firmwared/mount_points/instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union == / ]]
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + unset canonicalized
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + workdir=/var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/fs/workdir
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + hostlibs_root_full_path=/var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union/simulator/host
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + ldconfig_sphinx=/opt/parrot-sphinx/usr/bin/ldconfig_sphinx
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + [[ ! -x /opt/parrot-sphinx/usr/bin/ldconfig_sphinx ]]
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + ‘[’ init = init ‘]’
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + mkdir -p /var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/fs
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + ‘[’ unlimited ‘!=’ unlimited ‘]’
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + mkdir -p /var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/ro /var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/fs/rw /var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: 17b94cbd59b576ed3d48b/union /var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/fs/workdir
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + ‘[’ -d /usr/share/firmwared/firmwares//ardrone3-milos_pc.ext2.zip.a3223a5b-4bd8-9583-54ad-cb89d0a34087.firmware ‘]’
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + touch /usr/share/firmwared/firmwares//ardrone3-milos_pc.ext2.zip.a3223a5b-4bd8-9583-54ad-cb89d0a34087.firmware
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + mount -o ro,loop /usr/share/firmwared/firmwares//ardrone3-milos_pc.ext2.zip.a3223a5b-4bd8-9583-54ad-cb89d0a34087.firmware /var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/ro
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + mount -t overlay -o lowerdir=/var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/ro,upperdir=/var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/fs/rw,workdir=/var/cache/firmwared/mount
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/fs/workdir firmwared_c385d98a39c4928f5a317b94cbd59b576ed3d48b /var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union
Aug 04 14:38:08 bart-linux firmwared[11281]: I firmwared_instances: OUTER_PTS is /dev/pts/2
Aug 04 14:38:08 bart-linux firmwared[11281]: I firmwared_instances: INNER_PTS is /dev/pts/3
Aug 04 14:38:08 bart-linux firmwared[11281]: I apparmor_config: apparmor_load_profile(c385d98a39c4928f5a317b94cbd59b576ed3d48b)
Aug 04 14:38:08 bart-linux audit[11854]: AVC apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name=“firmwared_c385d98a39c4928f5a317b94cbd59b576ed3d48b” pid=11854 comm=“apparmor_parser”
Aug 04 14:38:08 bart-linux audit[11854]: AVC apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name=“firmwared_c385d98a39c4928f5a317b94cbd59b576ed3d48b//ftpd” pid=11854 comm=“apparmor_parser”
Aug 04 14:38:08 bart-linux kernel: audit: type=1400 audit(1533407888.910:46): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name=“firmwared_c385d98a39c4928f5a317b94cbd59b576ed3d48b” pid=11854 comm=“apparmor_parser”
Aug 04 14:38:08 bart-linux kernel: audit: type=1400 audit(1533407888.910:47): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name=“firmwared_c385d98a39c4928f5a317b94cbd59b576ed3d48b//ftpd” pid=11854 comm=“apparmor_parser”
Aug 04 14:38:08 bart-linux /usr/lib/gdm3/gdm-x-session[2751]: 08-04 14:38:08 pulseaudio_dlna.pulseaudio INFO on_playback_stream_removed “/org/pulseaudio/core1/playback_stream95”
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: ++ readlink -m /var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + canonicalized=/var/cache/firmwared/mount_points/instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + [[ 0 != 0 ]]
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + [[ /var/cache/firmwared/mount_points/instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union == / ]]
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + unset canonicalized
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + workdir=/var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/fs/workdir
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + hostlibs_root_full_path=/var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union/simulator/host
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + ldconfig_sphinx=/opt/parrot-sphinx/usr/bin/ldconfig_sphinx
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + [[ ! -x /opt/parrot-sphinx/usr/bin/ldconfig_sphinx ]]
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + ‘[’ init_extra = init ‘]’
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + ‘[’ init_extra = init_extra ‘]’
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + ‘[’ -n /lib:/usr/lib ‘]’
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + handle_newest_stdlibcpp /var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + ‘[’ -z /var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union ‘]’
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + libpath=usr/lib/x86_64-linux-gnu/libstdc++.so.6
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + ump=/var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: ++ head -n1
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: ++ sed ‘s@..([0-9]+)@\1@’
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: ++ ls -1 -r /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.25
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + host_cpp_version=25
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: ++ head -n1
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: ++ sed 's@.
.([0-9]+)@\1@’
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: ++ ls -1 -r /var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.25
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + local_cpp_version=25
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + printf ‘host libstdc++ version = %s\n’ 25
Aug 04 14:38:08 bart-linux firmwared[11281]: D firmwared_log: host libstdc++ version = 25
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + printf ‘local libstdc++ version = %s\n’ 25
Aug 04 14:38:08 bart-linux firmwared[11281]: D firmwared_log: local libstdc++ version = 25
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + ‘[’ -z 25 ‘]’
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + ‘[’ -z 25 ‘]’
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + ‘[’ 25 -le 25 ‘]’
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + return
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + mkdir -p /var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union/simulator/host
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + IFS=:
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + for i in ${hostlibs_paths}
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + ‘[’ -d /lib ‘]’
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + mkdir -p /var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union/simulator/host//lib
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + mount_bind_ro_recursive /lib /var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union/simulator/host//lib


#13

Part 2 of journalctl
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: ++ readlink -f /lib
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + local src0=/lib
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + local src0len=4
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + local src
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + submounts=()
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + local submounts
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: + read -rd ‘’ src
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: ++ findmnt -cnrv
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: ++ grep -o ‘^[^ ]
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: ++ sort
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: ++ uniq
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: ++ tr ‘\n’ ‘\0’
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: ++ xargs -0n1 printf ‘%b\0’
Aug 04 14:38:08 bart-linux firmwared[11281]: W firmwared_log: ++ grep -zF /lib
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: + (( 0 > 32 ))
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: + mount_bind_ro /lib /var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union/simulator/host//lib
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: + mount --bind /lib /var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union/simulator/host//lib
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: + mount -o ro,remount,bind /lib /var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union/simulator/host//lib
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: + for i in ${hostlibs_paths}
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: + ‘[’ -d /usr/lib ‘]’
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: + mkdir -p /var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union/simulator/host//usr/lib
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: + mount_bind_ro_recursive /usr/lib /var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union/simulator/host//usr/lib
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: ++ readlink -f /usr/lib
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: + local src0=/usr/lib
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: + local src0len=8
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: + local src
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: + submounts=()
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: + local submounts
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: + read -rd ‘’ src
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: ++ findmnt -cnrv
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: ++ grep -o '^[^ ]

Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: ++ tr ‘\n’ ‘\0’
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: ++ sort
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: ++ uniq
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: ++ grep -zF /usr/lib
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: ++ xargs -0n1 printf ‘%b\0’
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: + (( 0 > 32 ))
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: + mount_bind_ro /usr/lib /var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union/simulator/host//usr/lib
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: + mount --bind /usr/lib /var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union/simulator/host//usr/lib
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: + mount -o ro,remount,bind /usr/lib /var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union/simulator/host//usr/lib
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: + unset IFS
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: + cat
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: + cp -aL --parents /etc/ld.so.conf /etc/ld.so.conf.d /var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union/simulator/host/
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: + find /var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union/simulator/host/etc/ld.so.conf /var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union/simulator/host/etc/ld.so.conf.d -t
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: pe f
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: + xargs sed -i ‘-es|^/|/simulator/host/|’ ‘-es|^include\s+/|include /simulator/host/|’
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: + /opt/parrot-sphinx/usr/bin/ldconfig_sphinx -X -r /var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union
Aug 04 14:38:09 bart-linux /usr/lib/gdm3/gdm-x-session[2751]: 08-04 14:38:09 pulseaudio_dlna.pulseaudio INFO on_new_playback_stream “/org/pulseaudio/core1/playback_stream96”
Aug 04 14:38:09 bart-linux firmwared[11281]: D firmwared_log: saving cache in little endian encoding
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: + mkdir -p /var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union/simulator/x11
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: + ‘[’ -d /tmp/.X11-unix/ ‘]’
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: + mount_bind_ro /tmp/.X11-unix/ /var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union/simulator/x11
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: + mount --bind /tmp/.X11-unix/ /var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union/simulator/x11
Aug 04 14:38:09 bart-linux firmwared[11281]: W firmwared_log: + mount -o ro,remount,bind /tmp/.X11-unix/ /var/cache/firmwared/mount_points//instances/c385d98a39c4928f5a317b94cbd59b576ed3d48b/union/simulator/x11
Aug 04 14:38:09 bart-linux firmwared[11281]: D firmwared_folders: folder_store(instances, 0x55937b823100)
Aug 04 14:38:09 bart-linux firmwared[11281]: D firmwared: event_cb : event=2(MSG) conn=0x55937b81fc10 msg=0x55937b822c50
Aug 04 14:38:09 bart-linux firmwared[11281]: D firmwared_commands: execute command SHOW
Aug 04 14:38:09 bart-linux /usr/lib/gdm3/gdm-x-session[2751]: 08-04 14:38:09 pulseaudio_dlna.pulseaudio INFO on_playback_stream_removed “/org/pulseaudio/core1/playback_stream96”
Aug 04 14:38:10 bart-linux /usr/lib/gdm3/gdm-x-session[2751]: 08-04 14:38:10 pulseaudio_dlna.pulseaudio INFO _async_handle_sink_update /org/pulseaudio/core1/sink2
Aug 04 14:38:10 bart-linux /usr/lib/gdm3/gdm-x-session[2751]: 08-04 14:38:10 pulseaudio_dlna.pulseaudio INFO _async_handle_sink_update /org/pulseaudio/core1/sink2 finished!
Aug 04 14:38:11 bart-linux firmwared[11281]: D firmwared: event_cb : event=2(MSG) conn=0x55937b81fc10 msg=0x55937b822c50
Aug 04 14:38:11 bart-linux firmwared[11281]: D firmwared_commands: execute command SET_PROPERTY
Aug 04 14:38:11 bart-linux firmwared[11281]: D firmwared: event_cb : event=2(MSG) conn=0x55937b81fc10 msg=0x55937b822c50
Aug 04 14:38:11 bart-linux firmwared[11281]: D firmwared_commands: execute command START
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + set -u
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + host_iface=fd_veth0
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + host_addr=10.202.0.254/24
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + cont_temp_iface=fd_veth_peer0
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + cont_addr=10.202.0.1/24
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + stolen_interface=wlxacf1df142bd2
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + target_name=eth0
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + stolen_interface_ip=192.168.42.1/24
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + ‘[’ create = create ‘]’
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + ip link add fd_veth0 type veth peer name fd_veth_peer0
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + wait_for_iface fd_veth0 3
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + if_name=fd_veth0
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + timeout=3
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + retry=0
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: ++ ip link list
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: ++ grep fd_veth0
Aug 04 14:38:11 bart-linux systemd-udevd[12030]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Aug 04 14:38:11 bart-linux systemd-udevd[12030]: Could not generate persistent MAC address for fd_veth_peer0: No such file or directory
Aug 04 14:38:11 bart-linux systemd-udevd[12032]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Aug 04 14:38:11 bart-linux systemd-udevd[12032]: Could not generate persistent MAC address for fd_veth0: No such file or directory
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + ‘[’ ‘!’ -z ‘16: fd_veth_peer0@fd_veth0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: 17: fd_veth0@fd_veth_peer0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000’ ‘]’
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + echo ‘fd_veth0 exists’
Aug 04 14:38:11 bart-linux firmwared[11281]: D firmwared_log: fd_veth0 exists
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + wait_for_iface fd_veth_peer0 3
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + if_name=fd_veth_peer0
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + timeout=3
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + retry=0
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: ++ ip link list
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: ++ grep fd_veth_peer0
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + ‘[’ ‘!’ -z ‘16: fd_veth_peer0@fd_veth0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: 17: fd_veth0@fd_veth_peer0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000’ ‘]’
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + echo ‘fd_veth_peer0 exists’
Aug 04 14:38:11 bart-linux firmwared[11281]: D firmwared_log: fd_veth_peer0 exists
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + ip address add 10.202.0.254/24 dev fd_veth0
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + ip link set fd_veth0 up
Aug 04 14:38:11 bart-linux avahi-daemon[1587]: Joining mDNS multicast group on interface fd_veth0.IPv4 with address 10.202.0.254.
Aug 04 14:38:11 bart-linux systemd-timesyncd[1475]: Network configuration changed, trying to establish connection.
Aug 04 14:38:11 bart-linux avahi-daemon[1587]: New relevant interface fd_veth0.IPv4 for mDNS.
Aug 04 14:38:11 bart-linux avahi-daemon[1587]: Registering new address record for 10.202.0.254 on fd_veth0.IPv4.
Aug 04 14:38:11 bart-linux networkd-dispatcher[1560]: WARNING:Unknown index 17 seen, reloading interface list
Aug 04 14:38:11 bart-linux firmwared[11281]: I firmwared_instances: launch_instance “/usr/share/firmwared/firmwares//ardrone3-milos_pc.ext2.zip.a3223a5b-4bd8-9583-54ad-cb89d0a34087.firmware”
Aug 04 14:38:11 bart-linux kernel: IPv6: ADDRCONF(NETDEV_UP): fd_veth0: link is not ready
Aug 04 14:38:11 bart-linux firmwared[11281]: D firmwared_instances: ut_process_sync_child_unlock…
Aug 04 14:38:11 bart-linux firmwared[11281]: D firmwared_instances: ut_process_sync_parent_lock
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + set -u
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + host_iface=fd_veth0
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + host_addr=10.202.0.254/24
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + cont_temp_iface=fd_veth_peer0
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + cont_addr=10.202.0.1/24
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + stolen_interface=wlxacf1df142bd2
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + target_name=eth0
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + stolen_interface_ip=192.168.42.1/24
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + ‘[’ assign = create ‘]’
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + ‘[’ assign = assign ‘]’
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + ip link set fd_veth_peer0 netns 12061
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + ‘[’ -n wlxacf1df142bd2 ‘]’
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + ‘[’ ‘!’ -e /sys/class/net/wlxacf1df142bd2 ‘]’
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + phy80211_dir=/sys/class/net/wlxacf1df142bd2/phy80211
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + phy_file=/sys/class/net/wlxacf1df142bd2/phy80211/index
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + ‘[’ -e /sys/class/net/wlxacf1df142bd2/phy80211/index ‘]’
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + mapfile phy
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + echo 0
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + iw --debug phy#1 set netns 12061
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: – Debug: Sent Message:
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: -------------------------- BEGIN NETLINK MESSAGE ---------------------------
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: [NETLINK HEADER] 16 octets
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: .nlmsg_len = 36
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: .type = 28 <0x1c>
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: .flags = 5 <REQUEST,ACK>
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: .seq = 1533407892
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: .port = -545247450
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: [GENERIC NETLINK HEADER] 4 octets
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: .cmd = 49
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: .version = 0
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: .unused = 0
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: [PAYLOAD] 16 octets
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: 08 00 01 00 01 00 00 00 08 00 52 00 1d 2f 00 00 …R…/…
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: --------------------------- END NETLINK MESSAGE ---------------------------
Aug 04 14:38:11 bart-linux systemd-timesyncd[1475]: Synchronized to time server 91.189.89.198:123 (ntp.ubuntu.com).
Aug 04 14:38:11 bart-linux systemd-timesyncd[1475]: Network configuration changed, trying to establish connection.
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: – Debug: Received Message:
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: -------------------------- BEGIN NETLINK MESSAGE ---------------------------
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: [NETLINK HEADER] 16 octets
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: .nlmsg_len = 36
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: .type = 2
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: .flags = 256
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: .seq = 1533407892
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: .port = -545247450
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: [ERRORMSG] 20 octets
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: .error = 0 “Success”
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: [ORIGINAL MESSAGE] 16 octets
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: .nlmsg_len = 16
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: .type = 28 <0x1c>
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: .flags = 5 <REQUEST,ACK>
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: .seq = 1533407892
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: .port = -545247450
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: --------------------------- END NETLINK MESSAGE ---------------------------
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + ‘[’ -n ‘’ ‘]’
Aug 04 14:38:11 bart-linux firmwared[11281]: D firmwared_instances: ut_process_sync_parent_unlock…
Aug 04 14:38:11 bart-linux firmwared[11281]: D firmwared_instances: ut_process_sync_child_lock
Aug 04 14:38:11 bart-linux ModemManager[1538]: (net/eth0): released by modem /sys/devices/pci0000:00/0000:00:01.0/0000:10:00.0/0000:11:01.0/0000:12:00.0/usb2/2-2/2-2.3/2-2.3.3
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + set -u
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + host_iface=fd_veth0
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + host_addr=10.202.0.254/24
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + cont_temp_iface=fd_veth_peer0
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + cont_addr=10.202.0.1/24
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + stolen_interface=wlxacf1df142bd2
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + target_name=eth0
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + stolen_interface_ip=192.168.42.1/24
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + ‘[’ config = create ‘]’
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + ‘[’ config = assign ‘]’
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + ‘[’ config = config ‘]’
Aug 04 14:38:11 bart-linux firmwared[11281]: W firmwared_log: + ip link set fd_veth_peer0 name eth1
Aug 04 14:38:11 bart-linux kernel: eth1: renamed from fd_veth_peer0
Aug 04 14:38:12 bart-linux firmwared[11281]: W firmwared_log: + ip address add 10.202.0.1/24 dev eth1
Aug 04 14:38:12 bart-linux firmwared[11281]: W firmwared_log: + ip link set eth1 up
Aug 04 14:38:12 bart-linux firmwared[11281]: W firmwared_log: + ‘[’ -n wlxacf1df142bd2 ‘]’
Aug 04 14:38:12 bart-linux firmwared[11281]: W firmwared_log: + wait_for_iface wlxacf1df142bd2 3
Aug 04 14:38:12 bart-linux firmwared[11281]: W firmwared_log: + if_name=wlxacf1df142bd2
Aug 04 14:38:12 bart-linux firmwared[11281]: W firmwared_log: + timeout=3
Aug 04 14:38:12 bart-linux firmwared[11281]: W firmwared_log: + retry=0
Aug 04 14:38:12 bart-linux systemd-networkd[1474]: fd_veth0: Gained carrier
Aug 04 14:38:12 bart-linux firmwared[11281]: W firmwared_log: ++ ip link list
Aug 04 14:38:12 bart-linux firmwared[11281]: W firmwared_log: ++ grep wlxacf1df142bd2
Aug 04 14:38:12 bart-linux kernel: IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
Aug 04 14:38:12 bart-linux kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Aug 04 14:38:12 bart-linux kernel: IPv6: ADDRCONF(NETDEV_CHANGE): fd_veth0: link becomes ready
Aug 04 14:38:12 bart-linux firmwared[11281]: W firmwared_log: + ‘[’ ‘!’ -z ‘5: wlxacf1df142bd2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000’ ‘]’
Aug 04 14:38:12 bart-linux firmwared[11281]: W firmwared_log: + echo ‘wlxacf1df142bd2 exists’
Aug 04 14:38:12 bart-linux firmwared[11281]: D firmwared_log: wlxacf1df142bd2 exists
Aug 04 14:38:12 bart-linux firmwared[11281]: W firmwared_log: + ‘[’ eth0 ‘!=’ wlxacf1df142bd2 ‘]’
Aug 04 14:38:12 bart-linux firmwared[11281]: W firmwared_log: + ip link set wlxacf1df142bd2 name eth0
Aug 04 14:38:12 bart-linux kernel: rt2800usb 2-2.3.3:1.0 eth0: renamed from wlxacf1df142bd2
Aug 04 14:38:12 bart-linux systemd-timesyncd[1475]: Synchronized to time server 91.189.89.198:123 (ntp.ubuntu.com).
Aug 04 14:38:12 bart-linux firmwared[11281]: W firmwared_log: + ‘[’ -n 192.168.42.1/24 ‘]’
Aug 04 14:38:12 bart-linux firmwared[11281]: W firmwared_log: + ip address add 192.168.42.1/24 brd + dev eth0
Aug 04 14:38:12 bart-linux firmwared[11281]: W firmwared_log: + [[ wlxacf1df142bd2} == sphx* ]]
Aug 04 14:38:12 bart-linux firmwared[11281]: W firmwared_log: + modprobe ifb numifbs=0
Aug 04 14:38:12 bart-linux firmwared[11281]: W firmwared_log: + ip link add eth1_ifb type ifb
Aug 04 14:38:12 bart-linux firmwared[11281]: W firmwared_log: + ip link set dev eth1_ifb up
Aug 04 14:38:12 bart-linux firmwared[11281]: W firmwared_log: + tc qdisc add dev eth1 handle ffff: ingress
Aug 04 14:38:12 bart-linux firmwared[11281]: W firmwared_log: + tc filter add dev eth1 parent ffff: protocol ip u32 match u32 0 0 action mirred egress redirect dev eth1_ifb
Aug 04 14:38:12 bart-linux firmwared[11281]: W firmwared_log: + ‘[’ -n wlxacf1df142bd2 ‘]’
Aug 04 14:38:12 bart-linux firmwared[11281]: W firmwared_log: + ip link add eth0_ifb type ifb
Aug 04 14:38:12 bart-linux firmwared[11281]: W firmwared_log: + ip link set dev eth0_ifb up
Aug 04 14:38:12 bart-linux firmwared[11281]: W firmwared_log: + tc qdisc add dev eth0 handle ffff: ingress
Aug 04 14:38:12 bart-linux firmwared[11281]: W firmwared_log: + tc filter add dev eth0 parent ffff: protocol ip u32 match u32 0 0 action mirred egress redirect dev eth0_ifb
Aug 04 14:38:12 bart-linux firmwared[11281]: D firmwared_instances: ut_process_sync_parent_lock(2)
Aug 04 14:38:12 bart-linux firmwared[11281]: I firmwared_instances: launch_pid_1
Aug 04 14:38:13 bart-linux avahi-daemon[1587]: Registering new address record for fe80::447:6fff:febd:7ba6 on fd_veth0.*.
Aug 04 14:38:13 bart-linux systemd-networkd[1474]: fd_veth0: Gained IPv6LL


#14

How do you bundle hostapd binary and the mac80211 kernel module in firmwared ? I didn’t see them
in /opt/parrot-sphinx/ . There is an issue with hostapd, the version that is in Ubuntu 18.04 works fine. I installed
hostapd and tested with my D-Link Corp. DWA-160 . It works fine.

I killed my hostapd , restarted sphinx… here’s what I see

bart-linux kernel: [ 2226.562659] netlink: ‘hostapd’: attribute type 213 has an invalid length.
Aug 5 21:43:26 bart-linux kernel: [ 2231.875788] netlink: ‘hostapd’: attribute type 213 has an invalid length.
Aug 5 21:43:31 bart-linux kernel: [ 2236.194846] netlink: ‘hostapd’: attribute type 213 has an invalid length.
Aug 5 21:43:36 bart-linux kernel: [ 2241.510836] netlink: ‘hostapd’: attribute type 213 has an invalid length.
Aug 5 21:43:41 bart-linux kernel: [ 2246.855429] netlink: ‘hostapd’: attribute type 213 has an invalid length.
Aug 5 21:43:45 bart-linux kernel: [ 2251.176078] netlink: ‘hostapd’: attribute type 213 has an invalid length.
Aug 5 21:43:51 bart-linux kernel: [ 2256.519184] netlink: ‘hostapd’: attribute type 213 has an invalid length.
Aug 5 21:43:56 bart-linux kernel: [ 2261.843223] netlink: ‘hostapd’: attribute type 213 has an invalid length.
Aug 5 21:44:01 bart-linux kernel: [ 2267.151197] netlink: ‘hostapd’: attribute type 213 has an invalid length.
Aug 5 21:44:07 bart-linux kernel: [ 2272.474350] netlink: ‘hostapd’: attribute type 213 has an invalid length.
Aug 5 21:44:12 bart-linux kernel: [ 2277.834908] netlink: ‘hostapd’: attribute type 213 has an invalid length.
Aug 5 21:44:17 bart-linux kernel: [ 2282.220011] netlink: ‘hostapd’: attribute type 213 has an invalid length.
Aug 5 21:44:22 bart-linux kernel: [ 2287.555368] netlink: ‘hostapd’: attribute type 213 has an invalid length.
Aug 5 21:44:27 bart-linux kernel: [ 2292.842674] netlink: ‘hostapd’: attribute type 213 has an invalid length.
Aug 5 21:44:31 bart-linux kernel: [ 2297.171245] netlink: ‘hostapd’: attribute type 213 has an invalid length.
Aug 5 21:44:37 bart-linux kernel: [ 2302.517649] netlink: ‘hostapd’: attribute type 213 has an invalid length.
Aug 5 21:44:42 bart-linux kernel: [ 2307.854486] netlink: ‘hostapd’: attribute type 213 has an invalid length.

When I run my hostapd app , it works find and I do not see this error in /var/log/syslog

How can I update sphinx firmwared to use my working hostapd and mac80211 kernel module ?


#15

Hi,

My Dlink DWA-160 rev B works with my ububuntu 18.0.4 distribution. I tested by running a hotspor with hostapd. Worked fine. The list of Parrot tested devices does indicate only revA was tested and functionality with any other version is uncertian. It appears the version of hostapd that Parrot Sphinx is using is the “unpatched” version and suffers from the " netlink: ‘hostapd’: attribute type 213 has an invalid length" bug. That’s why sometime the Sphinx simulator AP comes up, but since there are so many errors, FreeFlight Pro can not connect to it. If there was a way to use the hostapd that was patched and included in the Ubuntu 18.04 latest update that I am running… it would more than likely work because when I run hostapd that was installed with the OS, I do not see the netlink error.

I have the NetworkManager.service disabled.

Is it possible to remove hostapd from the sphinx build or at least have a runtime flag that will switch from the Sphinx bundled hostapd to the Linux Distribution hostapd ?

Are there other usb wifi devices that work with the the mac80211 kernel modules that are more robust ?

Since most of the mac80211 supported usb wifi adapters are old they are difficult to find and purchase.
Do you know of any that are on the Sphinx compatability list that are not old stock and available ?
I bought my DWA-160 from Amazon. Version was uncertain an not listed. When I recieved it and noted it was rev B I tested it with the Ubuntu 18.04 distribution version of hostapd and it did work fine.

I would like to rule out my DWA-160. Can FreeFlight Pro connect to the virtual ethernet interface ? If so are there directions on how to configure it ? My home network is 192.168.0.0/24,


#16

Good Morning. I updated to Ubuntu 18.04. KDE Plasma now performs better than Gnome Cinammon and Mate. Wow. My development environment actually looks pretty slick.

regarding Parrot Sphinx. I bought a usb wifi device that was on the list. it’s a Dlink DWA-160.
I bought it from Amazon but the version was not listed, so I took a gamble. It’s revB.
The compatability list incicates revA was tested.
I tested with hostapd that was included with Ubuntu 18.04. I have the latest update installed.
I disabled NetworkManger, configured hostapd for a 192.168.100.0/24 network
hostapd worked fine, I was able to access my development machine from the rogue network I had configured for the AP. Syslog looked fine.

I terminated hostapd, configured bebop2.drone for my wifi deveice name. wlan{macaddress}
ran ifup wlan {macaddress} to be sure the interface light was enabled and the led was flashing.
Fired up sphinx, the Sphinx simulator AP was visable… but FreeFlight Pro could not connect.
At first I thought maybe it was an Apparmor issue. … no. I looked at the syslog and noticed netlink errors.
I posted these errors in the forums. I think the version of netlink that’s bundled in the Parrot Sphinx
sandbox is the unpatched version. Could Sphinx be updated to allow the option of using the distribution
version of hostapd ?


#17

Hello ndessart!

I copied my Ubuntu 18.04 distributed version of hostapd and hostapd_cli to the ardrone3_milos image…
Success! It works!
Once I have skycontroller2 working then the fun work begins! I am going to try to build a virtual world of my r/c clubs airfield.

Thanks!


#18

Replacing hostapd and hostapd_cli 2.4 in the milios firmware image with my Ubuntu 18.04 2.6 version
worked for three sessions. After that the netlink: ‘hostapd’: attribute type 213 has an invalid length
started again. it was less often but it was enough to prevent FreeFlight Pro from connecting.

I ordered a TPLink wireless usb adapter that was featured in the Sphinx compatability list.

I’ll update the thread when I test with it.

TP-Link has the Atheros chipset. Maybe it’s more robust than RALink ?


#19

Hi jerryn,

I am sorry to hear that it hasn’t work in the long run. It seems there is still something that we don’t understand here.

What is the exact reference of your wifi dongle. Is it a Dlink DWA-160 B1 or a B2 ? The B1 hardware revision has a RT2850 chipset while the B2 has a RT5572 chipset. Both are Ralink chipset using the rt2800usb kernel driver so it shouldn’t matter that much but since we’re not able to reproduce your issue on Ubuntu 18.04 with a DWA-160 C1 (which also have a RT5572 chipset) we can’t rule out a chipset specific issue.

DWA-160 B1 and B2 have a different product ID so you should be able to tell the difference using lsusb.
DWA-160 B1 should appear as 07d1:3c11 while DWA-160 B2 should appear as 2001:3c1a

Note that the TP-LINK TL-WN722N v1.10 has an Atheros AR9272 chipset which is compatible with the nl80211 framework while the TP-LINK TL-WN722 v2 and v3 have Realtek based chipset which aren’t compatible with mac80211 (in mainline kernels). I know this is a real pain but please double-check the dongle reference.


#20

Hi,
My DLINK DWA-160 is a B2:
2001:3c1a DWA-160 802.11abgn Xtreme N Dual Band Adapter(rev.B2) [Ralink RT5572]

I bought the TP-LINK TL_WN722N on Amazon. The order description specified Atheros AR9272
It is NOT. It’s a Realtek.

Do you have a DWA-160 B2 that you can test with ?
In the meantime I am going to start my return RMA with Amazon. Hopefully the next one will have the correct chipset.


#21

I was able to purchase a EDUP EP-N8531 WiFi N 150Mb adapter! The device is in the "Wifi Adapters tested with Sphinx " list. No version number listed, I figured it was a safe purchase. Fingers crossed.
The weather forecast here in New England is for rain this weekend. I figured I’ll take a stab at creating a worlld in Sphinx that resembles my r/c club’s airfield. Hopefully by the time I get it done, I will have the new wifi adapter to test with.


#22

I had the same problem as reported by OP.

Fusion Ubuntu 18.04.1 amd64 running on a MBP w/ TP Link WNDR4600

I could FTP into the drone but could never discover it.

I went with Ubuntu 16.04.5 amd64 on the same host config (Fusion only if on mac) and it works fine.

Only limitation I haven’t figured out yet is getting the camera to work but that isn’t too big of a deal.


#23

I have a macpro desktop black tin can.

The best thing I did was build up a thunderbolt jbod and install Linux on it. Ubuntu 18.04 runs awesome bare metal. Ditch the default windows manager. KDE Plasma 5. is te better one now. enable opengl 3.1 and 96pt anti aliased fonts.

Regarding the camera. I do not think it’s going to work well or at all in a virtual environment.


#24

I wanted to update the thread. Delivery of the EDUP nano wifi adapter took several weeks because it shipped out of China. It works flawlessly with Parrot Sphinx!!! Now I can concentrate on building up a VR World. Do you have any worlds to download as an example ?