Supported ports: [ TP AUI BNC MII FIBRE ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Link partner advertised pause frame use: Symmetric
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: d
Wake-on: d
Current message level: 0x0000003f (63)
drv probe link timer ifdown ifup
Link detected: yes
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.254 netmask 255.255.255.0 broadcast 192.168.0.254
inet6 fe80::81:4bff:feca:6fed prefixlen 64 scopeid 0x20<link>
ether 02:81:4b:ca:6f:ed txqueuelen 1000 (Ethernet)
RX packets 796 bytes 71376 (71.3 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2361 bytes 2996135 (2.9 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 40
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 (Local Loopback)
RX packets 95 bytes 7100 (7.1 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 95 bytes 7100 (7.1 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: 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::76a8:92fd:de04:6ea prefixlen 64 scopeid 0x20<link>
ether 12:81:4b:ca:6f:ed txqueuelen 1000 (Ethernet)
RX packets 437 bytes 61832 (61.8 KB)
RX errors 0 dropped 2 overruns 0 frame 0
TX packets 26 bytes 3446 (3.4 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
{
"49432": {
"class": "7",
"type": "Учебник",
"subject": "Алгебра",
"authors": "-",
"icon": "-",
"tasks": {
-
}
}
}
#!/usr/local/bin/python3.7
[Unit]
Description=vk bot start
After=network.target
[Service]
WorkingDirectory=/home/xokare-kun
ExecStart=/usr/local/bin/python3.7 /home/xokare-kun/vkBotNew/vkBot.py
ExecStop=/bin/kill -INT $MAINPID
ExecReload=/bin/kill -TERM $MAINPID
Restart=always
Type=idle
[Install]
WantedBy=multi-user.target
<script src="/js/jquery-3.3.1.js"></script>
<script type = "text/javascript">
$('.choose-class').on('change', function() {
var chooseСlass = $('.choose-class').val();
var url = '/1.php'; // здесь указываем адрес PHP файла
var formData = new FormData();
formData.append('class', chooseСlass);
$.ajax({ // отправляем запрос
url: url,
type: 'POST',
cache: false,
contentType: false,
processData: false,
data: formData
});
});
</script>