[Ср дек 8 18:45:27 2021] Generic FE-GE Realtek PHY r8169-0-2200:00: attached PHY driver (mii_bus:phy_addr=r8169-0-2200:00, irq=MAC)
[Ср дек 8 18:45:27 2021] r8169 0000:22:00.0 enp34s0: Link is Down
[Ср дек 8 18:45:30 2021] r8169 0000:22:00.0 enp34s0: Link is Up - 1Gbps/Full - flow control off
[Ср дек 8 18:45:30 2021] IPv6: ADDRCONF(NETDEV_CHANGE): enp34s0: link becomes ready
[Ср дек 8 18:51:19 2021] br-6812bde9875a: port 1(veth6812b42) entered blocking state
[Ср дек 8 18:51:19 2021] br-6812bde9875a: port 1(veth6812b42) entered disabled state
[Ср дек 8 18:51:19 2021] device veth6812b42 entered promiscuous mode
[Ср дек 8 18:51:19 2021] br-6812bde9875a: port 1(veth6812b42) entered blocking state
[Ср дек 8 18:51:19 2021] br-6812bde9875a: port 1(veth6812b42) entered forwarding state
[Ср дек 8 18:51:19 2021] br-6812bde9875a: port 1(veth6812b42) entered disabled state
[Ср дек 8 18:51:19 2021] eth0: renamed from veth255665f
[Ср дек 8 18:51:19 2021] IPv6: ADDRCONF(NETDEV_CHANGE): veth6812b42: link becomes ready
[Ср дек 8 18:51:19 2021] br-6812bde9875a: port 1(veth6812b42) entered blocking state
[Ср дек 8 18:51:19 2021] br-6812bde9875a: port 1(veth6812b42) entered forwarding state
[Ср дек 8 18:51:19 2021] IPv6: ADDRCONF(NETDEV_CHANGE): br-6812bde9875a: link becomes ready
[Ср дек 8 18:51:20 2021] br-6812bde9875a: port 1(veth6812b42) entered disabled state
[Ср дек 8 18:51:20 2021] veth255665f: renamed from eth0
[Ср дек 8 18:51:20 2021] br-6812bde9875a: port 1(veth6812b42) entered disabled state
[Ср дек 8 18:51:20 2021] device veth6812b42 left promiscuous mode
[Ср дек 8 18:51:20 2021] br-6812bde9875a: port 1(veth6812b42) entered disabled state
[Ср дек 8 18:51:20 2021] br-6812bde9875a: port 1(veth5e4ce83) entered blocking state
[Ср дек 8 18:51:20 2021] br-6812bde9875a: port 1(veth5e4ce83) entered disabled state
[Ср дек 8 18:51:20 2021] device veth5e4ce83 entered promiscuous mode
[Ср дек 8 18:51:20 2021] br-6812bde9875a: port 1(veth5e4ce83) entered blocking state
[Ср дек 8 18:51:20 2021] br-6812bde9875a: port 1(veth5e4ce83) entered forwarding state
[Ср дек 8 18:51:20 2021] br-6812bde9875a: port 1(veth5e4ce83) entered disabled state
[Ср дек 8 18:51:21 2021] eth0: renamed from veth6717764
[Ср дек 8 18:51:21 2021] IPv6: ADDRCONF(NETDEV_CHANGE): veth5e4ce83: link becomes ready
[Ср дек 8 18:51:21 2021] br-6812bde9875a: port 1(veth5e4ce83) entered blocking state
[Ср дек 8 18:51:21 2021] br-6812bde9875a: port 1(veth5e4ce83) entered forwarding state
[Ср дек 8 18:51:21 2021] br-6812bde9875a: port 1(veth5e4ce83) entered disabled state
[Ср дек 8 18:51:21 2021] veth6717764: renamed from eth0
[Ср дек 8 18:51:21 2021] br-6812bde9875a: port 1(veth5e4ce83) entered disabled state
[Ср дек 8 18:51:21 2021] device veth5e4ce83 left promiscuous mode
[Ср дек 8 18:51:21 2021] br-6812bde9875a: port 1(veth5e4ce83) entered disabled state
[Ср дек 8 18:51:22 2021] br-6812bde9875a: port 1(veth2c297da) entered blocking state
[Ср дек 8 18:51:22 2021] br-6812bde9875a: port 1(veth2c297da) entered disabled state
[Ср дек 8 18:51:22 2021] device veth2c297da entered promiscuous mode
[Ср дек 8 18:51:22 2021] br-6812bde9875a: port 1(veth2c297da) entered blocking state
[Ср дек 8 18:51:22 2021] br-6812bde9875a: port 1(veth2c297da) entered forwarding state
[Ср дек 8 18:51:22 2021] br-6812bde9875a: port 1(veth2c297da) entered disabled state
[Ср дек 8 18:51:23 2021] eth0: renamed from veth6dcf00b
[Ср дек 8 18:51:23 2021] IPv6: ADDRCONF(NETDEV_CHANGE): veth2c297da: link becomes ready
[Ср дек 8 18:51:23 2021] br-6812bde9875a: port 1(veth2c297da) entered blocking state
[Ср дек 8 18:51:23 2021] br-6812bde9875a: port 1(veth2c297da) entered forwarding state
[Ср дек 8 18:51:23 2021] br-6812bde9875a: port 1(veth2c297da) entered disabled state
[Ср дек 8 18:51:23 2021] veth6dcf00b: renamed from eth0
[Ср дек 8 18:51:23 2021] br-6812bde9875a: port 1(veth2c297da) entered disabled state
[Ср дек 8 18:51:23 2021] device veth2c297da left promiscuous mode
[Ср дек 8 18:51:23 2021] br-6812bde9875a: port 1(veth2c297da) entered disabled state
[Ср дек 8 18:51:24 2021] br-6812bde9875a: port 1(veth65640db) entered blocking state
[Ср дек 8 18:51:24 2021] br-6812bde9875a: port 1(veth65640db) entered disabled state
[Ср дек 8 18:51:24 2021] device veth65640db entered promiscuous mode
[Ср дек 8 18:51:24 2021] br-6812bde9875a: port 1(veth65640db) entered blocking state
[Ср дек 8 18:51:24 2021] br-6812bde9875a: port 1(veth65640db) entered forwarding state
[Ср дек 8 18:51:24 2021] br-6812bde9875a: port 1(veth65640db) entered disabled state
[Ср дек 8 18:51:24 2021] eth0: renamed from veth5cc0f02
[Ср дек 8 18:51:24 2021] IPv6: ADDRCONF(NETDEV_CHANGE): veth65640db: link becomes ready
[Ср дек 8 18:51:24 2021] br-6812bde9875a: port 1(veth65640db) entered blocking state
[Ср дек 8 18:51:24 2021] br-6812bde9875a: port 1(veth65640db) entered forwarding state
[Ср дек 8 18:51:25 2021] br-6812bde9875a: port 1(veth65640db) entered disabled state
[Ср дек 8 18:51:25 2021] veth5cc0f02: renamed from eth0
[Ср дек 8 18:51:25 2021] br-6812bde9875a: port 1(veth65640db) entered disabled state
[Ср дек 8 18:51:25 2021] device veth65640db left promiscuous mode
[Ср дек 8 18:51:25 2021] br-6812bde9875a: port 1(veth65640db) entered disabled state
[Ср дек 8 18:51:25 2021] br-6812bde9875a: port 1(veth58b343e) entered blocking state
[Ср дек 8 18:51:25 2021] br-6812bde9875a: port 1(veth58b343e) entered disabled state
[Ср дек 8 18:51:25 2021] device veth58b343e entered promiscuous mode
[Ср дек 8 18:51:25 2021] br-6812bde9875a: port 1(veth58b343e) entered blocking state
[Ср дек 8 18:51:25 2021] br-6812bde9875a: port 1(veth58b343e) entered forwarding state
[Ср дек 8 18:51:26 2021] eth0: renamed from veth20153d6
[Ср дек 8 18:51:26 2021] br-6812bde9875a: port 1(veth58b343e) entered disabled state
[Ср дек 8 18:51:26 2021] IPv6: ADDRCONF(NETDEV_CHANGE): veth58b343e: link becomes ready
[Ср дек 8 18:51:26 2021] br-6812bde9875a: port 1(veth58b343e) entered blocking state
[Ср дек 8 18:51:26 2021] br-6812bde9875a: port 1(veth58b343e) entered forwarding state
[Ср дек 8 18:51:26 2021] br-6812bde9875a: port 1(veth58b343e) entered disabled state
[Ср дек 8 18:51:26 2021] veth20153d6: renamed from eth0
[Ср дек 8 18:51:26 2021] br-6812bde9875a: port 1(veth58b343e) entered disabled state
[Ср дек 8 18:51:26 2021] device veth58b343e left promiscuous mode
[Ср дек 8 18:51:26 2021] br-6812bde9875a: port 1(veth58b343e) entered disabled state
[Ср дек 8 18:51:34 2021] br-6812bde9875a: port 1(vethe6b835b) entered blocking state
[Ср дек 8 18:51:34 2021] br-6812bde9875a: port 1(vethe6b835b) entered disabled state
[Ср дек 8 18:51:34 2021] device vethe6b835b entered promiscuous mode
[Ср дек 8 18:51:34 2021] br-6812bde9875a: port 1(vethe6b835b) entered blocking state
[Ср дек 8 18:51:34 2021] br-6812bde9875a: port 1(vethe6b835b) entered forwarding state
[Ср дек 8 18:51:34 2021] br-6812bde9875a: port 1(vethe6b835b) entered disabled state
[Ср дек 8 18:51:34 2021] eth0: renamed from veth506efb0
[Ср дек 8 18:51:34 2021] IPv6: ADDRCONF(NETDEV_CHANGE): vethe6b835b: link becomes ready
[Ср дек 8 18:51:34 2021] br-6812bde9875a: port 1(vethe6b835b) entered blocking state
[Ср дек 8 18:51:34 2021] br-6812bde9875a: port 1(vethe6b835b) entered forwarding state
[Ср дек 8 18:51:34 2021] br-6812bde9875a: port 1(vethe6b835b) entered disabled state
[Ср дек 8 18:51:34 2021] veth506efb0: renamed from eth0
[Ср дек 8 18:51:34 2021] br-6812bde9875a: port 1(vethe6b835b) entered disabled state
[Ср дек 8 18:51:34 2021] device vethe6b835b left promiscuous mode
[Ср дек 8 18:51:34 2021] br-6812bde9875a: port 1(vethe6b835b) entered disabled state
[Ср дек 8 18:51:36 2021] br-6812bde9875a: port 1(veth3d1d358) entered blocking state
[Ср дек 8 18:51:36 2021] br-6812bde9875a: port 1(veth3d1d358) entered disabled state
[Ср дек 8 18:51:36 2021] device veth3d1d358 entered promiscuous mode
[Ср дек 8 18:51:36 2021] br-6812bde9875a: port 1(veth3d1d358) entered blocking state
[Ср дек 8 18:51:36 2021] br-6812bde9875a: port 1(veth3d1d358) entered forwarding state
[Ср дек 8 18:51:36 2021] br-6812bde9875a: port 1(veth3d1d358) entered disabled state
[Ср дек 8 18:51:36 2021] eth0: renamed from vethebdf684
[Ср дек 8 18:51:36 2021] IPv6: ADDRCONF(NETDEV_CHANGE): veth3d1d358: link becomes ready
[Ср дек 8 18:51:36 2021] br-6812bde9875a: port 1(veth3d1d358) entered blocking state
[Ср дек 8 18:51:36 2021] br-6812bde9875a: port 1(veth3d1d358) entered forwarding state
[Ср дек 8 18:51:36 2021] vethebdf684: renamed from eth0
[Ср дек 8 18:51:36 2021] br-6812bde9875a: port 1(veth3d1d358) entered disabled state
[Ср дек 8 18:51:36 2021] br-6812bde9875a: port 1(veth3d1d358) entered disabled state
[Ср дек 8 18:51:36 2021] device veth3d1d358 left promiscuous mode
[Ср дек 8 18:51:36 2021] br-6812bde9875a: port 1(veth3d1d358) entered disabled state
docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
ether 02:42:c5:94:10:8b txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp34s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::2d8:61ff:fe59:d690 prefixlen 64 scopeid 0x20<link>
ether 00:d8:61:59:d6:90 txqueuelen 1000 (Ethernet)
RX packets 20051 bytes 22833633 (22.8 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 11376 bytes 1791794 (1.7 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Локальная петля (Loopback))
RX packets 2809 bytes 256145 (256.1 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2809 bytes 256145 (256.1 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
А еще можно сделать так:
client.start(phone_number)