Portál AbcLinuxu, 10. května 2025 08:20
eth0: RTL8169 at 0xd0a29000, 00:30:4f:40:dc:f8, IRQ 16
eth1: RTL8169 at 0xd0a2b000, 00:30:4f:47:34:a4, IRQ 17
...
eth1: 1000Mbps Full-duplex operation.
SIOCGMIIPHY on 'eth0' failed: Operation not supported
SIOCGMIIPHY on 'eth1' failed: Operation not supported
#include <unistd.h> #include <errno.h> #define BUFLEN 8192 int main() { int i, R; unsigned char buff[BUFLEN]; for (i=0; i<BUFLEN; i++) buff[i] = (unsigned char) (i % 256); while (1) { R = write(STDOUT_FILENO, buff, BUFLEN); if (R<0 && errno != EINTR) return 1; } return 0; }a na druhé straně
wget -O/dev/null http://server/cgi-bin/gen.cgi
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.