ubuntu 16.04 I need /dev/ttyS0 (serial port) for use in my application. command:~$ dmesg | grep tty response with:[ 0.000000] console [tty0] enabled [ 0.691609] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A [ 0.715333] 00:06: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A how do I close the serial port (for current session only is also ok) so I can use it for my own needs? Let's block ads! بخوانید...
ادامه مطلبI am creating a playbook to install a software and I need to restart the server int he middle of the playbook. I need my Ansible host to wait till the server is back and execute the rest of my tasks but this is not happeing. These are my Ansible tasks related to reboot and wait: ... - name: restart server shell: shutdown -r now async: 1 poll: 0 become: yes become_method: sudo ignore_errors: true - name: waiting for server to come back after reboot local_action: wait_for host={{ ansible_ssh_host }} state=started port=22 delay=30 timeout=300 coect_timeout=15 .... This is the output of ruing my playbook: ... TASK [restart server] **********************************************...
ادامه مطلبI came across this interesting problem where I got redirected to some stupid spam site, I clicked the x to close the tab, but it instantly reappeared. I tried closing it through task manager, through Chrome's task manager, nothing seemed to be able to close it for good. How can I close it? This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.Recommended article from FiveFilters.org: Most Labour MPs in the UK Are Revolting....
ادامه مطلب