if {[expr ![have_spec nova] && ![have_spec sel4] && ![have_spec hw] && ![have_spec foc] || ![have_spec x86] || [have_include power_on/qemu]]} { puts "\n Run script is not supported on this platform. \n"; exit 0 } proc wifi_ssid {} { return "$::env(GENODE_WIFI_SSID2)" } proc wifi_psk {} { return "$::env(GENODE_WIFI_PSK2)" } proc router_verbose {} { return "no" } proc router_verbose_packet_drop {} { return "no" } proc router_verbose_packets {} { return "no" } proc router_verbose_domain_state {} { return "yes" } create_boot_directory import_from_depot [depot_user]/src/[base_src] \ [depot_user]/pkg/pc_wifi \ [depot_user]/src/acpi_drv \ [depot_user]/src/dynamic_rom \ [depot_user]/src/init \ [depot_user]/src/pc_nic_drv \ [depot_user]/src/nic_router \ [depot_user]/src/pci_decode \ [depot_user]/src/platform_drv \ [depot_user]/src/report_rom \ [depot_user]/src/rtc_drv build { app/ping } install_config { } build_boot_image [build_artifacts] append done_string ".*router.config: change" append done_string ".*router.config: sleep 3001 milliseconds" append done_string ".*64 bytes from 1.1.1.1: icmp_seq=" append done_string ".*router.config: change" append done_string ".*router.config: sleep 3002 milliseconds" append done_string ".*64 bytes from 1.1.1.1: icmp_seq=" append done_string ".*router.config: change" append done_string ".*router.config: sleep 3003 milliseconds" append done_string ".*downlink.*invalid domain.*invalid ICMP rule" append done_string ".*router.config: change" append done_string ".*router.config: sleep 3004 milliseconds" append done_string ".*64 bytes from 1.1.1.1: icmp_seq=" append done_string ".*router.config: change" append done_string ".*router.config: sleep 3005 milliseconds" append done_string ".*64 bytes from 1.1.1.1: icmp_seq=" append done_string ".*router.config: change" append done_string ".*router.config: sleep 3006 milliseconds" append done_string ".*downlink.*invalid domain.*invalid ICMP rule" append done_string ".*router.config: change" append done_string ".*router.config: sleep 3007 milliseconds" append done_string ".*64 bytes from 1.1.1.1: icmp_seq=" append done_string ".*router.config: change" append done_string ".*router.config: sleep 3008 milliseconds" append done_string ".*64 bytes from 1.1.1.1: icmp_seq=" append done_string ".*router.config: change" append done_string ".*router.config: sleep 600000 milliseconds" append done_string ".*From 10.0.1.79 icmp_seq=.* Destination Unreachable" run_genode_until $done_string 70