我用过IPTraf, Iftop, vnstat, bwm-ng, ifconfig -a。它们都没有帮助我找到从我的应用程序以 KB 或 MB 格式发送/接收的实时数据包。原因是我正在编写一个应用程序,我需要非常确定我的压缩是正确的,但我无法测试以继续前进。
我可以用什么来跟踪非常具体和准确的实时网络统计数据?

Elo 触摸屏型号:
问题描述:

我的目标是修复它,以便印刷机位置准确。
试过
经过我所做的尝试,但没有运气。
1) 查询/设备状态
--
udi = '/org/freedesktop/Hal/devices/usb_device_4e7_20_20B23159_if0_logicaldev_input'
button.has_state = false (bool)
info.addons.singleton = {'hald-addon-input'} (string list)
info.capabilities = {'input', 'button', 'input.mouse'} (string list)
info.category = 'input' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_4e7_20_20B23159_if0' (string)
info.product = 'Elo TouchSystems, Inc. Elo TouchSystems 2700 IntelliTouch(r) USB Touchmonitor Interface' (string)
info.subsystem = 'input' (string)
info.udi = '/org/freedesktop/Hal/devices/usb_device_4e7_20_20B23159_if0_logicaldev_input' (string)
input.device = '/dev/input/event11' (string)
input.originating_device = '/org/freedesktop/Hal/devices/usb_device_4e7_20_20B23159_if0' (string)
input.product = 'Elo TouchSystems, Inc. …Run Code Online (Sandbox Code Playgroud) 我在 FireWire 接口中将 FireWire 摄像头 LifeSize 连接到我的 PC。我的 PC 有 miniPCI 插槽和带有 FireWire 接口的外部转换器。现在它的 Ubuntu 在我尝试时根本没有向我展示任何东西:
$ uname -a
Linux desktop 2.6.38-11-generic-pae #48-Ubuntu SMP Fri Jul 29 20:51:21 UTC 2011 i686 i686 i386 GNU/Linux
$ lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series Chipset Family MEI Controller #1 (rev 04) …Run Code Online (Sandbox Code Playgroud) 我有一台没有键盘选项的 PC。我必须在没有键盘或鼠标的情况下安装操作系统。
我必须制作一个可启动的 USB 记忆棒,它可以让我通过 VNC 连接从我的笔记本电脑连接到 PC,然后使用 IP 到 IP 进行完整安装。我用以下方法做到了这一点:
下载http://centos.arcticnetwork.ca/6.0/isos/i386/CentOS-6.0-i386-minimal.iso
将 .iso 文件解压缩到我的笔记本电脑
在 CentOS-6.0-i386-minimal/isolinux/ks.cfg 中添加手册文件
install
lang en_US.UTF-8
keyboard us
timezone --utc Europe/Brussels
rootpw --iscrypted $6$i5qEWD.
selinux --disabled
authconfig --enableshadow --passalgo=sha512
firewall --service=ssh
bootloader --location=mbr --driveorder=sda --append="rhgb quiet"
vnc --password=1234
network --bootproto=static --ip=192.168.1.125 --netmask=255.255.255.0 --gateway=192.168.1.1 --nameserver=192.168.1.1
Run Code Online (Sandbox Code Playgroud)将笔记本电脑上的所有文件复制并粘贴到 U 盘
拔下我的 USB 并连接到目标 PC
但是它永远不会启动到 USB,然后我检查了笔记本电脑中的 USB,这也与它尚未成为可启动 USB 相同
任何想法如何解决这一问题?
注意:我遵循了:
http://fedoraproject.org/wiki/Anaconda/Kickstart#vnc
http://fedoraproject.org/wiki/Anaconda/Kickstart#Creating_a_Kickstart_Boot_CD-ROM http://wiki.centos.org/TipsAndTricks/VncHeadlessInstall
http://www.centos.org/docs/5/html/5.2/Installation_Guide/s1-kickstart2-startinginstall.html
跟进:
yum -y install unetbootin.i686
这允许我将 iso 文件写入 USB、磁盘或 CD
mkisofs …
每个早晨,俄罗斯联邦都在不断攻击我们的网站。每一天我都会阻止他们的 IP 地址,他们每天都会使用一个新的子网。我试过:
-A INPUT -s 4.53.0.0/16 -j DROP
-A INPUT -s 173.205.0.0/16 -j DROP
-A INPUT -s 37.9.0.0/16 -j DROP
-A INPUT -s 213.180.0.0/16 -j DROP
-A INPUT -s 5.255.0.0/16 -j DROP
-A INPUT -s 141.8.0.0/16 -j DROP
-A INPUT -s 87.250.0.0/16 -j DROP
-A INPUT -s 178.154.0.0/16 -j DROP
-A INPUT -s 5.45.0.0/16 -j DROP
Run Code Online (Sandbox Code Playgroud)
如何在我的 iptables 中阻止整个俄罗斯联邦 IP 范围?
在早期版本的 Fedora 中,有一种gdmsetup用于自动登录的方法。现在在 Fedora 15 中我不能再自动登录了。有谁知道我怎么能做到这一点?
我不知道如何阻止它显示登录提示。我试过了:
TimedLoginEnable=true
TimedLogin=user1
Run Code Online (Sandbox Code Playgroud)
它仍然显示 user1/password 登录提示并等待几秒钟然后自动登录。但我希望它立即登录并直接进入桌面。
我正在创建一个 JPEG 文件,转换为 BMP,然后使用 with xsetroot,但失败了。
1)制作JPEG文件
$ convert -size 800x600 xc:transparent \
-font Bookman-DemiItalic -pointsize 50 \
-draw "text 25,90 'Please wait.'" -channel RGBA -blur 0x6 \
-fill steelblue -stroke white \
-draw "text 10,90 'Please wait.'" -antialias /var/tmp/wait.jpeg;
Run Code Online (Sandbox Code Playgroud)
2) 将文件从 JPEG 转换为位图 BMP
$ convert /var/tmp/wait.jpeg /var/tmp/wait.bmp;
OR
$ mogrify -format wait.jpeg wait.another.bmp;
Run Code Online (Sandbox Code Playgroud)
3)使用它
$ xsetroot -bitmap /var/tmp/wait.bmp
xsetroot: bad bitmap format file: /var/tmp/wait.bmp
OR
$ xsetroot -bitmap /var/tmp/wait.another.bmp;
xsetroot: bad bitmap format file: /var/tmp/wait.another.bmp
Run Code Online (Sandbox Code Playgroud)
如何将该 BMP …
我已经用三头 Linux 完成了这个(它有效!!),这不是我目前的情况,只是为了解释。

