Marius82
(Marius)
May 28, 2019, 7:05pm
1
Hi!
I try to install the MH-Z19 sensor to my hass.io on a Raspberry Pi3b+.
I conected the sensor to the pi by this guide .
After that, I edit the config.txt in the boot directory and add
enable_uart=1
by this guide .
Then I reboot HA but this error appears:
(SyncWorker_19) [homeassistant.components.mhz19.sensor] Could not open serial connection to /dev/tty.S0 ([Errno 2] could not open port /dev/tty.S0: [Errno 2] No such file or directory: '/dev/tty.S0')
I’m on HA Version 0.93.2
Can someone help me?
Thanks, Marius
Check /dev to see what serial ports you have when your device is connected:
ls -la /dev/tty*
also make sure your user is a member of the dialout group:
pi@haven:~ $ groups
pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi
nickrout
(Nick Rout)
May 29, 2019, 7:16am
3
Marius82:
/dev/tty.S0
That would be a very strange linux device node. It would usually be /dev/ttyUSB0 or similar. But dmesg should tell you. Try
dmesg|grep -C5 tty
Marius82
(Marius)
May 29, 2019, 7:37am
4
This is this the result:
core-ssh:~# ls -la /dev/tty*
crw-rw-rw- 1 root root 5, 0 May 28 20:41 /dev/tty
crw-rw---- 1 root audio 204, 64 May 28 20:41 /dev/ttyAMA0
crw-rw---- 1 root audio 4, 64 May 28 20:41 /dev/ttyS0
core-ssh:~# groups
root bin daemon sys adm disk wheel floppy dialout tape video
Marius82
(Marius)
May 29, 2019, 7:46am
5
This is the result:
core-ssh:~# dmesg|grep -C5 tty
[ 0.000000] Normal zone: 242688 pages, LIFO batch:31
[ 0.000000] percpu: Embedded 17 pages/cpu @ba347000 s39564 r8192 d21876 u69632
[ 0.000000] pcpu-alloc: s39564 r8192 d21876 u69632 alloc=17*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 240555
[ 0.000000] Kernel command line: zram.enabled=1 zram.num_devices=3 apparmor=1 security=apparmor rootwait cgroup_enable=memory 8250.nr_uarts=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=tty1 root=PARTUUID=a3ec664e-32ce-4665-95ea-7ae90ce9aa20 rootfstype=squashfs ro rauc.slot=B
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 939152K/970752K available (8192K kernel code, 612K rwdata, 2268K rodata, 1024K init, 710K bss, 23408K reserved, 8192K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
--
[ 0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000006] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000020] Switching to timer-based delay loop, resolution 52ns
[ 0.000283] Console: colour dummy device 80x30
[ 0.000838] console [tty1] enabled
[ 0.000878] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[ 0.000918] pid_max: default: 32768 minimum: 301
[ 0.001070] Security Framework initialized
[ 0.001155] AppArmor: AppArmor initialized
[ 0.001358] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
--
[ 0.820404] Key type dns_resolver registered
[ 0.821777] Registering SWP/SWPB emulation handler
[ 0.823205] registered taskstats version 1
[ 0.824313] AppArmor: AppArmor sha1 policy hashing enabled
[ 0.828362] uart-pl011 3f201000.serial: cts_event_workaround enabled
[ 0.829509] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
[ 0.832550] 3f215040.serial: ttyS0 at MMIO 0x0 (irq = 166, base_baud = 31250000) is a 16550
[ 0.835172] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
[ 0.836303] mmc-bcm2835 3f300000.mmc: DMA channel allocated
[ 0.892226] sdhost: log_buf @ bad13000 (fad13000)
[ 0.928887] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 0.931488] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
--
[ 5.342026] uart-pl011 3f201000.serial: no DMA platform data
[ 5.853263] audit: type=1400 audit(1559068700.859:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="hassio-supervisor" pid=255 comm="apparmor_parser"
[ 5.860006] audit: type=1400 audit(1559068700.859:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="hassio-supervisor///usr/bin/gdbus" pid=255 comm="apparmor_parser"
[ 5.867443] audit: type=1400 audit(1559068700.859:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="hassio-supervisor///usr/bin/git" pid=255 comm="apparmor_parser"
[ 5.872969] audit: type=1400 audit(1559068700.859:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="hassio-supervisor///usr/bin/socat" pid=255 comm="apparmor_parser"
[ 5.876862] audit: type=1300 audit(1559068700.859:2): arch=40000028 syscall=4 per=800000 success=yes exit=70212 a0=6 a1=76d12008 a2=11244 a3=0 items=0 ppid=253 pid=255 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="apparmor_parser" exe="/usr/sbin/apparmor_parser" key=(null)
[ 5.876873] audit: type=1327 audit(1559068700.859:2): proctitle=61707061726D6F725F706172736572002D72002D57002D4C002F6D6E742F646174612F73757065727669736F722F61707061726D6F722F6361636865002F6D6E742F646174612F73757065727669736F722F61707061726D6F722F68617373696F2D73757065727669736F72
[ 6.043643] Bluetooth: Core ver 2.22
[ 6.047688] NET: Registered protocol family 31
[ 6.051712] Bluetooth: HCI device and connection manager initialized
[ 6.055360] Bluetooth: HCI socket layer initialized
--
[ 8.146460] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 11.525965] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 11.528047] brcmfmac: power management disabled
[ 14.439362] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 17.530025] audit: type=1400 audit(1559068712.539:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="docker-default" pid=347 comm="apparmor_parser"
[ 17.533285] audit: type=1300 audit(1559068712.539:3): arch=40000028 syscall=4 per=800000 success=yes exit=7945 a0=4 a1=c6a470 a2=1f09 a3=0 items=0 ppid=346 pid=347 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="apparmor_parser" exe="/usr/sbin/apparmor_parser" key=(null)
[ 17.539157] audit: type=1327 audit(1559068712.539:3): proctitle=61707061726D6F725F706172736572002D4B72002F6D6E742F646174612F646F636B65722F746D702F646F636B65722D64656661756C74323731313837353233
[ 19.929268] audit: type=1325 audit(1559068714.939:4): table=nat family=2 entries=5
[ 19.935639] audit: type=1300 audit(1559068714.939:4): arch=40000028 syscall=294 per=800000 success=yes exit=0 a0=4 a1=0 a2=40 a3=157f848 items=0 ppid=314 pid=380 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-multi" key=(null)
[ 19.949416] audit: type=1327 audit(1559068714.939:4): proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D74006E6174002D4E00444F434B4552
[ 19.958069] audit: type=1325 audit(1559068714.969:5): table=filter family=2 entries=4
[ 19.963179] audit: type=1300 audit(1559068714.969:5): arch=40000028 syscall=294 per=800000 success=yes exit=0 a0=4 a1=0 a2=40 a3=1346738 items=0 ppid=314 pid=382 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-multi" key=(null)
[ 19.970028] audit: type=1327 audit(1559068714.969:5): proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D740066696C746572002D4E00444F434B4552
[ 19.973666] audit: type=1325 audit(1559068714.989:6): table=filter family=2 entries=6
[ 20.046131] Initializing XFRM netlink socket
[ 20.081962] Netfilter messages via NETLINK v0.30.
[ 20.090640] ctnetlink v0.93: registering with nfnetlink.
[ 20.699081] IPv6: ADDRCONF(NETDEV_UP): hassio: link is not ready
[ 20.911968] IPv6: ADDRCONF(NETDEV_UP): docker0: link is not ready
[ 22.838984] kauditd_printk_skb: 131 callbacks suppressed
[ 22.838988] audit: type=1325 audit(1559068717.849:50): table=nat family=2 entries=25
[ 22.845493] audit: type=1300 audit(1559068717.849:50): arch=40000028 syscall=294 per=800000 success=yes exit=0 a0=4 a1=0 a2=40 a3=1cf22e0 items=0 ppid=314 pid=569 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-multi" key=(null)
[ 22.852394] audit: type=1327 audit(1559068717.849:50): proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D74006E6174002D4400444F434B4552002D7000746370002D6400302F30002D2D64706F72740031363237002D6A00444E4154002D2D746F2D64657374696E6174696F6E003137322E33302E33332E333A313632370000002D690068617373696F
[ 22.859131] audit: type=1325 audit(1559068717.869:51): table=filter family=2 entries=31
[ 22.862644] audit: type=1300 audit(1559068717.869:51): arch=40000028 syscall=294 per=800000 success=yes exit=0 a0=4 a1=0 a2=40 a3=81c750 items=0 ppid=314 pid=571 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-multi" key=(null)
[ 22.869536] audit: type=1327 audit(1559068717.869:51): proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D740066696C746572002D4400444F434B45520000002D690068617373696F002D6F0068617373696F002D7000746370002D64003137322E33302E33332E33002D2D64706F72740031363237002D6A00414343455054
[ 22.871745] Voltage normalised (0x00000000)
[ 22.876307] audit: type=1325 audit(1559068717.889:52): table=nat family=2 entries=24
[ 22.880935] audit: type=1300 audit(1559068717.889:52): arch=40000028 syscall=294 per=800000 success=yes exit=0 a0=4 a1=0 a2=40 a3=e67118 items=0 ppid=314 pid=573 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-multi" key=(null)
[ 22.887393] audit: type=1327 audit(1559068717.889:52): proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D74006E6174002D4400504F5354524F5554494E47002D7000746370002D73003137322E33302E33332E33002D64003137322E33302E33332E33002D2D64706F72740031363237002D6A004D415351554552414445
[ 23.784695] audit: type=1325 audit(1559068718.799:53): table=nat family=2 entries=23
[ 24.951748] Under-voltage detected! (0x00050005)
[ 31.483461] kauditd_printk_skb: 44 callbacks suppressed
[ 31.483469] audit: type=1325 audit(1559068726.499:68): table=nat family=2 entries=13
[ 31.498577] audit: type=1300 audit(1559068726.499:68): arch=40000028 syscall=294 per=800000 success=yes exit=0 a0=4 a1=0 a2=40 a3=aefb68 items=0 ppid=314 pid=730 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-multi" key=(null)
[ 31.513362] audit: type=1327 audit(1559068726.499:68): proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D74006E6174002D4400504F5354524F5554494E47002D73003137322E31372E302E302F31360000002D6F00646F636B657230002D6A004D415351554552414445
[ 31.541487] audit: type=1325 audit(1559068726.549:69): table=nat family=2 entries=12
[ 31.549305] audit: type=1300 audit(1559068726.549:69): arch=40000028 syscall=294 per=800000 success=yes exit=0 a0=4 a1=0 a2=40 a3=a20630 items=0 ppid=314 pid=732 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-multi" key=(null)
[ 31.565140] audit: type=1327 audit(1559068726.549:69): proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D74006E6174002D4400444F434B4552002D6900646F636B657230002D6A0052455455524E
[ 31.576711] audit: type=1325 audit(1559068726.579:70): table=filter family=2 entries=25
[ 31.584483] audit: type=1300 audit(1559068726.579:70): arch=40000028 syscall=294 per=800000 success=yes exit=0 a0=4 a1=0 a2=40 a3=1dac8c0 items=0 ppid=314 pid=734 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-multi" key=(null)
[ 31.599962] audit: type=1327 audit(1559068726.579:70): proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D4400464F5257415244002D6900646F636B657230002D6F00646F636B657230002D6A00414343455054
[ 31.611527] audit: type=1325 audit(1559068726.599:71): table=filter family=2 entries=24
[ 34.424198] docker0: port 1(vethb3a3052) entered blocking state
[ 34.425571] docker0: port 1(vethb3a3052) entered disabled state
[ 34.427247] device vethb3a3052 entered promiscuous mode
--
[ 36.135870] docker0: port 1(vethb3a3052) entered blocking state
[ 36.138299] docker0: port 1(vethb3a3052) entered forwarding state
[ 36.140869] IPv6: ADDRCONF(NETDEV_CHANGE): docker0: link becomes ready
[ 36.493454] kauditd_printk_skb: 59 callbacks suppressed
[ 36.493461] audit: type=1325 audit(1559068856.937:91): table=filter family=2 entries=0
[ 36.641726] audit: type=1300 audit(1559068856.937:91): arch=40000028 syscall=295 per=800000 success=yes exit=0 a0=4 a1=0 a2=40 a3=7ed18a94 items=0 ppid=877 pid=889 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-multi" key=(null)
[ 36.653879] audit: type=1327 audit(1559068856.937:91): proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D4C002D6E
[ 36.662896] audit: type=1325 audit(1559068857.107:92): table=nat family=2 entries=0
[ 36.851706] audit: type=1300 audit(1559068857.107:92): arch=40000028 syscall=295 per=800000 success=yes exit=0 a0=4 a1=0 a2=40 a3=7ee89a54 items=0 ppid=877 pid=891 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-multi" key=(null)
[ 36.864774] audit: type=1327 audit(1559068857.107:92): proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D74006E6174002D43004F5554505554002D64003132372E302E302E3131002D6A00444F434B45525F4F5554505554
[ 36.874973] audit: type=1325 audit(1559068857.297:93): table=nat family=2 entries=5
[ 36.881947] audit: type=1300 audit(1559068857.297:93): arch=40000028 syscall=294 per=800000 success=yes exit=0 a0=4 a1=0 a2=40 a3=1a3848 items=0 ppid=877 pid=892 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-multi" key=(null)
[ 36.889437] audit: type=1327 audit(1559068857.297:93): proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D74006E6174002D4E00444F434B45525F4F5554505554
[ 36.894622] audit: type=1325 audit(1559068857.317:94): table=nat family=2 entries=7
[ 37.383315] eth1: renamed from veth4604a1c
[ 37.423299] IPv6: ADDRCONF(NETDEV_CHANGE): veth71ace53: link becomes ready
[ 37.427089] hassio: port 1(veth71ace53) entered blocking state
--
[ 43.572809] kauditd_printk_skb: 20 callbacks suppressed
[ 43.572814] audit: type=1400 audit(1559068864.007:101): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="hassio-supervisor" pid=958 comm="apparmor_parser"
[ 43.579081] audit: type=1400 audit(1559068864.007:101): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="hassio-supervisor///usr/bin/gdbus" pid=958 comm="apparmor_parser"
[ 43.583740] audit: type=1400 audit(1559068864.007:101): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="hassio-supervisor///usr/bin/git" pid=958 comm="apparmor_parser"
[ 43.589212] audit: type=1400 audit(1559068864.007:101): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="hassio-supervisor///usr/bin/socat" pid=958 comm="apparmor_parser"
[ 43.593844] audit: type=1300 audit(1559068864.007:101): arch=40000028 syscall=4 per=800000 success=yes exit=70212 a0=6 a1=76d92008 a2=11244 a3=0 items=0 ppid=957 pid=958 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="apparmor_parser" exe="/usr/sbin/apparmor_parser" key=(null)[ 43.601341] audit: type=1327 audit(1559068864.007:101): proctitle=61707061726D6F725F706172736572002D72002D57002D4C002F6D6E742F646174612F73757065727669736F722F61707061726D6F722F6361636865002F6D6E742F646174612F73757065727669736F722F61707061726D6F722F68617373696F2D73757065727669736F72
[ 47.423487] hassio: port 2(veth26cd73c) entered blocking state
[ 47.425439] hassio: port 2(veth26cd73c) entered disabled state
[ 47.427874] device veth26cd73c entered promiscuous mode
[ 47.429572] audit: type=1700 audit(1559068867.867:102): dev=veth26cd73c prom=256 old_prom=0 auid=4294967295 uid=0 gid=0 ses=4294967295
[ 47.433369] audit: type=1300 audit(1559068867.867:102): arch=40000028 syscall=290 per=800000 success=yes exit=40 a0=c a1=53636e0 a2=28 a3=0 items=0 ppid=1 pid=314 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="dockerd" exe="/usr/bin/dockerd" key=(null)
[ 47.444211] audit: type=1327 audit(1559068867.867:102): proctitle=2F7573722F62696E2F646F636B657264002D480066643A2F2F002D2D73746F726167652D6472697665723D6F7665726C617932002D2D6C6F672D6472697665723D6A6F75726E616C64002D2D646174612D726F6F74002F6D6E742F646174612F646F636B6572
[ 47.462135] IPv6: ADDRCONF(NETDEV_UP): veth26cd73c: link is not ready
[ 47.555534] audit: type=1325 audit(1559068867.997:103): table=nat family=2 entries=13
[ 47.831866] Under-voltage detected! (0x00050005)
[ 49.585440] kauditd_printk_skb: 35 callbacks suppressed
[ 49.585448] audit: type=1325 audit(1559068870.027:115): table=filter family=2 entries=0
[ 49.731849] audit: type=1300 audit(1559068870.027:115): arch=40000028 syscall=295 per=800000 success=yes exit=0 a0=4 a1=0 a2=40 a3=7e8efa94 items=0 ppid=1396 pid=1582 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-multi" key=(null)
[ 49.746077] audit: type=1327 audit(1559068870.027:115): proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D4C002D6E
[ 49.755453] audit: type=1325 audit(1559068870.197:116): table=nat family=2 entries=0
[ 50.011746] audit: type=1300 audit(1559068870.197:116): arch=40000028 syscall=295 per=800000 success=yes exit=0 a0=4 a1=0 a2=40 a3=7ed1ea54 items=0 ppid=1396 pid=1634 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-multi" key=(null)
[ 50.027190] audit: type=1327 audit(1559068870.197:116): proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D74006E6174002D43004F5554505554002D64003132372E302E302E3131002D6A00444F434B45525F4F5554505554
[ 50.038511] audit: type=1325 audit(1559068870.467:117): table=nat family=2 entries=5
[ 50.046065] audit: type=1300 audit(1559068870.467:117): arch=40000028 syscall=294 per=800000 success=yes exit=0 a0=4 a1=0 a2=40 a3=1679848 items=0 ppid=1396 pid=1635 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-multi" key=(null)
[ 50.061002] audit: type=1327 audit(1559068870.467:117): proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D74006E6174002D4E00444F434B45525F4F5554505554
[ 50.072498] audit: type=1325 audit(1559068870.477:118): table=nat family=2 entries=7
[ 50.523459] eth0: renamed from veth09f5f88
[ 50.564978] IPv6: ADDRCONF(NETDEV_CHANGE): veth26cd73c: link becomes ready
[ 50.568892] hassio: port 2(veth26cd73c) entered blocking state
--
[ 59.287556] hassio: port 3(veth37f3157) entered blocking state
[ 59.291264] hassio: port 3(veth37f3157) entered disabled state
[ 59.308530] device veth37f3157 entered promiscuous mode
[ 59.313988] kauditd_printk_skb: 20 callbacks suppressed
[ 59.313998] audit: type=1700 audit(1559068879.727:125): dev=veth37f3157 prom=256 old_prom=0 auid=4294967295 uid=0 gid=0 ses=4294967295
[ 59.324204] audit: type=1300 audit(1559068879.727:125): arch=40000028 syscall=290 per=800000 success=yes exit=40 a0=c a1=4d29bf0 a2=28 a3=0 items=0 ppid=1 pid=314 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="dockerd" exe="/usr/bin/dockerd" key=(null)
[ 59.338775] audit: type=1327 audit(1559068879.727:125): proctitle=2F7573722F62696E2F646F636B657264002D480066643A2F2F002D2D73746F726167652D6472697665723D6F7665726C617932002D2D6C6F672D6472697665723D6A6F75726E616C64002D2D646174612D726F6F74002F6D6E742F646174612F646F636B6572
[ 59.341602] IPv6: ADDRCONF(NETDEV_UP): veth37f3157: link is not ready
[ 59.546548] audit: type=1325 audit(1559068879.987:126): table=nat family=2 entries=21
[ 59.553670] audit: type=1300 audit(1559068879.987:126): arch=40000028 syscall=294 per=800000 success=yes exit=0 a0=4 a1=0 a2=40 a3=f42a80 items=0 ppid=314 pid=1879 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-multi" key=(null)
[ 59.567377] audit: type=1327 audit(1559068879.987:126): proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D74006E6174002D4100444F434B4552002D7000746370002D6400302F30002D2D64706F72740031363237002D6A00444E4154002D2D746F2D64657374696E6174696F6E003137322E33302E33332E313A313632370000002D690068617373696F
[ 59.626316] audit: type=1325 audit(1559068880.067:127): table=filter family=2 entries=33
[ 59.634139] audit: type=1300 audit(1559068880.067:127): arch=40000028 syscall=294 per=800000 success=yes exit=0 a0=4 a1=0 a2=40 a3=10e9780 items=0 ppid=314 pid=1884 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-multi" key=(null)
[ 59.650073] audit: type=1327 audit(1559068880.067:127): proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D740066696C746572002D4100444F434B45520000002D690068617373696F002D6F0068617373696F002D7000746370002D64003137322E33302E33332E31002D2D64706F72740031363237002D6A00414343455054
[ 59.706706] audit: type=1325 audit(1559068880.147:128): table=nat family=2 entries=22
[ 60.131762] hassio: port 4(veth4957278) entered blocking state
[ 60.135492] hassio: port 4(veth4957278) entered disabled state
[ 60.139835] device veth4957278 entered promiscuous mode
--
[ 60.939250] IPv6: ADDRCONF(NETDEV_UP): veth43b866c: link is not ready
[ 60.942421] hassio: port 5(veth43b866c) entered blocking state
[ 60.945433] hassio: port 5(veth43b866c) entered forwarding state
[ 61.301882] hassio: port 5(veth43b866c) entered disabled state
[ 64.461871] kauditd_printk_skb: 45 callbacks suppressed
[ 64.461877] audit: type=1300 audit(1559068884.697:143): arch=40000028 syscall=295 per=800000 success=yes exit=0 a0=4 a1=0 a2=40 a3=7ed63a54 items=0 ppid=2327 pid=2420 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-multi" key=(null)
[ 64.468816] audit: type=1327 audit(1559068884.697:143): proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D74006E6174002D43004F5554505554002D64003132372E302E302E3131002D6A00444F434B45525F4F5554505554
[ 64.473174] audit: type=1325 audit(1559068884.907:144): table=nat family=2 entries=0
[ 64.642607] audit: type=1300 audit(1559068884.907:144): arch=40000028 syscall=295 per=800000 success=yes exit=0 a0=4 a1=0 a2=40 a3=7ef07a54 items=0 ppid=2368 pid=2438 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-multi" key=(null)
[ 64.648421] audit: type=1327 audit(1559068884.907:144): proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D74006E6174002D43004F5554505554002D64003132372E302E302E3131002D6A00444F434B45525F4F5554505554
[ 64.661663] audit: type=1325 audit(1559068885.087:145): table=nat family=2 entries=5
[ 64.665313] audit: type=1300 audit(1559068885.087:145): arch=40000028 syscall=294 per=800000 success=yes exit=0 a0=4 a1=0 a2=40 a3=15e9848 items=0 ppid=2327 pid=2462 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-multi" key=(null)
[ 64.675626] audit: type=1327 audit(1559068885.087:145): proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D74006E6174002D4E00444F434B45525F4F5554505554
[ 64.681324] audit: type=1325 audit(1559068885.087:146): table=nat family=2 entries=5
[ 64.685034] audit: type=1300 audit(1559068885.087:146): arch=40000028 syscall=294 per=800000 success=yes exit=0 a0=4 a1=0 a2=40 a3=e53848 items=0 ppid=2368 pid=2483 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-multi" key=(null)
[ 64.758832] eth0: renamed from vethea02b41
[ 64.829914] IPv6: ADDRCONF(NETDEV_CHANGE): veth37f3157: link becomes ready
[ 64.832289] hassio: port 3(veth37f3157) entered blocking state
[ 64.834338] hassio: port 3(veth37f3157) entered forwarding state
[ 65.693114] eth0: renamed from veth784e715
--
[ 116.690301] hassio: port 6(vetha170273) entered disabled state
[ 116.692027] device vetha170273 entered promiscuous mode
[ 116.693713] kauditd_printk_skb: 52 callbacks suppressed
[ 116.693720] audit: type=1700 audit(1559068937.148:164): dev=vetha170273 prom=256 old_prom=0 auid=4294967295 uid=0 gid=0 ses=4294967295
[ 116.694176] IPv6: ADDRCONF(NETDEV_UP): vetha170273: link is not ready
[ 116.695068] audit: type=1300 audit(1559068937.148:164): arch=40000028 syscall=290 per=800000 success=yes exit=40 a0=c a1=53b9470 a2=28 a3=0 items=0 ppid=1 pid=314 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="dockerd" exe="/usr/bin/dockerd" key=(null)
[ 116.704694] audit: type=1327 audit(1559068937.148:164): proctitle=2F7573722F62696E2F646F636B657264002D480066643A2F2F002D2D73746F726167652D6472697665723D6F7665726C617932002D2D6C6F672D6472697665723D6A6F75726E616C64002D2D646174612D726F6F74002F6D6E742F646174612F646F636B6572
[ 118.497802] audit: type=1325 audit(1559068938.959:165): table=filter family=2 entries=0
[ 118.680261] audit: type=1300 audit(1559068938.959:165): arch=40000028 syscall=295 per=800000 success=yes exit=0 a0=4 a1=0 a2=40 a3=7eb9ca94 items=0 ppid=3703 pid=3715 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-multi" key=(null)
[ 118.693496] audit: type=1327 audit(1559068938.959:165): proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D4C002D6E
[ 118.702132] audit: type=1325 audit(1559068939.169:166): table=nat family=2 entries=0
[ 118.940229] audit: type=1300 audit(1559068939.169:166): arch=40000028 syscall=295 per=800000 success=yes exit=0 a0=4 a1=0 a2=40 a3=7eb01a54 items=0 ppid=3703 pid=3717 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-multi" key=(null)
[ 118.955465] audit: type=1327 audit(1559068939.169:166): proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D74006E6174002D43004F5554505554002D64003132372E302E302E3131002D6A00444F434B45525F4F5554505554
[ 118.967124] audit: type=1325 audit(1559068939.419:167): table=nat family=2 entries=5
[ 119.523150] eth0: renamed from vethefd7af5
[ 119.572142] IPv6: ADDRCONF(NETDEV_CHANGE): vetha170273: link becomes ready
[ 119.573972] hassio: port 6(vetha170273) entered blocking state
But I don’t know what it is…
nickrout
(Nick Rout)
May 29, 2019, 8:20am
6
There are only two tty devices that it can possibly be. The same was shown in the ls /dev/tty* command.
Marius82
(Marius)
May 29, 2019, 9:23am
7
I changed
/dev/tty.S0
to
/dev/ttyS0
and it works! Thank you for your help!
1 Like
rkbest
(Raj)
March 31, 2020, 8:05pm
8
@Marius82 I am having a similar problem with my first HA install on a Virtual box. How do you fix the tty=(none). I am not an expert on the Linux side and this is an install of the VMDK file from the HA website.