由买买提看人间百态

topics

全部话题 - 话题: netlink
(共0页)
S*A
发帖数: 7142
1
Do you mean network manager is bad?
From you own post:
"There are D-Bus client libraries for a variety of languages, and it's less
platform-specific than netlink, so this is what I'd recommend using."
So the guy is recommend using network manager dbus over netlink ah.
Another likely problem using netlink is that, it is likely need
special permission similar to raw packet in normal system (in
SELinux it is even more trouble some). I haven't try netlink
myself for this purpose, you are welcome to ... 阅读全帖
e*n
发帖数: 1511
2
来自主题: Linux版 - udev安全漏洞,快
是这个么?
#!/bin/sh
# Linux 2.6
# bug found by Sebastian Krahmer
#
# lame sploit using LD technique
# by kcope in 2009
# tested on debian-etch,ubuntu,gentoo
# do a 'cat /proc/net/netlink'
# and set the first arg to this
# script to the pid of the netlink socket
# (the pid is udevd_pid - 1 most of the time)
# + sploit has to be UNIX formatted text :)
# + if it doesn't work the 1st time try more often
#
# WARNING: maybe needs some FIXUP to work flawlessly
## greetz fly out to alex,andi,adize,wY!,revo,
d*******h
发帖数: 5065
3
有谁能搞到?
http://slickdeals.net/f/5536094-RETAIL-ONLY-Intel-retail-edge-h
*RETAIL ONLY* Intel retail edge holiday deal 2012 3770k for $105 or less!
and more! *GOES LIVE NOV. 28*
You have to work at one of the following retail stores and currently be
verified at retailedge.intel.com. They run deals like these during the
summer and winter every year
Code:
To be eligible for participation in the Intel® Retail Edge
Program, including the online store, quarterly drawings, The Big Deals,
Intel... 阅读全帖
g**d
发帖数: 723
4
来自主题: Hardware版 - U-NAS 与PC 文件传输速度
用的是CAT6的正规网线啊, 试了static IP & DHCP IP, no difference. BroadCom
Netlink Gigabit card, check the speed mode in control panel. 10M half/full,
100M half/full, auto. Seems no 1000M half/full. But FAQ on broadcom's
website is the same. How to make it run at 1G bit?
G*F
发帖数: 427
5
Boradcom NetLink Gigabit NIC,在Device Property里只能选100Mb。这是为什么?
连的FIOS Router也是Gigabit的。

发帖数: 1
6
来自主题: Hardware版 - 海康威视的摄像头太烂了
谁叫自己上了嵌入式的贼船,工资低呢。。。C看多了,也不能刷题转码搞互联网
为什么摄像头领域不能有像开源openwrt一样的项目呢?
把海康的dmesg贴出来,大家可以参考,他们用安霸S3L,https://www.ambarella.com/
products/security-ip-cameras/security-ip-camera-products#S3L
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 3.10.73+ ([email protected]) (gcc version 5
.2.1 20151005 (Linaro GCC 5.2-2015.11-2) ) #1 PREEMPT Mon Jan 23 10:38:22
CST 2017
[ 0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=
10c53c7d
[ 0.000000] CPU: PIPT / ... 阅读全帖
d*********8
发帖数: 2192
7
OK
楼主的问题是,有没有api可以知道本机的路由和防火墙结果。
试试 Netlink 吧。
m*****e
发帖数: 4193
8
There should be some NETLINK event indicating that.
S*A
发帖数: 7142
9
因为我最近在 hack 这个 Pogoplug V4 mobile。我顺便帮
你看了以下。
我从 UBoot 上面去掉了 serial cosole。这个是 dmesg。
时钟初始化是在 12 妙开始, 并不是 Linux 真正启动了 12 妙。
所以走到 systemd 启动也才 3.5 秒钟。注意其中有 USB 硬盘
访问,因为那个 rootfs 是在 USB 上面。仔细看 demsg,去掉
USB 硬盘访问,去掉 SATA 寻找硬盘,去掉 Ethernet 寻找
Link 的时间,剩下初始化应该就在 2 秒钟以内了。这个 3.5
秒钟很多时间是在和 USB storage 的东西相关。你只要
rootfs 不在 USB flash 上面,这些都可以启动的时候不做。
所以 2 秒钟启动应该是可以的,不需要特别多定制。
基本上改改 kernel config 或者启动参数就可以了。
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ ... 阅读全帖
S*A
发帖数: 7142
10
因为我最近在 hack 这个 Pogoplug V4 mobile。我顺便帮
你看了以下。
我从 UBoot 上面去掉了 serial cosole。这个是 dmesg。
时钟初始化是在 12 妙开始, 并不是 Linux 真正启动了 12 妙。
所以走到 systemd 启动也才 3.5 秒钟。注意其中有 USB 硬盘
访问,因为那个 rootfs 是在 USB 上面。仔细看 demsg,去掉
USB 硬盘访问,去掉 SATA 寻找硬盘,去掉 Ethernet 寻找
Link 的时间,剩下初始化应该就在 2 秒钟以内了。这个 3.5
秒钟很多时间是在和 USB storage 的东西相关。你只要
rootfs 不在 USB flash 上面,这些都可以启动的时候不做。
所以 2 秒钟启动应该是可以的,不需要特别多定制。
基本上改改 kernel config 或者启动参数就可以了。
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ ... 阅读全帖
l***o
发帖数: 7937
11
你说:“大个子的人的细胞只会比小个子的人的细胞稍微多一点而已”,请给出连接或
信息来源。
关于人类身体细胞的数目,这里有一个科普:
http://ask.yahoo.com/20020625.html
Dear Yahoo!:
My 7th-grade class wants to know approximately how many cells make up the
human body.
David
Aurora, Colorado
Dear David:
That's a very good question, and we applaud your class for its
inquisitiveness. We knew there were a lot of cells in the human body, but we
were hard pressed to put an actual number on it. It seemed like a fairly
straightforward query, so we tried a straightforward... 阅读全帖
(共0页)