我有这个场景,我需要用 Linux 来解决。

我如何根据要求获取 2PC 输出并按需显示到 1 个屏幕,例如源切换。所以每当我改变源时它只显示 PC1 输出,当我切换回来时它只显示 PC2 输出?
我有一台戴尔 PC,它每次启动时都有非常丑陋和倒霉的外星人脸。我想更改它或永远禁用它,但在 Bios 中他们没有任何选择。
我如何从现在运行的 Linux Fedora 或 ArchLinux 更改此设置?
尝试以下不起作用。( http://www.pixelbeat.org/docs/bios/ )
./flashrom -r firmware.old #save current flash ROM just in case
./flashrom -wv firmware.new #write and verify new flash ROM image
Run Code Online (Sandbox Code Playgroud)
还试过:
$猫cc
#include <stdio.h>
#include <inttypes.h>
#include <netinet/in.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#define lengthof(x) (sizeof(x)/sizeof(x[0]))
uint16_t checksum(const uint8_t* data, int len)
{
uint16_t sum = 0;
int i;
for (i=0; i<len; i++)
sum+=*(data+i);
return htons(sum);
}
void usage(void)
{ …Run Code Online (Sandbox Code Playgroud) 有人给了我 ip 10.120.5x.14x,别人给了我 12.1.7.x 别人也给了我 164.xxx 或 81.xxx
有时它非常令人困惑,它是 WAN 或 LAN 类 IP。那么我如何使用一些固定的 linux 工具直接检查它,以确保它的 WAN IPv4 或 LAN IPv4?
$ ipcalculator 10.120.5.1/24
Address: 10.120.5.1 00001010.01111000.00000101. 00000001
Netmask: 255.255.255.0 = 24 11111111.11111111.11111111. 00000000
Wildcard: 0.0.0.255 00000000.00000000.00000000. 11111111
=>
Network: 10.120.5.0/24 00001010.01111000.00000101. 00000000
HostMin: 10.120.5.1 00001010.01111000.00000101. 00000001
HostMax: 10.120.5.254 00001010.01111000.00000101. 11111110
Broadcast: 10.120.5.255 00001010.01111000.00000101. 11111111
Hosts/Net: 254 Class A, Private Internet
Run Code Online (Sandbox Code Playgroud) 我有一个麦克风,它是幻象供电的。现在麦克风使用 XLR 接口连接到一个小型设备,该设备使用 USB 2.0 接口连接到 PC。麦克风捕获以及与麦克风有关的任何东西都可以正常工作。

但现在的困惑是,许多音频专业人士使用外部硬件混音器(不像PC设备,如上图所示),他们声称一般PC无法进行幻象供电。
为什么不?如果 XLR 麦克风连接到设备,并且该设备连接到 USB,PC 操作系统是否可以不以相同的方式发送幻象电源?
如果这是真的,这是否意味着 Linux 或 Windows 或 Unix 任何操作系统都无法提供幻象电源,并且您需要不同的架构来提供幻象电源?
linux ×9
centos ×3
fedora ×3
networking ×3
xorg ×2
audio ×1
bash ×1
bios ×1
blocking ×1
bmp ×1
camera ×1
conversion ×1
debian ×1
display ×1
drivers ×1
firewall ×1
firewire ×1
gdm ×1
hdmi ×1
installation ×1
internet ×1
iptables ×1
jpeg ×1
lan ×1
microphone ×1
monitoring ×1
touchscreen ×1
traffic ×1
ubuntu ×1
video ×1
vnc ×1