--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/0a125bbf-e4ca-429a-a7ea-6af232e67bb7n%40googlegroups.com.
graham@ballina:~$ cat /etc/udev/rules.d/99-usb-serial.rules
#99-usb-serial.rules####################################################
########################################################################
# two serial ports on one USB FTDI adapter.
# owned by 'wx' container wherein:
# * wx.dialout is gid 100020
########################################################################
SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6010", GROUP="100020", MODE="0660"
#not required to distinguish ports######################################
graham@ballina:~$ sudo cat /etc/pve/lxc/105.conf
#weewx server
#
#| mappings | host view | container view |
#| %3A--- | %3A--- | %3A--- |
#| tty | /dev/ttyUSB0 660 - (100020) | /dev/aqua 660 - dialout(20) |
#| tty | /dev/ttyUSB1 660 - (100020) | /dev/vp2 660 - dialout(20) |
arch: amd64
cores: 1
features: nesting=1
hostname: wx
memory: 512
net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=b2:8d:88:67:d1:bf,ip=dhcp,type=veth
onboot: 1
ostype: debian
rootfs: local-lvm:vm-105-disk-0,size=8G
swap: 512
unprivileged: 1
lxc.cgroup2.devices.allow: c 188:* rwm
lxc.mount.entry: /dev/ttyUSB0 dev/aqua none bind,optional,create=file
lxc.mount.entry: /dev/ttyUSB1 dev/vp2 none bind,optional,create=file
(venv) graham@wx:~$ ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 Feb20 ? 00:00:31 /lib/systemd/systemd --syste
root 48 1 0 Feb20 ? 00:36:34 /lib/systemd/systemd-journal
root 99 1 0 Feb20 ? 00:00:00 dhclient -4 -v -i -pf /run/d
systemd+ 103 1 0 Feb20 ? 00:00:05 /lib/systemd/systemd-network
root 132 1 0 Feb20 ? 00:00:08 /usr/sbin/cron -f
message+ 133 1 0 Feb20 ? 00:00:04 /usr/bin/dbus-daemon --syste
root 139 1 0 Feb20 ? 00:00:07 /lib/systemd/systemd-logind
root 163 1 0 Feb20 pts/0 00:00:00 /sbin/agetty -o -p -- \u --n
root 164 1 0 Feb20 pts/1 00:00:00 /sbin/agetty -o -p -- \u --n
root 165 1 0 Feb20 pts/2 00:00:00 /sbin/agetty -o -p -- \u --n
root 216 1 0 Feb20 ? 00:00:00 sshd: /usr/sbin/sshd -D [lis
root 309 1 0 Feb20 ? 00:00:17 /usr/lib/postfix/sbin/master
weewx 154403 1 1 Apr09 ? 07:00:53 /home/weewx/venv/bin/python3
weewx 154443 1 1 Apr09 ? 07:00:10 /home/weewx/venv/bin/python3
weewx 233257 1 1 May04 ? 01:27:47 /home/weewx/venv/bin/python3
postfix 246511 309 0 04:02 ? 00:00:00 qmgr -l -t unix -u
postfix 248348 309 0 12:19 ? 00:00:00 pickup -l -t unix -u -c
root 248664 216 0 13:45 ? 00:00:00 sshd: graham [priv]
graham 248668 1 0 13:45 ? 00:00:00 /lib/systemd/systemd --user
graham 248669 248668 0 13:45 ? 00:00:00 (sd-pam)
graham 248678 248664 0 13:45 ? 00:00:00 sshd: graham@pts/3
graham 248679 248678 0 13:45 pts/3 00:00:00 -bash
graham 248682 248679 0 13:45 pts/3 00:00:00 ps -ef
(venv) graham@wx:~$ ls -l /dev
total 0
crw-rw---- 1 nobody dialout 188, 0 Feb 20 00:38 aqua
crwx------ 1 root tty 136, 0 May 4 10:50 console
lrwxrwxrwx 1 root root 11 Feb 20 00:40 core -> /proc/kcore
lrwxrwxrwx 1 root root 13 Feb 20 00:40 fd -> /proc/self/fd
crw-rw-rw- 1 nobody nogroup 1, 7 Feb 20 00:38 full
lrwxrwxrwx 1 root root 12 Feb 20 00:41 initctl -> /run/initctl
lrwxrwxrwx 1 root root 28 Feb 20 00:41 log -> /run/systemd/journal/dev-log
drwxrwxrwt 2 nobody nogroup 40 Feb 20 00:40 mqueue
crw-rw-rw- 1 nobody nogroup 1, 3 Feb 20 00:38 null
crw-rw-rw- 1 root root 5, 2 May 8 13:54 ptmx
drwxr-xr-x 2 root root 0 Feb 20 00:40 pts
crw-rw-rw- 1 nobody nogroup 1, 8 Feb 20 00:38 random
drwxrwxrwt 2 root root 40 Feb 20 00:40 shm
lrwxrwxrwx 1 root root 15 Feb 20 00:40 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 Feb 20 00:40 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 Feb 20 00:40 stdout -> /proc/self/fd/1
crw-rw-rw- 1 nobody nogroup 5, 0 May 8 12:00 tty
crw--w---- 1 root tty 136, 1 Feb 20 00:41 tty1
crw--w---- 1 root tty 136, 2 Feb 20 00:41 tty2
crw-rw-rw- 1 nobody nogroup 1, 9 Feb 20 00:38 urandom
crw-rw---- 1 nobody dialout 188, 1 May 8 13:50 vp2
crw-rw-rw- 1 nobody nogroup 1, 5 Feb 20 00:38 zero
graham@ballina:~$ free -m
total used free shared buff/cache available
Mem: 7809 1853 546 11 5748 5956
Swap: 7807 516 7291
graham@ballina:~$ uptime
14:04:35 up 78 days, 14:26, 1 user, load average: 0.00, 0.04, 0.10
--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/dd2f4126-94ec-4456-b7c1-fc0fce4a6d3an%40googlegroups.com.